@builder.io/sdk-vue 0.7.5 → 0.8.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 (216) hide show
  1. package/package.json +8 -7
  2. package/vue2/lib/browser/block-9d4161fb.cjs +3 -0
  3. package/vue2/lib/{node/block-fe2e5888.js → browser/block-f5679152.js} +17 -13
  4. package/vue2/lib/{node/block-styles-6dd31eb8.js → browser/block-styles-6ca785bb.js} +8 -7
  5. package/vue2/lib/browser/block-styles-b76b4562.cjs +1 -0
  6. package/vue2/lib/browser/{block-wrapper-950d3006.js → block-wrapper-0d4fe902.js} +8 -7
  7. package/vue2/lib/browser/block-wrapper-3157e1bc.cjs +1 -0
  8. package/vue2/lib/browser/blocks-wrapper-02404286.cjs +1 -0
  9. package/vue2/lib/{edge/blocks-wrapper-70a091a6.js → browser/blocks-wrapper-dc71efe8.js} +4 -3
  10. package/vue2/lib/browser/component-ref-c51b0a20.cjs +1 -0
  11. package/vue2/lib/{edge/component-ref-560915c3.js → browser/component-ref-d59047de.js} +9 -8
  12. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  13. package/vue2/lib/browser/content-0575efdf.cjs +1 -0
  14. package/vue2/lib/browser/{content-43a1dc9c.js → content-84bda2e9.js} +8 -7
  15. package/vue2/lib/browser/css-9cb1ef7e.cjs +6 -0
  16. package/vue2/lib/browser/{css-42aa7f84.js → css-bdeda4e4.js} +4 -3
  17. package/vue2/lib/{node/enable-editor-b1a0289d.js → browser/enable-editor-c377a256.js} +6 -5
  18. package/vue2/lib/browser/enable-editor-c49316d4.cjs +1 -0
  19. package/vue2/lib/browser/{evaluate-9a88b50c.js → evaluate-2857c518.js} +4 -3
  20. package/vue2/lib/browser/evaluate-5a5f1e1a.cjs +1 -0
  21. package/vue2/lib/{node/get-block-actions-f7890b23.js → browser/get-block-actions-6774e2de.js} +5 -4
  22. package/vue2/lib/browser/get-block-actions-797d49a2.cjs +1 -0
  23. package/vue2/lib/browser/get-block-properties-b25a78e1.cjs +1 -0
  24. package/vue2/lib/{edge/get-block-properties-29a2d888.js → browser/get-block-properties-eb393578.js} +11 -10
  25. package/vue2/lib/browser/{get-processed-block-2f7badd8.js → get-processed-block-d2849656.js} +17 -16
  26. package/vue2/lib/browser/get-processed-block-e9eb76d5.cjs +1 -0
  27. package/vue2/lib/{edge/index-13a478c9.js → browser/index-1fdc0dd8.js} +48 -47
  28. package/vue2/lib/{node/index-acebd2be.cjs → browser/index-e56cba6d.cjs} +3 -3
  29. package/vue2/lib/browser/index.cjs +1 -1
  30. package/vue2/lib/browser/index.js +24 -23
  31. package/vue2/lib/{edge/inlined-script-46088a59.js → browser/inlined-script-0fd7eea7.js} +7 -6
  32. package/vue2/lib/browser/inlined-script-166d99c7.cjs +1 -0
  33. package/vue2/lib/browser/inlined-styles-4c4a89e2.cjs +1 -0
  34. package/vue2/lib/{node/inlined-styles-6405713e.js → browser/inlined-styles-73447147.js} +5 -4
  35. package/vue2/lib/browser/interactive-element-772e6a3d.cjs +1 -0
  36. package/vue2/lib/{node/interactive-element-891aeec9.js → browser/interactive-element-f3bc9b6c.js} +8 -7
  37. package/vue2/lib/{node/repeated-block-e394bfe9.js → browser/repeated-block-59ab7fe5.js} +5 -4
  38. package/vue2/lib/browser/repeated-block-8c6f0ef0.cjs +1 -0
  39. package/vue2/lib/{node/styles-58b07f41.cjs → browser/styles-0fbadb80.cjs} +2 -2
  40. package/vue2/lib/browser/{styles-761dab39.js → styles-3945b4c7.js} +8 -7
  41. package/vue2/lib/edge/block-03548c5c.cjs +3 -0
  42. package/vue2/lib/{browser/block-b8bfcb77.js → edge/block-c6f466c0.js} +17 -13
  43. package/vue2/lib/edge/{block-styles-4cc9f141.js → block-styles-37805084.js} +8 -7
  44. package/vue2/lib/edge/block-styles-adc484c6.cjs +1 -0
  45. package/vue2/lib/{node/block-wrapper-c1574900.js → edge/block-wrapper-1d75af67.js} +8 -7
  46. package/vue2/lib/edge/block-wrapper-ff8027da.cjs +1 -0
  47. package/vue2/lib/{browser/blocks-wrapper-a522cccb.js → edge/blocks-wrapper-e329b941.js} +4 -3
  48. package/vue2/lib/edge/blocks-wrapper-ed7f6801.cjs +1 -0
  49. package/vue2/lib/{node/component-ref-efab49f4.js → edge/component-ref-b3b70fa9.js} +9 -8
  50. package/vue2/lib/edge/component-ref-fc9c9d6b.cjs +1 -0
  51. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  52. package/vue2/lib/edge/{content-57bc4f42.js → content-90700d7e.js} +8 -7
  53. package/vue2/lib/edge/content-e5850b95.cjs +1 -0
  54. package/vue2/lib/edge/css-5dcb14df.cjs +6 -0
  55. package/vue2/lib/edge/{css-e71756bc.js → css-99493b5d.js} +4 -3
  56. package/vue2/lib/edge/enable-editor-31a92cf5.cjs +1 -0
  57. package/vue2/lib/{browser/enable-editor-bba63d74.js → edge/enable-editor-81a0ad6d.js} +6 -5
  58. package/vue2/lib/edge/{evaluate-7ef8d079.js → evaluate-2a5e2028.js} +4 -3
  59. package/vue2/lib/edge/{evaluate-ae242f0c.cjs → evaluate-4bd2a851.cjs} +1 -1
  60. package/vue2/lib/edge/get-block-actions-84b02e58.cjs +1 -0
  61. package/vue2/lib/edge/{get-block-actions-16aad06a.js → get-block-actions-a4c6a740.js} +5 -4
  62. package/vue2/lib/{node/get-block-properties-12b28e9b.js → edge/get-block-properties-450803e5.js} +11 -10
  63. package/vue2/lib/edge/get-block-properties-a07f7705.cjs +1 -0
  64. package/vue2/lib/{node/get-processed-block-7aabe9a2.js → edge/get-processed-block-1d7ecd6a.js} +16 -15
  65. package/vue2/lib/edge/get-processed-block-8f70184a.cjs +1 -0
  66. package/vue2/lib/{browser/index-6ce45901.js → edge/index-22fb0dfe.js} +48 -47
  67. package/vue2/lib/edge/{index-17aded8e.cjs → index-cf208007.cjs} +3 -3
  68. package/vue2/lib/edge/index.cjs +1 -1
  69. package/vue2/lib/edge/index.js +24 -23
  70. package/vue2/lib/edge/inlined-script-f460fc92.cjs +1 -0
  71. package/vue2/lib/{node/inlined-script-87aaded8.js → edge/inlined-script-f5a56ea4.js} +7 -6
  72. package/vue2/lib/edge/inlined-styles-c9c77496.cjs +1 -0
  73. package/vue2/lib/edge/{inlined-styles-7ddf1959.js → inlined-styles-ea805c3d.js} +5 -4
  74. package/vue2/lib/{browser/interactive-element-be7c3cca.js → edge/interactive-element-340237cb.js} +8 -7
  75. package/vue2/lib/edge/interactive-element-d909635d.cjs +1 -0
  76. package/vue2/lib/{browser/repeated-block-d2924830.js → edge/repeated-block-b32d9254.js} +5 -4
  77. package/vue2/lib/edge/repeated-block-d2b864a8.cjs +1 -0
  78. package/vue2/lib/{node/styles-bd4da0bf.js → edge/styles-8840ca47.js} +8 -7
  79. package/vue2/lib/edge/{styles-229bdcb6.cjs → styles-8f4d5e0d.cjs} +2 -2
  80. package/vue2/lib/{edge/block-6b69b000.js → node/block-6dc57ba5.js} +17 -13
  81. package/vue2/lib/node/block-f9029bc3.cjs +3 -0
  82. package/vue2/lib/{browser/block-styles-33adc3cd.js → node/block-styles-b947dfc5.js} +8 -7
  83. package/vue2/lib/node/block-styles-c4974a44.cjs +1 -0
  84. package/vue2/lib/{edge/block-wrapper-2b945a1b.js → node/block-wrapper-04b443cd.js} +8 -7
  85. package/vue2/lib/node/block-wrapper-8ba974d4.cjs +1 -0
  86. package/vue2/lib/node/{blocks-wrapper-ca5a81fb.js → blocks-wrapper-2ebcec73.js} +4 -3
  87. package/vue2/lib/node/blocks-wrapper-e32910ce.cjs +1 -0
  88. package/vue2/lib/{browser/component-ref-2413b882.js → node/component-ref-5f0d480f.js} +9 -8
  89. package/vue2/lib/node/component-ref-7f93a1f0.cjs +1 -0
  90. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  91. package/vue2/lib/node/content-a860398a.cjs +1 -0
  92. package/vue2/lib/node/{content-55436eac.js → content-b604b895.js} +8 -7
  93. package/vue2/lib/node/{css-a05e89b2.js → css-97122c97.js} +4 -3
  94. package/vue2/lib/node/css-fb2674c8.cjs +6 -0
  95. package/vue2/lib/node/enable-editor-cdf1803d.cjs +1 -0
  96. package/vue2/lib/{edge/enable-editor-f32de0ee.js → node/enable-editor-df62e3bf.js} +6 -5
  97. package/vue2/lib/node/{evaluate-654ec4aa.cjs → evaluate-44daeb3b.cjs} +1 -1
  98. package/vue2/lib/node/{evaluate-524b960e.js → evaluate-b86af327.js} +2 -1
  99. package/vue2/lib/{browser/get-block-actions-abefbd5a.js → node/get-block-actions-035815cd.js} +5 -4
  100. package/vue2/lib/node/get-block-actions-0c98c4e4.cjs +1 -0
  101. package/vue2/lib/{browser/get-block-properties-6bf3a9f6.js → node/get-block-properties-b3de78f4.js} +11 -10
  102. package/vue2/lib/node/get-block-properties-d46ce865.cjs +1 -0
  103. package/vue2/lib/node/get-processed-block-34d0880b.cjs +1 -0
  104. package/vue2/lib/{edge/get-processed-block-ceeee74c.js → node/get-processed-block-e16b5f0b.js} +16 -15
  105. package/vue2/lib/node/{index-f0eb3cdd.js → index-04eac5bd.js} +48 -47
  106. package/vue2/lib/{browser/index-bf80435b.cjs → node/index-f82ca488.cjs} +3 -3
  107. package/vue2/lib/node/index.cjs +1 -1
  108. package/vue2/lib/node/index.js +24 -23
  109. package/vue2/lib/node/inlined-script-3d1617fb.cjs +1 -0
  110. package/vue2/lib/{browser/inlined-script-c0cae21b.js → node/inlined-script-a6f84120.js} +7 -6
  111. package/vue2/lib/{browser/inlined-styles-a5789a45.js → node/inlined-styles-4fa88e65.js} +5 -4
  112. package/vue2/lib/node/inlined-styles-e70e3d2e.cjs +1 -0
  113. package/vue2/lib/node/interactive-element-f08c324e.cjs +1 -0
  114. package/vue2/lib/{edge/interactive-element-50db3a7e.js → node/interactive-element-f46aae31.js} +8 -7
  115. package/vue2/lib/node/repeated-block-5d832619.cjs +1 -0
  116. package/vue2/lib/{edge/repeated-block-ae7fe7ad.js → node/repeated-block-fe5a6df8.js} +5 -4
  117. package/vue2/lib/{edge/styles-514a7860.js → node/styles-5a4adee9.js} +8 -7
  118. package/vue2/lib/{browser/styles-4394cb3b.cjs → node/styles-85761eb4.cjs} +2 -2
  119. package/vue2/package.json +5 -0
  120. package/vue3/lib/{node/block-wrapper.1f42acaf.js → browser/block-wrapper.352385b7.js} +3 -3
  121. package/vue3/lib/{node/block-wrapper.807f65f7.cjs → browser/block-wrapper.5e6d25d7.cjs} +1 -1
  122. package/vue3/lib/{node/component-ref.68fab46d.cjs → browser/component-ref.5c2938c9.cjs} +1 -1
  123. package/vue3/lib/{node/component-ref.2e134a43.js → browser/component-ref.bf30bc42.js} +3 -3
  124. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  125. package/vue3/lib/{edge/get-block-actions.d5d9bee8.js → browser/get-block-actions.6a86c1e3.js} +6 -5
  126. package/vue3/lib/browser/get-block-actions.f6ff7325.cjs +1 -0
  127. package/vue3/lib/browser/{index.27a34e20.cjs → index.8871e74f.cjs} +7 -7
  128. package/vue3/lib/browser/index.cjs +1 -1
  129. package/vue3/lib/browser/{index.2d766828.js → index.dfff88fe.js} +79 -75
  130. package/vue3/lib/browser/index.js +27 -26
  131. package/vue3/lib/{node/repeated-block.a5d8bef5.js → browser/repeated-block.16b97544.js} +3 -3
  132. package/vue3/lib/{node/repeated-block.89e247ac.cjs → browser/repeated-block.fecd4553.cjs} +1 -1
  133. package/vue3/lib/edge/block-wrapper.6a65a5d4.cjs +1 -0
  134. package/vue3/lib/edge/{block-wrapper.34ad49eb.js → block-wrapper.6ce0ef67.js} +6 -5
  135. package/vue3/lib/edge/{component-ref.868e79d9.js → component-ref.6603a2a5.js} +5 -4
  136. package/vue3/lib/edge/component-ref.8741a80d.cjs +1 -0
  137. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  138. package/vue3/lib/{node/get-block-actions.51b5b9e1.js → edge/get-block-actions.a147904d.js} +6 -5
  139. package/vue3/lib/edge/get-block-actions.a9e5c4f5.cjs +1 -0
  140. package/vue3/lib/edge/{index.dfd25e6d.cjs → index.01b1f45a.cjs} +8 -8
  141. package/vue3/lib/edge/{index.78e1db34.js → index.7bae31e6.js} +133 -129
  142. package/vue3/lib/edge/index.cjs +1 -1
  143. package/vue3/lib/edge/index.js +27 -26
  144. package/vue3/lib/edge/{repeated-block.078146fa.js → repeated-block.3cdac290.js} +5 -4
  145. package/vue3/lib/edge/repeated-block.7f5a9758.cjs +1 -0
  146. package/vue3/lib/{browser/block-wrapper.1f981181.js → node/block-wrapper.6198973e.js} +8 -6
  147. package/vue3/lib/node/block-wrapper.d4a48d58.cjs +1 -0
  148. package/vue3/lib/{browser/component-ref.c8d76b1a.js → node/component-ref.a11780f4.js} +12 -10
  149. package/vue3/lib/node/component-ref.d6bc01e4.cjs +1 -0
  150. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  151. package/vue3/lib/{browser/get-block-actions.16dc4164.js → node/get-block-actions.a19931a2.js} +6 -5
  152. package/vue3/lib/node/get-block-actions.ecd370ea.cjs +1 -0
  153. package/vue3/lib/node/{index.d650e668.cjs → index.4291aa83.cjs} +7 -7
  154. package/vue3/lib/node/{index.fd3a9724.js → index.67294824.js} +54 -50
  155. package/vue3/lib/node/index.cjs +1 -1
  156. package/vue3/lib/node/index.js +24 -23
  157. package/vue3/lib/{browser/repeated-block.af88918c.js → node/repeated-block.6106c352.js} +8 -6
  158. package/vue3/lib/node/repeated-block.ab684d37.cjs +1 -0
  159. package/vue3/package.json +5 -0
  160. package/vue2/css/package.json +0 -4
  161. package/vue2/lib/browser/block-f18eeef5.cjs +0 -3
  162. package/vue2/lib/browser/block-styles-e0d81772.cjs +0 -1
  163. package/vue2/lib/browser/block-wrapper-41011f58.cjs +0 -1
  164. package/vue2/lib/browser/blocks-wrapper-77802ec6.cjs +0 -1
  165. package/vue2/lib/browser/component-ref-f0dd90c7.cjs +0 -1
  166. package/vue2/lib/browser/content-45906cc9.cjs +0 -1
  167. package/vue2/lib/browser/css-605fcc40.cjs +0 -6
  168. package/vue2/lib/browser/enable-editor-f0119e65.cjs +0 -1
  169. package/vue2/lib/browser/evaluate-0e925150.cjs +0 -1
  170. package/vue2/lib/browser/get-block-actions-f45b7d64.cjs +0 -1
  171. package/vue2/lib/browser/get-block-properties-deacdc91.cjs +0 -1
  172. package/vue2/lib/browser/get-processed-block-44868ee6.cjs +0 -1
  173. package/vue2/lib/browser/inlined-script-567369fc.cjs +0 -1
  174. package/vue2/lib/browser/inlined-styles-420ee28e.cjs +0 -1
  175. package/vue2/lib/browser/interactive-element-3a8e1819.cjs +0 -1
  176. package/vue2/lib/browser/repeated-block-cda24fc1.cjs +0 -1
  177. package/vue2/lib/edge/block-ca6608fc.cjs +0 -3
  178. package/vue2/lib/edge/block-styles-7b5f3a8f.cjs +0 -1
  179. package/vue2/lib/edge/block-wrapper-47a17093.cjs +0 -1
  180. package/vue2/lib/edge/blocks-wrapper-7339087f.cjs +0 -1
  181. package/vue2/lib/edge/component-ref-d30e784b.cjs +0 -1
  182. package/vue2/lib/edge/content-b151215b.cjs +0 -1
  183. package/vue2/lib/edge/css-212b6f26.cjs +0 -6
  184. package/vue2/lib/edge/enable-editor-7cda726f.cjs +0 -1
  185. package/vue2/lib/edge/get-block-actions-7ecb51a0.cjs +0 -1
  186. package/vue2/lib/edge/get-block-properties-8ea816eb.cjs +0 -1
  187. package/vue2/lib/edge/get-processed-block-c2f59c36.cjs +0 -1
  188. package/vue2/lib/edge/inlined-script-c18f4bac.cjs +0 -1
  189. package/vue2/lib/edge/inlined-styles-036d1968.cjs +0 -1
  190. package/vue2/lib/edge/interactive-element-473210e5.cjs +0 -1
  191. package/vue2/lib/edge/repeated-block-2d730ce8.cjs +0 -1
  192. package/vue2/lib/node/block-67819011.cjs +0 -3
  193. package/vue2/lib/node/block-styles-b28a2e1f.cjs +0 -1
  194. package/vue2/lib/node/block-wrapper-403d207d.cjs +0 -1
  195. package/vue2/lib/node/blocks-wrapper-0de6d65d.cjs +0 -1
  196. package/vue2/lib/node/component-ref-5c513a84.cjs +0 -1
  197. package/vue2/lib/node/content-a5b1f8b2.cjs +0 -1
  198. package/vue2/lib/node/css-a083942f.cjs +0 -6
  199. package/vue2/lib/node/enable-editor-f903aba9.cjs +0 -1
  200. package/vue2/lib/node/get-block-actions-1fed2d11.cjs +0 -1
  201. package/vue2/lib/node/get-block-properties-f2ba3458.cjs +0 -1
  202. package/vue2/lib/node/get-processed-block-19c83033.cjs +0 -1
  203. package/vue2/lib/node/inlined-script-cf7aba95.cjs +0 -1
  204. package/vue2/lib/node/inlined-styles-c8d067f7.cjs +0 -1
  205. package/vue2/lib/node/interactive-element-552d9c1d.cjs +0 -1
  206. package/vue2/lib/node/repeated-block-07c3fd09.cjs +0 -1
  207. package/vue3/css/package.json +0 -4
  208. package/vue3/lib/browser/block-wrapper.a606ebe4.cjs +0 -1
  209. package/vue3/lib/browser/component-ref.dab1249c.cjs +0 -1
  210. package/vue3/lib/browser/get-block-actions.79d46437.cjs +0 -1
  211. package/vue3/lib/browser/repeated-block.4627ce3b.cjs +0 -1
  212. package/vue3/lib/edge/block-wrapper.3525d917.cjs +0 -1
  213. package/vue3/lib/edge/component-ref.9057a2c5.cjs +0 -1
  214. package/vue3/lib/edge/get-block-actions.a62ff620.cjs +0 -1
  215. package/vue3/lib/edge/repeated-block.c5a87c23.cjs +0 -1
  216. package/vue3/lib/node/get-block-actions.4aa48fd9.cjs +0 -1
