@builder.io/sdk-vue 0.6.3 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/package.json +2 -1
  2. package/vue2/lib/{node/block-86374ead.cjs → browser/block-134a618c.cjs} +2 -2
  3. package/vue2/lib/browser/{block-517be5fb.js → block-169c0cf4.js} +7 -7
  4. package/vue2/lib/{node/block-styles-29c86145.js → browser/block-styles-d8839dd9.js} +5 -5
  5. package/vue2/lib/{edge/block-styles-809fea02.cjs → browser/block-styles-dd554acd.cjs} +1 -1
  6. package/vue2/lib/browser/{block-wrapper-9c4ec9d2.cjs → block-wrapper-54cd4f6c.cjs} +1 -1
  7. package/vue2/lib/browser/{block-wrapper-68ce7a31.js → block-wrapper-ad23d63e.js} +5 -5
  8. package/vue2/lib/{edge/blocks-wrapper-26c2556a.cjs → browser/blocks-wrapper-051a6973.cjs} +1 -1
  9. package/vue2/lib/{edge/blocks-wrapper-58a3dc1c.js → browser/blocks-wrapper-ba3f831e.js} +1 -1
  10. package/vue2/lib/{edge/component-ref-eeb18cc8.cjs → browser/component-ref-73bbe275.cjs} +1 -1
  11. package/vue2/lib/{edge/component-ref-bb6f5d05.js → browser/component-ref-7c67cc85.js} +6 -6
  12. package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -1
  13. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  14. package/vue2/lib/{edge/content-b0e3265b.cjs → browser/content-91d3070e.cjs} +1 -1
  15. package/vue2/lib/browser/{content-ab810c5a.js → content-c3064d9d.js} +9 -9
  16. package/vue2/lib/browser/{css-6ab3de61.cjs → css-2c9ad067.cjs} +1 -1
  17. package/vue2/lib/browser/{css-9ff60711.js → css-ccd5d9e3.js} +1 -1
  18. package/vue2/lib/{node/enable-editor-e4a75de2.js → browser/enable-editor-d9f53d7d.js} +29 -30
  19. package/vue2/lib/browser/enable-editor-f87e3e48.cjs +1 -0
  20. package/vue2/lib/browser/{evaluate-ddca0796.cjs → evaluate-043734e5.cjs} +1 -1
  21. package/vue2/lib/browser/{evaluate-73ab20d5.js → evaluate-b309ef11.js} +1 -1
  22. package/vue2/lib/browser/{get-block-actions-d7bad2e7.cjs → get-block-actions-7a5e8d90.cjs} +1 -1
  23. package/vue2/lib/{node/get-block-actions-f0e194ec.js → browser/get-block-actions-e6c36554.js} +2 -2
  24. package/vue2/lib/{node/get-block-properties-690c354d.cjs → browser/get-block-properties-088a8d57.cjs} +1 -1
  25. package/vue2/lib/browser/{get-block-properties-3266f9fa.js → get-block-properties-fded8311.js} +2 -2
  26. package/vue2/lib/browser/{get-processed-block-2c962134.js → get-processed-block-28afdbdd.js} +2 -2
  27. package/vue2/lib/browser/{get-processed-block-f4410a90.cjs → get-processed-block-cb418829.cjs} +1 -1
  28. package/vue2/lib/{node/index-6d420ce4.cjs → browser/index-7b952a40.cjs} +4 -4
  29. package/vue2/lib/{node/index-35e9f8af.js → browser/index-8b428b10.js} +47 -43
  30. package/vue2/lib/browser/index.cjs +1 -1
  31. package/vue2/lib/browser/index.js +5 -5
  32. package/vue2/lib/browser/{inlined-script-fd0e31a3.cjs → inlined-script-36c7686b.cjs} +1 -1
  33. package/vue2/lib/{edge/inlined-script-528cf671.js → browser/inlined-script-de7385eb.js} +1 -1
  34. package/vue2/lib/{node/inlined-styles-c977be7a.js → browser/inlined-styles-48c2284e.js} +1 -1
  35. package/vue2/lib/{node/inlined-styles-21a44abc.cjs → browser/inlined-styles-f49a7f1a.cjs} +1 -1
  36. package/vue2/lib/{node/interactive-element-1b2efcea.cjs → browser/interactive-element-2463f839.cjs} +1 -1
  37. package/vue2/lib/{node/interactive-element-a457f13d.js → browser/interactive-element-b479db6b.js} +5 -5
  38. package/vue2/lib/{node/repeated-block-2b47cc10.js → browser/repeated-block-284f31d8.js} +2 -2
  39. package/vue2/lib/browser/{repeated-block-80cb7500.cjs → repeated-block-d5a07fb8.cjs} +1 -1
  40. package/vue2/lib/browser/{styles-e7ee6699.js → styles-4803ecb4.js} +2 -2
  41. package/vue2/lib/browser/{styles-48f7b053.cjs → styles-f19bff73.cjs} +2 -2
  42. package/vue2/lib/{node/block-517be5fb.js → edge/block-04a014ef.js} +7 -7
  43. package/vue2/lib/{browser/block-86374ead.cjs → edge/block-7f6b0f80.cjs} +2 -2
  44. package/vue2/lib/{node/block-styles-abd88aab.cjs → edge/block-styles-57f025e0.cjs} +1 -1
  45. package/vue2/lib/edge/{block-styles-a4646383.js → block-styles-9d313184.js} +5 -5
  46. package/vue2/lib/edge/{block-wrapper-96d6e19a.cjs → block-wrapper-252f3467.cjs} +1 -1
  47. package/vue2/lib/{node/block-wrapper-68ce7a31.js → edge/block-wrapper-e16ccd29.js} +5 -5
  48. package/vue2/lib/{browser/blocks-wrapper-22427504.js → edge/blocks-wrapper-671e376d.js} +1 -1
  49. package/vue2/lib/{browser/blocks-wrapper-572ac8fc.cjs → edge/blocks-wrapper-be28f72a.cjs} +1 -1
  50. package/vue2/lib/{node/component-ref-314af75f.cjs → edge/component-ref-276a92fb.cjs} +1 -1
  51. package/vue2/lib/{node/component-ref-ad69c5c3.js → edge/component-ref-65be9ea0.js} +6 -6
  52. package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -1
  53. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  54. package/vue2/lib/{browser/content-cd8c708e.cjs → edge/content-6d81d16f.cjs} +1 -1
  55. package/vue2/lib/edge/{content-1fe9f483.js → content-962ba49d.js} +9 -9
  56. package/vue2/lib/{node/css-6ab3de61.cjs → edge/css-88f2410f.cjs} +1 -1
  57. package/vue2/lib/{node/css-9ff60711.js → edge/css-9d2e1bcb.js} +1 -1
  58. package/vue2/lib/edge/enable-editor-617a4b09.cjs +1 -0
  59. package/vue2/lib/{browser/enable-editor-e4a75de2.js → edge/enable-editor-b6040943.js} +29 -30
  60. package/vue2/lib/edge/{evaluate-67915572.js → evaluate-becf2384.js} +1 -1
  61. package/vue2/lib/edge/{evaluate-94193bd8.cjs → evaluate-e31fc7a4.cjs} +1 -1
  62. package/vue2/lib/{browser/get-block-actions-f0e194ec.js → edge/get-block-actions-046a80d0.js} +2 -2
  63. package/vue2/lib/edge/{get-block-actions-eb913df3.cjs → get-block-actions-0ed7b9a3.cjs} +1 -1
  64. package/vue2/lib/{browser/get-block-properties-690c354d.cjs → edge/get-block-properties-a9ab7e30.cjs} +1 -1
  65. package/vue2/lib/{node/get-block-properties-3266f9fa.js → edge/get-block-properties-c460b7ad.js} +2 -2
  66. package/vue2/lib/edge/{get-processed-block-54d47a44.js → get-processed-block-23aa8a9f.js} +2 -2
  67. package/vue2/lib/edge/{get-processed-block-d64d51b8.cjs → get-processed-block-fe5c136a.cjs} +1 -1
  68. package/vue2/lib/{browser/index-35e9f8af.js → edge/index-8d71df29.js} +47 -43
  69. package/vue2/lib/edge/{index-0e6898f4.cjs → index-cb2684cd.cjs} +4 -4
  70. package/vue2/lib/edge/index.cjs +1 -1
  71. package/vue2/lib/edge/index.js +5 -5
  72. package/vue2/lib/{node/inlined-script-9e201117.js → edge/inlined-script-45e42092.js} +1 -1
  73. package/vue2/lib/{node/inlined-script-fd0e31a3.cjs → edge/inlined-script-f370acdf.cjs} +1 -1
  74. package/vue2/lib/{browser/inlined-styles-21a44abc.cjs → edge/inlined-styles-375c218f.cjs} +1 -1
  75. package/vue2/lib/edge/{inlined-styles-3ae3536e.js → inlined-styles-411ade32.js} +1 -1
  76. package/vue2/lib/{browser/interactive-element-a457f13d.js → edge/interactive-element-0e97e5ad.js} +5 -5
  77. package/vue2/lib/{browser/interactive-element-1b2efcea.cjs → edge/interactive-element-92851fbe.cjs} +1 -1
  78. package/vue2/lib/edge/{repeated-block-5125d911.cjs → repeated-block-8eefee0f.cjs} +1 -1
  79. package/vue2/lib/{browser/repeated-block-2b47cc10.js → edge/repeated-block-c41268e9.js} +2 -2
  80. package/vue2/lib/{node/styles-e7ee6699.js → edge/styles-633d9689.js} +2 -2
  81. package/vue2/lib/{node/styles-48f7b053.cjs → edge/styles-f2039a70.cjs} +2 -2
  82. package/vue2/lib/{edge/block-d431c5a1.cjs → node/block-134a618c.cjs} +2 -2
  83. package/vue2/lib/{edge/block-79f216bd.js → node/block-169c0cf4.js} +7 -7
  84. package/vue2/lib/{browser/block-styles-29c86145.js → node/block-styles-d8839dd9.js} +5 -5
  85. package/vue2/lib/{browser/block-styles-abd88aab.cjs → node/block-styles-dd554acd.cjs} +1 -1
  86. package/vue2/lib/node/{block-wrapper-9c4ec9d2.cjs → block-wrapper-54cd4f6c.cjs} +1 -1
  87. package/vue2/lib/{edge/block-wrapper-02e29a39.js → node/block-wrapper-ad23d63e.js} +5 -5
  88. package/vue2/lib/node/{blocks-wrapper-572ac8fc.cjs → blocks-wrapper-051a6973.cjs} +1 -1
  89. package/vue2/lib/node/{blocks-wrapper-22427504.js → blocks-wrapper-ba3f831e.js} +1 -1
  90. package/vue2/lib/{browser/component-ref-314af75f.cjs → node/component-ref-73bbe275.cjs} +1 -1
  91. package/vue2/lib/{browser/component-ref-ad69c5c3.js → node/component-ref-7c67cc85.js} +6 -6
  92. package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +0 -1
  93. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  94. package/vue2/lib/node/{content-cd8c708e.cjs → content-91d3070e.cjs} +1 -1
  95. package/vue2/lib/node/{content-ab810c5a.js → content-c3064d9d.js} +9 -9
  96. package/vue2/lib/{edge/css-c85f369a.cjs → node/css-2c9ad067.cjs} +1 -1
  97. package/vue2/lib/{edge/css-766c9e43.js → node/css-ccd5d9e3.js} +1 -1
  98. package/vue2/lib/{edge/enable-editor-1c97f1ce.js → node/enable-editor-d9f53d7d.js} +29 -30
  99. package/vue2/lib/node/enable-editor-f87e3e48.cjs +1 -0
  100. package/vue2/lib/node/{evaluate-ddca0796.cjs → evaluate-043734e5.cjs} +1 -1
  101. package/vue2/lib/node/{evaluate-73ab20d5.js → evaluate-b309ef11.js} +1 -1
  102. package/vue2/lib/node/{get-block-actions-d7bad2e7.cjs → get-block-actions-7a5e8d90.cjs} +1 -1
  103. package/vue2/lib/{edge/get-block-actions-6ffacde6.js → node/get-block-actions-e6c36554.js} +2 -2
  104. package/vue2/lib/{edge/get-block-properties-9f36f432.cjs → node/get-block-properties-088a8d57.cjs} +1 -1
  105. package/vue2/lib/{edge/get-block-properties-65d31491.js → node/get-block-properties-fded8311.js} +2 -2
  106. package/vue2/lib/node/{get-processed-block-2c962134.js → get-processed-block-28afdbdd.js} +2 -2
  107. package/vue2/lib/node/{get-processed-block-f4410a90.cjs → get-processed-block-cb418829.cjs} +1 -1
  108. package/vue2/lib/{browser/index-6d420ce4.cjs → node/index-7b952a40.cjs} +4 -4
  109. package/vue2/lib/{edge/index-e4b98f3f.js → node/index-8b428b10.js} +47 -43
  110. package/vue2/lib/node/index.cjs +1 -1
  111. package/vue2/lib/node/index.js +5 -5
  112. package/vue2/lib/{edge/inlined-script-f08590fd.cjs → node/inlined-script-36c7686b.cjs} +1 -1
  113. package/vue2/lib/{browser/inlined-script-9e201117.js → node/inlined-script-de7385eb.js} +1 -1
  114. package/vue2/lib/{browser/inlined-styles-c977be7a.js → node/inlined-styles-48c2284e.js} +1 -1
  115. package/vue2/lib/{edge/inlined-styles-8a4eca1c.cjs → node/inlined-styles-f49a7f1a.cjs} +1 -1
  116. package/vue2/lib/{edge/interactive-element-a4e35976.cjs → node/interactive-element-2463f839.cjs} +1 -1
  117. package/vue2/lib/{edge/interactive-element-448f1b25.js → node/interactive-element-b479db6b.js} +5 -5
  118. package/vue2/lib/{edge/repeated-block-5d6ad9e8.js → node/repeated-block-284f31d8.js} +2 -2
  119. package/vue2/lib/node/{repeated-block-80cb7500.cjs → repeated-block-d5a07fb8.cjs} +1 -1
  120. package/vue2/lib/{edge/styles-4607da35.js → node/styles-4803ecb4.js} +2 -2
  121. package/vue2/lib/{edge/styles-7b4eb536.cjs → node/styles-f19bff73.cjs} +2 -2
  122. package/vue2/package.json +1 -0
  123. package/vue3/lib/{edge/block-wrapper.f7fd1d3e.js → browser/block-wrapper.b3297452.js} +8 -8
  124. package/vue3/lib/browser/{block-wrapper.3424c8e5.cjs → block-wrapper.c00ddfcb.cjs} +1 -1
  125. package/vue3/lib/browser/component-ref.5446db23.cjs +1 -0
  126. package/vue3/lib/{edge/component-ref.c65a87a1.js → browser/component-ref.88102d68.js} +17 -17
  127. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -1
  128. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  129. package/vue3/lib/{edge/get-block-actions.d05efca1.js → browser/get-block-actions.1865148e.js} +1 -1
  130. package/vue3/lib/{edge/get-block-actions.1bd9f726.cjs → browser/get-block-actions.703f8554.cjs} +1 -1
  131. package/vue3/lib/browser/index.403011b1.cjs +69 -0
  132. package/vue3/lib/{node/index.12730bde.js → browser/index.c51504ff.js} +496 -494
  133. package/vue3/lib/browser/index.cjs +1 -1
  134. package/vue3/lib/browser/index.js +1 -1
  135. package/vue3/lib/browser/{repeated-block.764b4af3.cjs → repeated-block.2245fce7.cjs} +1 -1
  136. package/vue3/lib/{edge/repeated-block.e31ecdbc.js → browser/repeated-block.f6fdedb6.js} +6 -6
  137. package/vue3/lib/edge/{block-wrapper.5ba52bd5.cjs → block-wrapper.6e434dc7.cjs} +1 -1
  138. package/vue3/lib/{node/block-wrapper.ac839834.js → edge/block-wrapper.dad1bb39.js} +8 -8
  139. package/vue3/lib/edge/component-ref.94b009f1.cjs +1 -0
  140. package/vue3/lib/{node/component-ref.8de03d1c.js → edge/component-ref.f5eef526.js} +17 -17
  141. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -1
  142. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  143. package/vue3/lib/{browser/get-block-actions.777560e5.cjs → edge/get-block-actions.c5c7e487.cjs} +1 -1
  144. package/vue3/lib/{browser/get-block-actions.e59fcd98.js → edge/get-block-actions.f1dcfc47.js} +1 -1
  145. package/vue3/lib/edge/{index.d22d7b12.cjs → index.61c09215.cjs} +16 -16
  146. package/vue3/lib/edge/index.cjs +1 -1
  147. package/vue3/lib/edge/{index.a89f2469.js → index.f80ab661.js} +369 -367
  148. package/vue3/lib/edge/index.js +1 -1
  149. package/vue3/lib/edge/{repeated-block.865463b0.cjs → repeated-block.8292d33a.cjs} +1 -1
  150. package/vue3/lib/{browser/repeated-block.0bc816fe.js → edge/repeated-block.e2eb73cd.js} +6 -6
  151. package/vue3/lib/{browser/block-wrapper.ac839834.js → node/block-wrapper.b3297452.js} +8 -8
  152. package/vue3/lib/node/{block-wrapper.3424c8e5.cjs → block-wrapper.c00ddfcb.cjs} +1 -1
  153. package/vue3/lib/node/component-ref.5446db23.cjs +1 -0
  154. package/vue3/lib/{browser/component-ref.8de03d1c.js → node/component-ref.88102d68.js} +17 -17
  155. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +0 -1
  156. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  157. package/vue3/lib/node/{get-block-actions.e59fcd98.js → get-block-actions.1865148e.js} +1 -1
  158. package/vue3/lib/node/{get-block-actions.777560e5.cjs → get-block-actions.703f8554.cjs} +1 -1
  159. package/vue3/lib/node/index.403011b1.cjs +69 -0
  160. package/vue3/lib/{browser/index.12730bde.js → node/index.c51504ff.js} +496 -494
  161. package/vue3/lib/node/index.cjs +1 -1
  162. package/vue3/lib/node/index.js +1 -1
  163. package/vue3/lib/node/{repeated-block.764b4af3.cjs → repeated-block.2245fce7.cjs} +1 -1
  164. package/vue3/lib/node/{repeated-block.0bc816fe.js → repeated-block.f6fdedb6.js} +6 -6
  165. package/vue3/package.json +1 -0
  166. package/vue2/lib/browser/enable-editor-3ae81c32.cjs +0 -1
  167. package/vue2/lib/edge/enable-editor-c96b8ba3.cjs +0 -1
  168. package/vue2/lib/node/enable-editor-3ae81c32.cjs +0 -1
  169. package/vue3/lib/browser/component-ref.96453075.cjs +0 -1
  170. package/vue3/lib/browser/index.4cfec3cb.cjs +0 -69
  171. package/vue3/lib/edge/component-ref.76d870e8.cjs +0 -1
  172. package/vue3/lib/node/component-ref.96453075.cjs +0 -1
  173. package/vue3/lib/node/index.4cfec3cb.cjs +0 -69
