@builder.io/sdk-vue 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/package.json +1 -1
  2. package/vue2/lib/{edge/block-a17dd5f3.js → browser/block-517be5fb.js} +7 -7
  3. package/vue2/lib/browser/{block-7572b272.cjs → block-86374ead.cjs} +2 -2
  4. package/vue2/lib/browser/block-styles-29c86145.js +82 -0
  5. package/vue2/lib/browser/block-styles-abd88aab.cjs +1 -0
  6. package/vue2/lib/browser/{block-wrapper-7137e4eb.js → block-wrapper-68ce7a31.js} +5 -5
  7. package/vue2/lib/browser/{block-wrapper-73003591.cjs → block-wrapper-9c4ec9d2.cjs} +1 -1
  8. package/vue2/lib/{edge/blocks-wrapper-e865d99a.js → browser/blocks-wrapper-22427504.js} +1 -1
  9. package/vue2/lib/{edge/blocks-wrapper-4e301a45.cjs → browser/blocks-wrapper-572ac8fc.cjs} +1 -1
  10. package/vue2/lib/{edge/component-ref-46ff36c7.cjs → browser/component-ref-314af75f.cjs} +1 -1
  11. package/vue2/lib/{edge/component-ref-47c7b4b9.js → browser/component-ref-ad69c5c3.js} +6 -6
  12. package/vue2/lib/browser/components/block/components/block-styles.vue.d.ts +0 -1
  13. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  14. package/vue2/lib/{edge/content-dba5c9d2.js → browser/content-ab810c5a.js} +5 -5
  15. package/vue2/lib/browser/{content-284be2c3.cjs → content-cd8c708e.cjs} +1 -1
  16. package/vue2/lib/{node/css-924d8859.cjs → browser/css-6ab3de61.cjs} +1 -1
  17. package/vue2/lib/browser/{css-01587ac9.js → css-9ff60711.js} +1 -1
  18. package/vue2/lib/browser/enable-editor-3ae81c32.cjs +1 -0
  19. package/vue2/lib/{edge/enable-editor-985c44d4.js → browser/enable-editor-e4a75de2.js} +3 -3
  20. package/vue2/lib/browser/{evaluate-34eb09eb.js → evaluate-73ab20d5.js} +1 -1
  21. package/vue2/lib/browser/{evaluate-3b22ca76.cjs → evaluate-ddca0796.cjs} +1 -1
  22. package/vue2/lib/browser/functions/fetch-builder-props.d.ts +13 -0
  23. package/vue2/lib/browser/{get-block-actions-55e90df6.cjs → get-block-actions-d7bad2e7.cjs} +1 -1
  24. package/vue2/lib/{node/get-block-actions-2147e6cd.js → browser/get-block-actions-f0e194ec.js} +2 -2
  25. package/vue2/lib/browser/{get-block-properties-58c54a69.js → get-block-properties-3266f9fa.js} +2 -2
  26. package/vue2/lib/{node/get-block-properties-2f43ed48.cjs → browser/get-block-properties-690c354d.cjs} +1 -1
  27. package/vue2/lib/browser/{get-processed-block-a2ff4c51.js → get-processed-block-2c962134.js} +2 -2
  28. package/vue2/lib/browser/{get-processed-block-15b0d499.cjs → get-processed-block-f4410a90.cjs} +1 -1
  29. package/vue2/lib/{node/index-20a64e56.js → browser/index-35e9f8af.js} +39 -39
  30. package/vue2/lib/{node/index-31b135ac.cjs → browser/index-6d420ce4.cjs} +3 -3
  31. package/vue2/lib/browser/index.cjs +1 -1
  32. package/vue2/lib/browser/index.js +1 -1
  33. package/vue2/lib/{edge/inlined-script-58f8fb7e.js → browser/inlined-script-9e201117.js} +1 -1
  34. package/vue2/lib/browser/{inlined-script-395a54bf.cjs → inlined-script-fd0e31a3.cjs} +1 -1
  35. package/vue2/lib/{node/inlined-styles-6ad3b97d.cjs → browser/inlined-styles-21a44abc.cjs} +1 -1
  36. package/vue2/lib/{node/inlined-styles-5f724636.js → browser/inlined-styles-c977be7a.js} +1 -1
  37. package/vue2/lib/{node/interactive-element-91844a73.cjs → browser/interactive-element-1b2efcea.cjs} +1 -1
  38. package/vue2/lib/{node/interactive-element-9a3140c7.js → browser/interactive-element-a457f13d.js} +5 -5
  39. package/vue2/lib/{node/repeated-block-db085f7a.js → browser/repeated-block-2b47cc10.js} +2 -2
  40. package/vue2/lib/browser/{repeated-block-2801e2ad.cjs → repeated-block-80cb7500.cjs} +1 -1
  41. package/vue2/lib/browser/{styles-1aad0890.cjs → styles-48f7b053.cjs} +2 -2
  42. package/vue2/lib/browser/{styles-c675d986.js → styles-e7ee6699.js} +2 -2
  43. package/vue2/lib/browser/types/components.d.ts +0 -1
  44. package/vue2/lib/{browser/block-c120af6b.js → edge/block-79f216bd.js} +7 -7
  45. package/vue2/lib/{node/block-7572b272.cjs → edge/block-d431c5a1.cjs} +2 -2
  46. package/vue2/lib/edge/block-styles-809fea02.cjs +1 -0
  47. package/vue2/lib/edge/block-styles-a4646383.js +82 -0
  48. package/vue2/lib/{node/block-wrapper-7137e4eb.js → edge/block-wrapper-02e29a39.js} +5 -5
  49. package/vue2/lib/edge/{block-wrapper-224770b5.cjs → block-wrapper-96d6e19a.cjs} +1 -1
  50. package/vue2/lib/{browser/blocks-wrapper-b4d967ac.cjs → edge/blocks-wrapper-26c2556a.cjs} +1 -1
  51. package/vue2/lib/{browser/blocks-wrapper-9f1e75a3.js → edge/blocks-wrapper-58a3dc1c.js} +1 -1
  52. package/vue2/lib/{node/component-ref-b509786c.js → edge/component-ref-bb6f5d05.js} +6 -6
  53. package/vue2/lib/{node/component-ref-da79bed8.cjs → edge/component-ref-eeb18cc8.cjs} +1 -1
  54. package/vue2/lib/edge/components/block/components/block-styles.vue.d.ts +0 -1
  55. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  56. package/vue2/lib/{browser/content-adf884f8.js → edge/content-1fe9f483.js} +5 -5
  57. package/vue2/lib/{node/content-284be2c3.cjs → edge/content-b0e3265b.cjs} +1 -1
  58. package/vue2/lib/{node/css-01587ac9.js → edge/css-766c9e43.js} +1 -1
  59. package/vue2/lib/{browser/css-924d8859.cjs → edge/css-c85f369a.cjs} +1 -1
  60. package/vue2/lib/{node/enable-editor-872f651f.js → edge/enable-editor-1c97f1ce.js} +3 -3
  61. package/vue2/lib/edge/enable-editor-c96b8ba3.cjs +1 -0
  62. package/vue2/lib/edge/{evaluate-60a4358c.js → evaluate-67915572.js} +1 -1
  63. package/vue2/lib/edge/{evaluate-d1682114.cjs → evaluate-94193bd8.cjs} +1 -1
  64. package/vue2/lib/edge/functions/fetch-builder-props.d.ts +13 -0
  65. package/vue2/lib/{browser/get-block-actions-2147e6cd.js → edge/get-block-actions-6ffacde6.js} +2 -2
  66. package/vue2/lib/edge/{get-block-actions-70f0ddb1.cjs → get-block-actions-eb913df3.cjs} +1 -1
  67. package/vue2/lib/edge/{get-block-properties-26d44344.js → get-block-properties-65d31491.js} +2 -2
  68. package/vue2/lib/{browser/get-block-properties-2f43ed48.cjs → edge/get-block-properties-9f36f432.cjs} +1 -1
  69. package/vue2/lib/edge/{get-processed-block-d3436370.js → get-processed-block-54d47a44.js} +2 -2
  70. package/vue2/lib/edge/{get-processed-block-6bfaca9c.cjs → get-processed-block-d64d51b8.cjs} +1 -1
  71. package/vue2/lib/edge/{index-a83a44e7.cjs → index-0e6898f4.cjs} +3 -3
  72. package/vue2/lib/{browser/index-20a64e56.js → edge/index-e4b98f3f.js} +39 -39
  73. package/vue2/lib/edge/index.cjs +1 -1
  74. package/vue2/lib/edge/index.js +1 -1
  75. package/vue2/lib/{node/inlined-script-dd1c2277.js → edge/inlined-script-528cf671.js} +1 -1
  76. package/vue2/lib/{node/inlined-script-395a54bf.cjs → edge/inlined-script-f08590fd.cjs} +1 -1
  77. package/vue2/lib/edge/{inlined-styles-f19ba9ed.js → inlined-styles-3ae3536e.js} +1 -1
  78. package/vue2/lib/{browser/inlined-styles-6ad3b97d.cjs → edge/inlined-styles-8a4eca1c.cjs} +1 -1
  79. package/vue2/lib/{browser/interactive-element-9a3140c7.js → edge/interactive-element-448f1b25.js} +5 -5
  80. package/vue2/lib/{browser/interactive-element-91844a73.cjs → edge/interactive-element-a4e35976.cjs} +1 -1
  81. package/vue2/lib/edge/{repeated-block-5d01ffbd.cjs → repeated-block-5125d911.cjs} +1 -1
  82. package/vue2/lib/{browser/repeated-block-db085f7a.js → edge/repeated-block-5d6ad9e8.js} +2 -2
  83. package/vue2/lib/{node/styles-c675d986.js → edge/styles-4607da35.js} +2 -2
  84. package/vue2/lib/{node/styles-1aad0890.cjs → edge/styles-7b4eb536.cjs} +2 -2
  85. package/vue2/lib/edge/types/components.d.ts +0 -1
  86. package/vue2/lib/node/{block-c120af6b.js → block-517be5fb.js} +7 -7
  87. package/vue2/lib/{edge/block-89ebff36.cjs → node/block-86374ead.cjs} +2 -2
  88. package/vue2/lib/node/block-styles-29c86145.js +82 -0
  89. package/vue2/lib/node/block-styles-abd88aab.cjs +1 -0
  90. package/vue2/lib/{edge/block-wrapper-1d8816f6.js → node/block-wrapper-68ce7a31.js} +5 -5
  91. package/vue2/lib/node/{block-wrapper-73003591.cjs → block-wrapper-9c4ec9d2.cjs} +1 -1
  92. package/vue2/lib/node/{blocks-wrapper-9f1e75a3.js → blocks-wrapper-22427504.js} +1 -1
  93. package/vue2/lib/node/{blocks-wrapper-b4d967ac.cjs → blocks-wrapper-572ac8fc.cjs} +1 -1
  94. package/vue2/lib/{browser/component-ref-da79bed8.cjs → node/component-ref-314af75f.cjs} +1 -1
  95. package/vue2/lib/{browser/component-ref-b509786c.js → node/component-ref-ad69c5c3.js} +6 -6
  96. package/vue2/lib/node/components/block/components/block-styles.vue.d.ts +0 -1
  97. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  98. package/vue2/lib/node/{content-adf884f8.js → content-ab810c5a.js} +5 -5
  99. package/vue2/lib/{edge/content-c1d216c0.cjs → node/content-cd8c708e.cjs} +1 -1
  100. package/vue2/lib/{edge/css-f5a4c224.cjs → node/css-6ab3de61.cjs} +1 -1
  101. package/vue2/lib/{edge/css-384211ae.js → node/css-9ff60711.js} +1 -1
  102. package/vue2/lib/node/enable-editor-3ae81c32.cjs +1 -0
  103. package/vue2/lib/{browser/enable-editor-872f651f.js → node/enable-editor-e4a75de2.js} +3 -3
  104. package/vue2/lib/node/{evaluate-34eb09eb.js → evaluate-73ab20d5.js} +1 -1
  105. package/vue2/lib/node/{evaluate-3b22ca76.cjs → evaluate-ddca0796.cjs} +1 -1
  106. package/vue2/lib/node/functions/fetch-builder-props.d.ts +13 -0
  107. package/vue2/lib/node/{get-block-actions-55e90df6.cjs → get-block-actions-d7bad2e7.cjs} +1 -1
  108. package/vue2/lib/{edge/get-block-actions-30acfe84.js → node/get-block-actions-f0e194ec.js} +2 -2
  109. package/vue2/lib/node/{get-block-properties-58c54a69.js → get-block-properties-3266f9fa.js} +2 -2
  110. package/vue2/lib/{edge/get-block-properties-e47eac50.cjs → node/get-block-properties-690c354d.cjs} +1 -1
  111. package/vue2/lib/node/{get-processed-block-a2ff4c51.js → get-processed-block-2c962134.js} +2 -2
  112. package/vue2/lib/node/{get-processed-block-15b0d499.cjs → get-processed-block-f4410a90.cjs} +1 -1
  113. package/vue2/lib/{edge/index-84b65a4f.js → node/index-35e9f8af.js} +39 -39
  114. package/vue2/lib/{browser/index-31b135ac.cjs → node/index-6d420ce4.cjs} +3 -3
  115. package/vue2/lib/node/index.cjs +1 -1
  116. package/vue2/lib/node/index.js +1 -1
  117. package/vue2/lib/{browser/inlined-script-dd1c2277.js → node/inlined-script-9e201117.js} +1 -1
  118. package/vue2/lib/{edge/inlined-script-c7731507.cjs → node/inlined-script-fd0e31a3.cjs} +1 -1
  119. package/vue2/lib/{edge/inlined-styles-fac668de.cjs → node/inlined-styles-21a44abc.cjs} +1 -1
  120. package/vue2/lib/{browser/inlined-styles-5f724636.js → node/inlined-styles-c977be7a.js} +1 -1
  121. package/vue2/lib/{edge/interactive-element-f7ebf39a.cjs → node/interactive-element-1b2efcea.cjs} +1 -1
  122. package/vue2/lib/{edge/interactive-element-086120dd.js → node/interactive-element-a457f13d.js} +5 -5
  123. package/vue2/lib/{edge/repeated-block-8d023e60.js → node/repeated-block-2b47cc10.js} +2 -2
  124. package/vue2/lib/node/{repeated-block-2801e2ad.cjs → repeated-block-80cb7500.cjs} +1 -1
  125. package/vue2/lib/{edge/styles-022c2ac6.cjs → node/styles-48f7b053.cjs} +2 -2
  126. package/vue2/lib/{edge/styles-dafbc021.js → node/styles-e7ee6699.js} +2 -2
  127. package/vue2/lib/node/types/components.d.ts +0 -1
  128. package/vue3/lib/browser/{block-wrapper.ae2637e5.cjs → block-wrapper.3424c8e5.cjs} +1 -1
  129. package/vue3/lib/{edge/block-wrapper.5020430a.js → browser/block-wrapper.ac839834.js} +2 -2
  130. package/vue3/lib/{edge/component-ref.1af99a31.js → browser/component-ref.8de03d1c.js} +2 -2
  131. package/vue3/lib/{edge/component-ref.0528b1a0.cjs → browser/component-ref.96453075.cjs} +1 -1
  132. package/vue3/lib/browser/components/block/components/block-styles.vue.d.ts +0 -1
  133. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  134. package/vue3/lib/browser/functions/fetch-builder-props.d.ts +13 -0
  135. package/vue3/lib/browser/{get-block-actions.9a71b975.cjs → get-block-actions.777560e5.cjs} +1 -1
  136. package/vue3/lib/{edge/get-block-actions.8e0880b9.js → browser/get-block-actions.e59fcd98.js} +1 -1
  137. package/vue3/lib/{node/index.bb9d2170.js → browser/index.12730bde.js} +358 -353
  138. package/vue3/lib/browser/index.4cfec3cb.cjs +69 -0
  139. package/vue3/lib/browser/index.cjs +1 -1
  140. package/vue3/lib/browser/index.js +1 -1
  141. package/vue3/lib/{edge/repeated-block.1735d6ce.js → browser/repeated-block.0bc816fe.js} +2 -2
  142. package/vue3/lib/{edge/repeated-block.6e7688cb.cjs → browser/repeated-block.764b4af3.cjs} +1 -1
  143. package/vue3/lib/browser/types/components.d.ts +0 -1
  144. package/vue3/lib/edge/{block-wrapper.6bb62da5.cjs → block-wrapper.5ba52bd5.cjs} +1 -1
  145. package/vue3/lib/{node/block-wrapper.f1e0d99f.js → edge/block-wrapper.f7fd1d3e.js} +2 -2
  146. package/vue3/lib/{browser/component-ref.90060339.cjs → edge/component-ref.76d870e8.cjs} +1 -1
  147. package/vue3/lib/{node/component-ref.e2ad1f80.js → edge/component-ref.c65a87a1.js} +2 -2
  148. package/vue3/lib/edge/components/block/components/block-styles.vue.d.ts +0 -1
  149. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  150. package/vue3/lib/edge/functions/fetch-builder-props.d.ts +13 -0
  151. package/vue3/lib/edge/{get-block-actions.cdcc68a3.cjs → get-block-actions.1bd9f726.cjs} +1 -1
  152. package/vue3/lib/{browser/get-block-actions.05d2bf89.js → edge/get-block-actions.d05efca1.js} +1 -1
  153. package/vue3/lib/edge/{index.51a4e9bc.js → index.a89f2469.js} +552 -547
  154. package/vue3/lib/edge/index.cjs +1 -1
  155. package/vue3/lib/edge/{index.f8106764.cjs → index.d22d7b12.cjs} +23 -23
  156. package/vue3/lib/edge/index.js +1 -1
  157. package/vue3/lib/{browser/repeated-block.f7f28e2b.cjs → edge/repeated-block.865463b0.cjs} +1 -1
  158. package/vue3/lib/{node/repeated-block.6860cc5f.js → edge/repeated-block.e31ecdbc.js} +2 -2
  159. package/vue3/lib/edge/types/components.d.ts +0 -1
  160. package/vue3/lib/node/{block-wrapper.ae2637e5.cjs → block-wrapper.3424c8e5.cjs} +1 -1
  161. package/vue3/lib/{browser/block-wrapper.f1e0d99f.js → node/block-wrapper.ac839834.js} +2 -2
  162. package/vue3/lib/{browser/component-ref.e2ad1f80.js → node/component-ref.8de03d1c.js} +2 -2
  163. package/vue3/lib/node/{component-ref.90060339.cjs → component-ref.96453075.cjs} +1 -1
  164. package/vue3/lib/node/components/block/components/block-styles.vue.d.ts +0 -1
  165. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  166. package/vue3/lib/node/functions/fetch-builder-props.d.ts +13 -0
  167. package/vue3/lib/node/{get-block-actions.9a71b975.cjs → get-block-actions.777560e5.cjs} +1 -1
  168. package/vue3/lib/node/{get-block-actions.05d2bf89.js → get-block-actions.e59fcd98.js} +1 -1
  169. package/vue3/lib/{browser/index.bb9d2170.js → node/index.12730bde.js} +358 -353
  170. package/vue3/lib/node/index.4cfec3cb.cjs +69 -0
  171. package/vue3/lib/node/index.cjs +1 -1
  172. package/vue3/lib/node/index.js +1 -1
  173. package/vue3/lib/{browser/repeated-block.6860cc5f.js → node/repeated-block.0bc816fe.js} +2 -2
  174. package/vue3/lib/node/{repeated-block.f7f28e2b.cjs → repeated-block.764b4af3.cjs} +1 -1
  175. package/vue3/lib/node/types/components.d.ts +0 -1
  176. package/vue2/lib/browser/block-styles-7b6133cb.js +0 -77
  177. package/vue2/lib/browser/block-styles-d210742a.cjs +0 -1
  178. package/vue2/lib/browser/enable-editor-4c0af531.cjs +0 -1
  179. package/vue2/lib/edge/block-styles-68308a10.js +0 -77
  180. package/vue2/lib/edge/block-styles-c081fccd.cjs +0 -1
  181. package/vue2/lib/edge/enable-editor-8c6fd5f2.cjs +0 -1
  182. package/vue2/lib/node/block-styles-7b6133cb.js +0 -77
  183. package/vue2/lib/node/block-styles-d210742a.cjs +0 -1
  184. package/vue2/lib/node/enable-editor-4c0af531.cjs +0 -1
  185. package/vue3/lib/browser/index.eed52cb2.cjs +0 -69
  186. package/vue3/lib/node/index.eed52cb2.cjs +0 -69