@@ -1,7 +1,8 @@
1
+ import "./style.css";
1
2
  import { defineComponent as p } from "vue";
2
- import { g as s } from "./get-block-properties-6bf3a9f6.js";
3
- import { n as a } from "./index-6ce45901.js";
4
- import "./css-42aa7f84.js";
3
+ import { g as s } from "./get-block-properties-b3de78f4.js";
4
+ import { n as a } from "./index-04eac5bd.js";
5
+ import "./css-97122c97.js";
5
6
  const m = (t) => t, k = ({
6
7
  componentOptions: t,
7
8
  builderBlock: e,
@@ -27,17 +28,17 @@ const m = (t) => t, k = ({
27
28
  context: i
28
29
  })
29
30
  } : {}
30
- }, u = () => import("./block-b8bfcb77.js").then((t) => t.default).catch((t) => {
31
+ }, u = () => import("./block-6dc57ba5.js").then((t) => t.default).catch((t) => {
31
32
  throw console.error(
32
33
  "Error while attempting to dynamically import component Block at ../../block.vue",
33
34
  t
34
35
  ), t;
35
- }), f = () => import("./block-styles-33adc3cd.js").then((t) => t.default).catch((t) => {
36
+ }), f = () => import("./block-styles-b947dfc5.js").then((t) => t.default).catch((t) => {
36
37
  throw console.error(
37
38
  "Error while attempting to dynamically import component BlockStyles at ../block-styles.vue",
38
39
  t
39
40
  ), t;
40
- }), c = () => import("./interactive-element-be7c3cca.js").then((t) => t.default).catch((t) => {
41
+ }), c = () => import("./interactive-element-f46aae31.js").then((t) => t.default).catch((t) => {
41
42
  throw console.error(
42
43
  "Error while attempting to dynamically import component InteractiveElement at ../interactive-element.vue",
43
44
  t
@@ -96,7 +97,7 @@ var _ = function() {
96
97
  null,
97
98
  null
98
99
  );
99
- const P = v.exports;
100
+ const C = v.exports;
100
101
  export {
101
- P as default
102
+ C as default
102
103
  };
@@ -0,0 +1 @@
1
+ "use strict";var x=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),p=require("./get-block-properties-d46ce865.cjs"),a=require("./index-f82ca488.cjs");require("./css-fb2674c8.cjs");const m=t=>t,u=({componentOptions:t,builderBlock:e,context:n,componentRef:o,includeBlockProps:r,isInteractive:l,contextValue:i})=>l?{Wrapper:o,block:e,context:n,wrapperProps:t}:{...t,...r?{attributes:p.getBlockProperties({block:e,context:i})}:{}},d=()=>Promise.resolve().then(()=>require("./block-f9029bc3.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component Block at ../../block.vue",t),t}),k=()=>Promise.resolve().then(()=>require("./block-styles-c4974a44.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block-styles.vue",t),t}),c=()=>Promise.resolve().then(()=>require("./interactive-element-f08c324e.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component InteractiveElement at ../interactive-element.vue",t),t}),f=s.defineComponent({name:"component-ref",components:{block:d,"block-styles":k,"interactive-element":c},props:["isInteractive","componentRef","componentOptions","builderBlock","context","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?m(c):this.componentRef,getWrapperProps:u}}});var v=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.componentRef?n(e.Wrapper,e._b({tag:"component"},"component",e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),!1),[e._l(e.blockChildren,function(o,r){return n("block",{key:"block-"+o.id,attrs:{block:o,context:e.context,registeredComponents:e.registeredComponents}})}),e._l(e.blockChildren,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.context}})})],2):e._e()},b=[],_=a.normalizeComponent(f,v,b,!1,null,null,null,null);const h=_.exports;exports.default=h;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.7.5";
1
+ export declare const SDK_VERSION = "0.8.0";
@@ -0,0 +1 @@
1
+ "use strict";var te=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),r=require("./index-f82ca488.cjs"),g={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},b={name:"Columns",isRSC:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:e=>{function t(){n.forEach(o=>{o.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(a=>a.get("width"))&&(n.find(l=>!l.get("width"))||n.reduce((s,c)=>s+c.get("width"),0)!==100)&&t()}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},y={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]},x=u.defineComponent({name:"builder-custom-code",props:["replaceNodes","code"],data(){return{scriptsInserted:[],scriptsRun:[]}},mounted(){var t;if(!((t=this.$refs.elementRef)!=null&&t.getElementsByTagName)||typeof window>"u")return;const e=this.$refs.elementRef.getElementsByTagName("script");for(let n=0;n<e.length;n++){const o=e[n];if(o.src){if(this.scriptsInserted.includes(o.src))continue;this.scriptsInserted.push(o.src);const a=document.createElement("script");a.async=!0,a.src=o.src,document.head.appendChild(a)}else if(!o.type||["text/javascript","application/javascript","application/ecmascript"].includes(o.type)){if(this.scriptsRun.includes(o.innerText))continue;try{this.scriptsRun.push(o.innerText),new Function(o.innerText)()}catch(a){console.warn("`CustomCode`: Error running script:",a)}}}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var v=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{ref:"elementRef",class:t._classStringToObject("builder-custom-code"+(t.replaceNodes?" replace-nodes":"")),domProps:{innerHTML:t._s(t.code)}})},S=[],T=r.normalizeComponent(x,v,S,!1,null,null,null,null);const _=T.exports,C={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(o=>o.json()).then(o=>{e.get("url")===t&&(o.html?e.set("content",o.html):e.set("content","Invalid url, please try another"))}).catch(o=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},I=["text/javascript","application/javascript","application/ecmascript"],w=e=>I.includes(e.type),k=u.defineComponent({name:"builder-embed",props:["content"],data(){return{scriptsInserted:[],scriptsRun:[],ranInitFn:!1}},watch:{onUpdateHook0:{handler(){this.$refs.elem&&!this.ranInitFn&&(this.ranInitFn=!0,this.findAndRunScripts())},immediate:!0}},computed:{onUpdateHook0(){return{0:this.$refs.elem,1:this.ranInitFn}}},methods:{findAndRunScripts(){if(!this.$refs.elem||!this.$refs.elem.getElementsByTagName)return;const e=this.$refs.elem.getElementsByTagName("script");for(let t=0;t<e.length;t++){const n=e[t];if(n.src&&!this.scriptsInserted.includes(n.src)){this.scriptsInserted.push(n.src);const o=document.createElement("script");o.async=!0,o.src=n.src,document.head.appendChild(o)}else if(w(n)&&!this.scriptsRun.includes(n.innerText))try{this.scriptsRun.push(n.innerText),new Function(n.innerText)()}catch(o){console.warn("`Embed`: Error running script:",o)}}}}});var R=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{ref:"elem",staticClass:"builder-embed",domProps:{innerHTML:t._s(t.content)}})},F=[],E=r.normalizeComponent(k,R,F,!1,null,null,null,null);const V=E.exports,A={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},P={name:"Image",static:!0,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",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(i,s=6e4){return new Promise((c,d)=>{const p=document.createElement("img");let m=!1;p.onload=()=>{m=!0,c(p)},p.addEventListener("error",h=>{console.warn("Image load failed",h.error),d(h.error)}),p.src=i,setTimeout(()=>{m||d(new Error("Image load timed out"))},s)})}function o(i){return Math.round(i*1e3)/1e3}const a=e.get("image"),l=e.get("aspectRatio");if(fetch(a).then(i=>i.blob()).then(i=>{i.type.includes("svg")&&e.set("noWebp",!0)}),a&&(!l||l===.7041))return n(a).then(i=>{const s=e.get("aspectRatio");e.get("image")===a&&(!s||s===.7041)&&i.width&&i.height&&(e.set("aspectRatio",o(i.height/i.width)),e.set("height",i.height),e.set("width",i.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},W={name:"Raw:Img",hideFromInsertMenu:!0,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",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},$=u.defineComponent({name:"builder-img-component",props:["backgroundSize","backgroundPosition","imgSrc","altText","image","attributes"],data(){return{isEditing:r.isEditing,filterAttrs:r.filterAttrs}}});var U=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("img",t._g(t._b({key:t.isEditing()&&t.imgSrc||"default-key",style:{objectFit:t.backgroundSize||"cover",objectPosition:t.backgroundPosition||"center"},attrs:{alt:t.altText,src:t.imgSrc||t.image}},"img",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)))},j=[],z=r.normalizeComponent($,U,j,!1,null,null,null,null);const H=z.exports,q={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},L={name:"Symbol",noWrap:!0,static:!0,isRSC:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},D={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}},M={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},f=()=>[{component:r.Button,...g},{component:r.Columns,...b},{component:_,...y},{component:V,...C},{component:r.Fragment,...A},{component:r.Image,...P},{component:H,...W},{component:r.Section,...q},{component:r.Symbol,...L},{component:r.Text,...D},{component:r.Video,...M}],B=({content:e,data:t,locale:n})=>{var l,i,s;const o={},a=((l=e==null?void 0:e.data)==null?void 0:l.state)||{};return(s=(i=e==null?void 0:e.data)==null?void 0:i.inputs)==null||s.forEach(c=>{c.name&&c.defaultValue!==void 0&&(o[c.name]=c.defaultValue)}),{...o,...a,...t,...n?{locale:n}:{}}},N=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0,K=()=>Promise.resolve().then(()=>require("./index-f82ca488.cjs")).then(e=>e.blocks).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../blocks/blocks.vue",e),e}),O=()=>Promise.resolve().then(()=>require("./inlined-script-3d1617fb.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),G=()=>Promise.resolve().then(()=>require("./enable-editor-cdf1803d.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component EnableEditor at ./components/enable-editor.vue",e),e}),J=()=>Promise.resolve().then(()=>require("./styles-85761eb4.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentStyles at ./components/styles.vue",e),e}),Y=u.defineComponent({name:"content-component",components:{"enable-editor":G,"inlined-script":O,"content-styles":J,blocks:K},props:["content","customComponents","data","locale","context","apiKey","apiVersion","model","canTrack","includeRefs","enrich","showContent","isSsrAbTest"],data(){var e,t;return{scriptStr:r.getUpdateVariantVisibilityScript({variationId:(e=this.content)==null?void 0:e.testVariationId,contentId:(t=this.content)==null?void 0:t.id}),registeredComponents:[...f(),...r.components,...this.customComponents||[]].reduce((n,{component:o,...a})=>({...n,[a.name]:{component:o,...r.serializeComponentInfo(a)}}),{}),builderContextSignal:{content:N({content:this.content,data:this.data}),localState:void 0,rootState:B({content:this.content,data:this.data,locale:this.locale}),rootSetState:this.contentSetState,context:this.context||{},apiKey:this.apiKey,apiVersion:this.apiVersion,componentInfos:[...f(),...r.components,...this.customComponents||[]].reduce((n,{component:o,...a})=>({...n,[a.name]:r.serializeComponentInfo(a)}),{}),inheritedStyles:{}},TARGET:r.TARGET}},provide(){const e=this;return{[r.ComponentsContext.key]:{registeredComponents:e.registeredComponents}}},methods:{contentSetState(e){this.builderContextSignal.rootState=e}}});var X=function(){var o,a,l,i,s,c,d;var t=this,n=t._self._c;return t._self._setupProxy,n("enable-editor",t._b({attrs:{content:t.content,model:t.model,context:t.context,apiKey:t.apiKey,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,showContent:t.showContent,builderContextSignal:t.builderContextSignal}},"enable-editor",{},!1),[t.isSsrAbTest?[n("inlined-script",{attrs:{scriptStr:t.scriptStr}})]:t._e(),t.TARGET!=="reactNative"?[n("content-styles",{attrs:{contentId:(o=t.builderContextSignal.content)==null?void 0:o.id,cssCode:(l=(a=t.builderContextSignal.content)==null?void 0:a.data)==null?void 0:l.cssCode,customFonts:(s=(i=t.builderContextSignal.content)==null?void 0:i.data)==null?void 0:s.customFonts}})]:t._e(),n("blocks",{attrs:{blocks:(d=(c=t.builderContextSignal.content)==null?void 0:c.data)==null?void 0:d.blocks,context:t.builderContextSignal,registeredComponents:t.registeredComponents}})],2)},Q=[],Z=r.normalizeComponent(Y,X,Q,!1,null,null,null,null);const ee=Z.exports;exports.default=ee;
@@ -1,5 +1,6 @@
1
+ import "./style.css";
1
2
  import { defineComponent as p } from "vue";