@@ -1,11 +1,11 @@
1
- import { defineComponent as b, openBlock as d, createElementBlock as m, mergeProps as $, toHandlers as U, toDisplayString as oe, h as ge, resolveComponent as y, createBlock as v, createCommentVNode as S, defineAsyncComponent as N, Fragment as T, renderList as j, withCtx as Z, createVNode as V, normalizeProps as se, guardReactiveProps as He, renderSlot as P, createElementVNode as re, normalizeStyle as ie, normalizeClass as ye, markRaw as ze } from "vue";
2
- function K(e = {}, t, n) {
1
+ import { defineComponent as b, openBlock as u, createElementBlock as m, mergeProps as $, toHandlers as O, toDisplayString as oe, h as ge, resolveComponent as y, createBlock as v, createCommentVNode as S, defineAsyncComponent as U, Fragment as T, renderList as V, withCtx as Z, createVNode as B, normalizeProps as re, guardReactiveProps as He, renderSlot as j, createElementVNode as se, normalizeStyle as ie, normalizeClass as ye, markRaw as ze } from "vue";
2
+ function H(e = {}, t, n) {
3
3
  const o = {};
4
- for (const s in e) {
5
- if (!e[s] || n && !s.startsWith(t))
4
+ for (const r in e) {
5
+ if (!e[r] || n && !r.startsWith(t))
6
6
  continue;
7
- const r = n ? s.replace(t, "") : s;
8
- o[r] = e[s];
7
+ const s = n ? r.replace(t, "") : r;
8
+ o[s] = e[r];
9
9
  }
10
10
  return o;
11
11
  }
@@ -13,7 +13,7 @@ const De = b({
13
13
  name: "builder-button",
14
14
  props: ["attributes", "text", "link", "openLinkInNewTab"],
15
15
  data() {
16
- return { filterAttrs: K };
16
+ return { filterAttrs: H };
17
17
  },
18
18
  methods: {
19
19
  _classStringToObject(e) {
@@ -29,23 +29,23 @@ const De = b({
29
29
  });
30
30
  const g = (e, t) => {
31
31
  const n = e.__vccOpts || e;
32
- for (const [o, s] of t)
33
- n[o] = s;
32
+ for (const [o, r] of t)
33
+ n[o] = r;
34
34
  return n;
35
35
  }, qe = ["href", "target"];
36
- function Ge(e, t, n, o, s, r) {
37
- return e.link ? (d(), m("a", $({
36
+ function Ge(e, t, n, o, r, s) {
37
+ return e.link ? (u(), m("a", $({
38
38
  key: 0,
39
39
  role: "button",
40
40
  href: e.link,
41
41
  target: e.openLinkInNewTab ? "_blank" : void 0
42
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), oe(e.text), 17, qe)) : (d(), m("button", $({
42
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), oe(e.text), 17, qe)) : (u(), m("button", $({
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), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), oe(e.text), 17));
46
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), oe(e.text), 17));
47
47
  }
48
- const Je = /* @__PURE__ */ g(De, [["render", Ge], ["__scopeId", "data-v-becdf225"], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), O = (e) => JSON.parse(JSON.stringify(e)), ke = {
48
+ const Je = /* @__PURE__ */ g(De, [["render", Ge], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), F = (e) => JSON.parse(JSON.stringify(e)), ke = {
49
49
  small: {
50
50
  min: 320,
51
51
  default: 321,
@@ -65,7 +65,7 @@ const Je = /* @__PURE__ */ g(De, [["render", Ge], ["__scopeId", "data-v-becdf225
65
65
  small: e,
66
66
  medium: t
67
67
  }) => {
68
- const n = O(ke);
68
+ const n = F(ke);
69
69
  if (!e || !t)
70
70
  return n;
71
71
  const o = Math.floor(e / 2);
@@ -74,23 +74,23 @@ const Je = /* @__PURE__ */ g(De, [["render", Ge], ["__scopeId", "data-v-becdf225
74
74
  min: o,
75
75
  default: o + 1
76
76
  };
77
- const s = n.small.max + 1;
77
+ const r = n.small.max + 1;
78
78
  n.medium = {
79
79
  max: t,
80
- min: s,
81
- default: s + 1
80
+ min: r,
81
+ default: r + 1
82
82
  };
83
- const r = n.medium.max + 1;
83
+ const s = n.medium.max + 1;
84
84
  return n.large = {
85
85
  max: 2e3,
86
- min: r,
87
- default: r + 1
86
+ min: s,
87
+ default: s + 1
88
88
  }, n;
89
- }, A = "vue3", F = "[Builder.io]: ", x = {
90
- log: (...e) => console.log(F, ...e),
91
- error: (...e) => console.error(F, ...e),
92
- warn: (...e) => console.warn(F, ...e),
93
- debug: (...e) => console.debug(F, ...e)
89
+ }, A = "vue3", W = "[Builder.io]: ", x = {
90
+ log: (...e) => console.log(W, ...e),
91
+ error: (...e) => console.error(W, ...e),
92
+ warn: (...e) => console.warn(W, ...e),
93
+ debug: (...e) => console.debug(W, ...e)
94
94
  };
95
95
  function C() {
96
96
  return typeof window < "u" && typeof document < "u";
@@ -98,7 +98,7 @@ function C() {
98
98
  function Ye() {
99
99
  return C() && window.self !== window.top;
100
100
  }
101
- function _() {
101
+ function E() {
102
102
  return Ye() && window.location.search.indexOf("builder.frameEditing=") !== -1;
103
103
  }
104
104
  const Xe = () => {
@@ -149,37 +149,37 @@ const Xe = () => {
149
149
  builder: t,
150
150
  context: n,
151
151
  event: o,
152
- localState: s,
153
- rootSetState: r,
152
+ localState: r,
153
+ rootSetState: s,
154
154
  rootState: i
155
155
  }) => {
156
156
  const a = Ze({
157
157
  builder: t,
158
158
  context: n,
159
159
  event: o,
160
- state: tt(i, s, r)
160
+ state: tt(i, r, s)
161
161
  });
162
- return new Function(...a.map(([c]) => c), e)(...a.map(([, c]) => c));
162
+ return new Function(...a.map(([l]) => l), e)(...a.map(([, l]) => l));
163
163
  };
164
164
  function tt(e, t, n) {
165
165
  if (e === t)
166
166
  throw new Error("rootState === localState");
167
167
  return new Proxy(e, {
168
- get: (o, s) => t && s in t ? t[s] : e[s],
169
- set: (o, s, r) => {
170
- if (t && s in t)
168
+ get: (o, r) => t && r in t ? t[r] : e[r],
169
+ set: (o, r, s) => {
170
+ if (t && r in t)
171
171
  throw new Error("Writing to local state is not allowed as it is read-only.");
172
- return e[s] = r, n == null || n(e), !0;
172
+ return e[r] = s, n == null || n(e), !0;
173
173
  }
174
174
  });
175
175
  }
176
- function M({
176
+ function L({
177
177
  code: e,
178
178
  context: t,
179
179
  localState: n,
180
180
  rootState: o,
181
- rootSetState: s,
182
- event: r,
181
+ rootSetState: r,
182
+ event: s,
183
183
  isExpression: i = !0
184
184
  }) {
185
185
  if (e === "") {
@@ -187,21 +187,21 @@ function M({
187
187
  return;
188
188
  }
189
189
  const a = {
190
- isEditing: _(),
190
+ isEditing: E(),
191
191
  isBrowser: C(),
192
192
  isServer: !C(),
193
193
  getUserAttributes: () => Se()
194
- }, u = {
194
+ }, d = {
195
195
  code: i && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
196
196
  builder: a,
197
197
  context: t,
198
- event: r,
199
- rootSetState: s,
198
+ event: s,
199
+ rootSetState: r,
200
200
  rootState: o,
201
201
  localState: n
202
202
  };
203
203
  try {
204
- return et(u);
204
+ return et(d);
205
205
  } catch (p) {
206
206
  x.error("Failed code evaluation: " + p.message, {
207
207
  code: e
@@ -213,60 +213,60 @@ const nt = (e, t, n) => {
213
213
  if (Object(e) !== e)
214
214
  return e;
215
215
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
216
- return o.slice(0, -1).reduce((s, r, i) => Object(s[r]) === s[r] ? s[r] : s[r] = Math.abs(Number(o[i + 1])) >> 0 === +o[i + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
216
+ 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;
217
217
  };
218
218
  const ot = ({
219
219
  block: e,
220
220
  context: t,
221
221
  localState: n,
222
222
  rootState: o,
223
- rootSetState: s
223
+ rootSetState: r
224
224
  }) => {
225
225
  if (!e.bindings)
226
226
  return e;
227
- const r = O(e), i = {
228
- ...r,
227
+ const s = F(e), i = {
228
+ ...s,
229
229
  properties: {
230
- ...r.properties
230
+ ...s.properties
231
231
  },
232
232
  actions: {
233
- ...r.actions
233
+ ...s.actions
234
234
  }
235
235
  };
236
236
  for (const a in e.bindings) {
237
- const c = e.bindings[a], l = M({
238
- code: c,
237
+ const l = e.bindings[a], c = L({
238
+ code: l,
239
239
  localState: n,
240
240
  rootState: o,
241
- rootSetState: s,
241
+ rootSetState: r,
242
242
  context: t
243
243
  });
244
- nt(i, a, l);
244
+ nt(i, a, c);
245
245
  }
246
246
  return i;
247
247
  };
248
- function L({
248
+ function K({
249
249
  block: e,
250
250
  context: t,
251
251
  shouldEvaluateBindings: n,
252
252
  localState: o,
253
- rootState: s,
254
- rootSetState: r
253
+ rootState: r,
254
+ rootSetState: s
255
255
  }) {
256
256
  const i = e;
257
257
  return n ? ot({
258
258
  block: i,
259
259
  localState: o,
260
- rootState: s,
261
- rootSetState: r,
260
+ rootState: r,
261
+ rootSetState: s,
262
262
  context: t
263
263
  }) : i;
264
264
  }
265
- const st = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), E = (e) => e != null, rt = (e) => Object.entries(e).map(([n, o]) => {
265
+ const rt = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), _ = (e) => e != null, st = (e) => Object.entries(e).map(([n, o]) => {
266
266
  if (typeof o == "string")
267
- return `${st(n)}: ${o};`;
268
- }).filter(E), it = (e) => rt(e).join(`
269
- `), D = ({
267
+ return `${rt(n)}: ${o};`;
268
+ }).filter(_), it = (e) => st(e).join(`
269
+ `), q = ({
270
270
  mediaQuery: e,
271
271
  className: t,
272
272
  styles: n
@@ -283,16 +283,16 @@ const st = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
283
283
  },
284
284
  name: "inlined-styles",
285
285
  props: ["styles", "id"]
286
- }), H = /* @__PURE__ */ g(at, [["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), ct = b({
286
+ }), z = /* @__PURE__ */ g(at, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), lt = b({
287
287
  name: "block-styles",
288
- components: { InlinedStyles: H },
288
+ components: { InlinedStyles: z },
289
289
  props: ["block", "context"],
290
290
  data() {
291
291
  return { TARGET: A };
292
292
  },
293
293
  computed: {
294
294
  canShowBlock() {
295
- const e = L({
295
+ const e = K({
296
296
  block: this.block,
297
297
  localState: this.context.localState,
298
298
  rootState: this.context.rootState,
@@ -300,11 +300,11 @@ const st = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
300
300
  context: this.context.context,
301
301
  shouldEvaluateBindings: !0
302
302
  });
303
- return E(e.hide) ? !e.hide : E(e.show) ? e.show : !0;
303
+ return _(e.hide) ? !e.hide : _(e.show) ? e.show : !0;
304
304
  },
305
305
  css() {
306
306
  var p;
307
- const e = L({
307
+ const e = K({
308
308
  block: this.block,
309
309
  localState: this.context.localState,
310
310
  rootState: this.context.rootState,
@@ -313,20 +313,20 @@ const st = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
313
313
  shouldEvaluateBindings: !0
314
314
  }), t = e.responsiveStyles, n = this.context.content, o = ve(
315
315
  ((p = n == null ? void 0 : n.meta) == null ? void 0 : p.breakpoints) || {}
316
- ), s = t == null ? void 0 : t.large, r = t == null ? void 0 : t.medium, i = t == null ? void 0 : t.small, a = e.id;
316
+ ), r = t == null ? void 0 : t.large, s = t == null ? void 0 : t.medium, i = t == null ? void 0 : t.small, a = e.id;
317
317
  if (!a)
318
318
  return "";
319
- const c = s ? D({
319
+ const l = r ? q({
320
320
  className: a,
321
- styles: s
322
- }) : "", l = r ? D({
321
+ styles: r
322
+ }) : "", c = s ? q({
323
323
  className: a,
324
- styles: r,
324
+ styles: s,
325
325
  mediaQuery: ae(
326
326
  "medium",
327
327
  o
328
328
  )
329
- }) : "", u = i ? D({
329
+ }) : "", d = i ? q({
330
330
  className: a,
331
331
  styles: i,
332
332
  mediaQuery: ae(
@@ -334,22 +334,22 @@ const st = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
334
334
  o
335
335
  )
336
336
  }) : "";
337
- return [c, l, u].join(" ");
337
+ return [l, c, d].join(" ");
338
338
  }
339
339
  }
340
340
  });
341
- function lt(e, t, n, o, s, r) {
341
+ function ct(e, t, n, o, r, s) {
342
342
  const i = y("inlined-styles");
343
- return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), v(i, {
343
+ return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (u(), v(i, {
344
344
  key: 0,
345
345
  styles: e.css
346
346
  }, null, 8, ["styles"])) : S("v-if", !0);
347
347
  }
348
- const Ce = /* @__PURE__ */ g(ct, [["render", lt], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
348
+ const Ce = /* @__PURE__ */ g(lt, [["render", ct], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
349
349
  __proto__: null,
350
350
  default: Ce
351
351
  }, Symbol.toStringTag, { value: "Module" }));
352
- function ut(e) {
352
+ function dt(e) {
353
353
  var t;
354
354
  return {
355
355
  ...(t = e.component) == null ? void 0 : t.options,
@@ -362,20 +362,20 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
362
362
  context: t,
363
363
  registeredComponents: n
364
364
  }) => {
365
- var r;
366
- const o = (r = L({
365
+ var s;
366
+ const o = (s = K({
367
367
  block: e,
368
368
  localState: t.localState,
369
369
  rootState: t.rootState,
370
370
  rootSetState: t.rootSetState,
371
371
  context: t.context,
372
372
  shouldEvaluateBindings: !1
373
- }).component) == null ? void 0 : r.name;
373
+ }).component) == null ? void 0 : s.name;
374
374
  if (!o)
375
375
  return null;
376
- const s = n[o];
377
- if (s)
378
- return s;
376
+ const r = n[o];
377
+ if (r)
378
+ return r;
379
379
  console.warn(`
380
380
  Could not find a registered component named "${o}".
381
381
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -389,45 +389,45 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
389
389
  } = e;
390
390
  if (!(n != null && n.collection))
391
391
  return;
392
- const s = M({
392
+ const r = L({
393
393
  code: n.collection,
394
394
  localState: t.localState,
395
395
  rootState: t.rootState,
396
396
  rootSetState: t.rootSetState,
397
397
  context: t.context
398
398
  });
399
- if (!Array.isArray(s))
399
+ if (!Array.isArray(r))
400
400
  return;
401
- const r = n.collection.split(".").pop(), i = n.itemName || (r ? r + "Item" : "item");
402
- return s.map((c, l) => ({
401
+ const s = n.collection.split(".").pop(), i = n.itemName || (s ? s + "Item" : "item");
402
+ return r.map((l, c) => ({
403
403
  context: {
404
404
  ...t,
405
405
  localState: {
406
406
  ...t.localState,
407
- $index: l,
408
- $item: c,
409
- [i]: c,
410
- [`$${i}Index`]: l
407
+ $index: c,
408
+ $item: l,
409
+ [i]: l,
410
+ [`$${i}Index`]: c
411
411
  }
412
412
  },
413
413
  block: o
414
414
  }));
415
- }, bt = () => Promise.resolve().then(() => dt).then((e) => e.default).catch((e) => {
415
+ }, bt = () => Promise.resolve().then(() => ut).then((e) => e.default).catch((e) => {
416
416
  throw console.error(
417
417
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
418
418
  e
419
419
  ), e;
420
- }), gt = () => import("./repeated-block.0bc816fe.js").then((e) => e.default).catch((e) => {
420
+ }), gt = () => import("./repeated-block.f6fdedb6.js").then((e) => e.default).catch((e) => {
421
421
  throw console.error(
422
422
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
423
423
  e
424
424
  ), e;
425
- }), yt = () => import("./component-ref.8de03d1c.js").then((e) => e.default).catch((e) => {
425
+ }), yt = () => import("./component-ref.88102d68.js").then((e) => e.default).catch((e) => {
426
426
  throw console.error(
427
427
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
428
428
  e
429
429
  ), e;
430
- }), kt = () => import("./block-wrapper.ac839834.js").then((e) => e.default).catch((e) => {
430
+ }), kt = () => import("./block-wrapper.b3297452.js").then((e) => e.default).catch((e) => {
431
431
  throw console.error(
432
432
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
433
433
  e
@@ -435,10 +435,10 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
435
435
  }), vt = b({
436
436
  name: "block",
437
437
  components: {
438
- ComponentRef: N(yt),
439
- BlockWrapper: N(kt),
440
- RepeatedBlock: N(gt),
441
- BlockStyles: N(bt)
438
+ ComponentRef: U(yt),
439
+ BlockWrapper: U(kt),
440
+ RepeatedBlock: U(gt),
441
+ BlockStyles: U(bt)
442
442
  },
443
443
  props: ["block", "context", "registeredComponents"],
444
444
  data() {
@@ -459,7 +459,7 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
459
459
  });
460
460
  },
461
461
  processedBlock() {
462
- return this.repeatItem ? this.block : L({
462
+ return this.repeatItem ? this.block : K({
463
463
  block: this.block,
464
464
  localState: this.context.localState,
465
465
  rootState: this.context.rootState,
@@ -479,12 +479,12 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
479
479
  return !((t = this.blockComponent) != null && t.component) && !this.repeatItem ? (n = this.processedBlock.children) != null ? n : [] : [];
480
480
  },
481
481
  componentRefProps() {
482
- var e, t, n, o, s, r;
482
+ var e, t, n, o, r, s;
483
483
  return {
484
484
  blockChildren: (e = this.processedBlock.children) != null ? e : [],
485
485
  componentRef: (t = this.blockComponent) == null ? void 0 : t.component,
486
486
  componentOptions: {
487
- ...ut(this.processedBlock),
487
+ ...dt(this.processedBlock),
488
488
  builderContext: this.context,
489
489
  ...((n = this.blockComponent) == null ? void 0 : n.name) === "Symbol" || ((o = this.blockComponent) == null ? void 0 : o.name) === "Columns" ? {
490
490
  builderComponents: this.registeredComponents
@@ -493,31 +493,31 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
493
493
  context: this.childrenContext,
494
494
  registeredComponents: this.registeredComponents,
495
495
  builderBlock: this.processedBlock,
496
- includeBlockProps: ((s = this.blockComponent) == null ? void 0 : s.noWrap) === !0,
497
- isInteractive: !((r = this.blockComponent) != null && r.isRSC)
496
+ includeBlockProps: ((r = this.blockComponent) == null ? void 0 : r.noWrap) === !0,
497
+ isInteractive: !((s = this.blockComponent) != null && s.isRSC)
498
498
  };
499
499
  }
500
500
  }
501
501
  });
502
- function St(e, t, n, o, s, r) {
502
+ function St(e, t, n, o, r, s) {
503
503
  var p;
504
- const i = y("block-wrapper"), a = y("repeated-block"), c = y("component-ref"), l = y("block", !0), u = y("block-styles");
505
- return e.canShowBlock ? (d(), m(T, { key: 0 }, [
506
- (p = e.blockComponent) != null && p.noWrap ? (d(), v(c, se($({ key: 1 }, e.componentRefProps)), null, 16)) : (d(), m(T, { key: 0 }, [
507
- e.isEmptyHtmlElement(e.Tag) ? (d(), v(i, {
504
+ const i = y("block-wrapper"), a = y("repeated-block"), l = y("component-ref"), c = y("block", !0), d = y("block-styles");
505
+ return e.canShowBlock ? (u(), m(T, { key: 0 }, [
506
+ (p = e.blockComponent) != null && p.noWrap ? (u(), v(l, re($({ key: 1 }, e.componentRefProps)), null, 16)) : (u(), m(T, { key: 0 }, [
507
+ e.isEmptyHtmlElement(e.Tag) ? (u(), v(i, {
508
508
  key: 0,
509
509
  Wrapper: e.Tag,
510
510
  block: e.processedBlock,
511
511
  context: e.context,
512
512
  hasChildren: !1
513
513
  }, null, 8, ["Wrapper", "block", "context"])) : S("v-if", !0),
514
- !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), m(T, { key: 1 }, j(e.repeatItem, (h, f) => (d(), v(a, {
514
+ !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (u(!0), m(T, { key: 1 }, V(e.repeatItem, (h, f) => (u(), v(a, {
515
515
  key: f,
516
516
  repeatContext: h.context,
517
517
  block: h.block,
518
518
  registeredComponents: e.registeredComponents
519
519
  }, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : S("v-if", !0),
520
- !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), v(i, {
520
+ !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (u(), v(i, {
521
521
  key: 2,
522
522
  Wrapper: e.Tag,
523
523
  block: e.processedBlock,
@@ -525,14 +525,14 @@ function St(e, t, n, o, s, r) {
525
525
  hasChildren: !0
526
526
  }, {
527
527
  default: Z(() => [
528
- V(c, se(He(e.componentRefProps)), null, 16),
529
- (d(!0), m(T, null, j(e.childrenWithoutParentComponent, (h, f) => (d(), v(l, {
528
+ B(l, re(He(e.componentRefProps)), null, 16),
529
+ (u(!0), m(T, null, V(e.childrenWithoutParentComponent, (h, f) => (u(), v(c, {
530
530
  key: "block-" + h.id,
531
531
  block: h,
532
532
  context: e.childrenContext,
533
533
  registeredComponents: e.registeredComponents
534
534
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)),
535
- (d(!0), m(T, null, j(e.childrenWithoutParentComponent, (h, f) => (d(), v(u, {
535
+ (u(!0), m(T, null, V(e.childrenWithoutParentComponent, (h, f) => (u(), v(d, {
536
536
  key: "block-style-" + h.id,
537
537
  block: h,
538
538
  context: e.childrenContext
@@ -543,7 +543,7 @@ function St(e, t, n, o, s, r) {
543
543
  ], 64))
544
544
  ], 64)) : S("v-if", !0);
545
545
  }
546
- const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
546
+ const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
547
547
  __proto__: null,
548
548
  default: we
549
549
  }, Symbol.toStringTag, { value: "Module" })), Ct = b({
@@ -558,7 +558,7 @@ const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/Users/samijaber/c
558
558
  methods: {
559
559
  onClick() {
560
560
  var e, t;
561
- _() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
561
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
562
562
  {
563
563
  type: "builder.clickEmptyBlocks",
564
564
  data: {
@@ -571,7 +571,7 @@ const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/Users/samijaber/c
571
571
  },
572
572
  onMouseEnter() {
573
573
  var e, t;
574
- _() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
574
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
575
575
  {
576
576
  type: "builder.hoverEmptyBlocks",
577
577
  data: {
@@ -594,8 +594,8 @@ const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/Users/samijaber/c
594
594
  }
595
595
  });
596
596
  const wt = ["builder-path", "builder-parent-id"];
597
- function $t(e, t, n, o, s, r) {
598
- return d(), m("div", $({
597
+ function $t(e, t, n, o, r, s) {
598
+ return u(), m("div", $({
599
599
  class: e._classStringToObject(e.className + " div-178o76acnws"),
600
600
  "builder-path": e.path,
601
601
  "builder-parent-id": e.parent,
@@ -604,10 +604,10 @@ function $t(e, t, n, o, s, r) {
604
604
  onMouseenter: t[1] || (t[1] = (i) => e.onMouseEnter()),
605
605
  onKeypress: t[2] || (t[2] = (i) => e.onClick())
606
606
  }, {}), [
607
- P(e.$slots, "default", {}, void 0, !0)
607
+ j(e.$slots, "default", {}, void 0, !0)
608
608
  ], 16, wt);
609
609
  }
610
- const Tt = /* @__PURE__ */ g(Ct, [["render", $t], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), It = Symbol(), G = {
610
+ const Tt = /* @__PURE__ */ g(Ct, [["render", $t], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), It = Symbol(), J = {
611
611
  Builder: {
612
612
  content: null,
613
613
  context: {},
@@ -640,37 +640,37 @@ const Tt = /* @__PURE__ */ g(Ct, [["render", $t], ["__scopeId", "data-v-1f8aab9f
640
640
  "registeredComponents"
641
641
  ],
642
642
  inject: {
643
- builderContext: G.key,
643
+ builderContext: J.key,
644
644
  componentsContext: $e.key
645
645
  }
646
646
  });
647
- function Et(e, t, n, o, s, r) {
648
- const i = y("block"), a = y("block-styles"), c = y("blocks-wrapper");
649
- return d(), v(c, {
647
+ function Et(e, t, n, o, r, s) {
648
+ const i = y("block"), a = y("block-styles"), l = y("blocks-wrapper");
649
+ return u(), v(l, {
650
650
  blocks: e.blocks,
651
651
  parent: e.parent,
652
652
  path: e.path,
653
653
  styleProp: e.styleProp
654
654
  }, {
655
655
  default: Z(() => [
656
- e.blocks ? (d(!0), m(T, { key: 0 }, j(e.blocks, (l, u) => (d(), v(i, {
657
- key: "render-block-" + l.id,
658
- block: l,
656
+ e.blocks ? (u(!0), m(T, { key: 0 }, V(e.blocks, (c, d) => (u(), v(i, {
657
+ key: "render-block-" + c.id,
658
+ block: c,
659
659
  context: e.context || e.builderContext,
660
660
  registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
661
661
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)) : S("v-if", !0),
662
- e.blocks ? (d(!0), m(T, { key: 1 }, j(e.blocks, (l, u) => (d(), v(a, {
663
- key: "block-style-" + l.id,
664
- block: l,
662
+ e.blocks ? (u(!0), m(T, { key: 1 }, V(e.blocks, (c, d) => (u(), v(a, {
663
+ key: "block-style-" + c.id,
664
+ block: c,
665
665
  context: e.context || e.builderContext
666
666
  }, null, 8, ["block", "context"]))), 128)) : S("v-if", !0)
667
667
  ]),
668
668
  _: 1
669
669
  }, 8, ["blocks", "parent", "path", "styleProp"]);
670
670
  }
671
- const ee = /* @__PURE__ */ g(Rt, [["render", Et], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), _t = b({
671
+ const ee = /* @__PURE__ */ g(Rt, [["render", Et], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), _t = b({
672
672
  name: "builder-columns",
673
- components: { InlinedStyles: H, Blocks: ee },
673
+ components: { InlinedStyles: z, Blocks: ee },
674
674
  props: [
675
675
  "js",
676
676
  "space",
@@ -750,24 +750,24 @@ const ee = /* @__PURE__ */ g(Rt, [["render", Et], ["__file", "/Users/samijaber/c
750
750
  return this.stackAt === "never" ? t : e;
751
751
  },
752
752
  columnCssVars(e) {
753
- const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, s = "100%", r = 0;
753
+ const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, r = "100%", s = 0;
754
754
  return {
755
755
  width: n,
756
756
  ["margin-left"]: o,
757
757
  "--column-width-mobile": this.getMobileStyle({
758
- stackedStyle: s,
758
+ stackedStyle: r,
759
759
  desktopStyle: n
760
760
  }),
761
761
  "--column-margin-left-mobile": this.getMobileStyle({
762
- stackedStyle: r,
762
+ stackedStyle: s,
763
763
  desktopStyle: o
764
764
  }),
765
765
  "--column-width-tablet": this.getTabletStyle({
766
- stackedStyle: s,
766
+ stackedStyle: r,
767
767
  desktopStyle: n
768
768
  }),
769
769
  "--column-margin-left-tablet": this.getTabletStyle({
770
- stackedStyle: r,
770
+ stackedStyle: s,
771
771
  desktopStyle: o
772
772
  })
773
773
  };
@@ -789,77 +789,77 @@ const ee = /* @__PURE__ */ g(Rt, [["render", Et], ["__file", "/Users/samijaber/c
789
789
  }
790
790
  }
791
791
  });
792
- function At(e, t, n, o, s, r) {
792
+ function At(e, t, n, o, r, s) {
793
793
  const i = y("inlined-styles"), a = y("blocks");
794
- return d(), m("div", $({
794
+ return u(), m("div", $({
795
795
  class: e._classStringToObject(
796
796
  `builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`
797
797
  ),
798
798
  style: e.columnsCssVars
799
799
  }, {}), [
800
- e.TARGET !== "reactNative" ? (d(), v(i, {
800
+ e.TARGET !== "reactNative" ? (u(), v(i, {
801
801
  key: 0,
802
802
  styles: e.columnsStyles
803
803
  }, null, 8, ["styles"])) : S("v-if", !0),
804
- (d(!0), m(T, null, j(e.columns, (c, l) => (d(), m("div", $({
805
- key: l,
804
+ (u(!0), m(T, null, V(e.columns, (l, c) => (u(), m("div", $({
805
+ key: c,
806
806
  class: "builder-column div-16nol0lwi20-2",
807
- style: e.columnCssVars(l)
807
+ style: e.columnCssVars(c)
808
808
  }, {}), [
809
- V(a, {
810
- path: `component.options.columns.${l}.blocks`,
809
+ B(a, {
810
+ path: `component.options.columns.${c}.blocks`,
811
811
  parent: e.builderBlock.id,
812
812
  styleProp: {
813
813
  flexGrow: "1"
814
814
  },
815
815
  context: e.builderContext,
816
816
  registeredComponents: e.builderComponents,
817
- blocks: c.blocks
817
+ blocks: l.blocks
818
818
  }, null, 8, ["path", "parent", "context", "registeredComponents", "blocks"])
819
819
  ], 16))), 128))
820
820
  ], 16);
821
821
  }
822
- const jt = /* @__PURE__ */ g(_t, [["render", At], ["__scopeId", "data-v-7be099dc"], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Vt = b({
822
+ const Vt = /* @__PURE__ */ g(_t, [["render", At], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Bt = b({
823
823
  name: "builder-fragment-component",
824
824
  props: []
825
825
  });
826
- function Bt(e, t, n, o, s, r) {
827
- return d(), m("span", null, [
828
- P(e.$slots, "default")
826
+ function Pt(e, t, n, o, r, s) {
827
+ return u(), m("span", null, [
828
+ j(e.$slots, "default")
829
829
  ]);
830
830
  }
831
- const Pt = /* @__PURE__ */ g(Vt, [["render", Bt], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
832
- function ce(e) {
831
+ const jt = /* @__PURE__ */ g(Bt, [["render", Pt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
832
+ function le(e) {
833
833
  return e.replace(/http(s)?:/, "");
834
834
  }
835
- function Ut(e = "", t, n) {
836
- const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), s = e.indexOf("?") !== -1 ? "&" : "?";
837
- return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + s + t + "=" + encodeURIComponent(n);
835
+ function Ot(e = "", t, n) {
836
+ const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
837
+ return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
838
838
  }
839
- function Ot(e, t) {
839
+ function Nt(e, t) {
840
840
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
841
841
  return e;
842
842
  if (t === "master")
843
- return ce(e);
843
+ return le(e);
844
844
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
845
845
  if (n) {
846
- const o = e.split(n[0]), s = n[3], r = t.match("x") ? t : `${t}x`;
847
- return ce(`${o[0]}_${r}${s}`);
846
+ const o = e.split(n[0]), r = n[3], s = t.match("x") ? t : `${t}x`;
847
+ return le(`${o[0]}_${s}${r}`);
848
848
  }
849
849
  return null;
850
850
  }
851
- function q(e) {
851
+ function G(e) {
852
852
  if (!e)
853
853
  return e;
854
854
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
855
855
  if (e.match(/builder\.io/)) {
856
856
  let n = e;
857
857
  const o = Number(e.split("?width=")[1]);
858
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((s) => s !== o).map((s) => `${Ut(e, "width", s)} ${s}w`).concat([n]).join(", ");
858
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Ot(e, "width", r)} ${r}w`).concat([n]).join(", ");
859
859
  }
860
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ot(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
860
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Nt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
861
861
  }
862
- const Nt = b({
862
+ const Ft = b({
863
863
  name: "builder-image",
864
864
  props: [
865
865
  "image",
@@ -883,10 +883,10 @@ const Nt = b({
883
883
  return this.srcset;
884
884
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
885
885
  if (!this.srcset.includes(this.image.split("?")[0]))
886
- return console.debug("Removed given srcset"), q(t);
886
+ return console.debug("Removed given srcset"), G(t);
887
887
  } else if (this.image && !this.srcset)
888
- return q(t);
889
- return q(t);
888
+ return G(t);
889
+ return G(t);
890
890
  },
891
891
  webpSrcSet() {
892
892
  var e;
@@ -915,20 +915,20 @@ const Nt = b({
915
915
  }
916
916
  }
917
917
  });
918
- const Ft = ["srcset"], Wt = ["alt", "role", "src", "srcset", "sizes"], Mt = {
918
+ const Ut = ["srcset"], Wt = ["alt", "role", "src", "srcset", "sizes"], Mt = {
919
919
  key: 2,
920
920
  class: "div-1be3j8m9ewb-2"
921
921
  };
922
- function Lt(e, t, n, o, s, r) {
923
- var i, a, c, l;
924
- return d(), m(T, null, [
925
- re("picture", null, [
926
- e.webpSrcSet ? (d(), m("source", {
922
+ function Lt(e, t, n, o, r, s) {
923
+ var i, a, l, c;
924
+ return u(), m(T, null, [
925
+ se("picture", null, [
926
+ e.webpSrcSet ? (u(), m("source", {
927
927
  key: 0,
928
928
  type: "image/webp",
929
929
  srcset: e.webpSrcSet
930
- }, null, 8, Ft)) : S("v-if", !0),
931
- re("img", {
930
+ }, null, 8, Ut)) : S("v-if", !0),
931
+ se("img", {
932
932
  loading: "lazy",
933
933
  alt: e.altText,
934
934
  role: e.altText ? "presentation" : void 0,
@@ -947,28 +947,28 @@ function Lt(e, t, n, o, s, r) {
947
947
  sizes: e.sizes
948
948
  }, null, 14, Wt)
949
949
  ]),
950
- e.aspectRatio && !(((a = (i = e.builderBlock) == null ? void 0 : i.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), m("div", {
950
+ e.aspectRatio && !(((a = (i = e.builderBlock) == null ? void 0 : i.children) == null ? void 0 : a.length) && e.fitContent) ? (u(), m("div", {
951
951
  key: 0,
952
952
  class: "builder-image-sizer div-1be3j8m9ewb",
953
953
  style: ie({
954
954
  paddingTop: e.aspectRatio * 100 + "%"
955
955
  })
956
956
  }, null, 4)) : S("v-if", !0),
957
- ((l = (c = e.builderBlock) == null ? void 0 : c.children) == null ? void 0 : l.length) && e.fitContent ? P(e.$slots, "default", { key: 1 }, void 0, !0) : S("v-if", !0),
958
- !e.fitContent && e.$slots.default ? (d(), m("div", Mt, [
959
- P(e.$slots, "default", {}, void 0, !0)
957
+ ((c = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : c.length) && e.fitContent ? j(e.$slots, "default", { key: 1 }, void 0, !0) : S("v-if", !0),
958
+ !e.fitContent && e.$slots.default ? (u(), m("div", Mt, [
959
+ j(e.$slots, "default", {}, void 0, !0)
960
960
  ])) : S("v-if", !0)
961
961
  ], 64);
962
962
  }
963
- const Kt = /* @__PURE__ */ g(Nt, [["render", Lt], ["__scopeId", "data-v-58ca75d1"], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/image/image.vue"]]), Ht = b({
963
+ const Kt = /* @__PURE__ */ g(Ft, [["render", Lt], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/image/image.vue"]]), Ht = b({
964
964
  name: "builder-section-component",
965
965
  props: ["attributes", "maxWidth"],
966
966
  data() {
967
- return { filterAttrs: K };
967
+ return { filterAttrs: H };
968
968
  }
969
969
  });
970
- function zt(e, t, n, o, s, r) {
971
- return d(), m("section", $({
970
+ function zt(e, t, n, o, r, s) {
971
+ return u(), m("section", $({
972
972
  style: {
973
973
  width: "100%",
974
974
  alignSelf: "stretch",
@@ -981,33 +981,33 @@ function zt(e, t, n, o, s, r) {
981
981
  marginLeft: "auto",
982
982
  marginRight: "auto"
983
983
  }
984
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
985
- P(e.$slots, "default")
984
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
985
+ j(e.$slots, "default")
986
986
  ], 16);
987
987
  }
988
- const Dt = /* @__PURE__ */ g(Ht, [["render", zt], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/section/section.vue"]]), W = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
988
+ const Dt = /* @__PURE__ */ g(Ht, [["render", zt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/section/section.vue"]]), M = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
989
989
  ...t,
990
990
  testVariationId: t.id,
991
991
  id: e == null ? void 0 : e.id
992
992
  })), qt = ({
993
993
  canTrack: e,
994
994
  content: t
995
- }) => !(!(W(t).length > 0) || !e);
995
+ }) => !(!(M(t).length > 0) || !e);
996
996
  function Gt(e, t, n) {
997
997
  var i;
998
998
  function o() {
999
999
  function a(k, w, R) {
1000
- let B = "";
1000
+ let P = "";
1001
1001
  if (R) {
1002
1002
  const I = new Date();
1003
- I.setTime(I.getTime() + R * 24 * 60 * 60 * 1e3), B = "; expires=" + I.toUTCString();
1003
+ I.setTime(I.getTime() + R * 24 * 60 * 60 * 1e3), P = "; expires=" + I.toUTCString();
1004
1004
  }
1005
- document.cookie = k + "=" + (w || "") + B + "; path=/; Secure; SameSite=None";
1005
+ document.cookie = k + "=" + (w || "") + P + "; path=/; Secure; SameSite=None";
1006
1006
  }
1007
- function c(k) {
1007
+ function l(k) {
1008
1008
  const w = k + "=", R = document.cookie.split(";");
1009
- for (let B = 0; B < R.length; B++) {
1010
- let I = R[B];
1009
+ for (let P = 0; P < R.length; P++) {
1010
+ let I = R[P];
1011
1011
  for (; I.charAt(0) === " "; )
1012
1012
  I = I.substring(1, I.length);
1013
1013
  if (I.indexOf(w) === 0)
@@ -1015,48 +1015,48 @@ function Gt(e, t, n) {
1015
1015
  }
1016
1016
  return null;
1017
1017
  }
1018
- const l = `builder.tests.${e}`, u = c(l), p = t.map((k) => k.id).concat(e);
1019
- if (u && p.includes(u))
1020
- return u;
1018
+ const c = `builder.tests.${e}`, d = l(c), p = t.map((k) => k.id).concat(e);
1019
+ if (d && p.includes(d))
1020
+ return d;
1021
1021
  let h = 0;
1022
1022
  const f = Math.random();
1023
1023
  for (let k = 0; k < t.length; k++) {
1024
1024
  const w = t[k], R = w.testRatio;
1025
1025
  if (h += R, f < h)
1026
- return a(l, w.id), w.id;
1026
+ return a(c, w.id), w.id;
1027
1027
  }
1028
- return a(l, e), e;
1028
+ return a(c, e), e;
1029
1029
  }
1030
- const s = o(), r = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
1030
+ const r = o(), s = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
1031
1031
  if (n) {
1032
- r.remove();
1032
+ s.remove();
1033
1033
  const a = document.currentScript;
1034
1034
  a == null || a.remove();
1035
1035
  } else {
1036
1036
  const a = t.concat({
1037
1037
  id: e
1038
- }).filter((c) => c.id !== s).map((c) => `.variant-${c.id} { display: none; }
1038
+ }).filter((l) => l.id !== r).map((l) => `.variant-${l.id} { display: none; }
1039
1039
  `).join("");
1040
- r.innerHTML = a;
1040
+ s.innerHTML = a;
1041
1041
  }
1042
1042
  }
1043
1043
  function Jt(e, t, n) {
1044
- var c;
1044
+ var l;
1045
1045
  if (!navigator.cookieEnabled)
1046
1046
  return;
1047
- function o(l) {
1048
- const u = l + "=", p = document.cookie.split(";");
1047
+ function o(c) {
1048
+ const d = c + "=", p = document.cookie.split(";");
1049
1049
  for (let h = 0; h < p.length; h++) {
1050
1050
  let f = p[h];
1051
1051
  for (; f.charAt(0) === " "; )
1052
1052
  f = f.substring(1, f.length);
1053
- if (f.indexOf(u) === 0)
1054
- return f.substring(u.length, f.length);
1053
+ if (f.indexOf(d) === 0)
1054
+ return f.substring(d.length, f.length);
1055
1055
  }
1056
1056
  return null;
1057
1057
  }
1058
- const s = `builder.tests.${t}`, r = o(s), i = (c = document.currentScript) == null ? void 0 : c.parentElement, a = e === t;
1059
- if (r === e) {
1058
+ const r = `builder.tests.${t}`, s = o(r), i = (l = document.currentScript) == null ? void 0 : l.parentElement, a = e === t;
1059
+ if (s === e) {
1060
1060
  if (a)
1061
1061
  return;
1062
1062
  i == null || i.removeAttribute("hidden"), i == null || i.removeAttribute("aria-hidden");
@@ -1286,7 +1286,7 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1286
1286
  });
1287
1287
  }
1288
1288
  const n = e.get("columns");
1289
- Array.isArray(n) && !!n.find((s) => s.get("width")) && (!!n.find((r) => !r.get("width")) || n.reduce((a, c) => a + c.get("width"), 0) !== 100) && t();
1289
+ 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();
1290
1290
  }
1291
1291
  }, {
1292
1292
  name: "space",
@@ -1335,28 +1335,28 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1335
1335
  onChange: (e) => {
1336
1336
  e.delete("srcset"), e.delete("noWebp");
1337
1337
  function n(i, a = 6e4) {
1338
- return new Promise((c, l) => {
1339
- const u = document.createElement("img");
1338
+ return new Promise((l, c) => {
1339
+ const d = document.createElement("img");
1340
1340
  let p = !1;
1341
- u.onload = () => {
1342
- p = !0, c(u);
1343
- }, u.addEventListener("error", (h) => {
1344
- console.warn("Image load failed", h.error), l(h.error);
1345
- }), u.src = i, setTimeout(() => {
1346
- p || l(new Error("Image load timed out"));
1341
+ d.onload = () => {
1342
+ p = !0, l(d);
1343
+ }, d.addEventListener("error", (h) => {
1344
+ console.warn("Image load failed", h.error), c(h.error);
1345
+ }), d.src = i, setTimeout(() => {
1346
+ p || c(new Error("Image load timed out"));
1347
1347
  }, a);
1348
1348
  });
1349
1349
  }
1350
1350
  function o(i) {
1351
1351
  return Math.round(i * 1e3) / 1e3;
1352
1352
  }
1353
- const s = e.get("image"), r = e.get("aspectRatio");
1354
- if (fetch(s).then((i) => i.blob()).then((i) => {
1353
+ const r = e.get("image"), s = e.get("aspectRatio");
1354
+ if (fetch(r).then((i) => i.blob()).then((i) => {
1355
1355
  i.type.includes("svg") && e.set("noWebp", !0);
1356
- }), s && (!r || r === 0.7041))
1357
- return n(s).then((i) => {
1356
+ }), r && (!s || s === 0.7041))
1357
+ return n(r).then((i) => {
1358
1358
  const a = e.get("aspectRatio");
1359
- e.get("image") === s && (!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));
1359
+ 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));
1360
1360
  });
1361
1361
  }
1362
1362
  }, {
@@ -1414,7 +1414,7 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1414
1414
  advanced: !0,
1415
1415
  defaultValue: 0.7041
1416
1416
  }]
1417
- }, sn = {
1417
+ }, rn = {
1418
1418
  name: "Core:Section",
1419
1419
  static: !0,
1420
1420
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1453,7 +1453,7 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1453
1453
  }
1454
1454
  }
1455
1455
  }]
1456
- }, rn = {
1456
+ }, sn = {
1457
1457
  name: "Symbol",
1458
1458
  noWrap: !0,
1459
1459
  static: !0,
@@ -1504,21 +1504,21 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1504
1504
  height: "auto",
1505
1505
  textAlign: "center"
1506
1506
  }
1507
- }, cn = b({
1507
+ }, ln = b({
1508
1508
  name: "builder-text",
1509
1509
  props: ["text"]
1510
- }), ln = ["innerHTML"];
1511
- function dn(e, t, n, o, s, r) {
1510
+ }), cn = ["innerHTML"];
1511
+ function un(e, t, n, o, r, s) {
1512
1512
  var i;
1513
- return d(), m("div", {
1513
+ return u(), m("div", {
1514
1514
  class: "builder-text",
1515
1515
  innerHTML: ((i = e.text) == null ? void 0 : i.toString()) || "",
1516
1516
  style: {
1517
1517
  outline: "none"
1518
1518
  }
1519
- }, null, 8, ln);
1519
+ }, null, 8, cn);
1520
1520
  }
1521
- const un = /* @__PURE__ */ g(cn, [["render", dn], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), pn = {
1521
+ const dn = /* @__PURE__ */ g(ln, [["render", un], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), pn = {
1522
1522
  name: "Video",
1523
1523
  canHaveChildren: !0,
1524
1524
  defaultStyles: {
@@ -1642,9 +1642,9 @@ const un = /* @__PURE__ */ g(cn, [["render", dn], ["__file", "/Users/samijaber/c
1642
1642
  }
1643
1643
  }
1644
1644
  }), hn = ["preload", "src", "poster"];
1645
- function fn(e, t, n, o, s, r) {
1645
+ function fn(e, t, n, o, r, s) {
1646
1646
  var i;
1647
- return d(), m("video", $({
1647
+ return u(), m("video", $({
1648
1648
  preload: e.preload || "metadata",
1649
1649
  style: {
1650
1650
  width: "100%",
@@ -1658,7 +1658,7 @@ function fn(e, t, n, o, s, r) {
1658
1658
  poster: e.posterImage
1659
1659
  }, e.spreadProps), null, 16, hn);
1660
1660
  }
1661
- const bn = /* @__PURE__ */ g(mn, [["render", fn], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), gn = {
1661
+ const bn = /* @__PURE__ */ g(mn, [["render", fn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), gn = {
1662
1662
  name: "Embed",
1663
1663
  static: !0,
1664
1664
  inputs: [{
@@ -1726,14 +1726,14 @@ const bn = /* @__PURE__ */ g(mn, [["render", fn], ["__file", "/Users/samijaber/c
1726
1726
  }
1727
1727
  }
1728
1728
  }), Sn = ["innerHTML"];
1729
- function Cn(e, t, n, o, s, r) {
1730
- return d(), m("div", {
1729
+ function Cn(e, t, n, o, r, s) {
1730
+ return u(), m("div", {
1731
1731
  class: "builder-embed",
1732
1732
  ref: "elem",
1733
1733
  innerHTML: e.content
1734
1734
  }, null, 8, Sn);
1735
1735
  }
1736
- const wn = /* @__PURE__ */ g(vn, [["render", Cn], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/embed/embed.vue"]]), $n = b({
1736
+ const wn = /* @__PURE__ */ g(vn, [["render", Cn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/embed/embed.vue"]]), $n = b({
1737
1737
  name: "builder-img-component",
1738
1738
  props: [
1739
1739
  "backgroundSize",
@@ -1744,11 +1744,11 @@ const wn = /* @__PURE__ */ g(vn, [["render", Cn], ["__file", "/Users/samijaber/c
1744
1744
  "attributes"
1745
1745
  ],
1746
1746
  data() {
1747
- return { isEditing: _, filterAttrs: K };
1747
+ return { isEditing: E, filterAttrs: H };
1748
1748
  }
1749
1749
  }), Tn = ["alt", "src"];
1750
- function In(e, t, n, o, s, r) {
1751
- return d(), m("img", $({
1750
+ function In(e, t, n, o, r, s) {
1751
+ return u(), m("img", $({
1752
1752
  style: {
1753
1753
  objectFit: e.backgroundSize || "cover",
1754
1754
  objectPosition: e.backgroundPosition || "center"
@@ -1756,9 +1756,9 @@ function In(e, t, n, o, s, r) {
1756
1756
  key: e.isEditing() && e.imgSrc || "default-key",
1757
1757
  alt: e.altText,
1758
1758
  src: e.imgSrc || e.image
1759
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Tn);
1759
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Tn);
1760
1760
  }
1761
- const xn = /* @__PURE__ */ g($n, [["render", In], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Rn = {
1761
+ const xn = /* @__PURE__ */ g($n, [["render", In], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Rn = {
1762
1762
  name: "Raw:Img",
1763
1763
  hideFromInsertMenu: !0,
1764
1764
  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",
@@ -1819,8 +1819,8 @@ const xn = /* @__PURE__ */ g($n, [["render", In], ["__file", "/Users/samijaber/c
1819
1819
  }
1820
1820
  }
1821
1821
  }), _n = ["innerHTML"];
1822
- function An(e, t, n, o, s, r) {
1823
- return d(), m("div", {
1822
+ function An(e, t, n, o, r, s) {
1823
+ return u(), m("div", {
1824
1824
  ref: "elem",
1825
1825
  class: ye(
1826
1826
  e._classStringToObject(
@@ -1830,7 +1830,7 @@ function An(e, t, n, o, s, r) {
1830
1830
  innerHTML: e.code
1831
1831
  }, null, 10, _n);
1832
1832
  }
1833
- const jn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), Vn = {
1833
+ const Vn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), Bn = {
1834
1834
  name: "Custom Code",
1835
1835
  static: !0,
1836
1836
  requiredPermissions: ["editCode"],
@@ -1852,20 +1852,20 @@ const jn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/c
1852
1852
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
1853
1853
  advanced: !0
1854
1854
  }]
1855
- }, le = () => [{
1855
+ }, ce = () => [{
1856
1856
  component: Je,
1857
1857
  ...en
1858
1858
  }, {
1859
- component: jt,
1859
+ component: Vt,
1860
1860
  ...tn
1861
1861
  }, {
1862
- component: jn,
1863
- ...Vn
1862
+ component: Vn,
1863
+ ...Bn
1864
1864
  }, {
1865
1865
  component: wn,
1866
1866
  ...gn
1867
1867
  }, {
1868
- component: Pt,
1868
+ component: jt,
1869
1869
  ...nn
1870
1870
  }, {
1871
1871
  component: Kt,
@@ -1875,36 +1875,36 @@ const jn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/c
1875
1875
  ...Rn
1876
1876
  }, {
1877
1877
  component: Dt,
1878
- ...sn
1878
+ ...rn
1879
1879
  }, {
1880
1880
  component: zo,
1881
- ...rn
1881
+ ...sn
1882
1882
  }, {
1883
- component: un,
1883
+ component: dn,
1884
1884
  ...an
1885
1885
  }, {
1886
1886
  component: bn,
1887
1887
  ...pn
1888
- }], de = [], Bn = (e) => ({
1888
+ }], ue = [], Pn = (e) => ({
1889
1889
  type: "builder.registerComponent",
1890
- data: J(e)
1891
- }), Pn = (e) => {
1890
+ data: Y(e)
1891
+ }), jn = (e) => {
1892
1892
  const t = e.toString().trim();
1893
1893
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
1894
- }, Un = (e) => typeof e == "function" ? Pn(e) : O(e), J = ({
1894
+ }, On = (e) => typeof e == "function" ? jn(e) : F(e), Y = ({
1895
1895
  inputs: e,
1896
1896
  ...t
1897
1897
  }) => ({
1898
- ...O(t),
1899
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [s, r]) => ({
1898
+ ...F(t),
1899
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, s]) => ({
1900
1900
  ...o,
1901
- [s]: Un(r)
1901
+ [r]: On(s)
1902
1902
  }), {}))
1903
- }), On = (e) => {
1904
- var r, i;
1905
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (i = e.fileUrl) != null ? i : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
1906
- let s = "";
1907
- if (o && t && n && (s += `
1903
+ }), Nn = (e) => {
1904
+ var s, i;
1905
+ 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;
1906
+ let r = "";
1907
+ if (o && t && n && (r += `
1908
1908
  @font-face {
1909
1909
  font-family: "${t}";
1910
1910
  src: local("${n}"), url('${o}') format('woff2');
@@ -1915,37 +1915,37 @@ font-weight: 400;
1915
1915
  for (const a in e.files) {
1916
1916
  if (!(String(Number(a)) === a))
1917
1917
  continue;
1918
- const l = e.files[a];
1919
- l && l !== o && (s += `
1918
+ const c = e.files[a];
1919
+ c && c !== o && (r += `
1920
1920
  @font-face {
1921
1921
  font-family: "${t}";
1922
- src: url('${l}') format('woff2');
1922
+ src: url('${c}') format('woff2');
1923
1923
  font-display: fallback;
1924
1924
  font-weight: ${a};
1925
1925
  }
1926
1926
  `.trim());
1927
1927
  }
1928
- return s;
1929
- }, Nn = ({
1928
+ return r;
1929
+ }, Fn = ({
1930
1930
  customFonts: e
1931
1931
  }) => {
1932
1932
  var t;
1933
- return ((t = e == null ? void 0 : e.map((n) => On(n))) == null ? void 0 : t.join(" ")) || "";
1934
- }, Fn = ({
1933
+ return ((t = e == null ? void 0 : e.map((n) => Nn(n))) == null ? void 0 : t.join(" ")) || "";
1934
+ }, Un = ({
1935
1935
  cssCode: e,
1936
1936
  contentId: t
1937
1937
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Wn = b({
1938
1938
  name: "content-styles",
1939
- components: { InlinedStyles: H },
1939
+ components: { InlinedStyles: z },
1940
1940
  props: ["cssCode", "contentId", "customFonts"],
1941
1941
  data() {
1942
1942
  return {
1943
1943
  injectedStyles: `
1944
- ${Fn({
1944
+ ${Un({
1945
1945
  cssCode: this.cssCode,
1946
1946
  contentId: this.contentId
1947
1947
  })}
1948
- ${Nn({
1948
+ ${Fn({
1949
1949
  customFonts: this.customFonts
1950
1950
  })}
1951
1951
 
@@ -1965,22 +1965,22 @@ ${Nn({
1965
1965
  };
1966
1966
  }
1967
1967
  });
1968
- function Mn(e, t, n, o, s, r) {
1968
+ function Mn(e, t, n, o, r, s) {
1969
1969
  const i = y("inlined-styles");
1970
- return d(), v(i, { styles: e.injectedStyles }, null, 8, ["styles"]);
1970
+ return u(), v(i, { styles: e.injectedStyles }, null, 8, ["styles"]);
1971
1971
  }
1972
- const Ln = /* @__PURE__ */ g(Wn, [["render", Mn], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Kn = ({
1972
+ const Ln = /* @__PURE__ */ g(Wn, [["render", Mn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Kn = ({
1973
1973
  content: e,
1974
1974
  data: t,
1975
1975
  locale: n
1976
1976
  }) => {
1977
- var r, i, a;
1977
+ var s, i, a;
1978
1978
  const o = {};
1979
- (i = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || i.forEach((c) => {
1980
- var l;
1981
- c.name && c.defaultValue !== void 0 && ((l = e == null ? void 0 : e.data) == null ? void 0 : l.state) && e.data.state[c.name] === void 0 && (o[c.name] = c.defaultValue);
1979
+ (i = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || i.forEach((l) => {
1980
+ var c;
1981
+ 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);
1982
1982
  });
1983
- const s = {
1983
+ const r = {
1984
1984
  ...(a = e == null ? void 0 : e.data) == null ? void 0 : a.state,
1985
1985
  ...t,
1986
1986
  ...n ? {
@@ -1989,7 +1989,7 @@ const Ln = /* @__PURE__ */ g(Wn, [["render", Mn], ["__file", "/Users/samijaber/c
1989
1989
  };
1990
1990
  return {
1991
1991
  ...o,
1992
- ...s
1992
+ ...r
1993
1993
  };
1994
1994
  }, Hn = ({
1995
1995
  content: e,
@@ -2028,12 +2028,12 @@ const Re = Dn(), qn = (e) => {
2028
2028
  x.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
2029
2029
  return;
2030
2030
  }
2031
- }, _e = async (e) => Ee(e), Gn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(E).join("; "), Jn = [["secure", ""], ["SameSite", "None"]], Yn = ({
2031
+ }, _e = async (e) => Ee(e), Gn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(_).join("; "), Jn = [["secure", ""], ["SameSite", "None"]], Yn = ({
2032
2032
  name: e,
2033
2033
  value: t,
2034
2034
  expires: n
2035
2035
  }) => {
2036
- const s = (C() ? location.protocol === "https:" : !0) ? Jn : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...r, ["path", "/"], ["domain", qn(window.location.hostname)], ...s];
2036
+ const r = (C() ? location.protocol === "https:" : !0) ? Jn : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", qn(window.location.hostname)], ...r];
2037
2037
  return Gn(i);
2038
2038
  }, Ae = async ({
2039
2039
  name: e,
@@ -2044,14 +2044,14 @@ const Re = Dn(), qn = (e) => {
2044
2044
  try {
2045
2045
  if (!o)
2046
2046
  return;
2047
- const s = Yn({
2047
+ const r = Yn({
2048
2048
  name: e,
2049
2049
  value: t,
2050
2050
  expires: n
2051
2051
  });
2052
- document.cookie = s;
2053
- } catch (s) {
2054
- x.warn("[COOKIE] SET error: ", (s == null ? void 0 : s.message) || s);
2052
+ document.cookie = r;
2053
+ } catch (r) {
2054
+ x.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
2055
2055
  }
2056
2056
  };
2057
2057
  function Xn() {
@@ -2060,19 +2060,19 @@ function Xn() {
2060
2060
  return (e == "x" ? t : t & 3 | 8).toString(16);
2061
2061
  });
2062
2062
  }
2063
- function je() {
2063
+ function Ve() {
2064
2064
  return Xn().replace(/-/g, "");
2065
2065
  }
2066
- const Ve = "builderSessionId", Qn = async ({
2066
+ const Be = "builderSessionId", Qn = async ({
2067
2067
  canTrack: e
2068
2068
  }) => {
2069
2069
  if (!e)
2070
2070
  return;
2071
2071
  const t = await _e({
2072
- name: Ve,
2072
+ name: Be,
2073
2073
  canTrack: e
2074
2074
  });
2075
- if (E(t))
2075
+ if (_(t))
2076
2076
  return t;
2077
2077
  {
2078
2078
  const n = Zn();
@@ -2081,20 +2081,20 @@ const Ve = "builderSessionId", Qn = async ({
2081
2081
  canTrack: e
2082
2082
  }), n;
2083
2083
  }
2084
- }, Zn = () => je(), eo = ({
2084
+ }, Zn = () => Ve(), eo = ({
2085
2085
  id: e,
2086
2086
  canTrack: t
2087
2087
  }) => Ae({
2088
- name: Ve,
2088
+ name: Be,
2089
2089
  value: e,
2090
2090
  canTrack: t
2091
- }), Be = () => C() && typeof localStorage < "u" ? localStorage : void 0, to = ({
2091
+ }), Pe = () => C() && typeof localStorage < "u" ? localStorage : void 0, to = ({
2092
2092
  key: e,
2093
2093
  canTrack: t
2094
2094
  }) => {
2095
2095
  var n;
2096
2096
  try {
2097
- return t ? (n = Be()) == null ? void 0 : n.getItem(e) : void 0;
2097
+ return t ? (n = Pe()) == null ? void 0 : n.getItem(e) : void 0;
2098
2098
  } catch (o) {
2099
2099
  console.debug("[LocalStorage] GET error: ", o);
2100
2100
  return;
@@ -2106,33 +2106,33 @@ const Ve = "builderSessionId", Qn = async ({
2106
2106
  }) => {
2107
2107
  var o;
2108
2108
  try {
2109
- t && ((o = Be()) == null || o.setItem(e, n));
2110
- } catch (s) {
2111
- console.debug("[LocalStorage] SET error: ", s);
2109
+ t && ((o = Pe()) == null || o.setItem(e, n));
2110
+ } catch (r) {
2111
+ console.debug("[LocalStorage] SET error: ", r);
2112
2112
  }
2113
- }, Pe = "builderVisitorId", oo = ({
2113
+ }, je = "builderVisitorId", oo = ({
2114
2114
  canTrack: e
2115
2115
  }) => {
2116
2116
  if (!e)
2117
2117
  return;
2118
2118
  const t = to({
2119
- key: Pe,
2119
+ key: je,
2120
2120
  canTrack: e
2121
2121
  });
2122
- if (E(t))
2122
+ if (_(t))
2123
2123
  return t;
2124
2124
  {
2125
- const n = so();
2126
- return ro({
2125
+ const n = ro();
2126
+ return so({
2127
2127
  id: n,
2128
2128
  canTrack: e
2129
2129
  }), n;
2130
2130
  }
2131
- }, so = () => je(), ro = ({
2131
+ }, ro = () => Ve(), so = ({
2132
2132
  id: e,
2133
2133
  canTrack: t
2134
2134
  }) => no({
2135
- key: Pe,
2135
+ key: je,
2136
2136
  value: e,
2137
2137
  canTrack: t
2138
2138
  }), io = async ({
@@ -2157,11 +2157,11 @@ const Ve = "builderSessionId", Qn = async ({
2157
2157
  canTrack: t,
2158
2158
  apiKey: n,
2159
2159
  metadata: o,
2160
- ...s
2160
+ ...r
2161
2161
  }) => ({
2162
2162
  type: e,
2163
2163
  data: {
2164
- ...s,
2164
+ ...r,
2165
2165
  metadata: {
2166
2166
  url: location.href,
2167
2167
  ...o
@@ -2173,12 +2173,12 @@ const Ve = "builderSessionId", Qn = async ({
2173
2173
  ownerId: n
2174
2174
  }
2175
2175
  });
2176
- async function Y(e) {
2176
+ async function X(e) {
2177
2177
  if (!e.apiKey) {
2178
2178
  x.error("Missing API key for track call. Please provide your API key.");
2179
2179
  return;
2180
2180
  }
2181
- if (!!e.canTrack && !_() && !!(C() || A === "reactNative"))
2181
+ if (!!e.canTrack && !E() && !!(C() || A === "reactNative"))
2182
2182
  return fetch("https://cdn.builder.io/api/v1/track", {
2183
2183
  method: "POST",
2184
2184
  body: JSON.stringify({
@@ -2192,13 +2192,13 @@ async function Y(e) {
2192
2192
  console.error("Failed to track: ", t);
2193
2193
  });
2194
2194
  }
2195
- const Go = (e) => Y({
2195
+ const Go = (e) => X({
2196
2196
  ...e,
2197
2197
  canTrack: !0
2198
- }), co = "0.6.3", ue = {};
2199
- function lo(e, t) {
2200
- let n = ue[e];
2201
- if (n || (n = ue[e] = []), n.push(t), C()) {
2198
+ }), lo = "0.6.4", de = {};
2199
+ function co(e, t) {
2200
+ let n = de[e];
2201
+ if (n || (n = de[e] = []), n.push(t), C()) {
2202
2202
  const o = {
2203
2203
  type: "builder.register",
2204
2204
  data: {
@@ -2208,13 +2208,13 @@ function lo(e, t) {
2208
2208
  };
2209
2209
  try {
2210
2210
  parent.postMessage(o, "*"), parent !== window && window.postMessage(o, "*");
2211
- } catch (s) {
2212
- console.debug("Could not postmessage", s);
2211
+ } catch (r) {
2212
+ console.debug("Could not postmessage", r);
2213
2213
  }
2214
2214
  }
2215
2215
  }
2216
2216
  const uo = () => {
2217
- lo("insertMenu", {
2217
+ co("insertMenu", {
2218
2218
  name: "_default",
2219
2219
  default: !0,
2220
2220
  items: [{
@@ -2243,7 +2243,7 @@ const po = (e = {}) => {
2243
2243
  type: "builder.sdkInfo",
2244
2244
  data: {
2245
2245
  target: A,
2246
- version: co,
2246
+ version: lo,
2247
2247
  supportsPatchUpdates: !1,
2248
2248
  supportsAddBlockScoping: !0,
2249
2249
  supportsCustomBreakpoints: !0
@@ -2256,37 +2256,37 @@ const po = (e = {}) => {
2256
2256
  }, "*"), window.addEventListener("message", ({
2257
2257
  data: o
2258
2258
  }) => {
2259
- var s, r;
2259
+ var r, s;
2260
2260
  if (!!(o != null && o.type))
2261
2261
  switch (o.type) {
2262
2262
  case "builder.evaluate": {
2263
- const i = o.data.text, a = o.data.arguments || [], c = o.data.id, l = new Function(i);
2264
- let u, p = null;
2263
+ const i = o.data.text, a = o.data.arguments || [], l = o.data.id, c = new Function(i);
2264
+ let d, p = null;
2265
2265
  try {
2266
- u = l.apply(null, a);
2266
+ d = c.apply(null, a);
2267
2267
  } catch (h) {
2268
2268
  p = h;
2269
2269
  }
2270
- p ? (s = window.parent) == null || s.postMessage({
2270
+ p ? (r = window.parent) == null || r.postMessage({
2271
2271
  type: "builder.evaluateError",
2272
2272
  data: {
2273
- id: c,
2273
+ id: l,
2274
2274
  error: p.message
2275
2275
  }
2276
- }, "*") : u && typeof u.then == "function" ? u.then((h) => {
2276
+ }, "*") : d && typeof d.then == "function" ? d.then((h) => {
2277
2277
  var f;
2278
2278
  (f = window.parent) == null || f.postMessage({
2279
2279
  type: "builder.evaluateResult",
2280
2280
  data: {
2281
- id: c,
2281
+ id: l,
2282
2282
  result: h
2283
2283
  }
2284
2284
  }, "*");
2285
- }).catch(console.error) : (r = window.parent) == null || r.postMessage({
2285
+ }).catch(console.error) : (s = window.parent) == null || s.postMessage({
2286
2286
  type: "builder.evaluateResult",
2287
2287
  data: {
2288
- result: u,
2289
- id: c
2288
+ result: d,
2289
+ id: l
2290
2290
  }
2291
2291
  }, "*");
2292
2292
  break;
@@ -2315,9 +2315,9 @@ const mo = (e, t, n = !0) => {
2315
2315
  event: e,
2316
2316
  target: t
2317
2317
  }) => {
2318
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, s = e.clientY - n.top, r = me(o / n.width), i = me(s / n.height);
2318
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, s = me(o / n.width), i = me(r / n.height);
2319
2319
  return {
2320
- x: r,
2320
+ x: s,
2321
2321
  y: i
2322
2322
  };
2323
2323
  }, fo = (e) => {
@@ -2353,20 +2353,20 @@ const mo = (e, t, n = !0) => {
2353
2353
  name: te(e),
2354
2354
  value: t,
2355
2355
  canTrack: !0
2356
- }), Ue = (e) => E(e.id) && E(e.variations) && Object.keys(e.variations).length > 0, vo = ({
2356
+ }), Oe = (e) => _(e.id) && _(e.variations) && Object.keys(e.variations).length > 0, vo = ({
2357
2357
  id: e,
2358
2358
  variations: t
2359
2359
  }) => {
2360
- var s;
2360
+ var r;
2361
2361
  let n = 0;
2362
2362
  const o = Math.random();
2363
- for (const r in t) {
2364
- const i = (s = t[r]) == null ? void 0 : s.testRatio;
2363
+ for (const s in t) {
2364
+ const i = (r = t[s]) == null ? void 0 : r.testRatio;
2365
2365
  if (n += i, o < n)
2366
- return r;
2366
+ return s;
2367
2367
  }
2368
2368
  return e;
2369
- }, Oe = (e) => {
2369
+ }, Ne = (e) => {
2370
2370
  const t = vo(e);
2371
2371
  return ko({
2372
2372
  contentId: e.id,
@@ -2374,7 +2374,7 @@ const mo = (e, t, n = !0) => {
2374
2374
  }).catch((n) => {
2375
2375
  x.error("could not store A/B test variation: ", n);
2376
2376
  }), t;
2377
- }, Ne = ({
2377
+ }, Fe = ({
2378
2378
  item: e,
2379
2379
  testGroupId: t
2380
2380
  }) => {
@@ -2395,14 +2395,14 @@ const mo = (e, t, n = !0) => {
2395
2395
  return e;
2396
2396
  if (!e)
2397
2397
  return;
2398
- if (!Ue(e))
2398
+ if (!Oe(e))
2399
2399
  return e;
2400
2400
  const n = yo({
2401
2401
  contentId: e.id
2402
- }) || Oe({
2402
+ }) || Ne({
2403
2403
  variations: e.variations,
2404
2404
  id: e.id
2405
- }), o = Ne({
2405
+ }), o = Fe({
2406
2406
  item: e,
2407
2407
  testGroupId: n
2408
2408
  });
@@ -2414,31 +2414,31 @@ const mo = (e, t, n = !0) => {
2414
2414
  item: e,
2415
2415
  canTrack: t
2416
2416
  }) => {
2417
- if (!t || !Ue(e))
2417
+ if (!t || !Oe(e))
2418
2418
  return e;
2419
2419
  const o = await go({
2420
2420
  contentId: e.id
2421
- }) || Oe({
2421
+ }) || Ne({
2422
2422
  variations: e.variations,
2423
2423
  id: e.id
2424
- }), s = Ne({
2424
+ }), r = Fe({
2425
2425
  item: e,
2426
2426
  testGroupId: o
2427
2427
  });
2428
2428
  return {
2429
2429
  ...e,
2430
- ...s
2430
+ ...r
2431
2431
  };
2432
- }, X = (e) => E(e) ? e : !0;
2432
+ }, N = (e) => _(e) ? e : !0;
2433
2433
  function Q(e, t = null, n = ".") {
2434
- return Object.keys(e).reduce((o, s) => {
2435
- const r = e[s], i = [t, s].filter(Boolean).join(n);
2436
- return [typeof r == "object", r !== null, !(Array.isArray(r) && r.length === 0)].every(Boolean) ? {
2434
+ return Object.keys(e).reduce((o, r) => {
2435
+ const s = e[r], i = [t, r].filter(Boolean).join(n);
2436
+ return [typeof s == "object", s !== null, !(Array.isArray(s) && s.length === 0)].every(Boolean) ? {
2437
2437
  ...o,
2438
- ...Q(r, i, n)
2438
+ ...Q(s, i, n)
2439
2439
  } : {
2440
2440
  ...o,
2441
- [i]: r
2441
+ [i]: s
2442
2442
  };
2443
2443
  }, {});
2444
2444
  }
@@ -2447,77 +2447,80 @@ const fe = "builder.", wo = "options.", $o = (e) => {
2447
2447
  return e.forEach((n, o) => {
2448
2448
  t[o] = n;
2449
2449
  }), t;
2450
- }, Fe = (e) => {
2450
+ }, Ue = (e) => {
2451
2451
  if (!e)
2452
2452
  return {};
2453
2453
  const t = We(e), n = {};
2454
2454
  return Object.keys(t).forEach((o) => {
2455
2455
  if (o.startsWith(fe)) {
2456
- const s = o.replace(fe, "").replace(wo, "");
2457
- n[s] = t[o];
2456
+ const r = o.replace(fe, "").replace(wo, "");
2457
+ n[r] = t[o];
2458
2458
  }
2459
2459
  }), n;
2460
2460
  }, To = () => {
2461
2461
  if (!C())
2462
2462
  return {};
2463
2463
  const e = new URLSearchParams(window.location.search);
2464
- return Fe(e);
2464
+ return Ue(e);
2465
2465
  }, We = (e) => e instanceof URLSearchParams ? $o(e) : e, Io = "v3", ne = (e) => {
2466
+ let {
2467
+ noTraverse: t = !1
2468
+ } = e;
2466
2469
  const {
2467
- limit: t = 30,
2468
- userAttributes: n,
2469
- query: o,
2470
- noTraverse: s = !1,
2471
- model: r,
2470
+ limit: n = 30,
2471
+ userAttributes: o,
2472
+ query: r,
2473
+ model: s,
2472
2474
  apiKey: i,
2473
2475
  includeRefs: a = !0,
2474
- enrich: c,
2475
- locale: l,
2476
- apiVersion: u = Io
2476
+ enrich: l,
2477
+ locale: c,
2478
+ apiVersion: d = Io
2477
2479
  } = e;
2478
2480
  if (!i)
2479
2481
  throw new Error("Missing API key");
2480
- if (!["v2", "v3"].includes(u))
2481
- throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${u}'`);
2482
- const p = new URL(`https://cdn.builder.io/api/${u}/content/${r}?apiKey=${i}&limit=${t}&noTraverse=${s}&includeRefs=${a}${l ? `&locale=${l}` : ""}${c ? `&enrich=${c}` : ""}`), h = {
2482
+ if (!["v2", "v3"].includes(d))
2483
+ throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${d}'`);
2484
+ (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
2485
+ const p = new URL(`https://cdn.builder.io/api/${d}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${a}${c ? `&locale=${c}` : ""}${l ? `&enrich=${l}` : ""}`), h = {
2483
2486
  ...To(),
2484
2487
  ...We(e.options || {})
2485
2488
  }, f = Q(h);
2486
2489
  for (const k in f)
2487
2490
  p.searchParams.set(k, String(f[k]));
2488
- if (n && p.searchParams.set("userAttributes", JSON.stringify(n)), o) {
2491
+ if (o && p.searchParams.set("userAttributes", JSON.stringify(o)), r) {
2489
2492
  const k = Q({
2490
- query: o
2493
+ query: r
2491
2494
  });
2492
2495
  for (const w in k)
2493
2496
  p.searchParams.set(w, JSON.stringify(k[w]));
2494
2497
  }
2495
2498
  return p;
2496
2499
  }, xo = (e) => "results" in e;
2497
- async function z(e) {
2500
+ async function D(e) {
2498
2501
  const t = await Me({
2499
2502
  ...e,
2500
2503
  limit: 1
2501
2504
  });
2502
2505
  return t && t.results[0] || null;
2503
2506
  }
2504
- const Jo = z, Ro = async (e) => {
2507
+ const Jo = D, Ro = async (e) => {
2505
2508
  const t = ne(e);
2506
2509
  return await (await Re(t.href)).json();
2507
2510
  }, Eo = async (e, t, n = ne(e)) => {
2508
- const o = X(e.canTrack);
2511
+ const o = N(e.canTrack);
2509
2512
  if (n.search.includes("preview="), !o || !(C() || A === "reactNative"))
2510
2513
  return t;
2511
2514
  try {
2512
- const s = [];
2513
- for (const r of t.results)
2514
- s.push(await Co({
2515
- item: r,
2515
+ const r = [];
2516
+ for (const s of t.results)
2517
+ r.push(await Co({
2518
+ item: s,
2516
2519
  canTrack: o
2517
2520
  }));
2518
- t.results = s;
2519
- } catch (s) {
2520
- x.error("Could not process A/B tests. ", s);
2521
+ t.results = r;
2522
+ } catch (r) {
2523
+ x.error("Could not process A/B tests. ", r);
2521
2524
  }
2522
2525
  return t;
2523
2526
  };
@@ -2535,15 +2538,15 @@ async function Me(e) {
2535
2538
  }
2536
2539
  const Yo = Me;
2537
2540
  function _o() {
2538
- return !C() || _() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
2541
+ return !C() || E() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
2539
2542
  }
2540
2543
  const Ao = b({
2541
2544
  name: "enable-editor",
2542
2545
  props: [
2543
- "canTrack",
2544
2546
  "builderContextSignal",
2545
2547
  "model",
2546
2548
  "context",
2549
+ "canTrack",
2547
2550
  "apiKey",
2548
2551
  "showContent",
2549
2552
  "classNameProp",
@@ -2554,19 +2557,18 @@ const Ao = b({
2554
2557
  ],
2555
2558
  data() {
2556
2559
  return {
2557
- canTrackToUse: E(this.canTrack) ? this.canTrack : !0,
2558
2560
  forceReRenderCount: 0,
2559
2561
  lastUpdated: 0,
2560
2562
  shouldSendResetCookie: !1,
2561
2563
  httpReqsData: {},
2562
2564
  clicked: !1,
2563
- builderContext: G
2565
+ builderContext: J
2564
2566
  };
2565
2567
  },
2566
2568
  provide() {
2567
2569
  const e = this;
2568
2570
  return {
2569
- [G.key]: e.builderContextSignal
2571
+ [J.key]: e.builderContextSignal
2570
2572
  };
2571
2573
  },
2572
2574
  mounted() {
@@ -2574,7 +2576,7 @@ const Ao = b({
2574
2576
  if (this.apiKey || x.error(
2575
2577
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2576
2578
  ), C()) {
2577
- if (_() && (this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), uo(), po({
2579
+ if (E() && (this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), uo(), po({
2578
2580
  ...this.locale ? {
2579
2581
  locale: this.locale
2580
2582
  } : {},
@@ -2587,27 +2589,27 @@ const Ao = b({
2587
2589
  }), Object.values(
2588
2590
  this.builderContextSignal.componentInfos
2589
2591
  ).forEach((n) => {
2590
- var s;
2591
- const o = Bn(n);
2592
- (s = window.parent) == null || s.postMessage(o, "*");
2592
+ var r;
2593
+ const o = Pn(n);
2594
+ (r = window.parent) == null || r.postMessage(o, "*");
2593
2595
  }), window.addEventListener(
2594
2596
  "builder:component:stateChangeListenerActivated",
2595
2597
  this.emitStateUpdate
2596
2598
  )), this.builderContextSignal.content) {
2597
2599
  const n = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, o = (t = this.builderContextSignal.content) == null ? void 0 : t.id;
2598
- Y({
2600
+ X({
2599
2601
  type: "impression",
2600
- canTrack: this.canTrackToUse,
2602
+ canTrack: N(this.canTrack),
2601
2603
  contentId: o,
2602
2604
  apiKey: this.apiKey,
2603
2605
  variationId: n !== o ? n : void 0
2604
2606
  });
2605
2607
  }
2606
2608
  if (_o()) {
2607
- const n = new URL(location.href).searchParams, o = n.get("builder.preview"), s = n.get(
2609
+ const n = new URL(location.href).searchParams, o = n.get("builder.preview"), r = n.get(
2608
2610
  `builder.preview.${o}`
2609
- ), r = n.get("apiKey") || n.get("builder.space");
2610
- o === this.model && r === this.apiKey && (!this.content || s === this.content.id) && z({
2611
+ ), s = n.get("apiKey") || n.get("builder.space");
2612
+ o === this.model && s === this.apiKey && (!this.content || r === this.content.id) && D({
2611
2613
  model: this.model,
2612
2614
  apiKey: this.apiKey,
2613
2615
  apiVersion: this.builderContextSignal.apiVersion
@@ -2684,7 +2686,7 @@ const Ao = b({
2684
2686
  },
2685
2687
  methods: {
2686
2688
  mergeNewContent(e) {
2687
- var n, o, s, r, i;
2689
+ var n, o, r, s, i;
2688
2690
  const t = {
2689
2691
  ...this.builderContextSignal.content,
2690
2692
  ...e,
@@ -2695,7 +2697,7 @@ const Ao = b({
2695
2697
  meta: {
2696
2698
  ...(o = this.builderContextSignal.content) == null ? void 0 : o.meta,
2697
2699
  ...e == null ? void 0 : e.meta,
2698
- breakpoints: ((s = e == null ? void 0 : e.meta) == null ? void 0 : s.breakpoints) || ((i = (r = this.builderContextSignal.content) == null ? void 0 : r.meta) == null ? void 0 : i.breakpoints)
2700
+ 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)
2699
2701
  }
2700
2702
  };
2701
2703
  this.builderContextSignal.content = t;
@@ -2706,19 +2708,19 @@ const Ao = b({
2706
2708
  if (t)
2707
2709
  switch (t.type) {
2708
2710
  case "builder.configureSdk": {
2709
- const o = t.data, { breakpoints: s, contentId: r } = o;
2710
- if (!r || r !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2711
+ const o = t.data, { breakpoints: r, contentId: s } = o;
2712
+ if (!s || s !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2711
2713
  return;
2712
- s && this.mergeNewContent({
2714
+ r && this.mergeNewContent({
2713
2715
  meta: {
2714
- breakpoints: s
2716
+ breakpoints: r
2715
2717
  }
2716
2718
  }), this.forceReRenderCount = this.forceReRenderCount + 1;
2717
2719
  break;
2718
2720
  }
2719
2721
  case "builder.contentUpdate": {
2720
- const o = t.data, s = o.key || o.alias || o.entry || o.modelName, r = o.data;
2721
- s === this.model && (this.mergeNewContent(r), this.forceReRenderCount = this.forceReRenderCount + 1);
2722
+ const o = t.data, r = o.key || o.alias || o.entry || o.modelName, s = o.data;
2723
+ r === this.model && (this.mergeNewContent(s), this.forceReRenderCount = this.forceReRenderCount + 1);
2722
2724
  break;
2723
2725
  }
2724
2726
  }
@@ -2726,7 +2728,7 @@ const Ao = b({
2726
2728
  evaluateJsCode() {
2727
2729
  var t, n;
2728
2730
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
2729
- e && M({
2731
+ e && L({
2730
2732
  code: e,
2731
2733
  context: this.context || {},
2732
2734
  localState: void 0,
@@ -2737,13 +2739,13 @@ const Ao = b({
2737
2739
  onClick(e) {
2738
2740
  var t, n;
2739
2741
  if (this.builderContextSignal.content) {
2740
- const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, s = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2741
- Y({
2742
+ const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2743
+ X({
2742
2744
  type: "click",
2743
- canTrack: this.canTrackToUse,
2744
- contentId: s,
2745
+ canTrack: N(this.canTrack),
2746
+ contentId: r,
2745
2747
  apiKey: this.apiKey,
2746
- variationId: o !== s ? o : void 0,
2748
+ variationId: o !== r ? o : void 0,
2747
2749
  ...fo(e),
2748
2750
  unique: !this.clicked
2749
2751
  });
@@ -2753,7 +2755,7 @@ const Ao = b({
2753
2755
  evalExpression(e) {
2754
2756
  return e.replace(
2755
2757
  /{{([^}]+)}}/g,
2756
- (t, n) => M({
2758
+ (t, n) => L({
2757
2759
  code: n,
2758
2760
  context: this.context || {},
2759
2761
  localState: void 0,
@@ -2764,12 +2766,12 @@ const Ao = b({
2764
2766
  },
2765
2767
  handleRequest({ url: e, key: t }) {
2766
2768
  Re(e).then((n) => n.json()).then((n) => {
2767
- var s, r;
2769
+ var r, s;
2768
2770
  const o = {
2769
2771
  ...this.builderContextSignal.rootState,
2770
2772
  [t]: n
2771
2773
  };
2772
- (r = (s = this.builderContextSignal).rootSetState) == null || r.call(s, o), this.httpReqsData[t] = !0;
2774
+ (s = (r = this.builderContextSignal).rootSetState) == null || s.call(r, o), this.httpReqsData[t] = !0;
2773
2775
  }).catch((n) => {
2774
2776
  console.error("error fetching dynamic data", e, n);
2775
2777
  });
@@ -2777,23 +2779,23 @@ const Ao = b({
2777
2779
  runHttpRequests() {
2778
2780
  var t, n, o;
2779
2781
  const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
2780
- Object.entries(e).forEach(([s, r]) => {
2781
- if (r && (!this.httpReqsData[s] || _())) {
2782
- const i = this.evalExpression(r);
2782
+ Object.entries(e).forEach(([r, s]) => {
2783
+ if (s && (!this.httpReqsData[r] || E())) {
2784
+ const i = this.evalExpression(s);
2783
2785
  this.handleRequest({
2784
2786
  url: i,
2785
- key: s
2787
+ key: r
2786
2788
  });
2787
2789
  }
2788
2790
  });
2789
2791
  },
2790
2792
  emitStateUpdate() {
2791
- _() && window.dispatchEvent(
2793
+ E() && window.dispatchEvent(
2792
2794
  new CustomEvent(
2793
2795
  "builder:component:stateChange",
2794
2796
  {
2795
2797
  detail: {
2796
- state: O(this.builderContextSignal.rootState),
2798
+ state: F(this.builderContextSignal.rootState),
2797
2799
  ref: {
2798
2800
  name: this.model
2799
2801
  }
@@ -2812,10 +2814,10 @@ const Ao = b({
2812
2814
  return t;
2813
2815
  }
2814
2816
  }
2815
- }), jo = ["builder-content-id", "builder-model"];
2816
- function Vo(e, t, n, o, s, r) {
2817
+ }), Vo = ["builder-content-id", "builder-model"];
2818
+ function Bo(e, t, n, o, r, s) {
2817
2819
  var i;
2818
- return e.builderContextSignal.content ? (d(), m("div", $({
2820
+ return e.builderContextSignal.content ? (u(), m("div", $({
2819
2821
  key: e.forceReRenderCount,
2820
2822
  ref: "elementRef",
2821
2823
  onClick: t[0] || (t[0] = (a) => e.onClick(a)),
@@ -2828,19 +2830,19 @@ function Vo(e, t, n, o, s, r) {
2828
2830
  "aria-hidden": !0
2829
2831
  }
2830
2832
  }), [
2831
- P(e.$slots, "default")
2832
- ], 16, jo)) : S("v-if", !0);
2833
+ j(e.$slots, "default")
2834
+ ], 16, Vo)) : S("v-if", !0);
2833
2835
  }
2834
- const Bo = /* @__PURE__ */ g(Ao, [["render", Vo], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Po = b({
2836
+ const Po = /* @__PURE__ */ g(Ao, [["render", Bo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), jo = b({
2835
2837
  render() {
2836
2838
  return ge("script", { id: this.id, innerHTML: this.scriptStr });
2837
2839
  },
2838
2840
  name: "inlined-script",
2839
2841
  props: ["scriptStr", "id"]
2840
- }), Le = /* @__PURE__ */ g(Po, [["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]), Uo = ze, Oo = b({
2842
+ }), Le = /* @__PURE__ */ g(jo, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]), Oo = ze, No = b({
2841
2843
  name: "content-component",
2842
2844
  components: {
2843
- EnableEditor: Bo,
2845
+ EnableEditor: Po,
2844
2846
  InlinedScript: Le,
2845
2847
  ContentStyles: Ln,
2846
2848
  Blocks: ee
@@ -2869,15 +2871,15 @@ const Bo = /* @__PURE__ */ g(Ao, [["render", Vo], ["__file", "/Users/samijaber/c
2869
2871
  contentId: (t = this.content) == null ? void 0 : t.id
2870
2872
  }),
2871
2873
  registeredComponents: [
2872
- ...le(),
2873
- ...de,
2874
+ ...ce(),
2875
+ ...ue,
2874
2876
  ...this.customComponents || []
2875
2877
  ].reduce(
2876
- (n, { component: o, ...s }) => ({
2878
+ (n, { component: o, ...r }) => ({
2877
2879
  ...n,
2878
- [s.name]: {
2879
- component: Uo(o),
2880
- ...J(s)
2880
+ [r.name]: {
2881
+ component: Oo(o),
2882
+ ...Y(r)
2881
2883
  }
2882
2884
  }),
2883
2885
  {}
@@ -2898,13 +2900,13 @@ const Bo = /* @__PURE__ */ g(Ao, [["render", Vo], ["__file", "/Users/samijaber/c
2898
2900
  apiKey: this.apiKey,
2899
2901
  apiVersion: this.apiVersion,
2900
2902
  componentInfos: [
2901
- ...le(),
2902
- ...de,
2903
+ ...ce(),
2904
+ ...ue,
2903
2905
  ...this.customComponents || []
2904
2906
  ].reduce(
2905
- (n, { component: o, ...s }) => ({
2907
+ (n, { component: o, ...r }) => ({
2906
2908
  ...n,
2907
- [s.name]: J(s)
2909
+ [r.name]: Y(r)
2908
2910
  }),
2909
2911
  {}
2910
2912
  ),
@@ -2927,9 +2929,9 @@ const Bo = /* @__PURE__ */ g(Ao, [["render", Vo], ["__file", "/Users/samijaber/c
2927
2929
  }
2928
2930
  }
2929
2931
  });
2930
- function No(e, t, n, o, s, r) {
2931
- const i = y("inlined-script"), a = y("content-styles"), c = y("blocks"), l = y("enable-editor");
2932
- return d(), v(l, $({
2932
+ function Fo(e, t, n, o, r, s) {
2933
+ const i = y("inlined-script"), a = y("content-styles"), l = y("blocks"), c = y("enable-editor");
2934
+ return u(), v(c, $({
2933
2935
  content: e.content,
2934
2936
  model: e.model,
2935
2937
  context: e.context,
@@ -2943,19 +2945,19 @@ function No(e, t, n, o, s, r) {
2943
2945
  builderContextSignal: e.builderContextSignal
2944
2946
  }, {}), {
2945
2947
  default: Z(() => {
2946
- var u, p, h, f, k, w, R;
2948
+ var d, p, h, f, k, w, R;
2947
2949
  return [
2948
- e.isSsrAbTest ? (d(), v(i, {
2950
+ e.isSsrAbTest ? (u(), v(i, {
2949
2951
  key: 0,
2950
2952
  scriptStr: e.scriptStr
2951
2953
  }, null, 8, ["scriptStr"])) : S("v-if", !0),
2952
- e.TARGET !== "reactNative" ? (d(), v(a, {
2954
+ e.TARGET !== "reactNative" ? (u(), v(a, {
2953
2955
  key: 1,
2954
- contentId: (u = e.builderContextSignal.content) == null ? void 0 : u.id,
2956
+ contentId: (d = e.builderContextSignal.content) == null ? void 0 : d.id,
2955
2957
  cssCode: (h = (p = e.builderContextSignal.content) == null ? void 0 : p.data) == null ? void 0 : h.cssCode,
2956
2958
  customFonts: (k = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : k.customFonts
2957
2959
  }, null, 8, ["contentId", "cssCode", "customFonts"])) : S("v-if", !0),
2958
- V(c, {
2960
+ B(l, {
2959
2961
  blocks: (R = (w = e.builderContextSignal.content) == null ? void 0 : w.data) == null ? void 0 : R.blocks,
2960
2962
  context: e.builderContextSignal,
2961
2963
  registeredComponents: e.registeredComponents
@@ -2965,12 +2967,12 @@ function No(e, t, n, o, s, r) {
2965
2967
  _: 1
2966
2968
  }, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "classNameProp", "showContent", "builderContextSignal"]);
2967
2969
  }
2968
- const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Wo = b({
2970
+ const Uo = /* @__PURE__ */ g(No, [["render", Fo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Wo = b({
2969
2971
  name: "content-variants",
2970
2972
  components: {
2971
2973
  InlinedScript: Le,
2972
- InlinedStyles: H,
2973
- ContentComponent: Fo
2974
+ InlinedStyles: z,
2975
+ ContentComponent: Uo
2974
2976
  },
2975
2977
  props: [
2976
2978
  "canTrack",
@@ -2989,11 +2991,11 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
2989
2991
  data() {
2990
2992
  return {
2991
2993
  shouldRenderVariants: qt({
2992
- canTrack: X(this.canTrack),
2994
+ canTrack: N(this.canTrack),
2993
2995
  content: this.content
2994
2996
  }),
2995
2997
  getScriptString: Xt,
2996
- getVariants: W,
2998
+ getVariants: M,
2997
2999
  TARGET: A
2998
3000
  };
2999
3001
  },
@@ -3004,7 +3006,7 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
3004
3006
  variantScriptStr() {
3005
3007
  var e;
3006
3008
  return Qt(
3007
- W(this.content).map((t) => ({
3009
+ M(this.content).map((t) => ({
3008
3010
  id: t.testVariationId,
3009
3011
  testRatio: t.testRatio
3010
3012
  })),
@@ -3012,7 +3014,7 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
3012
3014
  );
3013
3015
  },
3014
3016
  hideVariantsStyleString() {
3015
- return W(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3017
+ return M(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3016
3018
  },
3017
3019
  defaultContent() {
3018
3020
  var e;
@@ -3021,26 +3023,26 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
3021
3023
  testVariationId: (e = this.content) == null ? void 0 : e.id
3022
3024
  } : So({
3023
3025
  item: this.content,
3024
- canTrack: X(this.canTrack)
3026
+ canTrack: N(this.canTrack)
3025
3027
  });
3026
3028
  }
3027
3029
  }
3028
3030
  });
3029
- function Mo(e, t, n, o, s, r) {
3030
- var l, u;
3031
- const i = y("inlined-script"), a = y("inlined-styles"), c = y("content-component");
3032
- return d(), m(T, null, [
3033
- !e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), v(i, {
3031
+ function Mo(e, t, n, o, r, s) {
3032
+ var c, d;
3033
+ const i = y("inlined-script"), a = y("inlined-styles"), l = y("content-component");
3034
+ return u(), m(T, null, [
3035
+ !e.__isNestedRender && e.TARGET !== "reactNative" ? (u(), v(i, {
3034
3036
  key: 0,
3035
3037
  scriptStr: e.getScriptString()
3036
3038
  }, null, 8, ["scriptStr"])) : S("v-if", !0),
3037
- e.shouldRenderVariants ? (d(), m(T, { key: 1 }, [
3038
- V(a, {
3039
- id: `variants-styles-${(l = e.content) == null ? void 0 : l.id}`,
3039
+ e.shouldRenderVariants ? (u(), m(T, { key: 1 }, [
3040
+ B(a, {
3041
+ id: `variants-styles-${(c = e.content) == null ? void 0 : c.id}`,
3040
3042
  styles: e.hideVariantsStyleString
3041
3043
  }, null, 8, ["id", "styles"]),
3042
- V(i, { scriptStr: e.variantScriptStr }, null, 8, ["scriptStr"]),
3043
- (d(!0), m(T, null, j(e.getVariants(e.content), (p, h) => (d(), v(c, {
3044
+ B(i, { scriptStr: e.variantScriptStr }, null, 8, ["scriptStr"]),
3045
+ (u(!0), m(T, null, V(e.getVariants(e.content), (p, h) => (u(), v(l, {
3044
3046
  key: p.testVariationId,
3045
3047
  content: p,
3046
3048
  showContent: !1,
@@ -3058,9 +3060,9 @@ function Mo(e, t, n, o, s, r) {
3058
3060
  isSsrAbTest: e.shouldRenderVariants
3059
3061
  }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"]))), 128))
3060
3062
  ], 64)) : S("v-if", !0),
3061
- V(c, $({
3063
+ B(l, $({
3062
3064
  content: e.defaultContent,
3063
- classNameProp: `variant-${(u = e.content) == null ? void 0 : u.id}`,
3065
+ classNameProp: `variant-${(d = e.content) == null ? void 0 : d.id}`,
3064
3066
  showContent: !0,
3065
3067
  model: e.model,
3066
3068
  data: e.data,
@@ -3078,12 +3080,12 @@ function Mo(e, t, n, o, s, r) {
3078
3080
  }), null, 16, ["content", "classNameProp", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"])
3079
3081
  ], 64);
3080
3082
  }
3081
- const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Lo = async ({
3083
+ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Lo = async ({
3082
3084
  builderContextValue: e,
3083
3085
  symbol: t
3084
3086
  }) => {
3085
3087
  if ((t == null ? void 0 : t.model) && (e == null ? void 0 : e.apiKey))
3086
- return z({
3088
+ return D({
3087
3089
  model: t.model,
3088
3090
  apiKey: e.apiKey,
3089
3091
  apiVersion: e.apiVersion,
@@ -3108,7 +3110,7 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3108
3110
  ],
3109
3111
  data() {
3110
3112
  var e;
3111
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: K };
3113
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: H };
3112
3114
  },
3113
3115
  mounted() {
3114
3116
  this.setContent();
@@ -3157,13 +3159,13 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3157
3159
  }
3158
3160
  }
3159
3161
  });
3160
- function Ho(e, t, n, o, s, r) {
3161
- var a, c, l, u;
3162
+ function Ho(e, t, n, o, r, s) {
3163
+ var a, l, c, d;
3162
3164
  const i = y("content-variants");
3163
- return d(), m("div", $({
3165
+ return u(), m("div", $({
3164
3166
  class: e._classStringToObject(e.className)
3165
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3166
- V(i, {
3167
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3168
+ B(i, {
3167
3169
  __isNestedRender: !0,
3168
3170
  apiVersion: e.builderContext.apiVersion,
3169
3171
  apiKey: e.builderContext.apiKey,
@@ -3172,14 +3174,14 @@ function Ho(e, t, n, o, s, r) {
3172
3174
  data: {
3173
3175
  ...(a = e.symbol) == null ? void 0 : a.data,
3174
3176
  ...e.builderContext.localState,
3175
- ...(l = (c = e.contentToUse) == null ? void 0 : c.data) == null ? void 0 : l.state
3177
+ ...(c = (l = e.contentToUse) == null ? void 0 : l.data) == null ? void 0 : c.state
3176
3178
  },
3177
- model: (u = e.symbol) == null ? void 0 : u.model,
3179
+ model: (d = e.symbol) == null ? void 0 : d.model,
3178
3180
  content: e.contentToUse
3179
3181
  }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
3180
3182
  ], 16);
3181
3183
  }
3182
- const zo = /* @__PURE__ */ g(Ko, [["render", Ho], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), Xo = ee, Qo = Ke, be = {};
3184
+ const zo = /* @__PURE__ */ g(Ko, [["render", Ho], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), Xo = ee, Qo = Ke, be = {};
3183
3185
  function Zo(e) {
3184
3186
  if (C()) {
3185
3187
  Object.assign(be, e);
@@ -3190,9 +3192,9 @@ function Zo(e) {
3190
3192
  parent.postMessage(t, "*");
3191
3193
  }
3192
3194
  }
3193
- const es = async (e) => {
3194
- var o, s, r;
3195
- const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((s = e.userAttributes) == null ? void 0 : s.urlPath), n = {
3195
+ const er = async (e) => {
3196
+ var o, r, s;
3197
+ const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
3196
3198
  ...e,
3197
3199
  apiKey: e.apiKey,
3198
3200
  model: e.model || "page",
@@ -3202,18 +3204,18 @@ const es = async (e) => {
3202
3204
  urlPath: t
3203
3205
  } : {}
3204
3206
  },
3205
- options: Fe(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
3207
+ options: Ue(e.searchParams || ((s = e.url) == null ? void 0 : s.searchParams) || e.options)
3206
3208
  };
3207
3209
  return {
3208
3210
  apiKey: n.apiKey,
3209
3211
  model: n.model,
3210
- content: await z(n)
3212
+ content: await D(n)
3211
3213
  };
3212
3214
  };
3213
3215
  export {
3214
- G as B,
3216
+ J as B,
3215
3217
  Ke as C,
3216
- Pt as F,
3218
+ jt as F,
3217
3219
  Kt as I,
3218
3220
  Xo as R,
3219
3221
  Dt as S,
@@ -3222,27 +3224,27 @@ export {
3222
3224
  g as _,
3223
3225
  we as a,
3224
3226
  Ce as b,
3225
- rt as c,
3227
+ st as c,
3226
3228
  ee as d,
3227
- M as e,
3229
+ L as e,
3228
3230
  Qo as f,
3229
3231
  Je as g,
3230
- jt as h,
3232
+ Vt as h,
3231
3233
  zo as i,
3232
- un as j,
3233
- _ as k,
3234
+ dn as j,
3235
+ E as k,
3234
3236
  _o as l,
3235
- Bn as m,
3237
+ Pn as m,
3236
3238
  Me as n,
3237
- z as o,
3239
+ D as o,
3238
3240
  Yo as p,
3239
3241
  Jo as q,
3240
- lo as r,
3242
+ co as r,
3241
3243
  Zo as s,
3242
3244
  Eo as t,
3243
- Fe as u,
3245
+ Ue as u,
3244
3246
  Go as v,
3245
- Uo as w,
3246
- es as x,
3247
+ Oo as w,
3248
+ er as x,
3247
3249
  qo as y
3248
3250
  };