@@ -1,11 +1,11 @@
1
- import { defineComponent as b, openBlock as d, createElementBlock as p, 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 B, withCtx as Q, createVNode as j, 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 L(e = {}, t, n) {
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) {
3
3
  const o = {};
4
4
  for (const s in e) {
5
5
  if (!e[s] || n && !s.startsWith(t))
6
6
  continue;
7
- const i = n ? s.replace(t, "") : s;
8
- o[i] = e[s];
7
+ const r = n ? s.replace(t, "") : s;
8
+ o[r] = e[s];
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: L };
16
+ return { filterAttrs: K };
17
17
  },
18
18
  methods: {
19
19
  _classStringToObject(e) {
@@ -33,13 +33,13 @@ const g = (e, t) => {
33
33
  n[o] = s;
34
34
  return n;
35
35
  }, qe = ["href", "target"];
36
- function Ge(e, t, n, o, s, i) {
37
- return e.link ? (d(), p("a", $({
36
+ function Ge(e, t, n, o, s, r) {
37
+ return e.link ? (d(), 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(), p("button", $({
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", $({
43
43
  key: 1,
44
44
  style: e.attributes.style,
45
45
  class: e._classStringToObject(e.attributes.class + " button-21azgz5avex")
@@ -80,13 +80,13 @@ const Je = /* @__PURE__ */ g(De, [["render", Ge], ["__scopeId", "data-v-becdf225
80
80
  min: s,
81
81
  default: s + 1
82
82
  };
83
- const i = n.medium.max + 1;
83
+ const r = n.medium.max + 1;
84
84
  return n.large = {
85
85
  max: 2e3,
86
- min: i,
87
- default: i + 1
86
+ min: r,
87
+ default: r + 1
88
88
  }, n;
89
- }, A = "vue3", F = "[Builder.io]: ", R = {
89
+ }, A = "vue3", F = "[Builder.io]: ", x = {
90
90
  log: (...e) => console.log(F, ...e),
91
91
  error: (...e) => console.error(F, ...e),
92
92
  warn: (...e) => console.warn(F, ...e),
@@ -150,14 +150,14 @@ const Xe = () => {
150
150
  context: n,
151
151
  event: o,
152
152
  localState: s,
153
- rootSetState: i,
154
- rootState: r
153
+ rootSetState: r,
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(r, s, i)
160
+ state: tt(i, s, r)
161
161
  });
162
162
  return new Function(...a.map(([c]) => c), e)(...a.map(([, c]) => c));
163
163
  };
@@ -166,10 +166,10 @@ function tt(e, t, n) {
166
166
  throw new Error("rootState === localState");
167
167
  return new Proxy(e, {
168
168
  get: (o, s) => t && s in t ? t[s] : e[s],
169
- set: (o, s, i) => {
169
+ set: (o, s, r) => {
170
170
  if (t && s in t)
171
171
  throw new Error("Writing to local state is not allowed as it is read-only.");
172
- return e[s] = i, n == null || n(e), !0;
172
+ return e[s] = r, n == null || n(e), !0;
173
173
  }
174
174
  });
175
175
  }
@@ -179,11 +179,11 @@ function M({
179
179
  localState: n,
180
180
  rootState: o,
181
181
  rootSetState: s,
182
- event: i,
183
- isExpression: r = !0
182
+ event: r,
183
+ isExpression: i = !0
184
184
  }) {
185
185
  if (e === "") {
186
- R.warn("Skipping evaluation of empty code block.");
186
+ x.warn("Skipping evaluation of empty code block.");
187
187
  return;
188
188
  }
189
189
  const a = {
@@ -192,18 +192,18 @@ function M({
192
192
  isServer: !C(),
193
193
  getUserAttributes: () => Se()
194
194
  }, u = {
195
- code: r && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
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: i,
198
+ event: r,
199
199
  rootSetState: s,
200
200
  rootState: o,
201
201
  localState: n
202
202
  };
203
203
  try {
204
204
  return et(u);
205
- } catch (h) {
206
- R.error("Failed code evaluation: " + h.message, {
205
+ } catch (p) {
206
+ x.error("Failed code evaluation: " + p.message, {
207
207
  code: e
208
208
  });
209
209
  return;
@@ -213,7 +213,7 @@ 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, i, r) => Object(s[i]) === s[i] ? s[i] : s[i] = Math.abs(Number(o[r + 1])) >> 0 === +o[r + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
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;
217
217
  };
218
218
  const ot = ({
219
219
  block: e,
@@ -224,13 +224,13 @@ const ot = ({
224
224
  }) => {
225
225
  if (!e.bindings)
226
226
  return e;
227
- const i = O(e), r = {
228
- ...i,
227
+ const r = O(e), i = {
228
+ ...r,
229
229
  properties: {
230
- ...i.properties
230
+ ...r.properties
231
231
  },
232
232
  actions: {
233
- ...i.actions
233
+ ...r.actions
234
234
  }
235
235
  };
236
236
  for (const a in e.bindings) {
@@ -241,32 +241,32 @@ const ot = ({
241
241
  rootSetState: s,
242
242
  context: t
243
243
  });
244
- nt(r, a, l);
244
+ nt(i, a, l);
245
245
  }
246
- return r;
246
+ return i;
247
247
  };
248
- function Z({
248
+ function L({
249
249
  block: e,
250
250
  context: t,
251
251
  shouldEvaluateBindings: n,
252
252
  localState: o,
253
253
  rootState: s,
254
- rootSetState: i
254
+ rootSetState: r
255
255
  }) {
256
- const r = e;
256
+ const i = e;
257
257
  return n ? ot({
258
- block: r,
258
+ block: i,
259
259
  localState: o,
260
260
  rootState: s,
261
- rootSetState: i,
261
+ rootSetState: r,
262
262
  context: t
263
- }) : r;
263
+ }) : i;
264
264
  }
265
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]) => {
266
266
  if (typeof o == "string")
267
267
  return `${st(n)}: ${o};`;
268
268
  }).filter(E), it = (e) => rt(e).join(`
269
- `), z = ({
269
+ `), D = ({
270
270
  mediaQuery: e,
271
271
  className: t,
272
272
  styles: n
@@ -283,59 +283,64 @@ 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
- }), K = /* @__PURE__ */ g(at, [["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), ct = b({
286
+ }), H = /* @__PURE__ */ g(at, [["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), ct = b({
287
287
  name: "block-styles",
288
- components: { InlinedStyles: K },
288
+ components: { InlinedStyles: H },
289
289
  props: ["block", "context"],
290
290
  data() {
291
- return {
292
- processedBlock: Z({
291
+ return { TARGET: A };
292
+ },
293
+ computed: {
294
+ canShowBlock() {
295
+ const e = L({
293
296
  block: this.block,
294
297
  localState: this.context.localState,
295
298
  rootState: this.context.rootState,
296
299
  rootSetState: this.context.rootSetState,
297
300
  context: this.context.context,
298
301
  shouldEvaluateBindings: !0
299
- }),
300
- TARGET: A
301
- };
302
- },
303
- computed: {
304
- canShowBlock() {
305
- return E(this.processedBlock.hide) ? !this.processedBlock.hide : E(this.processedBlock.show) ? this.processedBlock.show : !0;
302
+ });
303
+ return E(e.hide) ? !e.hide : E(e.show) ? e.show : !0;
306
304
  },
307
305
  css() {
308
- var u;
309
- const e = this.processedBlock.responsiveStyles, t = this.context.content, n = ve(
310
- ((u = t == null ? void 0 : t.meta) == null ? void 0 : u.breakpoints) || {}
311
- ), o = e == null ? void 0 : e.large, s = e == null ? void 0 : e.medium, i = e == null ? void 0 : e.small, r = this.processedBlock.id;
312
- if (!r)
306
+ var p;
307
+ const e = L({
308
+ block: this.block,
309
+ localState: this.context.localState,
310
+ rootState: this.context.rootState,
311
+ rootSetState: this.context.rootSetState,
312
+ context: this.context.context,
313
+ shouldEvaluateBindings: !0
314
+ }), t = e.responsiveStyles, n = this.context.content, o = ve(
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;
317
+ if (!a)
313
318
  return "";
314
- const a = o ? z({
315
- className: r,
316
- styles: o
317
- }) : "", c = s ? z({
318
- className: r,
319
- styles: s,
319
+ const c = s ? D({
320
+ className: a,
321
+ styles: s
322
+ }) : "", l = r ? D({
323
+ className: a,
324
+ styles: r,
320
325
  mediaQuery: ae(
321
326
  "medium",
322
- n
327
+ o
323
328
  )
324
- }) : "", l = i ? z({
325
- className: r,
329
+ }) : "", u = i ? D({
330
+ className: a,
326
331
  styles: i,
327
332
  mediaQuery: ae(
328
333
  "small",
329
- n
334
+ o
330
335
  )
331
336
  }) : "";
332
- return [a, c, l].join(" ");
337
+ return [c, l, u].join(" ");
333
338
  }
334
339
  }
335
340
  });
336
- function lt(e, t, n, o, s, i) {
337
- const r = y("inlined-styles");
338
- return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), v(r, {
341
+ function lt(e, t, n, o, s, r) {
342
+ const i = y("inlined-styles");
343
+ return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), v(i, {
339
344
  key: 0,
340
345
  styles: e.css
341
346
  }, null, 8, ["styles"])) : S("v-if", !0);
@@ -357,15 +362,15 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
357
362
  context: t,
358
363
  registeredComponents: n
359
364
  }) => {
360
- var i;
361
- const o = (i = Z({
365
+ var r;
366
+ const o = (r = L({
362
367
  block: e,
363
368
  localState: t.localState,
364
369
  rootState: t.rootState,
365
370
  rootSetState: t.rootSetState,
366
371
  context: t.context,
367
372
  shouldEvaluateBindings: !1
368
- }).component) == null ? void 0 : i.name;
373
+ }).component) == null ? void 0 : r.name;
369
374
  if (!o)
370
375
  return null;
371
376
  const s = n[o];
@@ -393,7 +398,7 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
393
398
  });
394
399
  if (!Array.isArray(s))
395
400
  return;
396
- const i = n.collection.split(".").pop(), r = n.itemName || (i ? i + "Item" : "item");
401
+ const r = n.collection.split(".").pop(), i = n.itemName || (r ? r + "Item" : "item");
397
402
  return s.map((c, l) => ({
398
403
  context: {
399
404
  ...t,
@@ -401,8 +406,8 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
401
406
  ...t.localState,
402
407
  $index: l,
403
408
  $item: c,
404
- [r]: c,
405
- [`$${r}Index`]: l
409
+ [i]: c,
410
+ [`$${i}Index`]: l
406
411
  }
407
412
  },
408
413
  block: o
@@ -412,17 +417,17 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
412
417
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
413
418
  e
414
419
  ), e;
415
- }), gt = () => import("./repeated-block.6860cc5f.js").then((e) => e.default).catch((e) => {
420
+ }), gt = () => import("./repeated-block.0bc816fe.js").then((e) => e.default).catch((e) => {
416
421
  throw console.error(
417
422
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
418
423
  e
419
424
  ), e;
420
- }), yt = () => import("./component-ref.e2ad1f80.js").then((e) => e.default).catch((e) => {
425
+ }), yt = () => import("./component-ref.8de03d1c.js").then((e) => e.default).catch((e) => {
421
426
  throw console.error(
422
427
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
423
428
  e
424
429
  ), e;
425
- }), kt = () => import("./block-wrapper.f1e0d99f.js").then((e) => e.default).catch((e) => {
430
+ }), kt = () => import("./block-wrapper.ac839834.js").then((e) => e.default).catch((e) => {
426
431
  throw console.error(
427
432
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
428
433
  e
@@ -454,7 +459,7 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
454
459
  });
455
460
  },
456
461
  processedBlock() {
457
- return this.repeatItem ? this.block : Z({
462
+ return this.repeatItem ? this.block : L({
458
463
  block: this.block,
459
464
  localState: this.context.localState,
460
465
  rootState: this.context.rootState,
@@ -474,7 +479,7 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
474
479
  return !((t = this.blockComponent) != null && t.component) && !this.repeatItem ? (n = this.processedBlock.children) != null ? n : [] : [];
475
480
  },
476
481
  componentRefProps() {
477
- var e, t, n, o, s, i;
482
+ var e, t, n, o, s, r;
478
483
  return {
479
484
  blockChildren: (e = this.processedBlock.children) != null ? e : [],
480
485
  componentRef: (t = this.blockComponent) == null ? void 0 : t.component,
@@ -489,47 +494,47 @@ const pt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
489
494
  registeredComponents: this.registeredComponents,
490
495
  builderBlock: this.processedBlock,
491
496
  includeBlockProps: ((s = this.blockComponent) == null ? void 0 : s.noWrap) === !0,
492
- isInteractive: !((i = this.blockComponent) != null && i.isRSC)
497
+ isInteractive: !((r = this.blockComponent) != null && r.isRSC)
493
498
  };
494
499
  }
495
500
  }
496
501
  });
497
- function St(e, t, n, o, s, i) {
498
- var h;
499
- const r = y("block-wrapper"), a = y("repeated-block"), c = y("component-ref"), l = y("block", !0), u = y("block-styles");
500
- return e.canShowBlock ? (d(), p(T, { key: 0 }, [
501
- (h = e.blockComponent) != null && h.noWrap ? (d(), v(c, se($({ key: 1 }, e.componentRefProps)), null, 16)) : (d(), p(T, { key: 0 }, [
502
- e.isEmptyHtmlElement(e.Tag) ? (d(), v(r, {
502
+ function St(e, t, n, o, s, r) {
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, {
503
508
  key: 0,
504
509
  Wrapper: e.Tag,
505
510
  block: e.processedBlock,
506
511
  context: e.context,
507
512
  hasChildren: !1
508
513
  }, null, 8, ["Wrapper", "block", "context"])) : S("v-if", !0),
509
- !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), p(T, { key: 1 }, B(e.repeatItem, (m, f) => (d(), v(a, {
514
+ !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), m(T, { key: 1 }, j(e.repeatItem, (h, f) => (d(), v(a, {
510
515
  key: f,
511
- repeatContext: m.context,
512
- block: m.block,
516
+ repeatContext: h.context,
517
+ block: h.block,
513
518
  registeredComponents: e.registeredComponents
514
519
  }, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : S("v-if", !0),
515
- !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), v(r, {
520
+ !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), v(i, {
516
521
  key: 2,
517
522
  Wrapper: e.Tag,
518
523
  block: e.processedBlock,
519
524
  context: e.context,
520
525
  hasChildren: !0
521
526
  }, {
522
- default: Q(() => [
523
- j(c, se(He(e.componentRefProps)), null, 16),
524
- (d(!0), p(T, null, B(e.childrenWithoutParentComponent, (m, f) => (d(), v(l, {
525
- key: "block-" + m.id,
526
- block: m,
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, {
530
+ key: "block-" + h.id,
531
+ block: h,
527
532
  context: e.childrenContext,
528
533
  registeredComponents: e.registeredComponents
529
534
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)),
530
- (d(!0), p(T, null, B(e.childrenWithoutParentComponent, (m, f) => (d(), v(u, {
531
- key: "block-style-" + m.id,
532
- block: m,
535
+ (d(!0), m(T, null, j(e.childrenWithoutParentComponent, (h, f) => (d(), v(u, {
536
+ key: "block-style-" + h.id,
537
+ block: h,
533
538
  context: e.childrenContext
534
539
  }, null, 8, ["block", "context"]))), 128))
535
540
  ]),
@@ -589,20 +594,20 @@ const we = /* @__PURE__ */ g(vt, [["render", St], ["__file", "/Users/samijaber/c
589
594
  }
590
595
  });
591
596
  const wt = ["builder-path", "builder-parent-id"];
592
- function $t(e, t, n, o, s, i) {
593
- return d(), p("div", $({
597
+ function $t(e, t, n, o, s, r) {
598
+ return d(), m("div", $({
594
599
  class: e._classStringToObject(e.className + " div-178o76acnws"),
595
600
  "builder-path": e.path,
596
601
  "builder-parent-id": e.parent,
597
602
  style: e.styleProp,
598
- onClick: t[0] || (t[0] = (r) => e.onClick()),
599
- onMouseenter: t[1] || (t[1] = (r) => e.onMouseEnter()),
600
- onKeypress: t[2] || (t[2] = (r) => e.onClick())
603
+ onClick: t[0] || (t[0] = (i) => e.onClick()),
604
+ onMouseenter: t[1] || (t[1] = (i) => e.onMouseEnter()),
605
+ onKeypress: t[2] || (t[2] = (i) => e.onClick())
601
606
  }, {}), [
602
607
  P(e.$slots, "default", {}, void 0, !0)
603
608
  ], 16, wt);
604
609
  }
605
- 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(), q = {
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 = {
606
611
  Builder: {
607
612
  content: null,
608
613
  context: {},
@@ -616,10 +621,10 @@ const Tt = /* @__PURE__ */ g(Ct, [["render", $t], ["__scopeId", "data-v-1f8aab9f
616
621
  inheritedStyles: {}
617
622
  },
618
623
  key: It
619
- }, Rt = Symbol(), $e = {
624
+ }, xt = Symbol(), $e = {
620
625
  Components: { registeredComponents: {} },
621
- key: Rt
622
- }, xt = b({
626
+ key: xt
627
+ }, Rt = b({
623
628
  name: "builder-blocks",
624
629
  components: {
625
630
  BlocksWrapper: Tt,
@@ -635,26 +640,26 @@ const Tt = /* @__PURE__ */ g(Ct, [["render", $t], ["__scopeId", "data-v-1f8aab9f
635
640
  "registeredComponents"
636
641
  ],
637
642
  inject: {
638
- builderContext: q.key,
643
+ builderContext: G.key,
639
644
  componentsContext: $e.key
640
645
  }
641
646
  });
642
- function Et(e, t, n, o, s, i) {
643
- const r = y("block"), a = y("block-styles"), c = y("blocks-wrapper");
647
+ function Et(e, t, n, o, s, r) {
648
+ const i = y("block"), a = y("block-styles"), c = y("blocks-wrapper");
644
649
  return d(), v(c, {
645
650
  blocks: e.blocks,
646
651
  parent: e.parent,
647
652
  path: e.path,
648
653
  styleProp: e.styleProp
649
654
  }, {
650
- default: Q(() => [
651
- e.blocks ? (d(!0), p(T, { key: 0 }, B(e.blocks, (l, u) => (d(), v(r, {
655
+ default: Z(() => [
656
+ e.blocks ? (d(!0), m(T, { key: 0 }, j(e.blocks, (l, u) => (d(), v(i, {
652
657
  key: "render-block-" + l.id,
653
658
  block: l,
654
659
  context: e.context || e.builderContext,
655
660
  registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
656
661
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)) : S("v-if", !0),
657
- e.blocks ? (d(!0), p(T, { key: 1 }, B(e.blocks, (l, u) => (d(), v(a, {
662
+ e.blocks ? (d(!0), m(T, { key: 1 }, j(e.blocks, (l, u) => (d(), v(a, {
658
663
  key: "block-style-" + l.id,
659
664
  block: l,
660
665
  context: e.context || e.builderContext
@@ -663,9 +668,9 @@ function Et(e, t, n, o, s, i) {
663
668
  _: 1
664
669
  }, 8, ["blocks", "parent", "path", "styleProp"]);
665
670
  }
666
- const ee = /* @__PURE__ */ g(xt, [["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", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), _t = b({
667
672
  name: "builder-columns",
668
- components: { InlinedStyles: K, Blocks: ee },
673
+ components: { InlinedStyles: H, Blocks: ee },
669
674
  props: [
670
675
  "js",
671
676
  "space",
@@ -745,7 +750,7 @@ const ee = /* @__PURE__ */ g(xt, [["render", Et], ["__file", "/Users/samijaber/c
745
750
  return this.stackAt === "never" ? t : e;
746
751
  },
747
752
  columnCssVars(e) {
748
- const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, s = "100%", i = 0;
753
+ const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, s = "100%", r = 0;
749
754
  return {
750
755
  width: n,
751
756
  ["margin-left"]: o,
@@ -754,7 +759,7 @@ const ee = /* @__PURE__ */ g(xt, [["render", Et], ["__file", "/Users/samijaber/c
754
759
  desktopStyle: n
755
760
  }),
756
761
  "--column-margin-left-mobile": this.getMobileStyle({
757
- stackedStyle: i,
762
+ stackedStyle: r,
758
763
  desktopStyle: o
759
764
  }),
760
765
  "--column-width-tablet": this.getTabletStyle({
@@ -762,7 +767,7 @@ const ee = /* @__PURE__ */ g(xt, [["render", Et], ["__file", "/Users/samijaber/c
762
767
  desktopStyle: n
763
768
  }),
764
769
  "--column-margin-left-tablet": this.getTabletStyle({
765
- stackedStyle: i,
770
+ stackedStyle: r,
766
771
  desktopStyle: o
767
772
  })
768
773
  };
@@ -784,24 +789,24 @@ const ee = /* @__PURE__ */ g(xt, [["render", Et], ["__file", "/Users/samijaber/c
784
789
  }
785
790
  }
786
791
  });
787
- function At(e, t, n, o, s, i) {
788
- const r = y("inlined-styles"), a = y("blocks");
789
- return d(), p("div", $({
792
+ function At(e, t, n, o, s, r) {
793
+ const i = y("inlined-styles"), a = y("blocks");
794
+ return d(), m("div", $({
790
795
  class: e._classStringToObject(
791
796
  `builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`
792
797
  ),
793
798
  style: e.columnsCssVars
794
799
  }, {}), [
795
- e.TARGET !== "reactNative" ? (d(), v(r, {
800
+ e.TARGET !== "reactNative" ? (d(), v(i, {
796
801
  key: 0,
797
802
  styles: e.columnsStyles
798
803
  }, null, 8, ["styles"])) : S("v-if", !0),
799
- (d(!0), p(T, null, B(e.columns, (c, l) => (d(), p("div", $({
804
+ (d(!0), m(T, null, j(e.columns, (c, l) => (d(), m("div", $({
800
805
  key: l,
801
806
  class: "builder-column div-16nol0lwi20-2",
802
807
  style: e.columnCssVars(l)
803
808
  }, {}), [
804
- j(a, {
809
+ V(a, {
805
810
  path: `component.options.columns.${l}.blocks`,
806
811
  parent: e.builderBlock.id,
807
812
  styleProp: {
@@ -814,16 +819,16 @@ function At(e, t, n, o, s, i) {
814
819
  ], 16))), 128))
815
820
  ], 16);
816
821
  }
817
- const Bt = /* @__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"]]), jt = b({
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({
818
823
  name: "builder-fragment-component",
819
824
  props: []
820
825
  });
821
- function Vt(e, t, n, o, s, i) {
822
- return d(), p("span", null, [
826
+ function Bt(e, t, n, o, s, r) {
827
+ return d(), m("span", null, [
823
828
  P(e.$slots, "default")
824
829
  ]);
825
830
  }
826
- const Pt = /* @__PURE__ */ g(jt, [["render", Vt], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
831
+ const Pt = /* @__PURE__ */ g(Vt, [["render", Bt], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
827
832
  function ce(e) {
828
833
  return e.replace(/http(s)?:/, "");
829
834
  }
@@ -838,12 +843,12 @@ function Ot(e, t) {
838
843
  return ce(e);
839
844
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
840
845
  if (n) {
841
- const o = e.split(n[0]), s = n[3], i = t.match("x") ? t : `${t}x`;
842
- return ce(`${o[0]}_${i}${s}`);
846
+ const o = e.split(n[0]), s = n[3], r = t.match("x") ? t : `${t}x`;
847
+ return ce(`${o[0]}_${r}${s}`);
843
848
  }
844
849
  return null;
845
850
  }
846
- function D(e) {
851
+ function q(e) {
847
852
  if (!e)
848
853
  return e;
849
854
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -878,10 +883,10 @@ const Nt = b({
878
883
  return this.srcset;
879
884
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
880
885
  if (!this.srcset.includes(this.image.split("?")[0]))
881
- return console.debug("Removed given srcset"), D(t);
886
+ return console.debug("Removed given srcset"), q(t);
882
887
  } else if (this.image && !this.srcset)
883
- return D(t);
884
- return D(t);
888
+ return q(t);
889
+ return q(t);
885
890
  },
886
891
  webpSrcSet() {
887
892
  var e;
@@ -914,11 +919,11 @@ const Ft = ["srcset"], Wt = ["alt", "role", "src", "srcset", "sizes"], Mt = {
914
919
  key: 2,
915
920
  class: "div-1be3j8m9ewb-2"
916
921
  };
917
- function Lt(e, t, n, o, s, i) {
918
- var r, a, c, l;
919
- return d(), p(T, null, [
922
+ function Lt(e, t, n, o, s, r) {
923
+ var i, a, c, l;
924
+ return d(), m(T, null, [
920
925
  re("picture", null, [
921
- e.webpSrcSet ? (d(), p("source", {
926
+ e.webpSrcSet ? (d(), m("source", {
922
927
  key: 0,
923
928
  type: "image/webp",
924
929
  srcset: e.webpSrcSet
@@ -942,7 +947,7 @@ function Lt(e, t, n, o, s, i) {
942
947
  sizes: e.sizes
943
948
  }, null, 14, Wt)
944
949
  ]),
945
- e.aspectRatio && !(((a = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), p("div", {
950
+ e.aspectRatio && !(((a = (i = e.builderBlock) == null ? void 0 : i.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), m("div", {
946
951
  key: 0,
947
952
  class: "builder-image-sizer div-1be3j8m9ewb",
948
953
  style: ie({
@@ -950,7 +955,7 @@ function Lt(e, t, n, o, s, i) {
950
955
  })
951
956
  }, null, 4)) : S("v-if", !0),
952
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),
953
- !e.fitContent && e.$slots.default ? (d(), p("div", Mt, [
958
+ !e.fitContent && e.$slots.default ? (d(), m("div", Mt, [
954
959
  P(e.$slots, "default", {}, void 0, !0)
955
960
  ])) : S("v-if", !0)
956
961
  ], 64);
@@ -959,11 +964,11 @@ const Kt = /* @__PURE__ */ g(Nt, [["render", Lt], ["__scopeId", "data-v-58ca75d1
959
964
  name: "builder-section-component",
960
965
  props: ["attributes", "maxWidth"],
961
966
  data() {
962
- return { filterAttrs: L };
967
+ return { filterAttrs: K };
963
968
  }
964
969
  });
965
- function zt(e, t, n, o, s, i) {
966
- return d(), p("section", $({
970
+ function zt(e, t, n, o, s, r) {
971
+ return d(), m("section", $({
967
972
  style: {
968
973
  width: "100%",
969
974
  alignSelf: "stretch",
@@ -989,20 +994,20 @@ const Dt = /* @__PURE__ */ g(Ht, [["render", zt], ["__file", "/Users/samijaber/c
989
994
  content: t
990
995
  }) => !(!(W(t).length > 0) || !e);
991
996
  function Gt(e, t, n) {
992
- var r;
997
+ var i;
993
998
  function o() {
994
- function a(k, w, x) {
995
- let V = "";
996
- if (x) {
999
+ function a(k, w, R) {
1000
+ let B = "";
1001
+ if (R) {
997
1002
  const I = new Date();
998
- I.setTime(I.getTime() + x * 24 * 60 * 60 * 1e3), V = "; expires=" + I.toUTCString();
1003
+ I.setTime(I.getTime() + R * 24 * 60 * 60 * 1e3), B = "; expires=" + I.toUTCString();
999
1004
  }
1000
- document.cookie = k + "=" + (w || "") + V + "; path=/; Secure; SameSite=None";
1005
+ document.cookie = k + "=" + (w || "") + B + "; path=/; Secure; SameSite=None";
1001
1006
  }
1002
1007
  function c(k) {
1003
- const w = k + "=", x = document.cookie.split(";");
1004
- for (let V = 0; V < x.length; V++) {
1005
- let I = x[V];
1008
+ const w = k + "=", R = document.cookie.split(";");
1009
+ for (let B = 0; B < R.length; B++) {
1010
+ let I = R[B];
1006
1011
  for (; I.charAt(0) === " "; )
1007
1012
  I = I.substring(1, I.length);
1008
1013
  if (I.indexOf(w) === 0)
@@ -1010,21 +1015,21 @@ function Gt(e, t, n) {
1010
1015
  }
1011
1016
  return null;
1012
1017
  }
1013
- const l = `builder.tests.${e}`, u = c(l), h = t.map((k) => k.id).concat(e);
1014
- if (u && h.includes(u))
1018
+ const l = `builder.tests.${e}`, u = c(l), p = t.map((k) => k.id).concat(e);
1019
+ if (u && p.includes(u))
1015
1020
  return u;
1016
- let m = 0;
1021
+ let h = 0;
1017
1022
  const f = Math.random();
1018
1023
  for (let k = 0; k < t.length; k++) {
1019
- const w = t[k], x = w.testRatio;
1020
- if (m += x, f < m)
1024
+ const w = t[k], R = w.testRatio;
1025
+ if (h += R, f < h)
1021
1026
  return a(l, w.id), w.id;
1022
1027
  }
1023
1028
  return a(l, e), e;
1024
1029
  }
1025
- const s = o(), i = (r = document.currentScript) == null ? void 0 : r.previousElementSibling;
1030
+ const s = o(), r = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
1026
1031
  if (n) {
1027
- i.remove();
1032
+ r.remove();
1028
1033
  const a = document.currentScript;
1029
1034
  a == null || a.remove();
1030
1035
  } else {
@@ -1032,7 +1037,7 @@ function Gt(e, t, n) {
1032
1037
  id: e
1033
1038
  }).filter((c) => c.id !== s).map((c) => `.variant-${c.id} { display: none; }
1034
1039
  `).join("");
1035
- i.innerHTML = a;
1040
+ r.innerHTML = a;
1036
1041
  }
1037
1042
  }
1038
1043
  function Jt(e, t, n) {
@@ -1040,9 +1045,9 @@ function Jt(e, t, n) {
1040
1045
  if (!navigator.cookieEnabled)
1041
1046
  return;
1042
1047
  function o(l) {
1043
- const u = l + "=", h = document.cookie.split(";");
1044
- for (let m = 0; m < h.length; m++) {
1045
- let f = h[m];
1048
+ const u = l + "=", p = document.cookie.split(";");
1049
+ for (let h = 0; h < p.length; h++) {
1050
+ let f = p[h];
1046
1051
  for (; f.charAt(0) === " "; )
1047
1052
  f = f.substring(1, f.length);
1048
1053
  if (f.indexOf(u) === 0)
@@ -1050,28 +1055,28 @@ function Jt(e, t, n) {
1050
1055
  }
1051
1056
  return null;
1052
1057
  }
1053
- const s = `builder.tests.${t}`, i = o(s), r = (c = document.currentScript) == null ? void 0 : c.parentElement, a = e === t;
1054
- if (i === e) {
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) {
1055
1060
  if (a)
1056
1061
  return;
1057
- r == null || r.removeAttribute("hidden"), r == null || r.removeAttribute("aria-hidden");
1062
+ i == null || i.removeAttribute("hidden"), i == null || i.removeAttribute("aria-hidden");
1058
1063
  } else {
1059
- a && (n ? r == null || r.remove() : (r == null || r.setAttribute("hidden", "true"), r == null || r.setAttribute("aria-hidden", "true")));
1064
+ a && (n ? i == null || i.remove() : (i == null || i.setAttribute("hidden", "true"), i == null || i.setAttribute("aria-hidden", "true")));
1060
1065
  return;
1061
1066
  }
1062
1067
  }
1063
- const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builderIoAbTest", Re = "builderIoRenderContent", Xt = () => {
1068
+ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builderIoAbTest", xe = "builderIoRenderContent", Xt = () => {
1064
1069
  const e = Gt.toString().replace(/\s+/g, " "), t = Jt.toString().replace(/\s+/g, " ");
1065
1070
  return `
1066
1071
  window.${Ie} = ${e}
1067
- window.${Re} = ${t}
1072
+ window.${xe} = ${t}
1068
1073
  `;
1069
1074
  }, Qt = (e, t) => `
1070
1075
  window.${Ie}("${t}",${JSON.stringify(e)}, ${Te})`, Zt = ({
1071
1076
  contentId: e,
1072
1077
  variationId: t
1073
1078
  }) => `
1074
- window.${Re}("${t}", "${e}", ${Te})`, en = {
1079
+ window.${xe}("${t}", "${e}", ${Te})`, en = {
1075
1080
  name: "Core:Button",
1076
1081
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1077
1082
  defaultStyles: {
@@ -1281,7 +1286,7 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1281
1286
  });
1282
1287
  }
1283
1288
  const n = e.get("columns");
1284
- Array.isArray(n) && !!n.find((s) => s.get("width")) && (!!n.find((i) => !i.get("width")) || n.reduce((a, c) => a + c.get("width"), 0) !== 100) && t();
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();
1285
1290
  }
1286
1291
  }, {
1287
1292
  name: "space",
@@ -1329,29 +1334,29 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1329
1334
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1330
1335
  onChange: (e) => {
1331
1336
  e.delete("srcset"), e.delete("noWebp");
1332
- function n(r, a = 6e4) {
1337
+ function n(i, a = 6e4) {
1333
1338
  return new Promise((c, l) => {
1334
1339
  const u = document.createElement("img");
1335
- let h = !1;
1340
+ let p = !1;
1336
1341
  u.onload = () => {
1337
- h = !0, c(u);
1338
- }, u.addEventListener("error", (m) => {
1339
- console.warn("Image load failed", m.error), l(m.error);
1340
- }), u.src = r, setTimeout(() => {
1341
- h || l(new Error("Image load timed out"));
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"));
1342
1347
  }, a);
1343
1348
  });
1344
1349
  }
1345
- function o(r) {
1346
- return Math.round(r * 1e3) / 1e3;
1350
+ function o(i) {
1351
+ return Math.round(i * 1e3) / 1e3;
1347
1352
  }
1348
- const s = e.get("image"), i = e.get("aspectRatio");
1349
- if (fetch(s).then((r) => r.blob()).then((r) => {
1350
- r.type.includes("svg") && e.set("noWebp", !0);
1351
- }), s && (!i || i === 0.7041))
1352
- return n(s).then((r) => {
1353
+ const s = e.get("image"), r = e.get("aspectRatio");
1354
+ if (fetch(s).then((i) => i.blob()).then((i) => {
1355
+ i.type.includes("svg") && e.set("noWebp", !0);
1356
+ }), s && (!r || r === 0.7041))
1357
+ return n(s).then((i) => {
1353
1358
  const a = e.get("aspectRatio");
1354
- e.get("image") === s && (!a || a === 0.7041) && r.width && r.height && (e.set("aspectRatio", o(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
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));
1355
1360
  });
1356
1361
  }
1357
1362
  }, {
@@ -1503,11 +1508,11 @@ const Yt = (e) => e === "react" || e === "reactNative", Te = Yt(A), Ie = "builde
1503
1508
  name: "builder-text",
1504
1509
  props: ["text"]
1505
1510
  }), ln = ["innerHTML"];
1506
- function dn(e, t, n, o, s, i) {
1507
- var r;
1508
- return d(), p("span", {
1511
+ function dn(e, t, n, o, s, r) {
1512
+ var i;
1513
+ return d(), m("div", {
1509
1514
  class: "builder-text",
1510
- innerHTML: ((r = e.text) == null ? void 0 : r.toString()) || "",
1515
+ innerHTML: ((i = e.text) == null ? void 0 : i.toString()) || "",
1511
1516
  style: {
1512
1517
  outline: "none"
1513
1518
  }
@@ -1637,14 +1642,14 @@ const un = /* @__PURE__ */ g(cn, [["render", dn], ["__file", "/Users/samijaber/c
1637
1642
  }
1638
1643
  }
1639
1644
  }), hn = ["preload", "src", "poster"];
1640
- function fn(e, t, n, o, s, i) {
1641
- var r;
1642
- return d(), p("video", $({
1645
+ function fn(e, t, n, o, s, r) {
1646
+ var i;
1647
+ return d(), m("video", $({
1643
1648
  preload: e.preload || "metadata",
1644
1649
  style: {
1645
1650
  width: "100%",
1646
1651
  height: "100%",
1647
- ...(r = e.attributes) == null ? void 0 : r.style,
1652
+ ...(i = e.attributes) == null ? void 0 : i.style,
1648
1653
  objectFit: e.fit,
1649
1654
  objectPosition: e.position,
1650
1655
  borderRadius: 1
@@ -1721,8 +1726,8 @@ const bn = /* @__PURE__ */ g(mn, [["render", fn], ["__file", "/Users/samijaber/c
1721
1726
  }
1722
1727
  }
1723
1728
  }), Sn = ["innerHTML"];
1724
- function Cn(e, t, n, o, s, i) {
1725
- return d(), p("div", {
1729
+ function Cn(e, t, n, o, s, r) {
1730
+ return d(), m("div", {
1726
1731
  class: "builder-embed",
1727
1732
  ref: "elem",
1728
1733
  innerHTML: e.content
@@ -1739,11 +1744,11 @@ const wn = /* @__PURE__ */ g(vn, [["render", Cn], ["__file", "/Users/samijaber/c
1739
1744
  "attributes"
1740
1745
  ],
1741
1746
  data() {
1742
- return { isEditing: _, filterAttrs: L };
1747
+ return { isEditing: _, filterAttrs: K };
1743
1748
  }
1744
1749
  }), Tn = ["alt", "src"];
1745
- function In(e, t, n, o, s, i) {
1746
- return d(), p("img", $({
1750
+ function In(e, t, n, o, s, r) {
1751
+ return d(), m("img", $({
1747
1752
  style: {
1748
1753
  objectFit: e.backgroundSize || "cover",
1749
1754
  objectPosition: e.backgroundPosition || "center"
@@ -1753,7 +1758,7 @@ function In(e, t, n, o, s, i) {
1753
1758
  src: e.imgSrc || e.image
1754
1759
  }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Tn);
1755
1760
  }
1756
- const Rn = /* @__PURE__ */ g($n, [["render", In], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), xn = {
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 = {
1757
1762
  name: "Raw:Img",
1758
1763
  hideFromInsertMenu: !0,
1759
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",
@@ -1814,8 +1819,8 @@ const Rn = /* @__PURE__ */ g($n, [["render", In], ["__file", "/Users/samijaber/c
1814
1819
  }
1815
1820
  }
1816
1821
  }), _n = ["innerHTML"];
1817
- function An(e, t, n, o, s, i) {
1818
- return d(), p("div", {
1822
+ function An(e, t, n, o, s, r) {
1823
+ return d(), m("div", {
1819
1824
  ref: "elem",
1820
1825
  class: ye(
1821
1826
  e._classStringToObject(
@@ -1825,7 +1830,7 @@ function An(e, t, n, o, s, i) {
1825
1830
  innerHTML: e.code
1826
1831
  }, null, 10, _n);
1827
1832
  }
1828
- const Bn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), jn = {
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 = {
1829
1834
  name: "Custom Code",
1830
1835
  static: !0,
1831
1836
  requiredPermissions: ["editCode"],
@@ -1851,11 +1856,11 @@ const Bn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/c
1851
1856
  component: Je,
1852
1857
  ...en
1853
1858
  }, {
1854
- component: Bt,
1859
+ component: jt,
1855
1860
  ...tn
1856
1861
  }, {
1857
- component: Bn,
1858
- ...jn
1862
+ component: jn,
1863
+ ...Vn
1859
1864
  }, {
1860
1865
  component: wn,
1861
1866
  ...gn
@@ -1866,8 +1871,8 @@ const Bn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/c
1866
1871
  component: Kt,
1867
1872
  ...on
1868
1873
  }, {
1869
- component: Rn,
1870
- ...xn
1874
+ component: xn,
1875
+ ...Rn
1871
1876
  }, {
1872
1877
  component: Dt,
1873
1878
  ...sn
@@ -1880,24 +1885,24 @@ const Bn = /* @__PURE__ */ g(En, [["render", An], ["__file", "/Users/samijaber/c
1880
1885
  }, {
1881
1886
  component: bn,
1882
1887
  ...pn
1883
- }], de = [], Vn = (e) => ({
1888
+ }], de = [], Bn = (e) => ({
1884
1889
  type: "builder.registerComponent",
1885
- data: G(e)
1890
+ data: J(e)
1886
1891
  }), Pn = (e) => {
1887
1892
  const t = e.toString().trim();
1888
1893
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
1889
- }, Un = (e) => typeof e == "function" ? Pn(e) : O(e), G = ({
1894
+ }, Un = (e) => typeof e == "function" ? Pn(e) : O(e), J = ({
1890
1895
  inputs: e,
1891
1896
  ...t
1892
1897
  }) => ({
1893
1898
  ...O(t),
1894
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [s, i]) => ({
1899
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [s, r]) => ({
1895
1900
  ...o,
1896
- [s]: Un(i)
1901
+ [s]: Un(r)
1897
1902
  }), {}))
1898
1903
  }), On = (e) => {
1899
- var i, r;
1900
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (r = e.fileUrl) != null ? r : (i = e == null ? void 0 : e.files) == null ? void 0 : i.regular;
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;
1901
1906
  let s = "";
1902
1907
  if (o && t && n && (s += `
1903
1908
  @font-face {
@@ -1931,7 +1936,7 @@ font-weight: ${a};
1931
1936
  contentId: t
1932
1937
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Wn = b({
1933
1938
  name: "content-styles",
1934
- components: { InlinedStyles: K },
1939
+ components: { InlinedStyles: H },
1935
1940
  props: ["cssCode", "contentId", "customFonts"],
1936
1941
  data() {
1937
1942
  return {
@@ -1960,18 +1965,18 @@ ${Nn({
1960
1965
  };
1961
1966
  }
1962
1967
  });
1963
- function Mn(e, t, n, o, s, i) {
1964
- const r = y("inlined-styles");
1965
- return d(), v(r, { styles: e.injectedStyles }, null, 8, ["styles"]);
1968
+ function Mn(e, t, n, o, s, r) {
1969
+ const i = y("inlined-styles");
1970
+ return d(), v(i, { styles: e.injectedStyles }, null, 8, ["styles"]);
1966
1971
  }
1967
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 = ({
1968
1973
  content: e,
1969
1974
  data: t,
1970
1975
  locale: n
1971
1976
  }) => {
1972
- var i, r, a;
1977
+ var r, i, a;
1973
1978
  const o = {};
1974
- (r = (i = e == null ? void 0 : e.data) == null ? void 0 : i.inputs) == null || r.forEach((c) => {
1979
+ (i = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || i.forEach((c) => {
1975
1980
  var l;
1976
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);
1977
1982
  });
@@ -2007,7 +2012,7 @@ function Dn() {
2007
2012
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
2008
2013
  return e;
2009
2014
  }
2010
- const xe = Dn(), qn = (e) => {
2015
+ const Re = Dn(), qn = (e) => {
2011
2016
  if (e === "localhost" || e === "127.0.0.1")
2012
2017
  return e;
2013
2018
  const t = e.split(".");
@@ -2020,7 +2025,7 @@ const xe = Dn(), qn = (e) => {
2020
2025
  try {
2021
2026
  return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
2022
2027
  } catch (o) {
2023
- R.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
2028
+ x.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
2024
2029
  return;
2025
2030
  }
2026
2031
  }, _e = async (e) => Ee(e), Gn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(E).join("; "), Jn = [["secure", ""], ["SameSite", "None"]], Yn = ({
@@ -2028,8 +2033,8 @@ const xe = Dn(), qn = (e) => {
2028
2033
  value: t,
2029
2034
  expires: n
2030
2035
  }) => {
2031
- const s = (C() ? location.protocol === "https:" : !0) ? Jn : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], r = [[e, t], ...i, ["path", "/"], ["domain", qn(window.location.hostname)], ...s];
2032
- return Gn(r);
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];
2037
+ return Gn(i);
2033
2038
  }, Ae = async ({
2034
2039
  name: e,
2035
2040
  value: t,
@@ -2046,7 +2051,7 @@ const xe = Dn(), qn = (e) => {
2046
2051
  });
2047
2052
  document.cookie = s;
2048
2053
  } catch (s) {
2049
- R.warn("[COOKIE] SET error: ", (s == null ? void 0 : s.message) || s);
2054
+ x.warn("[COOKIE] SET error: ", (s == null ? void 0 : s.message) || s);
2050
2055
  }
2051
2056
  };
2052
2057
  function Xn() {
@@ -2055,16 +2060,16 @@ function Xn() {
2055
2060
  return (e == "x" ? t : t & 3 | 8).toString(16);
2056
2061
  });
2057
2062
  }
2058
- function Be() {
2063
+ function je() {
2059
2064
  return Xn().replace(/-/g, "");
2060
2065
  }
2061
- const je = "builderSessionId", Qn = async ({
2066
+ const Ve = "builderSessionId", Qn = async ({
2062
2067
  canTrack: e
2063
2068
  }) => {
2064
2069
  if (!e)
2065
2070
  return;
2066
2071
  const t = await _e({
2067
- name: je,
2072
+ name: Ve,
2068
2073
  canTrack: e
2069
2074
  });
2070
2075
  if (E(t))
@@ -2076,20 +2081,20 @@ const je = "builderSessionId", Qn = async ({
2076
2081
  canTrack: e
2077
2082
  }), n;
2078
2083
  }
2079
- }, Zn = () => Be(), eo = ({
2084
+ }, Zn = () => je(), eo = ({
2080
2085
  id: e,
2081
2086
  canTrack: t
2082
2087
  }) => Ae({
2083
- name: je,
2088
+ name: Ve,
2084
2089
  value: e,
2085
2090
  canTrack: t
2086
- }), Ve = () => C() && typeof localStorage < "u" ? localStorage : void 0, to = ({
2091
+ }), Be = () => C() && typeof localStorage < "u" ? localStorage : void 0, to = ({
2087
2092
  key: e,
2088
2093
  canTrack: t
2089
2094
  }) => {
2090
2095
  var n;
2091
2096
  try {
2092
- return t ? (n = Ve()) == null ? void 0 : n.getItem(e) : void 0;
2097
+ return t ? (n = Be()) == null ? void 0 : n.getItem(e) : void 0;
2093
2098
  } catch (o) {
2094
2099
  console.debug("[LocalStorage] GET error: ", o);
2095
2100
  return;
@@ -2101,7 +2106,7 @@ const je = "builderSessionId", Qn = async ({
2101
2106
  }) => {
2102
2107
  var o;
2103
2108
  try {
2104
- t && ((o = Ve()) == null || o.setItem(e, n));
2109
+ t && ((o = Be()) == null || o.setItem(e, n));
2105
2110
  } catch (s) {
2106
2111
  console.debug("[LocalStorage] SET error: ", s);
2107
2112
  }
@@ -2123,7 +2128,7 @@ const je = "builderSessionId", Qn = async ({
2123
2128
  canTrack: e
2124
2129
  }), n;
2125
2130
  }
2126
- }, so = () => Be(), ro = ({
2131
+ }, so = () => je(), ro = ({
2127
2132
  id: e,
2128
2133
  canTrack: t
2129
2134
  }) => no({
@@ -2168,9 +2173,9 @@ const je = "builderSessionId", Qn = async ({
2168
2173
  ownerId: n
2169
2174
  }
2170
2175
  });
2171
- async function J(e) {
2176
+ async function Y(e) {
2172
2177
  if (!e.apiKey) {
2173
- R.error("Missing API key for track call. Please provide your API key.");
2178
+ x.error("Missing API key for track call. Please provide your API key.");
2174
2179
  return;
2175
2180
  }
2176
2181
  if (!!e.canTrack && !_() && !!(C() || A === "reactNative"))
@@ -2187,10 +2192,10 @@ async function J(e) {
2187
2192
  console.error("Failed to track: ", t);
2188
2193
  });
2189
2194
  }
2190
- const Go = (e) => J({
2195
+ const Go = (e) => Y({
2191
2196
  ...e,
2192
2197
  canTrack: !0
2193
- }), co = "0.6.1-0", ue = {};
2198
+ }), co = "0.6.3", ue = {};
2194
2199
  function lo(e, t) {
2195
2200
  let n = ue[e];
2196
2201
  if (n || (n = ue[e] = []), n.push(t), C()) {
@@ -2251,33 +2256,33 @@ const po = (e = {}) => {
2251
2256
  }, "*"), window.addEventListener("message", ({
2252
2257
  data: o
2253
2258
  }) => {
2254
- var s, i;
2259
+ var s, r;
2255
2260
  if (!!(o != null && o.type))
2256
2261
  switch (o.type) {
2257
2262
  case "builder.evaluate": {
2258
- const r = o.data.text, a = o.data.arguments || [], c = o.data.id, l = new Function(r);
2259
- let u, h = null;
2263
+ const i = o.data.text, a = o.data.arguments || [], c = o.data.id, l = new Function(i);
2264
+ let u, p = null;
2260
2265
  try {
2261
2266
  u = l.apply(null, a);
2262
- } catch (m) {
2263
- h = m;
2267
+ } catch (h) {
2268
+ p = h;
2264
2269
  }
2265
- h ? (s = window.parent) == null || s.postMessage({
2270
+ p ? (s = window.parent) == null || s.postMessage({
2266
2271
  type: "builder.evaluateError",
2267
2272
  data: {
2268
2273
  id: c,
2269
- error: h.message
2274
+ error: p.message
2270
2275
  }
2271
- }, "*") : u && typeof u.then == "function" ? u.then((m) => {
2276
+ }, "*") : u && typeof u.then == "function" ? u.then((h) => {
2272
2277
  var f;
2273
2278
  (f = window.parent) == null || f.postMessage({
2274
2279
  type: "builder.evaluateResult",
2275
2280
  data: {
2276
2281
  id: c,
2277
- result: m
2282
+ result: h
2278
2283
  }
2279
2284
  }, "*");
2280
- }).catch(console.error) : (i = window.parent) == null || i.postMessage({
2285
+ }).catch(console.error) : (r = window.parent) == null || r.postMessage({
2281
2286
  type: "builder.evaluateResult",
2282
2287
  data: {
2283
2288
  result: u,
@@ -2310,10 +2315,10 @@ const mo = (e, t, n = !0) => {
2310
2315
  event: e,
2311
2316
  target: t
2312
2317
  }) => {
2313
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, s = e.clientY - n.top, i = me(o / n.width), r = me(s / n.height);
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);
2314
2319
  return {
2315
- x: i,
2316
- y: r
2320
+ x: r,
2321
+ y: i
2317
2322
  };
2318
2323
  }, fo = (e) => {
2319
2324
  const t = e.target, n = t && ho(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
@@ -2355,10 +2360,10 @@ const mo = (e, t, n = !0) => {
2355
2360
  var s;
2356
2361
  let n = 0;
2357
2362
  const o = Math.random();
2358
- for (const i in t) {
2359
- const r = (s = t[i]) == null ? void 0 : s.testRatio;
2360
- if (n += r, o < n)
2361
- return i;
2363
+ for (const r in t) {
2364
+ const i = (s = t[r]) == null ? void 0 : s.testRatio;
2365
+ if (n += i, o < n)
2366
+ return r;
2362
2367
  }
2363
2368
  return e;
2364
2369
  }, Oe = (e) => {
@@ -2367,7 +2372,7 @@ const mo = (e, t, n = !0) => {
2367
2372
  contentId: e.id,
2368
2373
  value: t
2369
2374
  }).catch((n) => {
2370
- R.error("could not store A/B test variation: ", n);
2375
+ x.error("could not store A/B test variation: ", n);
2371
2376
  }), t;
2372
2377
  }, Ne = ({
2373
2378
  item: e,
@@ -2424,16 +2429,16 @@ const mo = (e, t, n = !0) => {
2424
2429
  ...e,
2425
2430
  ...s
2426
2431
  };
2427
- }, Y = (e) => E(e) ? e : !0;
2428
- function X(e, t = null, n = ".") {
2432
+ }, X = (e) => E(e) ? e : !0;
2433
+ function Q(e, t = null, n = ".") {
2429
2434
  return Object.keys(e).reduce((o, s) => {
2430
- const i = e[s], r = [t, s].filter(Boolean).join(n);
2431
- return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
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) ? {
2432
2437
  ...o,
2433
- ...X(i, r, n)
2438
+ ...Q(r, i, n)
2434
2439
  } : {
2435
2440
  ...o,
2436
- [r]: i
2441
+ [i]: r
2437
2442
  };
2438
2443
  }, {});
2439
2444
  }
@@ -2463,69 +2468,69 @@ const fe = "builder.", wo = "options.", $o = (e) => {
2463
2468
  userAttributes: n,
2464
2469
  query: o,
2465
2470
  noTraverse: s = !1,
2466
- model: i,
2467
- apiKey: r,
2471
+ model: r,
2472
+ apiKey: i,
2468
2473
  includeRefs: a = !0,
2469
2474
  enrich: c,
2470
2475
  locale: l,
2471
2476
  apiVersion: u = Io
2472
2477
  } = e;
2473
- if (!r)
2478
+ if (!i)
2474
2479
  throw new Error("Missing API key");
2475
2480
  if (!["v2", "v3"].includes(u))
2476
2481
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${u}'`);
2477
- const h = new URL(`https://cdn.builder.io/api/${u}/content/${i}?apiKey=${r}&limit=${t}&noTraverse=${s}&includeRefs=${a}${l ? `&locale=${l}` : ""}${c ? `&enrich=${c}` : ""}`), m = {
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 = {
2478
2483
  ...To(),
2479
2484
  ...We(e.options || {})
2480
- }, f = X(m);
2485
+ }, f = Q(h);
2481
2486
  for (const k in f)
2482
- h.searchParams.set(k, String(f[k]));
2483
- if (n && h.searchParams.set("userAttributes", JSON.stringify(n)), o) {
2484
- const k = X({
2487
+ p.searchParams.set(k, String(f[k]));
2488
+ if (n && p.searchParams.set("userAttributes", JSON.stringify(n)), o) {
2489
+ const k = Q({
2485
2490
  query: o
2486
2491
  });
2487
2492
  for (const w in k)
2488
- h.searchParams.set(w, JSON.stringify(k[w]));
2493
+ p.searchParams.set(w, JSON.stringify(k[w]));
2489
2494
  }
2490
- return h;
2491
- }, Ro = (e) => "results" in e;
2492
- async function H(e) {
2495
+ return p;
2496
+ }, xo = (e) => "results" in e;
2497
+ async function z(e) {
2493
2498
  const t = await Me({
2494
2499
  ...e,
2495
2500
  limit: 1
2496
2501
  });
2497
2502
  return t && t.results[0] || null;
2498
2503
  }
2499
- const Jo = H, xo = async (e) => {
2504
+ const Jo = z, Ro = async (e) => {
2500
2505
  const t = ne(e);
2501
- return await (await xe(t.href)).json();
2506
+ return await (await Re(t.href)).json();
2502
2507
  }, Eo = async (e, t, n = ne(e)) => {
2503
- const o = Y(e.canTrack);
2508
+ const o = X(e.canTrack);
2504
2509
  if (n.search.includes("preview="), !o || !(C() || A === "reactNative"))
2505
2510
  return t;
2506
2511
  try {
2507
2512
  const s = [];
2508
- for (const i of t.results)
2513
+ for (const r of t.results)
2509
2514
  s.push(await Co({
2510
- item: i,
2515
+ item: r,
2511
2516
  canTrack: o
2512
2517
  }));
2513
2518
  t.results = s;
2514
2519
  } catch (s) {
2515
- R.error("Could not process A/B tests. ", s);
2520
+ x.error("Could not process A/B tests. ", s);
2516
2521
  }
2517
2522
  return t;
2518
2523
  };
2519
2524
  async function Me(e) {
2520
2525
  try {
2521
- const t = ne(e), n = await xo(e);
2522
- return Ro(n) ? Eo(e, n) : (R.error("Error fetching data. ", {
2526
+ const t = ne(e), n = await Ro(e);
2527
+ return xo(n) ? Eo(e, n) : (x.error("Error fetching data. ", {
2523
2528
  url: t,
2524
2529
  content: n,
2525
2530
  options: e
2526
2531
  }), null);
2527
2532
  } catch (t) {
2528
- return R.error("Error fetching data. ", t), null;
2533
+ return x.error("Error fetching data. ", t), null;
2529
2534
  }
2530
2535
  }
2531
2536
  const Yo = Me;
@@ -2555,18 +2560,18 @@ const Ao = b({
2555
2560
  shouldSendResetCookie: !1,
2556
2561
  httpReqsData: {},
2557
2562
  clicked: !1,
2558
- builderContext: q
2563
+ builderContext: G
2559
2564
  };
2560
2565
  },
2561
2566
  provide() {
2562
2567
  const e = this;
2563
2568
  return {
2564
- [q.key]: e.builderContextSignal
2569
+ [G.key]: e.builderContextSignal
2565
2570
  };
2566
2571
  },
2567
2572
  mounted() {
2568
2573
  var e, t;
2569
- if (this.apiKey || R.error(
2574
+ if (this.apiKey || x.error(
2570
2575
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2571
2576
  ), C()) {
2572
2577
  if (_() && (this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), uo(), po({
@@ -2583,14 +2588,14 @@ const Ao = b({
2583
2588
  this.builderContextSignal.componentInfos
2584
2589
  ).forEach((n) => {
2585
2590
  var s;
2586
- const o = Vn(n);
2591
+ const o = Bn(n);
2587
2592
  (s = window.parent) == null || s.postMessage(o, "*");
2588
2593
  }), window.addEventListener(
2589
2594
  "builder:component:stateChangeListenerActivated",
2590
2595
  this.emitStateUpdate
2591
2596
  )), this.builderContextSignal.content) {
2592
2597
  const n = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, o = (t = this.builderContextSignal.content) == null ? void 0 : t.id;
2593
- J({
2598
+ Y({
2594
2599
  type: "impression",
2595
2600
  canTrack: this.canTrackToUse,
2596
2601
  contentId: o,
@@ -2601,13 +2606,13 @@ const Ao = b({
2601
2606
  if (_o()) {
2602
2607
  const n = new URL(location.href).searchParams, o = n.get("builder.preview"), s = n.get(
2603
2608
  `builder.preview.${o}`
2604
- ), i = n.get("apiKey") || n.get("builder.space");
2605
- o === this.model && i === this.apiKey && (!this.content || s === this.content.id) && H({
2609
+ ), r = n.get("apiKey") || n.get("builder.space");
2610
+ o === this.model && r === this.apiKey && (!this.content || s === this.content.id) && z({
2606
2611
  model: this.model,
2607
2612
  apiKey: this.apiKey,
2608
2613
  apiVersion: this.builderContextSignal.apiVersion
2609
- }).then((r) => {
2610
- r && this.mergeNewContent(r);
2614
+ }).then((i) => {
2615
+ i && this.mergeNewContent(i);
2611
2616
  });
2612
2617
  }
2613
2618
  this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
@@ -2679,7 +2684,7 @@ const Ao = b({
2679
2684
  },
2680
2685
  methods: {
2681
2686
  mergeNewContent(e) {
2682
- var n, o, s, i, r;
2687
+ var n, o, s, r, i;
2683
2688
  const t = {
2684
2689
  ...this.builderContextSignal.content,
2685
2690
  ...e,
@@ -2690,7 +2695,7 @@ const Ao = b({
2690
2695
  meta: {
2691
2696
  ...(o = this.builderContextSignal.content) == null ? void 0 : o.meta,
2692
2697
  ...e == null ? void 0 : e.meta,
2693
- breakpoints: ((s = e == null ? void 0 : e.meta) == null ? void 0 : s.breakpoints) || ((r = (i = this.builderContextSignal.content) == null ? void 0 : i.meta) == null ? void 0 : r.breakpoints)
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)
2694
2699
  }
2695
2700
  };
2696
2701
  this.builderContextSignal.content = t;
@@ -2701,8 +2706,8 @@ const Ao = b({
2701
2706
  if (t)
2702
2707
  switch (t.type) {
2703
2708
  case "builder.configureSdk": {
2704
- const o = t.data, { breakpoints: s, contentId: i } = o;
2705
- if (!i || i !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2709
+ const o = t.data, { breakpoints: s, contentId: r } = o;
2710
+ if (!r || r !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2706
2711
  return;
2707
2712
  s && this.mergeNewContent({
2708
2713
  meta: {
@@ -2712,8 +2717,8 @@ const Ao = b({
2712
2717
  break;
2713
2718
  }
2714
2719
  case "builder.contentUpdate": {
2715
- const o = t.data, s = o.key || o.alias || o.entry || o.modelName, i = o.data;
2716
- s === this.model && (this.mergeNewContent(i), this.forceReRenderCount = this.forceReRenderCount + 1);
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);
2717
2722
  break;
2718
2723
  }
2719
2724
  }
@@ -2733,7 +2738,7 @@ const Ao = b({
2733
2738
  var t, n;
2734
2739
  if (this.builderContextSignal.content) {
2735
2740
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, s = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2736
- J({
2741
+ Y({
2737
2742
  type: "click",
2738
2743
  canTrack: this.canTrackToUse,
2739
2744
  contentId: s,
@@ -2758,13 +2763,13 @@ const Ao = b({
2758
2763
  );
2759
2764
  },
2760
2765
  handleRequest({ url: e, key: t }) {
2761
- xe(e).then((n) => n.json()).then((n) => {
2762
- var s, i;
2766
+ Re(e).then((n) => n.json()).then((n) => {
2767
+ var s, r;
2763
2768
  const o = {
2764
2769
  ...this.builderContextSignal.rootState,
2765
2770
  [t]: n
2766
2771
  };
2767
- (i = (s = this.builderContextSignal).rootSetState) == null || i.call(s, o), this.httpReqsData[t] = !0;
2772
+ (r = (s = this.builderContextSignal).rootSetState) == null || r.call(s, o), this.httpReqsData[t] = !0;
2768
2773
  }).catch((n) => {
2769
2774
  console.error("error fetching dynamic data", e, n);
2770
2775
  });
@@ -2772,11 +2777,11 @@ const Ao = b({
2772
2777
  runHttpRequests() {
2773
2778
  var t, n, o;
2774
2779
  const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
2775
- Object.entries(e).forEach(([s, i]) => {
2776
- if (i && (!this.httpReqsData[s] || _())) {
2777
- const r = this.evalExpression(i);
2780
+ Object.entries(e).forEach(([s, r]) => {
2781
+ if (r && (!this.httpReqsData[s] || _())) {
2782
+ const i = this.evalExpression(r);
2778
2783
  this.handleRequest({
2779
- url: r,
2784
+ url: i,
2780
2785
  key: s
2781
2786
  });
2782
2787
  }
@@ -2807,14 +2812,14 @@ const Ao = b({
2807
2812
  return t;
2808
2813
  }
2809
2814
  }
2810
- }), Bo = ["builder-content-id", "builder-model"];
2811
- function jo(e, t, n, o, s, i) {
2812
- var r;
2813
- return e.builderContextSignal.content ? (d(), p("div", $({
2815
+ }), jo = ["builder-content-id", "builder-model"];
2816
+ function Vo(e, t, n, o, s, r) {
2817
+ var i;
2818
+ return e.builderContextSignal.content ? (d(), m("div", $({
2814
2819
  key: e.forceReRenderCount,
2815
2820
  ref: "elementRef",
2816
2821
  onClick: t[0] || (t[0] = (a) => e.onClick(a)),
2817
- "builder-content-id": (r = e.builderContextSignal.content) == null ? void 0 : r.id,
2822
+ "builder-content-id": (i = e.builderContextSignal.content) == null ? void 0 : i.id,
2818
2823
  "builder-model": e.model,
2819
2824
  class: e._classStringToObject(e.classNameProp)
2820
2825
  }, {
@@ -2824,9 +2829,9 @@ function jo(e, t, n, o, s, i) {
2824
2829
  }
2825
2830
  }), [
2826
2831
  P(e.$slots, "default")
2827
- ], 16, Bo)) : S("v-if", !0);
2832
+ ], 16, jo)) : S("v-if", !0);
2828
2833
  }
2829
- const Vo = /* @__PURE__ */ g(Ao, [["render", jo], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Po = b({
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({
2830
2835
  render() {
2831
2836
  return ge("script", { id: this.id, innerHTML: this.scriptStr });
2832
2837
  },
@@ -2835,7 +2840,7 @@ const Vo = /* @__PURE__ */ g(Ao, [["render", jo], ["__file", "/Users/samijaber/c
2835
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({
2836
2841
  name: "content-component",
2837
2842
  components: {
2838
- EnableEditor: Vo,
2843
+ EnableEditor: Bo,
2839
2844
  InlinedScript: Le,
2840
2845
  ContentStyles: Ln,
2841
2846
  Blocks: ee
@@ -2872,7 +2877,7 @@ const Vo = /* @__PURE__ */ g(Ao, [["render", jo], ["__file", "/Users/samijaber/c
2872
2877
  ...n,
2873
2878
  [s.name]: {
2874
2879
  component: Uo(o),
2875
- ...G(s)
2880
+ ...J(s)
2876
2881
  }
2877
2882
  }),
2878
2883
  {}
@@ -2899,7 +2904,7 @@ const Vo = /* @__PURE__ */ g(Ao, [["render", jo], ["__file", "/Users/samijaber/c
2899
2904
  ].reduce(
2900
2905
  (n, { component: o, ...s }) => ({
2901
2906
  ...n,
2902
- [s.name]: G(s)
2907
+ [s.name]: J(s)
2903
2908
  }),
2904
2909
  {}
2905
2910
  ),
@@ -2922,8 +2927,8 @@ const Vo = /* @__PURE__ */ g(Ao, [["render", jo], ["__file", "/Users/samijaber/c
2922
2927
  }
2923
2928
  }
2924
2929
  });
2925
- function No(e, t, n, o, s, i) {
2926
- const r = y("inlined-script"), a = y("content-styles"), c = y("blocks"), l = y("enable-editor");
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");
2927
2932
  return d(), v(l, $({
2928
2933
  content: e.content,
2929
2934
  model: e.model,
@@ -2937,21 +2942,21 @@ function No(e, t, n, o, s, i) {
2937
2942
  showContent: e.showContent,
2938
2943
  builderContextSignal: e.builderContextSignal
2939
2944
  }, {}), {
2940
- default: Q(() => {
2941
- var u, h, m, f, k, w, x;
2945
+ default: Z(() => {
2946
+ var u, p, h, f, k, w, R;
2942
2947
  return [
2943
- e.isSsrAbTest ? (d(), v(r, {
2948
+ e.isSsrAbTest ? (d(), v(i, {
2944
2949
  key: 0,
2945
2950
  scriptStr: e.scriptStr
2946
2951
  }, null, 8, ["scriptStr"])) : S("v-if", !0),
2947
2952
  e.TARGET !== "reactNative" ? (d(), v(a, {
2948
2953
  key: 1,
2949
2954
  contentId: (u = e.builderContextSignal.content) == null ? void 0 : u.id,
2950
- cssCode: (m = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : m.cssCode,
2955
+ cssCode: (h = (p = e.builderContextSignal.content) == null ? void 0 : p.data) == null ? void 0 : h.cssCode,
2951
2956
  customFonts: (k = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : k.customFonts
2952
2957
  }, null, 8, ["contentId", "cssCode", "customFonts"])) : S("v-if", !0),
2953
- j(c, {
2954
- blocks: (x = (w = e.builderContextSignal.content) == null ? void 0 : w.data) == null ? void 0 : x.blocks,
2958
+ V(c, {
2959
+ blocks: (R = (w = e.builderContextSignal.content) == null ? void 0 : w.data) == null ? void 0 : R.blocks,
2955
2960
  context: e.builderContextSignal,
2956
2961
  registeredComponents: e.registeredComponents
2957
2962
  }, null, 8, ["blocks", "context", "registeredComponents"])
@@ -2964,7 +2969,7 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
2964
2969
  name: "content-variants",
2965
2970
  components: {
2966
2971
  InlinedScript: Le,
2967
- InlinedStyles: K,
2972
+ InlinedStyles: H,
2968
2973
  ContentComponent: Fo
2969
2974
  },
2970
2975
  props: [
@@ -2984,7 +2989,7 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
2984
2989
  data() {
2985
2990
  return {
2986
2991
  shouldRenderVariants: qt({
2987
- canTrack: Y(this.canTrack),
2992
+ canTrack: X(this.canTrack),
2988
2993
  content: this.content
2989
2994
  }),
2990
2995
  getScriptString: Xt,
@@ -3016,28 +3021,28 @@ const Fo = /* @__PURE__ */ g(Oo, [["render", No], ["__file", "/Users/samijaber/c
3016
3021
  testVariationId: (e = this.content) == null ? void 0 : e.id
3017
3022
  } : So({
3018
3023
  item: this.content,
3019
- canTrack: Y(this.canTrack)
3024
+ canTrack: X(this.canTrack)
3020
3025
  });
3021
3026
  }
3022
3027
  }
3023
3028
  });
3024
- function Mo(e, t, n, o, s, i) {
3029
+ function Mo(e, t, n, o, s, r) {
3025
3030
  var l, u;
3026
- const r = y("inlined-script"), a = y("inlined-styles"), c = y("content-component");
3027
- return d(), p(T, null, [
3028
- !e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), v(r, {
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, {
3029
3034
  key: 0,
3030
3035
  scriptStr: e.getScriptString()
3031
3036
  }, null, 8, ["scriptStr"])) : S("v-if", !0),
3032
- e.shouldRenderVariants ? (d(), p(T, { key: 1 }, [
3033
- j(a, {
3037
+ e.shouldRenderVariants ? (d(), m(T, { key: 1 }, [
3038
+ V(a, {
3034
3039
  id: `variants-styles-${(l = e.content) == null ? void 0 : l.id}`,
3035
3040
  styles: e.hideVariantsStyleString
3036
3041
  }, null, 8, ["id", "styles"]),
3037
- j(r, { scriptStr: e.variantScriptStr }, null, 8, ["scriptStr"]),
3038
- (d(!0), p(T, null, B(e.getVariants(e.content), (h, m) => (d(), v(c, {
3039
- key: h.testVariationId,
3040
- content: h,
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
+ key: p.testVariationId,
3045
+ content: p,
3041
3046
  showContent: !1,
3042
3047
  classNameProp: void 0,
3043
3048
  model: e.model,
@@ -3053,7 +3058,7 @@ function Mo(e, t, n, o, s, i) {
3053
3058
  isSsrAbTest: e.shouldRenderVariants
3054
3059
  }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"]))), 128))
3055
3060
  ], 64)) : S("v-if", !0),
3056
- j(c, $({
3061
+ V(c, $({
3057
3062
  content: e.defaultContent,
3058
3063
  classNameProp: `variant-${(u = e.content) == null ? void 0 : u.id}`,
3059
3064
  showContent: !0,
@@ -3078,7 +3083,7 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3078
3083
  symbol: t
3079
3084
  }) => {
3080
3085
  if ((t == null ? void 0 : t.model) && (e == null ? void 0 : e.apiKey))
3081
- return H({
3086
+ return z({
3082
3087
  model: t.model,
3083
3088
  apiKey: e.apiKey,
3084
3089
  apiVersion: e.apiVersion,
@@ -3088,7 +3093,7 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3088
3093
  }
3089
3094
  }
3090
3095
  }).catch((n) => {
3091
- R.error("Could not fetch symbol content: ", n);
3096
+ x.error("Could not fetch symbol content: ", n);
3092
3097
  });
3093
3098
  }, Ko = b({
3094
3099
  name: "builder-symbol",
@@ -3103,7 +3108,7 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3103
3108
  ],
3104
3109
  data() {
3105
3110
  var e;
3106
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: L };
3111
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: K };
3107
3112
  },
3108
3113
  mounted() {
3109
3114
  this.setContent();
@@ -3152,13 +3157,13 @@ const Ke = /* @__PURE__ */ g(Wo, [["render", Mo], ["__file", "/Users/samijaber/c
3152
3157
  }
3153
3158
  }
3154
3159
  });
3155
- function Ho(e, t, n, o, s, i) {
3160
+ function Ho(e, t, n, o, s, r) {
3156
3161
  var a, c, l, u;
3157
- const r = y("content-variants");
3158
- return d(), p("div", $({
3162
+ const i = y("content-variants");
3163
+ return d(), m("div", $({
3159
3164
  class: e._classStringToObject(e.className)
3160
3165
  }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3161
- j(r, {
3166
+ V(i, {
3162
3167
  __isNestedRender: !0,
3163
3168
  apiVersion: e.builderContext.apiVersion,
3164
3169
  apiKey: e.builderContext.apiKey,
@@ -3186,7 +3191,7 @@ function Zo(e) {
3186
3191
  }
3187
3192
  }
3188
3193
  const es = async (e) => {
3189
- var o, s, i;
3194
+ var o, s, r;
3190
3195
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((s = e.userAttributes) == null ? void 0 : s.urlPath), n = {
3191
3196
  ...e,
3192
3197
  apiKey: e.apiKey,
@@ -3197,16 +3202,16 @@ const es = async (e) => {
3197
3202
  urlPath: t
3198
3203
  } : {}
3199
3204
  },
3200
- options: Fe(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3205
+ options: Fe(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
3201
3206
  };
3202
3207
  return {
3203
3208
  apiKey: n.apiKey,
3204
3209
  model: n.model,
3205
- content: await H(n)
3210
+ content: await z(n)
3206
3211
  };
3207
3212
  };
3208
3213
  export {
3209
- q as B,
3214
+ G as B,
3210
3215
  Ke as C,
3211
3216
  Pt as F,
3212
3217
  Kt as I,
@@ -3222,14 +3227,14 @@ export {
3222
3227
  M as e,
3223
3228
  Qo as f,
3224
3229
  Je as g,
3225
- Bt as h,
3230
+ jt as h,
3226
3231
  zo as i,
3227
3232
  un as j,
3228
3233
  _ as k,
3229
3234
  _o as l,
3230
- Vn as m,
3235
+ Bn as m,
3231
3236
  Me as n,
3232
- H as o,
3237
+ z as o,
3233
3238
  Yo as p,
3234
3239
  Jo as q,
3235
3240
  lo as r,