2
- import { n as u, i as y, b as x, B as v, C as _, F as S, I as T, S as I, d as C, e as w, V as k, h as F, j as f, s as g, T as R, k as V } from "./index-f0eb3cdd.js";
3
+ import { n as u, i as y, b as x, B as v, C as _, F as S, I as T, S as I, d as C, e as w, V as k, h as F, j as f, s as g, T as R, k as V } from "./index-04eac5bd.js";
3
4
  const E = {
4
5
  name: "Core:Button",
5
6
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
@@ -779,22 +780,22 @@ const ee = Z.exports, te = {
779
780
  ...t
780
781
  },
781
782
  meta: e == null ? void 0 : e.meta
782
- } : void 0, se = () => import("./index-f0eb3cdd.js").then((e) => e.M).then((e) => e.default).catch((e) => {
783
+ } : void 0, se = () => import("./index-04eac5bd.js").then((e) => e.M).then((e) => e.default).catch((e) => {
783
784
  throw console.error(
784
785
  "Error while attempting to dynamically import component Blocks at ../blocks/blocks.vue",
785
786
  e
786
787
  ), e;
787
- }), le = () => import("./inlined-script-87aaded8.js").then((e) => e.default).catch((e) => {
788
+ }), le = () => import("./inlined-script-a6f84120.js").then((e) => e.default).catch((e) => {
788
789
  throw console.error(
789
790
  "Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
790
791
  e
791
792
  ), e;
792
- }), ce = () => import("./enable-editor-b1a0289d.js").then((e) => e.default).catch((e) => {
793
+ }), ce = () => import("./enable-editor-df62e3bf.js").then((e) => e.default).catch((e) => {
793
794
  throw console.error(
794
795
  "Error while attempting to dynamically import component EnableEditor at ./components/enable-editor.vue",
795
796
  e
796
797
  ), e;
797
- }), de = () => import("./styles-bd4da0bf.js").then((e) => e.default).catch((e) => {
798
+ }), de = () => import("./styles-5a4adee9.js").then((e) => e.default).catch((e) => {
798
799
  throw console.error(
799
800
  "Error while attempting to dynamically import component ContentStyles at ./components/styles.vue",
800
801
  e
@@ -914,7 +915,7 @@ var ue = function() {
914
915
  null,
915
916
  null
916
917
  );
917
- const be = he.exports;
918
+ const ye = he.exports;
918
919
  export {
919
- be as default
920
+ ye as default
920
921
  };
@@ -1,9 +1,10 @@
1
- import { c as o } from "./index-f0eb3cdd.js";
1
+ import "./style.css";
2
+ import { c as o } from "./index-04eac5bd.js";
2
3
  const c = (s) => s.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), n = (s) => Object.entries(s).map(([r, e]) => {
3
4
  if (typeof e == "string")
4
5
  return `${c(r)}: ${e};`;
5
6
  }).filter(o), a = (s) => n(s).join(`
6
- `), i = ({
7
+ `), l = ({
7
8
  mediaQuery: s,
8
9
  className: t,
9
10
  styles: r
@@ -17,5 +18,5 @@ const c = (s) => s.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(
17
18
  };
18
19
  export {
19
20
  n as a,
20
- i as c
21
+ l as c
21
22
  };
@@ -0,0 +1,6 @@
1
+ "use strict";var l=require("./style.css");const c=require("./index-f82ca488.cjs"),n=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),o=e=>Object.entries(e).map(([r,s])=>{if(typeof s=="string")return`${n(r)}: ${s};`}).filter(c.checkIsDefined),a=e=>o(e).join(`
2
+ `),i=({mediaQuery:e,className:t,styles:r})=>{const s=`.${t} {
3
+ ${a(r)}
4
+ }`;return e?`${e} {
5
+ ${s}
6
+ }`:s};exports.convertStyleMapToCSSArray=o;exports.createCssClass=i;
@@ -0,0 +1 @@
1
+ "use strict";var H=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("vue"),r=require("./index-f82ca488.cjs"),m=require("./evaluate-44daeb3b.cjs");function f(n){return Math.round(n*1e3)/1e3}const v=(n,e,t=!0)=>{if(!(n instanceof HTMLElement))return null;let i=t?n:n.parentElement;do{if(!i)return null;if(e(i))return i}while(i=i.parentElement);return null},x=n=>v(n,e=>{const t=e.getAttribute("builder-id")||e.id;return(t==null?void 0:t.indexOf("builder-"))===0}),g=({event:n,target:e})=>{const t=e.getBoundingClientRect(),i=n.clientX-t.left,o=n.clientY-t.top,s=f(i/t.width),a=f(o/t.height);return{x:s,y:a}},R=n=>{const e=n.target,t=e&&x(e),i=(t==null?void 0:t.getAttribute("builder-id"))||(t==null?void 0:t.id);return{targetBuilderElement:i||void 0,metadata:{targetOffset:e?g({event:n,target:e}):void 0,builderTargetOffset:t?g({event:n,target:t}):void 0,builderElementIndex:t&&i?[].slice.call(document.getElementsByClassName(i)).indexOf(t):void 0}}},k="0.8.0",w=()=>{r.register("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let b=!1;const y=(n={})=>{var e,t;b||(b=!0,r.isBrowser()&&((e=window.parent)==null||e.postMessage({type:"builder.sdkInfo",data:{target:r.TARGET,version:k,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(t=window.parent)==null||t.postMessage({type:"builder.updateContent",data:{options:n}},"*"),window.addEventListener("message",({data:i})=>{var o,s;if(i!=null&&i.type)switch(i.type){case"builder.evaluate":{const a=i.data.text,l=i.data.arguments||[],c=i.data.id,C=new Function(a);let d,u=null;try{d=C.apply(null,l)}catch(h){u=h}u?(o=window.parent)==null||o.postMessage({type:"builder.evaluateError",data:{id:c,error:u.message}},"*"):d&&typeof d.then=="function"?d.then(h=>{var p;(p=window.parent)==null||p.postMessage({type:"builder.evaluateResult",data:{id:c,result:h}},"*")}).catch(console.error):(s=window.parent)==null||s.postMessage({type:"builder.evaluateResult",data:{result:d,id:c}},"*");break}}})))},_=S.defineComponent({name:"enable-editor",props:["builderContextSignal","model","context","canTrack","apiKey","locale","includeRefs","enrich","content","showContent"],data(){return{forceReRenderCount:0,lastUpdated:0,shouldSendResetCookie:!1,httpReqsData:{},clicked:!1,builderContext:r.builderContext}},provide(){const n=this;return{[r.builderContext.key]:n.builderContextSignal}},mounted(){(()=>{var t,i;if(r.isBrowser()){if(r.isEditing()&&this.$refs.elementRef&&this.$refs.elementRef.dispatchEvent(new CustomEvent("initeditingbldr")),this.builderContextSignal.content&&r.getDefaultCanTrack(this.canTrack)){const s=(t=this.builderContextSignal.content)==null?void 0:t.testVariationId,a=(i=this.builderContextSignal.content)==null?void 0:i.id,l=this.apiKey;r._track({type:"impression",canTrack:!0,contentId:a,apiKey:l,variationId:s!==a?s:void 0})}r.isPreviewing()&&this.$refs.elementRef&&this.$refs.elementRef.dispatchEvent(new CustomEvent("initpreviewingbldr"))}})(),(()=>{this.apiKey||r.logger.error("No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."),this.evaluateJsCode(),this.runHttpRequests(),this.emitStateUpdate()})()},watch:{onUpdateHook0:{handler(){this.content&&this.mergeNewContent(this.content)},immediate:!0},onUpdateHook1:{handler(){},immediate:!0},onUpdateHook2:{handler(){this.evaluateJsCode()},immediate:!0},onUpdateHook3:{handler(){this.runHttpRequests()},immediate:!0},onUpdateHook4:{handler(){this.emitStateUpdate()},immediate:!0}},unmounted(){r.isBrowser()&&(window.removeEventListener("message",this.processMessage),window.removeEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate))},computed:{onUpdateHook0(){return{0:this.content}},onUpdateHook1(){return{0:this.shouldSendResetCookie}},onUpdateHook2(){var n,e;return{0:(e=(n=this.builderContextSignal.content)==null?void 0:n.data)==null?void 0:e.jsCode,1:this.builderContextSignal.rootState}},onUpdateHook3(){var n,e;return{0:(e=(n=this.builderContextSignal.content)==null?void 0:n.data)==null?void 0:e.httpRequests}},onUpdateHook4(){return{0:this.builderContextSignal.rootState}}},methods:{mergeNewContent(n){var t,i,o,s,a;const e={...this.builderContextSignal.content,...n,data:{...(t=this.builderContextSignal.content)==null?void 0:t.data,...n==null?void 0:n.data},meta:{...(i=this.builderContextSignal.content)==null?void 0:i.meta,...n==null?void 0:n.meta,breakpoints:((o=n==null?void 0:n.meta)==null?void 0:o.breakpoints)||((a=(s=this.builderContextSignal.content)==null?void 0:s.meta)==null?void 0:a.breakpoints)}};this.builderContextSignal.content=e},processMessage(n){var t;const{data:e}=n;if(e)switch(e.type){case"builder.configureSdk":{const i=e.data,{breakpoints:o,contentId:s}=i;if(!s||s!==((t=this.builderContextSignal.content)==null?void 0:t.id))return;o&&this.mergeNewContent({meta:{breakpoints:o}}),this.forceReRenderCount=this.forceReRenderCount+1;break}case"builder.contentUpdate":{const i=e.data,o=i.key||i.alias||i.entry||i.modelName,s=i.data;o===this.model&&(this.mergeNewContent(s),this.forceReRenderCount=this.forceReRenderCount+1);break}}},evaluateJsCode(){var e,t;const n=(t=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:t.jsCode;n&&m.evaluate({code:n,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.builderContextSignal.rootSetState})},onClick(n){var e,t;if(this.builderContextSignal.content){const i=(e=this.builderContextSignal.content)==null?void 0:e.testVariationId,o=(t=this.builderContextSignal.content)==null?void 0:t.id;r._track({type:"click",canTrack:r.getDefaultCanTrack(this.canTrack),contentId:o,apiKey:this.apiKey,variationId:i!==o?i:void 0,...R(n),unique:!this.clicked})}this.clicked||(this.clicked=!0)},evalExpression(n){return n.replace(/{{([^}]+)}}/g,(e,t)=>m.evaluate({code:t,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.builderContextSignal.rootSetState}))},handleRequest({url:n,key:e}){r.fetch(n).then(t=>t.json()).then(t=>{var o,s;const i={...this.builderContextSignal.rootState,[e]:t};(s=(o=this.builderContextSignal).rootSetState)==null||s.call(o,i),this.httpReqsData[e]=!0}).catch(t=>{console.error("error fetching dynamic data",n,t)})},runHttpRequests(){var e,t;const n=((t=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:t.httpRequests)??{};Object.entries(n).forEach(([i,o])=>{if(o&&(!this.httpReqsData[i]||r.isEditing())){const s=this.evalExpression(o);this.handleRequest({url:s,key:i})}})},emitStateUpdate(){r.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:r.fastClone(this.builderContextSignal.rootState),ref:{name:this.model}}}))},elementRef_onIniteditingbldr(n){this.forceReRenderCount=this.forceReRenderCount+1,window.addEventListener("message",this.processMessage),w(),y({...this.locale?{locale:this.locale}:{},...this.includeRefs?{includeRefs:this.includeRefs}:{},...this.enrich?{enrich:this.enrich}:{}}),Object.values(this.builderContextSignal.componentInfos).forEach(e=>{var i;const t=r.createRegisterComponentMessage(e);(i=window.parent)==null||i.postMessage(t,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate)},elementRef_onInitpreviewingbldr(n){const e=new URL(location.href).searchParams,t=e.get("builder.preview"),i=e.get(`builder.preview.${t}`),o=e.get("apiKey")||e.get("builder.space");t===this.model&&o===this.apiKey&&(!this.content||i===this.content.id)&&r.fetchOneEntry({model:this.model,apiKey:this.apiKey,apiVersion:this.builderContextSignal.apiVersion}).then(s=>{s&&this.mergeNewContent(s)})},_classStringToObject(n){const e={};if(typeof n!="string")return e;const t=n.trim().split(/\s+/);for(const i of t)e[i]=!0;return e}}});var E=function(){var i,o,s;var e=this,t=e._self._c;return e._self._setupProxy,e.builderContextSignal.content?t("div",e._b({key:e.forceReRenderCount,ref:"elementRef",class:e._classStringToObject(`variant-${((i=e.content)==null?void 0:i.testVariationId)||((o=e.content)==null?void 0:o.id)}`),attrs:{"builder-content-id":(s=e.builderContextSignal.content)==null?void 0:s.id,"builder-model":e.model},on:{click:function(a){return e.onClick(a)},initeditingbldr:function(a){return e.elementRef_onIniteditingbldr(a)},initpreviewingbldr:function(a){return e.elementRef_onInitpreviewingbldr(a)}}},"div",{...e.showContent?{}:{hidden:!0,"aria-hidden":!0}},!1),[e._t("default")],2):e._e()},I=[],M=r.normalizeComponent(_,E,I,!1,null,null,null,null);const U=M.exports;exports.default=U;
@@ -1,6 +1,7 @@
1
+ import "./style.css";
1
2
  import { defineComponent as k } from "vue";
2
- import { r as w, m as p, T as y, l as f, _ as g, o as b, p as _, i as h, f as E, q as I, t as U, u as M, v as H, n as T } from "./index-13a478c9.js";
3
- import { e as S } from "./evaluate-7ef8d079.js";
3
+ import { r as w, m as p, T as y, l as f, _ as g, o as b, p as _, i as h, f as E, q as I, t as U, u as M, v as H, n as T } from "./index-04eac5bd.js";
4
+ import { e as S } from "./evaluate-b86af327.js";
4
5
  function C(n) {
5
6
  return Math.round(n * 1e3) / 1e3;
6
7
  }
@@ -43,7 +44,7 @@ const P = (n, e, t = !0) => {
43
44
  builderElementIndex: t && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(t) : void 0
44
45
  }
45
46
  };
46
- }, O = "0.7.5", N = () => {
47
+ }, O = "0.8.0", N = () => {
47
48
  w("insertMenu", {
48
49
  name: "_default",
49
50
  default: !0,
@@ -435,7 +436,7 @@ var L = function() {
435
436
  null,
436
437
  null
437
438
  );
438
- const J = V.exports;
439
+ const z = V.exports;
439
440
  export {
440
- J as default
441
+ z as default
441
442
  };
@@ -1,4 +1,4 @@
1
- "use strict";const index=require("./index-acebd2be.cjs"),getFunctionArguments=({builder:e,context:t,event:s,state:n})=>Object.entries({state:n,Builder:e,builder:e,context:t,event:s}),getBuilderGlobals=()=>({isEditing:index.isEditing(),isBrowser:index.isBrowser(),isServer:!index.isBrowser(),getUserAttributes:()=>index.getUserAttributes()}),parseCode=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,runInBrowser=({code:e,builder:t,context:s,event:n,localState:r,rootSetState:o,rootState:u})=>{const l=getFunctionArguments({builder:t,context:s,event:n,state:flattenState(u,r,o)});return new Function(...l.map(([i])=>i),e)(...l.map(([,i])=>i))};function flattenState(e,t,s){if(e===t)throw new Error("rootState === localState");return new Proxy(e,{get:(n,r)=>t&&r in t?t[r]:e[r],set:(n,r,o)=>{if(t&&r in t)throw new Error("Writing to local state is not allowed as it is read-only.");return e[r]=o,s==null||s(e),!0}})}const set=(e,t,s)=>{if(Object(e)!==e)return e;const n=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return n.slice(0,-1).reduce((r,o,u)=>Object(r[o])===r[o]?r[o]:r[o]=Math.abs(Number(n[u+1]))>>0===+n[u+1]?[]:{},e)[n[n.length-1]]=s,e},noop=()=>null;let safeDynamicRequire=noop;try{safeDynamicRequire=eval("require")}catch(e){}const ivm=safeDynamicRequire("isolated-vm"),getSyncValName=e=>`bldr_${e}_sync`,BUILDER_SET_STATE_NAME="BUILDER_SET_STATE",INJECTED_IVM_GLOBAL="BUILDER_IVM",REF_TO_PROXY_FN=`
1
+ "use strict";var E=require("./style.css");const index=require("./index-f82ca488.cjs"),getFunctionArguments=({builder:e,context:t,event:s,state:n})=>Object.entries({state:n,Builder:e,builder:e,context:t,event:s}),getBuilderGlobals=()=>({isEditing:index.isEditing(),isBrowser:index.isBrowser(),isServer:!index.isBrowser(),getUserAttributes:()=>index.getUserAttributes()}),parseCode=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,runInBrowser=({code:e,builder:t,context:s,event:n,localState:r,rootSetState:o,rootState:u})=>{const l=getFunctionArguments({builder:t,context:s,event:n,state:flattenState(u,r,o)});return new Function(...l.map(([i])=>i),e)(...l.map(([,i])=>i))};function flattenState(e,t,s){if(e===t)throw new Error("rootState === localState");return new Proxy(e,{get:(n,r)=>t&&r in t?t[r]:e[r],set:(n,r,o)=>{if(t&&r in t)throw new Error("Writing to local state is not allowed as it is read-only.");return e[r]=o,s==null||s(e),!0}})}const set=(e,t,s)=>{if(Object(e)!==e)return e;const n=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return n.slice(0,-1).reduce((r,o,u)=>Object(r[o])===r[o]?r[o]:r[o]=Math.abs(Number(n[u+1]))>>0===+n[u+1]?[]:{},e)[n[n.length-1]]=s,e},noop=()=>null;let safeDynamicRequire=noop;try{safeDynamicRequire=eval("require")}catch(e){}const ivm=safeDynamicRequire("isolated-vm"),getSyncValName=e=>`bldr_${e}_sync`,BUILDER_SET_STATE_NAME="BUILDER_SET_STATE",INJECTED_IVM_GLOBAL="BUILDER_IVM",REF_TO_PROXY_FN=`
2
2
  var refToProxy = (obj) => {
3
3
  if (typeof obj !== 'object' || obj === null) {
4
4
  return obj;
@@ -1,4 +1,5 @@
1
- import { i as isEditing, m as isBrowser, w as getUserAttributes, f as fastClone, v as logger } from "./index-f0eb3cdd.js";
1
+ import "./style.css";
2
+ import { i as isEditing, m as isBrowser, w as getUserAttributes, f as fastClone, v as logger } from "./index-04eac5bd.js";
2
3
  const getFunctionArguments = ({
3
4
  builder: e,
4
5
  context: t,
@@ -1,5 +1,6 @@
1
- import { T as n } from "./index-6ce45901.js";
2
- import { e as s } from "./evaluate-9a88b50c.js";
1
+ import "./style.css";
2
+ import { T as n } from "./index-04eac5bd.js";
3
+ import { e as s } from "./evaluate-b86af327.js";
3
4
  const l = (e) => `v-on:${e.toLowerCase()}`, i = (e, t) => (o) => s({
4
5
  code: e,
5
6
  context: t.context,
@@ -9,7 +10,7 @@ const l = (e) => `v-on:${e.toLowerCase()}`, i = (e, t) => (o) => s({
9
10
  event: o,
10
11
  isExpression: !1
11
12
  });
12
- function S(e) {
13
+ function m(e) {
13
14
  const t = {}, o = e.block.actions ?? {};
14
15
  for (const r in o) {
15
16
  if (!o.hasOwnProperty(r))
@@ -31,5 +32,5 @@ function S(e) {
31
32
  return t;
32
33
  }
33
34
  export {
34
- S as g
35
+ m as g
35
36
  };
@@ -0,0 +1 @@
1
+ "use strict";var v=require("./style.css");const r=require("./index-f82ca488.cjs"),s=require("./evaluate-44daeb3b.cjs"),l=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>o=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:o,isExpression:!1});function u(e){const t={},o=e.block.actions??{};for(const c in o){if(!o.hasOwnProperty(c))continue;const n=o[c];let a=l(c);if(e.stripPrefix)switch(r.TARGET){case"vue2":case"vue3":a=a.replace("v-on:","");break;case"svelte":a=a.replace("on:","");break}t[a]=i(n,e)}return t}exports.getBlockActions=u;
@@ -1,6 +1,7 @@
1
- import { T as o } from "./index-6ce45901.js";
2
- import { a } from "./css-42aa7f84.js";
3
- function n(e) {
1
+ import "./style.css";
2
+ import { T as o } from "./index-04eac5bd.js";
3
+ import { a } from "./css-97122c97.js";
4
+ function i(e) {
4
5
  const t = {};
5
6
  if (typeof e != "string")
6
7
  return t;
@@ -9,25 +10,25 @@ function n(e) {
9
10
  t[r] = !0;
10
11
  return t;
11
12
  }
12
- function c(e) {
13
- return e.class = n(e.class), e;
13
+ function n(e) {
14
+ return e.class = i(e.class), e;
14
15
  }
15
- const i = (e) => ({
16
+ const c = (e) => ({
16
17
  href: e.href
17
18
  });
18
- function p({
19
+ function m({
19
20
  block: e,
20
21
  context: t
21
22
  }) {
22
23
  var r;
23
24
  const s = {
24
- ...i(e),
25
+ ...c(e),
25
26
  ...e.properties,
26
27
  "builder-id": e.id,
27
28
  style: e.style ? u(e.style) : void 0,
28
29
  class: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
29
30
  };
30
- return c(s);
31
+ return n(s);
31
32
  }
32
33
  function u(e) {
33
34
  switch (o) {
@@ -44,5 +45,5 @@ function u(e) {
44
45
  }
45
46
  }
46
47
  export {
47
- p as g
48
+ m as g
48
49
  };
@@ -0,0 +1 @@
1
+ "use strict";var f=require("./style.css");const c=require("./index-f82ca488.cjs"),i=require("./css-fb2674c8.cjs");function n(e){const t={};if(typeof e!="string")return t;const s=e.trim().split(/\\s+/);for(const r of s)t[r]=!0;return t}function o(e){return e.class=n(e.class),e}const a=e=>({href:e.href});function u({block:e,context:t}){var r;const s={...a(e),...e.properties,"builder-id":e.id,style:e.style?l(e.style):void 0,class:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return o(s)}function l(e){switch(c.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return i.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}exports.getBlockProperties=u;
@@ -0,0 +1 @@
1
+ "use strict";var l=require("./style.css");const f=require("./index-f82ca488.cjs"),u=require("./evaluate-44daeb3b.cjs");const p=({block:e,context:s,localState:r,rootState:o,rootSetState:i})=>{if(!e.bindings)return e;const n=f.fastClone(e),t={...n,properties:{...n.properties},actions:{...n.actions}};for(const c in e.bindings){const a=e.bindings[c],d=u.evaluate({code:a,localState:r,rootState:o,rootSetState:i,context:s});u.set(t,c,d)}return t};function g({block:e,context:s,shouldEvaluateBindings:r,localState:o,rootState:i,rootSetState:n}){const t=e;return r?p({block:t,localState:o,rootState:i,rootSetState:n,context:s}):t}exports.getProcessedBlock=g;
@@ -1,15 +1,16 @@
1
- import { e as p, s as u } from "./evaluate-7ef8d079.js";
2
- import { f as d } from "./index-13a478c9.js";
1
+ import "./style.css";
2
+ import { f as p } from "./index-04eac5bd.js";
3
+ import { e as u, s as d } from "./evaluate-b86af327.js";
3
4
  const g = ({
4
5
  block: n,
5
- context: t,
6
+ context: e,
6
7
  localState: o,
7
8
  rootState: r,
8
9
  rootSetState: i
9
10
  }) => {
10
11
  if (!n.bindings)
11
12
  return n;
12
- const s = d(n), e = {
13
+ const s = p(n), t = {
13
14
  ...s,
14
15
  properties: {
15
16
  ...s.properties
@@ -19,34 +20,34 @@ const g = ({
19
20
  }
20
21
  };
21
22
  for (const c in n.bindings) {
22
- const a = n.bindings[c], f = p({
23
+ const a = n.bindings[c], f = u({
23
24
  code: a,
24
25
  localState: o,
25
26
  rootState: r,
26
27
  rootSetState: i,
27
- context: t
28
+ context: e
28
29
  });
29
- u(e, c, f);
30
+ d(t, c, f);
30
31
  }
31
- return e;
32
+ return t;
32
33
  };
33
- function B({
34
+ function v({
34
35
  block: n,
35
- context: t,
36
+ context: e,
36
37
  shouldEvaluateBindings: o,
37
38
  localState: r,
38
39
  rootState: i,
39
40
  rootSetState: s
40
41
  }) {
41
- const e = n;
42
+ const t = n;
42
43
  return o ? g({
43
- block: e,
44
+ block: t,
44
45
  localState: r,
45
46
  rootState: i,
46
47
  rootSetState: s,
47
- context: t
48
- }) : e;
48
+ context: e
49
+ }) : t;
49
50
  }
50
51
  export {
51
- B as g
52
+ v as g
52
53
  };