@builder.io/sdk-react 2.0.22 → 2.0.24-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 (490) hide show
  1. package/lib/browser/blocks-exports.cjs +25 -25
  2. package/lib/browser/blocks-exports.mjs +535 -563
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-5770bca9.cjs → server-entry-3855428f.cjs} +1 -1
  6. package/lib/browser/{server-entry-b83ba684.js → server-entry-e7cbd2fc.js} +1 -1
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-78c3d81b.js → accordion-57df597a.js} +1 -1
  10. package/lib/edge/{accordion-80133dd8.cjs → accordion-91147fe9.cjs} +1 -1
  11. package/lib/edge/{blocks-852d317b.js → blocks-228052f4.js} +21 -19
  12. package/lib/edge/blocks-2a92a0c1.cjs +12 -0
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-0a729557.js → button-d681583e.js} +2 -2
  16. package/lib/edge/{button-a97c0d05.cjs → button-ff78ab2a.cjs} +1 -1
  17. package/lib/edge/{columns-2bd50130.cjs → columns-354a8faf.cjs} +1 -1
  18. package/lib/edge/{columns-1149d23a.js → columns-59392fea.js} +4 -4
  19. package/lib/edge/{content-variants-86962b96.js → content-variants-983cfed6.js} +13 -18
  20. package/lib/edge/{content-variants-cbd84920.cjs → content-variants-f22b14d7.cjs} +4 -4
  21. package/lib/edge/{evaluate-46f56681.js → evaluate-b7da3191.js} +706 -726
  22. package/lib/edge/{evaluate-617e3bee.cjs → evaluate-f8347208.cjs} +11 -11
  23. package/lib/edge/form-2c8b99e2.cjs +1 -0
  24. package/lib/edge/form-52e60b8b.js +180 -0
  25. package/lib/edge/{get-class-prop-name-6e4205e7.js → get-class-prop-name-8c8a1b1c.js} +1 -1
  26. package/lib/edge/{get-class-prop-name-dc89023a.cjs → get-class-prop-name-956dc1ac.cjs} +1 -1
  27. package/lib/edge/{img-70b9d719.cjs → img-9e702744.cjs} +1 -1
  28. package/lib/edge/{img-0bc990ef.js → img-ce324880.js} +1 -1
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/{input-21071030.cjs → input-09bbebbb.cjs} +1 -1
  32. package/lib/edge/{input-3689c63d.js → input-c5dda333.js} +1 -1
  33. package/lib/edge/{select-cb7c2f44.cjs → select-235baf48.cjs} +1 -1
  34. package/lib/edge/{select-65ebd3fd.js → select-8936ea79.js} +1 -1
  35. package/lib/edge/{server-entry-9d83b8e5.js → server-entry-b3befa52.js} +1 -1
  36. package/lib/edge/{server-entry-8ce6f347.cjs → server-entry-f0d7962f.cjs} +1 -1
  37. package/lib/edge/server-entry.cjs +1 -1
  38. package/lib/edge/server-entry.mjs +1 -1
  39. package/lib/edge/{slot-21cc91d8.cjs → slot-eb173f0a.cjs} +1 -1
  40. package/lib/edge/{slot-e5f3b92d.js → slot-f274570e.js} +4 -4
  41. package/lib/edge/{symbol-56e5b927.js → symbol-0deda8a7.js} +2 -2
  42. package/lib/edge/{symbol-0cc07e41.cjs → symbol-73a9d7cb.cjs} +1 -1
  43. package/lib/edge/{tabs-9390d611.cjs → tabs-4e5783b2.cjs} +1 -1
  44. package/lib/edge/{tabs-0e6f6b5b.js → tabs-791385cc.js} +4 -4
  45. package/lib/edge/{text-b68c0d5a.js → text-0a14d566.js} +8 -9
  46. package/lib/edge/text-3dd73c6e.cjs +1 -0
  47. package/lib/node/blocks-exports.cjs +25 -25
  48. package/lib/node/blocks-exports.mjs +555 -583
  49. package/lib/node/index.cjs +1 -1
  50. package/lib/node/index.mjs +2 -2
  51. package/lib/node/init.cjs +1 -1
  52. package/lib/node/init.mjs +4 -3
  53. package/lib/node/{server-entry-52b8f10a.cjs → server-entry-a7139d8f.cjs} +1 -1
  54. package/lib/node/{server-entry-5b32494d.js → server-entry-fa11b353.js} +1 -1
  55. package/lib/node/server-entry.cjs +1 -1
  56. package/lib/node/server-entry.mjs +1 -1
  57. package/lib/node/{should-force-browser-runtime-in-node-253f1726.cjs → should-force-browser-runtime-in-node-0bf7076b.cjs} +1 -1
  58. package/lib/node/{should-force-browser-runtime-in-node-68bc74aa.js → should-force-browser-runtime-in-node-ddb84649.js} +1 -1
  59. package/package.json +3 -2
  60. package/types/blocks/textarea/component-info.d.ts +2 -0
  61. package/types/blocks/textarea/index.d.ts +1 -0
  62. package/types/blocks/textarea/textarea.d.ts +13 -0
  63. package/types/cjs/blocks/BaseText.d.cts +6 -0
  64. package/types/cjs/blocks/button/button.d.cts +4 -0
  65. package/types/cjs/blocks/button/button.types.d.cts +7 -0
  66. package/types/cjs/blocks/button/component-info.d.cts +2 -0
  67. package/types/cjs/blocks/button/index.d.cts +1 -0
  68. package/types/cjs/blocks/columns/columns.d.cts +4 -0
  69. package/types/cjs/blocks/columns/columns.types.d.cts +15 -0
  70. package/types/cjs/blocks/columns/component-info.d.cts +2 -0
  71. package/types/cjs/blocks/columns/helpers.d.cts +1 -0
  72. package/types/cjs/blocks/columns/index.d.cts +1 -0
  73. package/types/cjs/blocks/custom-code/component-info.d.cts +2 -0
  74. package/types/cjs/blocks/custom-code/custom-code.d.cts +7 -0
  75. package/types/cjs/blocks/custom-code/index.d.cts +1 -0
  76. package/types/cjs/blocks/embed/component-info.d.cts +2 -0
  77. package/types/cjs/blocks/embed/embed.d.cts +6 -0
  78. package/types/cjs/blocks/embed/helpers.d.cts +1 -0
  79. package/types/cjs/blocks/embed/index.d.cts +1 -0
  80. package/types/cjs/blocks/form/form/component-info.d.cts +2 -0
  81. package/types/cjs/blocks/form/form/form.d.cts +33 -0
  82. package/types/cjs/blocks/form/form/index.d.cts +1 -0
  83. package/types/cjs/blocks/form/input/component-info.d.cts +2 -0
  84. package/types/cjs/blocks/form/input/index.d.cts +1 -0
  85. package/types/cjs/blocks/form/input/input.d.cts +15 -0
  86. package/types/cjs/blocks/form/select/component-info.d.cts +2 -0
  87. package/types/cjs/blocks/form/select/index.d.cts +1 -0
  88. package/types/cjs/blocks/form/select/select.d.cts +16 -0
  89. package/types/cjs/blocks/form/submit-button/component-info.d.cts +2 -0
  90. package/types/cjs/blocks/form/submit-button/index.d.cts +1 -0
  91. package/types/cjs/blocks/form/submit-button/submit-button.d.cts +10 -0
  92. package/types/cjs/blocks/fragment/component-info.d.cts +2 -0
  93. package/types/cjs/blocks/fragment/fragment.d.cts +4 -0
  94. package/types/cjs/blocks/fragment/fragment.types.d.cts +5 -0
  95. package/types/cjs/blocks/fragment/index.d.cts +1 -0
  96. package/types/cjs/blocks/helpers.d.cts +13 -0
  97. package/types/cjs/blocks/image/component-info.d.cts +2 -0
  98. package/types/cjs/blocks/image/image.d.cts +4 -0
  99. package/types/cjs/blocks/image/image.helpers.d.cts +1 -0
  100. package/types/cjs/blocks/image/image.types.d.cts +19 -0
  101. package/types/cjs/blocks/image/index.d.cts +1 -0
  102. package/types/cjs/blocks/img/component-info.d.cts +2 -0
  103. package/types/cjs/blocks/img/img.d.cts +14 -0
  104. package/types/cjs/blocks/img/index.d.cts +1 -0
  105. package/types/cjs/blocks/raw-text/component-info.d.cts +2 -0
  106. package/types/cjs/blocks/raw-text/index.d.cts +1 -0
  107. package/types/cjs/blocks/raw-text/raw-text.d.cts +7 -0
  108. package/types/cjs/blocks/section/component-info.d.cts +2 -0
  109. package/types/cjs/blocks/section/index.d.cts +1 -0
  110. package/types/cjs/blocks/section/section.d.cts +4 -0
  111. package/types/cjs/blocks/section/section.types.d.cts +6 -0
  112. package/types/cjs/blocks/slot/component-info.d.cts +2 -0
  113. package/types/cjs/blocks/slot/index.d.cts +1 -0
  114. package/types/cjs/blocks/slot/slot.d.cts +8 -0
  115. package/types/cjs/blocks/symbol/component-info.d.cts +2 -0
  116. package/types/cjs/blocks/symbol/index.d.cts +1 -0
  117. package/types/cjs/blocks/symbol/symbol.d.cts +4 -0
  118. package/types/cjs/blocks/symbol/symbol.helpers.d.cts +14 -0
  119. package/types/cjs/blocks/symbol/symbol.types.d.cts +18 -0
  120. package/types/cjs/blocks/tabs/component-info.d.cts +2 -0
  121. package/types/cjs/blocks/tabs/index.d.cts +1 -0
  122. package/types/cjs/blocks/tabs/tabs.d.cts +4 -0
  123. package/types/cjs/blocks/tabs/tabs.types.d.cts +13 -0
  124. package/types/cjs/blocks/text/component-info.d.cts +2 -0
  125. package/types/cjs/blocks/text/index.d.cts +1 -0
  126. package/types/cjs/blocks/text/text.d.cts +4 -0
  127. package/types/cjs/blocks/text/text.types.d.cts +4 -0
  128. package/types/cjs/blocks/textarea/component-info.d.cts +2 -0
  129. package/types/cjs/blocks/textarea/index.d.cts +1 -0
  130. package/types/cjs/blocks/textarea/textarea.d.cts +13 -0
  131. package/types/cjs/blocks/video/component-info.d.cts +2 -0
  132. package/types/cjs/blocks/video/index.d.cts +1 -0
  133. package/types/cjs/blocks/video/video.d.cts +4 -0
  134. package/types/cjs/blocks/video/video.types.d.cts +21 -0
  135. package/types/cjs/components/block/animator.d.cts +5 -0
  136. package/types/cjs/components/block/block.d.cts +11 -0
  137. package/types/cjs/components/block/block.helpers.d.cts +18 -0
  138. package/types/cjs/components/block/components/block-styles.d.cts +9 -0
  139. package/types/cjs/components/block/components/block-wrapper.d.cts +15 -0
  140. package/types/cjs/components/block/components/component-ref/component-ref.d.cts +4 -0
  141. package/types/cjs/components/block/components/component-ref/component-ref.helpers.d.cts +31 -0
  142. package/types/cjs/components/block/components/interactive-element.d.cts +14 -0
  143. package/types/cjs/components/block/components/repeated-block.d.cts +8 -0
  144. package/types/cjs/components/block/types.d.cts +6 -0
  145. package/types/cjs/components/blocks/blocks-wrapper.d.cts +19 -0
  146. package/types/cjs/components/blocks/blocks.d.cts +4 -0
  147. package/types/cjs/components/blocks/blocks.types.d.cts +7 -0
  148. package/types/cjs/components/blocks/index.d.cts +1 -0
  149. package/types/cjs/components/content/components/enable-editor.d.cts +10 -0
  150. package/types/cjs/components/content/components/styles.d.cts +10 -0
  151. package/types/cjs/components/content/components/styles.helpers.d.cts +17 -0
  152. package/types/cjs/components/content/content.d.cts +4 -0
  153. package/types/cjs/components/content/content.helpers.d.cts +7 -0
  154. package/types/cjs/components/content/content.types.d.cts +13 -0
  155. package/types/cjs/components/content/contentProps.types.d.cts +17 -0
  156. package/types/cjs/components/content/index.d.cts +1 -0
  157. package/types/cjs/components/content/wrap-component-ref.d.cts +6 -0
  158. package/types/cjs/components/content-variants/content-variants.d.cts +10 -0
  159. package/types/cjs/components/content-variants/content-variants.types.d.cts +71 -0
  160. package/types/cjs/components/content-variants/helpers.d.cts +41 -0
  161. package/types/cjs/components/content-variants/index.d.cts +1 -0
  162. package/types/cjs/components/content-variants/inlined-fns.d.cts +14 -0
  163. package/types/cjs/components/dynamic-div.d.cts +15 -0
  164. package/types/cjs/components/dynamic-renderer/dynamic-renderer.d.cts +9 -0
  165. package/types/cjs/components/dynamic-renderer/dynamic-renderer.helpers.d.cts +1 -0
  166. package/types/cjs/components/error-boundary.d.cts +11 -0
  167. package/types/cjs/components/inlined-script.d.cts +7 -0
  168. package/types/cjs/components/inlined-styles.d.cts +7 -0
  169. package/types/cjs/constants/builder-registered-components.d.cts +6 -0
  170. package/types/cjs/constants/device-sizes.d.cts +13 -0
  171. package/types/cjs/constants/extra-components.d.cts +7 -0
  172. package/types/cjs/constants/sdk-version.d.cts +1 -0
  173. package/types/cjs/constants/target.d.cts +2 -0
  174. package/types/cjs/context/builder.context.d.cts +3 -0
  175. package/types/cjs/context/components.context.d.cts +3 -0
  176. package/types/cjs/context/index.d.cts +1 -0
  177. package/types/cjs/context/types.d.cts +36 -0
  178. package/types/cjs/functions/apply-patch-with-mutation.d.cts +10 -0
  179. package/types/cjs/functions/camel-to-kebab-case.d.cts +1 -0
  180. package/types/cjs/functions/deopt.d.cts +4 -0
  181. package/types/cjs/functions/evaluate/browser-runtime/browser.d.cts +8 -0
  182. package/types/cjs/functions/evaluate/browser-runtime/index.d.cts +1 -0
  183. package/types/cjs/functions/evaluate/choose-eval.d.cts +6 -0
  184. package/types/cjs/functions/evaluate/edge-runtime/acorn-interpreter.d.cts +2 -0
  185. package/types/cjs/functions/evaluate/edge-runtime/edge-runtime.d.cts +2 -0
  186. package/types/cjs/functions/evaluate/edge-runtime/index.d.cts +1 -0
  187. package/types/cjs/functions/evaluate/evaluate.d.cts +4 -0
  188. package/types/cjs/functions/evaluate/helpers.d.cts +25 -0
  189. package/types/cjs/functions/evaluate/index.d.cts +1 -0
  190. package/types/cjs/functions/evaluate/node-runtime/index.d.cts +1 -0
  191. package/types/cjs/functions/evaluate/node-runtime/init.d.cts +13 -0
  192. package/types/cjs/functions/evaluate/node-runtime/node-runtime.d.cts +11 -0
  193. package/types/cjs/functions/evaluate/node-runtime/safeDynamicRequire.d.cts +6 -0
  194. package/types/cjs/functions/evaluate/placeholder-runtime.d.cts +2 -0
  195. package/types/cjs/functions/evaluate/should-force-browser-runtime-in-node.d.cts +1 -0
  196. package/types/cjs/functions/event-handler-name.d.cts +1 -0
  197. package/types/cjs/functions/extract-text-styles.d.cts +4 -0
  198. package/types/cjs/functions/fast-clone.d.cts +4 -0
  199. package/types/cjs/functions/fetch-builder-props.d.cts +53 -0
  200. package/types/cjs/functions/get-block-actions-handler.d.cts +8 -0
  201. package/types/cjs/functions/get-block-actions.d.cts +10 -0
  202. package/types/cjs/functions/get-block-component-options.d.cts +2 -0
  203. package/types/cjs/functions/get-block-properties.d.cts +10 -0
  204. package/types/cjs/functions/get-builder-search-params/index.d.cts +9 -0
  205. package/types/cjs/functions/get-class-prop-name.d.cts +1 -0
  206. package/types/cjs/functions/get-content/generate-content-url.d.cts +2 -0
  207. package/types/cjs/functions/get-content/index.d.cts +18 -0
  208. package/types/cjs/functions/get-content/types.d.cts +139 -0
  209. package/types/cjs/functions/get-env.d.cts +2 -0
  210. package/types/cjs/functions/get-fetch.d.cts +1 -0
  211. package/types/cjs/functions/get-global-this.d.cts +4 -0
  212. package/types/cjs/functions/get-processed-block.d.cts +10 -0
  213. package/types/cjs/functions/get-style.d.cts +12 -0
  214. package/types/cjs/functions/get.d.cts +1 -0
  215. package/types/cjs/functions/is-browser.d.cts +1 -0
  216. package/types/cjs/functions/is-edge-runtime.d.cts +4 -0
  217. package/types/cjs/functions/is-editing.d.cts +2 -0
  218. package/types/cjs/functions/is-from-trusted-host.d.cts +3 -0
  219. package/types/cjs/functions/is-iframe.d.cts +1 -0
  220. package/types/cjs/functions/is-node-runtime.d.cts +4 -0
  221. package/types/cjs/functions/is-previewing.d.cts +2 -0
  222. package/types/cjs/functions/on-change.d.cts +7 -0
  223. package/types/cjs/functions/register-component.d.cts +6 -0
  224. package/types/cjs/functions/register.d.cts +16 -0
  225. package/types/cjs/functions/set-editor-settings.d.cts +4 -0
  226. package/types/cjs/functions/set.d.cts +7 -0
  227. package/types/cjs/functions/track/helpers.d.cts +5 -0
  228. package/types/cjs/functions/track/index.d.cts +51 -0
  229. package/types/cjs/functions/track/interaction.d.cts +13 -0
  230. package/types/cjs/functions/transform-block-properties.d.cts +7 -0
  231. package/types/cjs/functions/transform-block.d.cts +2 -0
  232. package/types/cjs/functions/transform-style-property.d.cts +7 -0
  233. package/types/cjs/helpers/ab-tests.d.cts +9 -0
  234. package/types/cjs/helpers/canTrack.d.cts +1 -0
  235. package/types/cjs/helpers/cookie.d.cts +19 -0
  236. package/types/cjs/helpers/css.d.cts +7 -0
  237. package/types/cjs/helpers/flatten.d.cts +16 -0
  238. package/types/cjs/helpers/localStorage.d.cts +9 -0
  239. package/types/cjs/helpers/logger.d.cts +7 -0
  240. package/types/cjs/helpers/nullable.d.cts +2 -0
  241. package/types/cjs/helpers/omit.d.cts +1 -0
  242. package/types/cjs/helpers/preview-lru-cache/get.d.cts +2 -0
  243. package/types/cjs/helpers/preview-lru-cache/helpers.d.cts +1 -0
  244. package/types/cjs/helpers/preview-lru-cache/init.d.cts +6 -0
  245. package/types/cjs/helpers/preview-lru-cache/set.d.cts +7 -0
  246. package/types/cjs/helpers/preview-lru-cache/types.d.cts +1 -0
  247. package/types/cjs/helpers/search/search.d.cts +5 -0
  248. package/types/cjs/helpers/sessionId.d.cts +6 -0
  249. package/types/cjs/helpers/subscribe-to-editor.d.cts +35 -0
  250. package/types/cjs/helpers/time.d.cts +1 -0
  251. package/types/cjs/helpers/url.d.cts +6 -0
  252. package/types/cjs/helpers/uuid.d.cts +8 -0
  253. package/types/cjs/helpers/visitorId.d.cts +6 -0
  254. package/types/cjs/index-helpers/blocks-exports.d.cts +14 -0
  255. package/types/cjs/index-helpers/top-of-file.d.cts +1 -0
  256. package/types/cjs/index.d.cts +10 -0
  257. package/types/cjs/scripts/init-editing.d.cts +7 -0
  258. package/types/cjs/server-index.d.cts +39 -0
  259. package/types/cjs/types/api-version.d.cts +2 -0
  260. package/types/cjs/types/builder-block.d.cts +84 -0
  261. package/types/cjs/types/builder-content.d.cts +44 -0
  262. package/types/cjs/types/builder-props.d.cts +12 -0
  263. package/types/cjs/types/can-track.d.cts +3 -0
  264. package/types/cjs/types/components.d.cts +110 -0
  265. package/types/cjs/types/deep-partial.d.cts +3 -0
  266. package/types/cjs/types/element.d.cts +59 -0
  267. package/types/cjs/types/enforced-partials.d.cts +26 -0
  268. package/types/cjs/types/input.d.cts +122 -0
  269. package/types/cjs/types/targets.d.cts +1 -0
  270. package/types/cjs/types/typescript.d.cts +8 -0
  271. package/types/components/blocks/blocks-wrapper.d.ts +1 -0
  272. package/types/components/blocks/blocks.types.d.ts +2 -1
  273. package/types/constants/sdk-version.d.ts +1 -1
  274. package/types/esm/blocks/BaseText.d.mts +6 -0
  275. package/types/esm/blocks/button/button.d.mts +4 -0
  276. package/types/esm/blocks/button/button.types.d.mts +7 -0
  277. package/types/esm/blocks/button/component-info.d.mts +2 -0
  278. package/types/esm/blocks/button/index.d.mts +1 -0
  279. package/types/esm/blocks/columns/columns.d.mts +4 -0
  280. package/types/esm/blocks/columns/columns.types.d.mts +15 -0
  281. package/types/esm/blocks/columns/component-info.d.mts +2 -0
  282. package/types/esm/blocks/columns/helpers.d.mts +1 -0
  283. package/types/esm/blocks/columns/index.d.mts +1 -0
  284. package/types/esm/blocks/custom-code/component-info.d.mts +2 -0
  285. package/types/esm/blocks/custom-code/custom-code.d.mts +7 -0
  286. package/types/esm/blocks/custom-code/index.d.mts +1 -0
  287. package/types/esm/blocks/embed/component-info.d.mts +2 -0
  288. package/types/esm/blocks/embed/embed.d.mts +6 -0
  289. package/types/esm/blocks/embed/helpers.d.mts +1 -0
  290. package/types/esm/blocks/embed/index.d.mts +1 -0
  291. package/types/esm/blocks/form/form/component-info.d.mts +2 -0
  292. package/types/esm/blocks/form/form/form.d.mts +33 -0
  293. package/types/esm/blocks/form/form/index.d.mts +1 -0
  294. package/types/esm/blocks/form/input/component-info.d.mts +2 -0
  295. package/types/esm/blocks/form/input/index.d.mts +1 -0
  296. package/types/esm/blocks/form/input/input.d.mts +15 -0
  297. package/types/esm/blocks/form/select/component-info.d.mts +2 -0
  298. package/types/esm/blocks/form/select/index.d.mts +1 -0
  299. package/types/esm/blocks/form/select/select.d.mts +16 -0
  300. package/types/esm/blocks/form/submit-button/component-info.d.mts +2 -0
  301. package/types/esm/blocks/form/submit-button/index.d.mts +1 -0
  302. package/types/esm/blocks/form/submit-button/submit-button.d.mts +10 -0
  303. package/types/esm/blocks/fragment/component-info.d.mts +2 -0
  304. package/types/esm/blocks/fragment/fragment.d.mts +4 -0
  305. package/types/esm/blocks/fragment/fragment.types.d.mts +5 -0
  306. package/types/esm/blocks/fragment/index.d.mts +1 -0
  307. package/types/esm/blocks/helpers.d.mts +13 -0
  308. package/types/esm/blocks/image/component-info.d.mts +2 -0
  309. package/types/esm/blocks/image/image.d.mts +4 -0
  310. package/types/esm/blocks/image/image.helpers.d.mts +1 -0
  311. package/types/esm/blocks/image/image.types.d.mts +19 -0
  312. package/types/esm/blocks/image/index.d.mts +1 -0
  313. package/types/esm/blocks/img/component-info.d.mts +2 -0
  314. package/types/esm/blocks/img/img.d.mts +14 -0
  315. package/types/esm/blocks/img/index.d.mts +1 -0
  316. package/types/esm/blocks/raw-text/component-info.d.mts +2 -0
  317. package/types/esm/blocks/raw-text/index.d.mts +1 -0
  318. package/types/esm/blocks/raw-text/raw-text.d.mts +7 -0
  319. package/types/esm/blocks/section/component-info.d.mts +2 -0
  320. package/types/esm/blocks/section/index.d.mts +1 -0
  321. package/types/esm/blocks/section/section.d.mts +4 -0
  322. package/types/esm/blocks/section/section.types.d.mts +6 -0
  323. package/types/esm/blocks/slot/component-info.d.mts +2 -0
  324. package/types/esm/blocks/slot/index.d.mts +1 -0
  325. package/types/esm/blocks/slot/slot.d.mts +8 -0
  326. package/types/esm/blocks/symbol/component-info.d.mts +2 -0
  327. package/types/esm/blocks/symbol/index.d.mts +1 -0
  328. package/types/esm/blocks/symbol/symbol.d.mts +4 -0
  329. package/types/esm/blocks/symbol/symbol.helpers.d.mts +14 -0
  330. package/types/esm/blocks/symbol/symbol.types.d.mts +18 -0
  331. package/types/esm/blocks/tabs/component-info.d.mts +2 -0
  332. package/types/esm/blocks/tabs/index.d.mts +1 -0
  333. package/types/esm/blocks/tabs/tabs.d.mts +4 -0
  334. package/types/esm/blocks/tabs/tabs.types.d.mts +13 -0
  335. package/types/esm/blocks/text/component-info.d.mts +2 -0
  336. package/types/esm/blocks/text/index.d.mts +1 -0
  337. package/types/esm/blocks/text/text.d.mts +4 -0
  338. package/types/esm/blocks/text/text.types.d.mts +4 -0
  339. package/types/esm/blocks/textarea/component-info.d.mts +2 -0
  340. package/types/esm/blocks/textarea/index.d.mts +1 -0
  341. package/types/esm/blocks/textarea/textarea.d.mts +13 -0
  342. package/types/esm/blocks/video/component-info.d.mts +2 -0
  343. package/types/esm/blocks/video/index.d.mts +1 -0
  344. package/types/esm/blocks/video/video.d.mts +4 -0
  345. package/types/esm/blocks/video/video.types.d.mts +21 -0
  346. package/types/esm/components/block/animator.d.mts +5 -0
  347. package/types/esm/components/block/block.d.mts +11 -0
  348. package/types/esm/components/block/block.helpers.d.mts +18 -0
  349. package/types/esm/components/block/components/block-styles.d.mts +9 -0
  350. package/types/esm/components/block/components/block-wrapper.d.mts +15 -0
  351. package/types/esm/components/block/components/component-ref/component-ref.d.mts +4 -0
  352. package/types/esm/components/block/components/component-ref/component-ref.helpers.d.mts +31 -0
  353. package/types/esm/components/block/components/interactive-element.d.mts +14 -0
  354. package/types/esm/components/block/components/repeated-block.d.mts +8 -0
  355. package/types/esm/components/block/types.d.mts +6 -0
  356. package/types/esm/components/blocks/blocks-wrapper.d.mts +19 -0
  357. package/types/esm/components/blocks/blocks.d.mts +4 -0
  358. package/types/esm/components/blocks/blocks.types.d.mts +7 -0
  359. package/types/esm/components/blocks/index.d.mts +1 -0
  360. package/types/esm/components/content/components/enable-editor.d.mts +10 -0
  361. package/types/esm/components/content/components/styles.d.mts +10 -0
  362. package/types/esm/components/content/components/styles.helpers.d.mts +17 -0
  363. package/types/esm/components/content/content.d.mts +4 -0
  364. package/types/esm/components/content/content.helpers.d.mts +7 -0
  365. package/types/esm/components/content/content.types.d.mts +13 -0
  366. package/types/esm/components/content/contentProps.types.d.mts +17 -0
  367. package/types/esm/components/content/index.d.mts +1 -0
  368. package/types/esm/components/content/wrap-component-ref.d.mts +6 -0
  369. package/types/esm/components/content-variants/content-variants.d.mts +10 -0
  370. package/types/esm/components/content-variants/content-variants.types.d.mts +71 -0
  371. package/types/esm/components/content-variants/helpers.d.mts +41 -0
  372. package/types/esm/components/content-variants/index.d.mts +1 -0
  373. package/types/esm/components/content-variants/inlined-fns.d.mts +14 -0
  374. package/types/esm/components/dynamic-div.d.mts +15 -0
  375. package/types/esm/components/dynamic-renderer/dynamic-renderer.d.mts +9 -0
  376. package/types/esm/components/dynamic-renderer/dynamic-renderer.helpers.d.mts +1 -0
  377. package/types/esm/components/error-boundary.d.mts +11 -0
  378. package/types/esm/components/inlined-script.d.mts +7 -0
  379. package/types/esm/components/inlined-styles.d.mts +7 -0
  380. package/types/esm/constants/builder-registered-components.d.mts +6 -0
  381. package/types/esm/constants/device-sizes.d.mts +13 -0
  382. package/types/esm/constants/extra-components.d.mts +7 -0
  383. package/types/esm/constants/sdk-version.d.mts +1 -0
  384. package/types/esm/constants/target.d.mts +2 -0
  385. package/types/esm/context/builder.context.d.mts +3 -0
  386. package/types/esm/context/components.context.d.mts +3 -0
  387. package/types/esm/context/index.d.mts +1 -0
  388. package/types/esm/context/types.d.mts +36 -0
  389. package/types/esm/functions/apply-patch-with-mutation.d.mts +10 -0
  390. package/types/esm/functions/camel-to-kebab-case.d.mts +1 -0
  391. package/types/esm/functions/deopt.d.mts +4 -0
  392. package/types/esm/functions/evaluate/browser-runtime/browser.d.mts +8 -0
  393. package/types/esm/functions/evaluate/browser-runtime/index.d.mts +1 -0
  394. package/types/esm/functions/evaluate/choose-eval.d.mts +6 -0
  395. package/types/esm/functions/evaluate/edge-runtime/acorn-interpreter.d.mts +2 -0
  396. package/types/esm/functions/evaluate/edge-runtime/edge-runtime.d.mts +2 -0
  397. package/types/esm/functions/evaluate/edge-runtime/index.d.mts +1 -0
  398. package/types/esm/functions/evaluate/evaluate.d.mts +4 -0
  399. package/types/esm/functions/evaluate/helpers.d.mts +25 -0
  400. package/types/esm/functions/evaluate/index.d.mts +1 -0
  401. package/types/esm/functions/evaluate/node-runtime/index.d.mts +1 -0
  402. package/types/esm/functions/evaluate/node-runtime/init.d.mts +13 -0
  403. package/types/esm/functions/evaluate/node-runtime/node-runtime.d.mts +11 -0
  404. package/types/esm/functions/evaluate/node-runtime/safeDynamicRequire.d.mts +6 -0
  405. package/types/esm/functions/evaluate/placeholder-runtime.d.mts +2 -0
  406. package/types/esm/functions/evaluate/should-force-browser-runtime-in-node.d.mts +1 -0
  407. package/types/esm/functions/event-handler-name.d.mts +1 -0
  408. package/types/esm/functions/extract-text-styles.d.mts +4 -0
  409. package/types/esm/functions/fast-clone.d.mts +4 -0
  410. package/types/esm/functions/fetch-builder-props.d.mts +53 -0
  411. package/types/esm/functions/get-block-actions-handler.d.mts +8 -0
  412. package/types/esm/functions/get-block-actions.d.mts +10 -0
  413. package/types/esm/functions/get-block-component-options.d.mts +2 -0
  414. package/types/esm/functions/get-block-properties.d.mts +10 -0
  415. package/types/esm/functions/get-builder-search-params/index.d.mts +9 -0
  416. package/types/esm/functions/get-class-prop-name.d.mts +1 -0
  417. package/types/esm/functions/get-content/generate-content-url.d.mts +2 -0
  418. package/types/esm/functions/get-content/index.d.mts +18 -0
  419. package/types/esm/functions/get-content/types.d.mts +139 -0
  420. package/types/esm/functions/get-env.d.mts +2 -0
  421. package/types/esm/functions/get-fetch.d.mts +1 -0
  422. package/types/esm/functions/get-global-this.d.mts +4 -0
  423. package/types/esm/functions/get-processed-block.d.mts +10 -0
  424. package/types/esm/functions/get-style.d.mts +12 -0
  425. package/types/esm/functions/get.d.mts +1 -0
  426. package/types/esm/functions/is-browser.d.mts +1 -0
  427. package/types/esm/functions/is-edge-runtime.d.mts +4 -0
  428. package/types/esm/functions/is-editing.d.mts +2 -0
  429. package/types/esm/functions/is-from-trusted-host.d.mts +3 -0
  430. package/types/esm/functions/is-iframe.d.mts +1 -0
  431. package/types/esm/functions/is-node-runtime.d.mts +4 -0
  432. package/types/esm/functions/is-previewing.d.mts +2 -0
  433. package/types/esm/functions/on-change.d.mts +7 -0
  434. package/types/esm/functions/register-component.d.mts +6 -0
  435. package/types/esm/functions/register.d.mts +16 -0
  436. package/types/esm/functions/set-editor-settings.d.mts +4 -0
  437. package/types/esm/functions/set.d.mts +7 -0
  438. package/types/esm/functions/track/helpers.d.mts +5 -0
  439. package/types/esm/functions/track/index.d.mts +51 -0
  440. package/types/esm/functions/track/interaction.d.mts +13 -0
  441. package/types/esm/functions/transform-block-properties.d.mts +7 -0
  442. package/types/esm/functions/transform-block.d.mts +2 -0
  443. package/types/esm/functions/transform-style-property.d.mts +7 -0
  444. package/types/esm/helpers/ab-tests.d.mts +9 -0
  445. package/types/esm/helpers/canTrack.d.mts +1 -0
  446. package/types/esm/helpers/cookie.d.mts +19 -0
  447. package/types/esm/helpers/css.d.mts +7 -0
  448. package/types/esm/helpers/flatten.d.mts +16 -0
  449. package/types/esm/helpers/localStorage.d.mts +9 -0
  450. package/types/esm/helpers/logger.d.mts +7 -0
  451. package/types/esm/helpers/nullable.d.mts +2 -0
  452. package/types/esm/helpers/omit.d.mts +1 -0
  453. package/types/esm/helpers/preview-lru-cache/get.d.mts +2 -0
  454. package/types/esm/helpers/preview-lru-cache/helpers.d.mts +1 -0
  455. package/types/esm/helpers/preview-lru-cache/init.d.mts +6 -0
  456. package/types/esm/helpers/preview-lru-cache/set.d.mts +7 -0
  457. package/types/esm/helpers/preview-lru-cache/types.d.mts +1 -0
  458. package/types/esm/helpers/search/search.d.mts +5 -0
  459. package/types/esm/helpers/sessionId.d.mts +6 -0
  460. package/types/esm/helpers/subscribe-to-editor.d.mts +35 -0
  461. package/types/esm/helpers/time.d.mts +1 -0
  462. package/types/esm/helpers/url.d.mts +6 -0
  463. package/types/esm/helpers/uuid.d.mts +8 -0
  464. package/types/esm/helpers/visitorId.d.mts +6 -0
  465. package/types/esm/index-helpers/blocks-exports.d.mts +14 -0
  466. package/types/esm/index-helpers/top-of-file.d.mts +1 -0
  467. package/types/esm/index.d.mts +10 -0
  468. package/types/esm/index.d.mts.d.mts +10 -0
  469. package/types/esm/scripts/init-editing.d.mts +7 -0
  470. package/types/esm/server-index.d.mts +39 -0
  471. package/types/esm/types/api-version.d.mts +2 -0
  472. package/types/esm/types/builder-block.d.mts +84 -0
  473. package/types/esm/types/builder-content.d.mts +44 -0
  474. package/types/esm/types/builder-props.d.mts +12 -0
  475. package/types/esm/types/can-track.d.mts +3 -0
  476. package/types/esm/types/components.d.mts +110 -0
  477. package/types/esm/types/deep-partial.d.mts +3 -0
  478. package/types/esm/types/element.d.mts +59 -0
  479. package/types/esm/types/enforced-partials.d.mts +26 -0
  480. package/types/esm/types/input.d.mts +122 -0
  481. package/types/esm/types/targets.d.mts +1 -0
  482. package/types/esm/types/typescript.d.mts +8 -0
  483. package/types/functions/evaluate/evaluate.d.ts +2 -1
  484. package/types/functions/evaluate/helpers.d.ts +0 -1
  485. package/types/functions/evaluate/node-runtime/init.d.ts +2 -0
  486. package/types/helpers/sdk-headers.d.ts +5 -0
  487. package/lib/edge/blocks-5084bbec.cjs +0 -12
  488. package/lib/edge/form-1811c08f.js +0 -183
  489. package/lib/edge/form-c42561fb.cjs +0 -1
  490. package/lib/edge/text-baaedac7.cjs +0 -1
@@ -1,17 +1,14 @@
1
1
  "use client";
2
- var Ue = Object.defineProperty;
3
- var je = (e, t, n) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var G = (e, t, n) => (je(e, typeof t != "symbol" ? t + "" : t, n), n);
5
2
  import { jsx as l, Fragment as w, jsxs as V } from "react/jsx-runtime";
6
- import { TARGET as L, isBrowser as _, logger as ae, checkIsDefined as ne, isPreviewing as ke, isEditing as F, registerInsertMenu as Me, setupBrowserForEditing as He, createRegisterComponentMessage as Ke, getDefaultCanTrack as z, _track as de, fetchOneEntry as Ce, createEditorListener as qe, serializeIncludingFunctions as ue, handleABTestingSync as _e } from "./server-entry-5b32494d.js";
7
- import { createContext as Te, useEffect as P, useState as T, useRef as D, useContext as me, createElement as Ie } from "react";
8
- import { getFunctionArguments as ze, flattenState as Je, shouldForceBrowserRuntimeInNode as Ye, runInNode as Ge, parseCode as Qe, getBuilderGlobals as Xe, set as we, fastClone as re } from "./should-force-browser-runtime-in-node-68bc74aa.js";
9
- const Ze = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), et = (e) => typeof e == "string" && Ze.has(e.toLowerCase());
10
- function le(e) {
11
- return /* @__PURE__ */ l(w, { children: et(e.TagName) ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(w, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
12
- }
13
- const M = () => {
14
- switch (L) {
3
+ import { TARGET as D, isBrowser as H, logger as ne, checkIsDefined as Z, isPreviewing as xe, isEditing as N, registerInsertMenu as Le, setupBrowserForEditing as Oe, createRegisterComponentMessage as Ue, getDefaultCanTrack as q, _track as le, fetchOneEntry as ve, createEditorListener as je, serializeIncludingFunctions as se, handleABTestingSync as Me } from "./server-entry-fa11b353.js";
4
+ import { createContext as Se, useEffect as B, useState as T, useRef as $, useContext as ce, createElement as ke } from "react";
5
+ import { getFunctionArguments as _e, flattenState as He, shouldForceBrowserRuntimeInNode as qe, runInNode as Ke, parseCode as ze, getBuilderGlobals as Je, set as Ce, fastClone as ie } from "./should-force-browser-runtime-in-node-ddb84649.js";
6
+ const Ge = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ye = (e) => typeof e == "string" && Ge.has(e.toLowerCase());
7
+ function oe(e) {
8
+ return /* @__PURE__ */ l(w, { children: Ye(e.TagName) ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(w, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
9
+ }
10
+ const U = () => {
11
+ switch (D) {
15
12
  case "react":
16
13
  case "reactNative":
17
14
  case "rsc":
@@ -24,11 +21,11 @@ const M = () => {
24
21
  return "class";
25
22
  }
26
23
  };
27
- function tt(e) {
24
+ function Qe(e) {
28
25
  function t() {
29
26
  return {
30
27
  ...e.attributes,
31
- [M()]: `${e.link ? "" : "builder-button"} ${e.attributes[M()] || ""}`,
28
+ [U()]: `${e.link ? "" : "builder-button"} ${e.attributes[U()] || ""}`,
32
29
  ...e.link ? {
33
30
  href: e.link,
34
31
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -39,7 +36,7 @@ function tt(e) {
39
36
  };
40
37
  }
41
38
  return /* @__PURE__ */ l(
42
- le,
39
+ oe,
43
40
  {
44
41
  attributes: t(),
45
42
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
@@ -48,7 +45,7 @@ function tt(e) {
48
45
  }
49
46
  );
50
47
  }
51
- const se = Te({
48
+ const ae = Se({
52
49
  content: null,
53
50
  context: {},
54
51
  localState: void 0,
@@ -62,21 +59,24 @@ const se = Te({
62
59
  BlocksWrapper: "div",
63
60
  BlocksWrapperProps: {},
64
61
  nonce: ""
65
- }), Re = Te({ registeredComponents: {} });
66
- function nt(e) {
62
+ }), Te = Se({ registeredComponents: {} });
63
+ function Xe(e) {
67
64
  var t;
68
65
  return {
69
66
  ...(t = e.component) == null ? void 0 : t.options,
70
67
  ...e.options
71
68
  };
72
69
  }
73
- function it(e, ...t) {
70
+ function Ze(e, ...t) {
74
71
  const n = Object.assign({}, e);
75
72
  for (const i of t)
76
73
  delete n[i];
77
74
  return n;
78
75
  }
79
- const ot = ({
76
+ const Ie = (e, t, n) => {
77
+ const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
78
+ return i === void 0 || i === e ? n : i;
79
+ }, et = ({
80
80
  code: e,
81
81
  builder: t,
82
82
  context: n,
@@ -85,96 +85,75 @@ const ot = ({
85
85
  rootSetState: a,
86
86
  rootState: r
87
87
  }) => {
88
- const s = ze({
88
+ const s = _e({
89
89
  builder: t,
90
90
  context: n,
91
91
  event: i,
92
- state: Je({
92
+ state: He({
93
93
  rootState: r,
94
94
  localState: o,
95
95
  rootSetState: a
96
96
  })
97
97
  });
98
98
  return new Function(...s.map(([d]) => d), e)(...s.map(([, d]) => d));
99
- }, at = (e) => _() || Ye({
99
+ }, tt = (e) => H() || qe({
100
100
  shouldLogWarning: !0
101
- }) ? ot(e) : Ge(e), rt = !0, $ = class $ {
102
- static getCacheKey(t) {
103
- return JSON.stringify({
104
- ...t,
105
- // replace the event with a random number to break cache
106
- // thats because we can't serialize the event object due to circular refs in DOM node refs.
107
- event: t.event ? Math.random() : void 0
108
- });
109
- }
110
- static getCachedValue(t) {
111
- return $.cache.get(t);
112
- }
113
- static setCachedValue(t, n) {
114
- $.cache.size > 20 && $.cache.delete($.cache.keys().next().value), $.cache.set(t, {
115
- value: n
116
- });
117
- }
101
+ }) ? et(e) : Ke(e), nt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, it = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, ot = (e) => {
102
+ var t, n, i, o, a, r;
103
+ return ((i = (n = (t = nt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = it.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
118
104
  };
119
- G($, "cacheLimit", 20), G($, "cache", /* @__PURE__ */ new Map());
120
- let O = $;
121
- function U({
105
+ function L({
122
106
  code: e,
123
107
  context: t,
124
108
  localState: n,
125
109
  rootState: i,
126
110
  rootSetState: o,
127
111
  event: a,
128
- isExpression: r = !0,
129
- enableCache: s
112
+ isExpression: r = !0
130
113
  }) {
131
- if (e === "")
114
+ if (e.trim() === "")
132
115
  return;
116
+ const s = ot(e.trim());
117
+ if (s)
118
+ return Ie({
119
+ ...i,
120
+ ...n
121
+ }, s);
133
122
  const d = {
134
- code: Qe(e, {
123
+ code: ze(e, {
135
124
  isExpression: r
136
125
  }),
137
- builder: Xe(),
126
+ builder: Je(),
138
127
  context: t,
139
128
  event: a,
140
129
  rootSetState: o,
141
130
  rootState: i,
142
131
  localState: n
143
132
  };
144
- if (s && !rt) {
145
- const c = O.getCacheKey(d), f = O.getCachedValue(c);
146
- if (f)
147
- return f.value;
148
- }
149
133
  try {
150
- const c = at(d);
151
- if (s) {
152
- const f = O.getCacheKey(d);
153
- O.setCachedValue(f, c);
154
- }
155
- return c;
134
+ return tt(d);
156
135
  } catch (c) {
157
- ae.error("Failed code evaluation: " + c.message, {
136
+ ne.error("Failed code evaluation: " + c.message, {
158
137
  code: e
159
138
  });
160
139
  return;
161
140
  }
162
141
  }
163
- function ie(e) {
142
+ function ee(e) {
164
143
  if (e === null || typeof e != "object")
165
144
  return e;
166
145
  if (Array.isArray(e))
167
- return e.map((n) => ie(n));
146
+ return e.map((n) => ee(n));
168
147
  if (e["@type"] === "@builder.io/sdk:Element")
169
148
  return e;
170
149
  const t = {};
171
150
  for (const n in e)
172
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ie(e[n]));
151
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ee(e[n]));
173
152
  return t;
174
153
  }
175
- const lt = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), st = (e) => {
176
- if (lt) {
177
- const t = re(e);
154
+ const at = ["svelte", "vue", "angular", "qwik", "solid"].includes(D), rt = (e) => {
155
+ if (at) {
156
+ const t = ie(e);
178
157
  return {
179
158
  ...t,
180
159
  properties: {
@@ -185,7 +164,7 @@ const lt = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), st = (e) =
185
164
  }
186
165
  };
187
166
  } else {
188
- const t = ie(it(e, "children", "meta"));
167
+ const t = ee(Ze(e, "children", "meta"));
189
168
  return {
190
169
  ...t,
191
170
  properties: {
@@ -198,7 +177,7 @@ const lt = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), st = (e) =
198
177
  meta: e.meta
199
178
  };
200
179
  }
201
- }, ct = ({
180
+ }, lt = ({
202
181
  block: e,
203
182
  context: t,
204
183
  localState: n,
@@ -207,21 +186,20 @@ const lt = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), st = (e) =
207
186
  }) => {
208
187
  if (!e.bindings)
209
188
  return e;
210
- const a = st(e);
189
+ const a = rt(e);
211
190
  for (const r in e.bindings) {
212
- const s = e.bindings[r], d = U({
191
+ const s = e.bindings[r], d = L({
213
192
  code: s,
214
193
  localState: n,
215
194
  rootState: i,
216
195
  rootSetState: o,
217
- context: t,
218
- enableCache: !0
196
+ context: t
219
197
  });
220
- we(a, r, d);
198
+ Ce(a, r, d);
221
199
  }
222
200
  return a;
223
201
  };
224
- function dt({
202
+ function st({
225
203
  block: e,
226
204
  context: t,
227
205
  shouldEvaluateBindings: n,
@@ -230,7 +208,7 @@ function dt({
230
208
  rootSetState: a
231
209
  }) {
232
210
  const r = e;
233
- return n ? ct({
211
+ return n ? lt({
234
212
  block: r,
235
213
  localState: i,
236
214
  rootState: o,
@@ -238,8 +216,8 @@ function dt({
238
216
  context: t
239
217
  }) : r;
240
218
  }
241
- const J = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
242
- function ut(e, t, n = {}) {
219
+ const K = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
220
+ function ct(e, t, n = {}) {
243
221
  let i, o, a, r = null, s = 0;
244
222
  const d = function() {
245
223
  s = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
@@ -247,11 +225,11 @@ function ut(e, t, n = {}) {
247
225
  return function() {
248
226
  const c = Date.now();
249
227
  !s && n.leading === !1 && (s = c);
250
- const f = t - (c - s);
251
- return i = this, o = arguments, f <= 0 || f > t ? (r && (clearTimeout(r), r = null), s = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, f)), a;
228
+ const h = t - (c - s);
229
+ return i = this, o = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), s = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, h)), a;
252
230
  };
253
231
  }
254
- function j(e, ...t) {
232
+ function O(e, ...t) {
255
233
  const n = Object(e);
256
234
  for (let i = 1; i < arguments.length; i++) {
257
235
  const o = arguments[i];
@@ -261,118 +239,118 @@ function j(e, ...t) {
261
239
  }
262
240
  return n;
263
241
  }
264
- function mt(e) {
242
+ function dt(e) {
265
243
  for (const t of e)
266
244
  switch (t.trigger) {
267
245
  case "pageLoad":
268
- Pe(t);
246
+ Re(t);
269
247
  break;
270
248
  case "scrollInView":
271
- ht(t);
249
+ mt(t);
272
250
  break;
273
251
  }
274
252
  }
275
- function Ee(e) {
253
+ function we(e) {
276
254
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
277
255
  }
278
- function Be(e, t) {
279
- const n = ft(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
256
+ function Ee(e, t) {
257
+ const n = ut(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
280
258
  for (const s of r)
281
259
  for (const d of n)
282
260
  d in s || (s[d] = i[d]);
283
261
  }
284
- function ft(e) {
262
+ function ut(e) {
285
263
  const t = [];
286
264
  for (const n of e.steps)
287
265
  for (const i in n.styles)
288
266
  t.indexOf(i) === -1 && t.push(i);
289
267
  return t;
290
268
  }
291
- function Pe(e) {
269
+ function Re(e) {
292
270
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
293
271
  if (!t.length) {
294
- Ee(e.elementId || e.id || "");
272
+ we(e.elementId || e.id || "");
295
273
  return;
296
274
  }
297
275
  Array.from(t).forEach((n) => {
298
- Be(e, n), n.style.transition = "none", n.style.transitionDelay = "0", j(n.style, e.steps[0].styles), setTimeout(() => {
299
- n.style.transition = `all ${e.duration}s ${J(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), j(n.style, e.steps[1].styles), setTimeout(() => {
276
+ Ee(e, n), n.style.transition = "none", n.style.transitionDelay = "0", O(n.style, e.steps[0].styles), setTimeout(() => {
277
+ n.style.transition = `all ${e.duration}s ${K(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), O(n.style, e.steps[1].styles), setTimeout(() => {
300
278
  n.style.transition = "", n.style.transitionDelay = "";
301
279
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
302
280
  });
303
281
  });
304
282
  }
305
- function ht(e) {
283
+ function mt(e) {
306
284
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
307
285
  if (!t.length) {
308
- Ee(e.elementId || e.id || "");
286
+ we(e.elementId || e.id || "");
309
287
  return;
310
288
  }
311
289
  Array.from(t).forEach((n) => {
312
- Be(e, n);
290
+ Ee(e, n);
313
291
  let i = !1, o = !1;
314
292
  function a() {
315
293
  !i && s(n) ? (i = !0, o = !0, setTimeout(() => {
316
- j(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
294
+ O(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
317
295
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
318
296
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
319
- })) : e.repeat && i && !o && !s(n) && (i = !1, j(n.style, e.steps[0].styles));
297
+ })) : e.repeat && i && !o && !s(n) && (i = !1, O(n.style, e.steps[0].styles));
320
298
  }
321
- const r = ut(a, 200, {
299
+ const r = ct(a, 200, {
322
300
  leading: !1
323
301
  });
324
- function s(f) {
325
- const b = f.getBoundingClientRect(), h = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * h;
326
- return b.bottom > g && b.top < h - g;
302
+ function s(h) {
303
+ const b = h.getBoundingClientRect(), f = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * f;
304
+ return b.bottom > g && b.top < f - g;
327
305
  }
328
306
  const d = e.steps[0].styles;
329
307
  function c() {
330
- j(n.style, d);
308
+ O(n.style, d);
331
309
  }
332
310
  c(), setTimeout(() => {
333
- n.style.transition = `all ${e.duration}s ${J(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
311
+ n.style.transition = `all ${e.duration}s ${K(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
334
312
  }), document.addEventListener("scroll", r, {
335
313
  capture: !0,
336
314
  passive: !0
337
315
  }), a();
338
316
  });
339
317
  }
340
- const Ve = (e) => Object.entries(e).map(([n, i]) => {
318
+ const Pe = (e) => Object.entries(e).map(([n, i]) => {
341
319
  if (typeof i == "string")
342
- return `${J(n)}: ${i};`;
343
- }).filter(ne), gt = (e) => Ve(e).join(`
344
- `), K = ({
320
+ return `${K(n)}: ${i};`;
321
+ }).filter(Z), ft = (e) => Pe(e).join(`
322
+ `), M = ({
345
323
  mediaQuery: e,
346
324
  className: t,
347
325
  styles: n
348
326
  }) => {
349
327
  const i = `.${t} {
350
- ${gt(n)}
328
+ ${ft(n)}
351
329
  }`;
352
330
  return e ? `${e} {
353
331
  ${i}
354
332
  }` : i;
355
333
  };
356
- function bt({
334
+ function ht({
357
335
  style: e
358
336
  }) {
359
337
  return e;
360
338
  }
361
- const pt = ({
339
+ const gt = ({
362
340
  block: e,
363
341
  context: t
364
- }) => Ae(bt({
342
+ }) => Be(ht({
365
343
  style: e.style || {},
366
344
  context: t,
367
345
  block: e
368
346
  }));
369
- function Ae(e) {
370
- switch (L) {
347
+ function Be(e) {
348
+ switch (D) {
371
349
  case "svelte":
372
350
  case "vue":
373
351
  case "solid":
374
352
  case "angular":
375
- return Ve(e).join(" ");
353
+ return Pe(e).join(" ");
376
354
  case "qwik":
377
355
  case "reactNative":
378
356
  case "react":
@@ -380,7 +358,7 @@ function Ae(e) {
380
358
  return e;
381
359
  }
382
360
  }
383
- const yt = ({
361
+ const bt = ({
384
362
  block: e,
385
363
  registeredComponents: t
386
364
  }) => {
@@ -394,7 +372,7 @@ const yt = ({
394
372
  console.warn(`
395
373
  Could not find a registered component named "${n}".
396
374
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
397
- }, xt = ({
375
+ }, pt = ({
398
376
  block: e,
399
377
  context: t
400
378
  }) => {
@@ -404,13 +382,12 @@ const yt = ({
404
382
  } = e;
405
383
  if (!(n != null && n.collection))
406
384
  return;
407
- const o = U({
385
+ const o = L({
408
386
  code: n.collection,
409
387
  localState: t.localState,
410
388
  rootState: t.rootState,
411
389
  rootSetState: t.rootSetState,
412
- context: t.context,
413
- enableCache: !0
390
+ context: t.context
414
391
  });
415
392
  if (!Array.isArray(o))
416
393
  return;
@@ -428,27 +405,27 @@ const yt = ({
428
405
  },
429
406
  block: i
430
407
  }));
431
- }, vt = (e, t) => {
408
+ }, yt = (e, t) => {
432
409
  var n;
433
410
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
434
411
  builderLinkComponent: t
435
412
  } : {};
436
- }, St = (e, t) => {
413
+ }, xt = (e, t) => {
437
414
  var n;
438
415
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
439
416
  builderComponents: t
440
417
  } : {};
441
- }, kt = (e, t) => {
418
+ }, vt = (e, t) => {
442
419
  var n;
443
420
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
444
421
  builderBlock: t
445
422
  } : {};
446
- }, Ct = (e, t) => {
423
+ }, St = (e, t) => {
447
424
  var n;
448
425
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
449
426
  builderContext: t
450
427
  } : {};
451
- }, We = {
428
+ }, Ve = {
452
429
  small: {
453
430
  min: 320,
454
431
  default: 321,
@@ -464,11 +441,11 @@ const yt = ({
464
441
  default: 991,
465
442
  max: 1200
466
443
  }
467
- }, fe = (e, t = We) => `@media (max-width: ${t[e].max}px)`, Fe = ({
444
+ }, de = (e, t = Ve) => `@media (max-width: ${t[e].max}px)`, Ae = ({
468
445
  small: e,
469
446
  medium: t
470
447
  }) => {
471
- const n = re(We);
448
+ const n = ie(Ve);
472
449
  if (!e || !t)
473
450
  return n;
474
451
  const i = Math.floor(e / 2);
@@ -491,7 +468,7 @@ const yt = ({
491
468
  default: a + 1
492
469
  }, n;
493
470
  };
494
- function Y(e) {
471
+ function z(e) {
495
472
  return /* @__PURE__ */ l(
496
473
  "style",
497
474
  {
@@ -501,44 +478,44 @@ function Y(e) {
501
478
  }
502
479
  );
503
480
  }
504
- function Tt(e) {
481
+ function kt(e) {
505
482
  function t() {
506
483
  const i = e.block;
507
- return ne(i.hide) ? !i.hide : ne(i.show) ? i.show : !0;
484
+ return Z(i.hide) ? !i.hide : Z(i.show) ? i.show : !0;
508
485
  }
509
486
  function n() {
510
- var x, E, C;
511
- const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Fe(
487
+ var x, R, C;
488
+ const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Ae(
512
489
  ((x = a == null ? void 0 : a.meta) == null ? void 0 : x.breakpoints) || {}
513
- ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, f = i.id;
514
- if (!f)
490
+ ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, h = i.id;
491
+ if (!h)
515
492
  return "";
516
- const b = s ? K({
517
- className: f,
493
+ const b = s ? M({
494
+ className: h,
518
495
  styles: s
519
- }) : "", h = d ? K({
520
- className: f,
496
+ }) : "", f = d ? M({
497
+ className: h,
521
498
  styles: d,
522
- mediaQuery: fe(
499
+ mediaQuery: de(
523
500
  "medium",
524
501
  r
525
502
  )
526
- }) : "", v = c ? K({
527
- className: f,
503
+ }) : "", v = c ? M({
504
+ className: h,
528
505
  styles: c,
529
- mediaQuery: fe(
506
+ mediaQuery: de(
530
507
  "small",
531
508
  r
532
509
  )
533
510
  }) : "", g = i.animations && i.animations.find((k) => k.trigger === "hover");
534
511
  let S = "";
535
512
  if (g) {
536
- const k = ((C = (E = g.steps) == null ? void 0 : E[1]) == null ? void 0 : C.styles) || {};
537
- S = K({
538
- className: `${f}:hover`,
513
+ const k = ((C = (R = g.steps) == null ? void 0 : R[1]) == null ? void 0 : C.styles) || {};
514
+ S = M({
515
+ className: `${h}:hover`,
539
516
  styles: {
540
517
  ...k,
541
- transition: `all ${g.duration}s ${J(
518
+ transition: `all ${g.duration}s ${K(
542
519
  g.easing
543
520
  )}`,
544
521
  transitionDelay: g.delay ? `${g.delay}s` : "0s"
@@ -547,13 +524,13 @@ function Tt(e) {
547
524
  }
548
525
  return [
549
526
  b,
550
- h,
527
+ f,
551
528
  v,
552
529
  S
553
530
  ].join(" ");
554
531
  }
555
532
  return /* @__PURE__ */ l(w, { children: n() && t() ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
556
- Y,
533
+ z,
557
534
  {
558
535
  id: "builderio-block",
559
536
  styles: n(),
@@ -561,29 +538,28 @@ function Tt(e) {
561
538
  }
562
539
  ) }) : null });
563
540
  }
564
- function It(e) {
541
+ function Ct(e) {
565
542
  return e.charAt(0).toUpperCase() + e.slice(1);
566
543
  }
567
- const wt = (e) => `on${It(e)}`, Rt = (e, t) => (n) => U({
544
+ const Tt = (e) => `on${Ct(e)}`, It = (e, t) => (n) => L({
568
545
  code: e,
569
546
  context: t.context,
570
547
  localState: t.localState,
571
548
  rootState: t.rootState,
572
549
  rootSetState: t.rootSetState,
573
550
  event: n,
574
- isExpression: !1,
575
- enableCache: !0
551
+ isExpression: !1
576
552
  });
577
- function Ne(e) {
553
+ function We(e) {
578
554
  var i;
579
555
  const t = {}, n = (i = e.block.actions) != null ? i : {};
580
556
  for (const o in n) {
581
557
  if (!n.hasOwnProperty(o))
582
558
  continue;
583
559
  const a = n[o];
584
- let r = wt(o);
560
+ let r = Tt(o);
585
561
  if (e.stripPrefix)
586
- switch (L) {
562
+ switch (D) {
587
563
  case "vue":
588
564
  r = r.replace("v-on:", "");
589
565
  break;
@@ -591,49 +567,49 @@ function Ne(e) {
591
567
  r = r.replace("on:", "");
592
568
  break;
593
569
  }
594
- t[r] = Rt(a, e);
570
+ t[r] = It(a, e);
595
571
  }
596
572
  return t;
597
573
  }
598
- function Et({
574
+ function wt({
599
575
  properties: e
600
576
  }) {
601
577
  return e;
602
578
  }
603
- const Bt = (e) => ({
579
+ const Et = (e) => ({
604
580
  href: e.href
605
581
  });
606
- function ce({
582
+ function re({
607
583
  block: e,
608
584
  context: t
609
585
  }) {
610
586
  var i;
611
587
  const n = {
612
- ...Bt(e),
588
+ ...Et(e),
613
589
  ...e.properties,
614
590
  "builder-id": e.id,
615
- style: pt({
591
+ style: gt({
616
592
  block: e,
617
593
  context: t
618
594
  }),
619
- [M()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
595
+ [U()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
620
596
  };
621
- return Et({
597
+ return wt({
622
598
  properties: n,
623
599
  context: t,
624
600
  block: e
625
601
  });
626
602
  }
627
- function Pt(e) {
603
+ function Rt(e) {
628
604
  return /* @__PURE__ */ l(
629
- le,
605
+ oe,
630
606
  {
631
607
  TagName: e.Wrapper,
632
- attributes: ce({
608
+ attributes: re({
633
609
  block: e.block,
634
610
  context: e.context
635
611
  }),
636
- actionAttributes: Ne({
612
+ actionAttributes: We({
637
613
  block: e.block,
638
614
  rootState: e.context.rootState,
639
615
  rootSetState: e.context.rootSetState,
@@ -645,18 +621,18 @@ function Pt(e) {
645
621
  }
646
622
  );
647
623
  }
648
- function Vt(e) {
649
- return P(() => {
624
+ function Pt(e) {
625
+ return B(() => {
650
626
  }, []), /* @__PURE__ */ l(w, { children: e.children });
651
627
  }
652
- function At(e) {
628
+ function Bt(e) {
653
629
  function t() {
654
630
  return e.includeBlockProps ? {
655
- ...ce({
631
+ ...re({
656
632
  block: e.block,
657
633
  context: e.context
658
634
  }),
659
- ...Ne({
635
+ ...We({
660
636
  block: e.block,
661
637
  rootState: e.context.rootState,
662
638
  rootSetState: e.context.rootSetState,
@@ -666,7 +642,7 @@ function At(e) {
666
642
  } : {};
667
643
  }
668
644
  return /* @__PURE__ */ l(w, { children: e.Wrapper.load ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
669
- Vt,
645
+ Pt,
670
646
  {
671
647
  load: e.Wrapper.load,
672
648
  fallback: e.Wrapper.fallback,
@@ -676,7 +652,7 @@ function At(e) {
676
652
  }
677
653
  ) }) : /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
678
654
  }
679
- const Wt = ({
655
+ const Vt = ({
680
656
  componentOptions: e,
681
657
  builderBlock: t,
682
658
  context: n,
@@ -692,7 +668,7 @@ const Wt = ({
692
668
  * component itself directly. Otherwise, they are provided to the wrapper element.
693
669
  */
694
670
  ...o ? {
695
- attributes: ce({
671
+ attributes: re({
696
672
  block: t,
697
673
  context: r
698
674
  })
@@ -706,15 +682,15 @@ const Wt = ({
706
682
  includeBlockProps: o
707
683
  } : s;
708
684
  };
709
- function he(e) {
685
+ function ue(e) {
710
686
  var i;
711
687
  const [t, n] = T(
712
- () => e.isInteractive ? At : e.componentRef
688
+ () => e.isInteractive ? Bt : e.componentRef
713
689
  );
714
690
  return /* @__PURE__ */ l(w, { children: e.componentRef ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
715
691
  t,
716
692
  {
717
- ...Wt({
693
+ ...Vt({
718
694
  componentOptions: e.componentOptions,
719
695
  builderBlock: e.builderBlock,
720
696
  context: e.context,
@@ -725,7 +701,7 @@ function he(e) {
725
701
  contextValue: e.context
726
702
  }),
727
703
  children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
728
- H,
704
+ j,
729
705
  {
730
706
  block: o,
731
707
  context: e.context,
@@ -737,10 +713,10 @@ function he(e) {
737
713
  }
738
714
  ) }) : null });
739
715
  }
740
- function ge(e) {
716
+ function me(e) {
741
717
  const [t, n] = T(() => e.repeatContext);
742
- return /* @__PURE__ */ l(se.Provider, { value: t, children: /* @__PURE__ */ l(
743
- H,
718
+ return /* @__PURE__ */ l(ae.Provider, { value: t, children: /* @__PURE__ */ l(
719
+ j,
744
720
  {
745
721
  block: e.block,
746
722
  context: t,
@@ -749,10 +725,10 @@ function ge(e) {
749
725
  }
750
726
  ) });
751
727
  }
752
- function H(e) {
753
- var f, b, h, v;
728
+ function j(e) {
729
+ var h, b, f, v;
754
730
  function t() {
755
- return xt({
731
+ return pt({
756
732
  block: e.block,
757
733
  context: e.context
758
734
  });
@@ -763,9 +739,9 @@ function H(e) {
763
739
  }));
764
740
  function o() {
765
741
  var S;
766
- if (n.value && !n.update && !ke())
742
+ if (n.value && !n.update && !xe())
767
743
  return n.value;
768
- const g = (S = e.block.repeat) != null && S.collection ? e.block : dt({
744
+ const g = (S = e.block.repeat) != null && S.collection ? e.block : st({
769
745
  block: e.block,
770
746
  localState: e.context.localState,
771
747
  rootState: e.context.rootState,
@@ -776,7 +752,7 @@ function H(e) {
776
752
  return n.value = g, n.update = !1, g;
777
753
  }
778
754
  function a() {
779
- return yt({
755
+ return bt({
780
756
  block: o(),
781
757
  registeredComponents: e.registeredComponents
782
758
  });
@@ -786,9 +762,9 @@ function H(e) {
786
762
  return e.block.tagName === "a" || ((S = o().properties) == null ? void 0 : S.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
787
763
  }
788
764
  function s() {
789
- var x, E;
765
+ var x, R;
790
766
  if ((x = e.block.repeat) != null && x.collection)
791
- return !!((E = t == null ? void 0 : t()) != null && E.length);
767
+ return !!((R = t == null ? void 0 : t()) != null && R.length);
792
768
  const g = "hide" in o() ? o().hide : !1;
793
769
  return ("show" in o() ? o().show : !0) && !g;
794
770
  }
@@ -797,16 +773,16 @@ function H(e) {
797
773
  return !((S = a == null ? void 0 : a()) != null && S.component) && !t() ? (x = o().children) != null ? x : [] : [];
798
774
  }
799
775
  function c() {
800
- var g, S, x, E;
776
+ var g, S, x, R;
801
777
  return {
802
778
  blockChildren: (g = o().children) != null ? g : [],
803
779
  componentRef: (S = a == null ? void 0 : a()) == null ? void 0 : S.component,
804
780
  componentOptions: {
805
- ...nt(o()),
806
- ...kt(a(), o()),
807
- ...Ct(a(), e.context),
808
- ...vt(a(), e.linkComponent),
809
- ...St(
781
+ ...Xe(o()),
782
+ ...vt(a(), o()),
783
+ ...St(a(), e.context),
784
+ ...yt(a(), e.linkComponent),
785
+ ...xt(
810
786
  a(),
811
787
  e.registeredComponents
812
788
  )
@@ -816,23 +792,23 @@ function H(e) {
816
792
  registeredComponents: e.registeredComponents,
817
793
  builderBlock: o(),
818
794
  includeBlockProps: ((x = a == null ? void 0 : a()) == null ? void 0 : x.noWrap) === !0,
819
- isInteractive: !((E = a == null ? void 0 : a()) != null && E.isRSC && L === "rsc")
795
+ isInteractive: !((R = a == null ? void 0 : a()) != null && R.isRSC && D === "rsc")
820
796
  };
821
797
  }
822
- return P(() => {
798
+ return B(() => {
823
799
  const g = o().id, S = o().animations;
824
- S && g && mt(
800
+ S && g && dt(
825
801
  S.map((x) => ({
826
802
  ...x,
827
803
  elementId: g
828
804
  }))
829
805
  );
830
- }, []), P(() => {
806
+ }, []), B(() => {
831
807
  n.update = !0;
832
808
  }), /* @__PURE__ */ l(w, { children: s() ? /* @__PURE__ */ V(w, { children: [
833
- /* @__PURE__ */ l(Tt, { block: o(), context: e.context }),
834
- (f = a == null ? void 0 : a()) != null && f.noWrap ? t() ? /* @__PURE__ */ l(w, { children: (v = t()) == null ? void 0 : v.map((g, S) => /* @__PURE__ */ l(
835
- ge,
809
+ /* @__PURE__ */ l(kt, { block: o(), context: e.context }),
810
+ (h = a == null ? void 0 : a()) != null && h.noWrap ? t() ? /* @__PURE__ */ l(w, { children: (v = t()) == null ? void 0 : v.map((g, S) => /* @__PURE__ */ l(
811
+ me,
836
812
  {
837
813
  repeatContext: g.context,
838
814
  block: g.block,
@@ -841,7 +817,7 @@ function H(e) {
841
817
  },
842
818
  S
843
819
  )) }) : /* @__PURE__ */ l(
844
- he,
820
+ ue,
845
821
  {
846
822
  componentRef: c().componentRef,
847
823
  componentOptions: c().componentOptions,
@@ -853,8 +829,8 @@ function H(e) {
853
829
  includeBlockProps: c().includeBlockProps,
854
830
  isInteractive: c().isInteractive
855
831
  }
856
- ) : /* @__PURE__ */ l(w, { children: t() ? /* @__PURE__ */ l(w, { children: (h = t()) == null ? void 0 : h.map((g, S) => /* @__PURE__ */ l(
857
- ge,
832
+ ) : /* @__PURE__ */ l(w, { children: t() ? /* @__PURE__ */ l(w, { children: (f = t()) == null ? void 0 : f.map((g, S) => /* @__PURE__ */ l(
833
+ me,
858
834
  {
859
835
  repeatContext: g.context,
860
836
  block: g.block,
@@ -863,14 +839,14 @@ function H(e) {
863
839
  },
864
840
  S
865
841
  )) }) : /* @__PURE__ */ V(
866
- Pt,
842
+ Rt,
867
843
  {
868
844
  Wrapper: r(),
869
845
  block: o(),
870
846
  context: e.context,
871
847
  children: [
872
848
  /* @__PURE__ */ l(
873
- he,
849
+ ue,
874
850
  {
875
851
  componentRef: c().componentRef,
876
852
  componentOptions: c().componentOptions,
@@ -884,7 +860,7 @@ function H(e) {
884
860
  }
885
861
  ),
886
862
  (b = d()) == null ? void 0 : b.map((g) => /* @__PURE__ */ l(
887
- H,
863
+ j,
888
864
  {
889
865
  block: g,
890
866
  registeredComponents: e.registeredComponents,
@@ -898,15 +874,19 @@ function H(e) {
898
874
  ) })
899
875
  ] }) : null });
900
876
  }
901
- function Ft(e) {
902
- const t = D(null);
877
+ function At(e) {
878
+ const t = $(null);
903
879
  function n() {
904
880
  var a;
905
- return "builder-blocks" + ((a = e.blocks) != null && a.length ? "" : " no-blocks");
881
+ return [
882
+ "builder-blocks",
883
+ (a = e.blocks) != null && a.length ? "" : "no-blocks",
884
+ e.classNameProp
885
+ ].filter(Boolean).join(" ");
906
886
  }
907
887
  function i() {
908
888
  var a, r;
909
- F() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
889
+ N() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
910
890
  {
911
891
  type: "builder.clickEmptyBlocks",
912
892
  data: {
@@ -919,7 +899,7 @@ function Ft(e) {
919
899
  }
920
900
  function o() {
921
901
  var a, r;
922
- F() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
902
+ N() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
923
903
  {
924
904
  type: "builder.hoverEmptyBlocks",
925
905
  data: {
@@ -930,13 +910,13 @@ function Ft(e) {
930
910
  "*"
931
911
  ));
932
912
  }
933
- return P(() => {
913
+ return B(() => {
934
914
  }, []), /* @__PURE__ */ V(w, { children: [
935
915
  /* @__PURE__ */ l(
936
916
  e.BlocksWrapper,
937
917
  {
938
918
  ref: t,
939
- className: n() + " props-blocks-wrapper-77bdc7c6",
919
+ className: n() + " props-blocks-wrapper-43ec7ac8",
940
920
  "builder-path": e.path,
941
921
  "builder-parent-id": e.parent,
942
922
  style: e.styleProp,
@@ -947,27 +927,28 @@ function Ft(e) {
947
927
  children: e.children
948
928
  }
949
929
  ),
950
- /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-77bdc7c6 {
930
+ /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-43ec7ac8 {
951
931
  display: flex;
952
932
  flex-direction: column;
953
933
  align-items: stretch;
954
934
  }` })
955
935
  ] });
956
936
  }
957
- function N(e) {
937
+ function F(e) {
958
938
  var i, o, a;
959
- const t = me(se), n = me(Re);
939
+ const t = ce(ae), n = ce(Te);
960
940
  return /* @__PURE__ */ l(
961
- Ft,
941
+ At,
962
942
  {
963
943
  blocks: e.blocks,
964
944
  parent: e.parent,
965
945
  path: e.path,
966
946
  styleProp: e.styleProp,
947
+ classNameProp: e.className,
967
948
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || t.BlocksWrapper,
968
949
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
969
950
  children: e.blocks ? /* @__PURE__ */ l(w, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
970
- H,
951
+ j,
971
952
  {
972
953
  block: r,
973
954
  linkComponent: e.linkComponent,
@@ -979,8 +960,8 @@ function N(e) {
979
960
  }
980
961
  );
981
962
  }
982
- const Nt = (e) => `builder-columns ${e}-breakpoints`;
983
- function $t(e) {
963
+ const Wt = (e) => `builder-columns ${e}-breakpoints`;
964
+ function Nt(e) {
984
965
  var k, W;
985
966
  const [t, n] = T(
986
967
  () => typeof e.space == "number" ? e.space || 0 : 20
@@ -998,7 +979,7 @@ function $t(e) {
998
979
  const y = d(m), I = t * (i.length - 1) * (y / 100);
999
980
  return `calc(${y}% - ${I}px)`;
1000
981
  }
1001
- function f({
982
+ function h({
1002
983
  stackedStyle: m,
1003
984
  desktopStyle: y
1004
985
  }) {
@@ -1010,20 +991,20 @@ function $t(e) {
1010
991
  }) {
1011
992
  return a === "never" ? y : m;
1012
993
  }
1013
- const [h, v] = T(
994
+ const [f, v] = T(
1014
995
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
1015
996
  );
1016
997
  function g() {
1017
998
  return {
1018
- "--flex-dir": h,
1019
- "--flex-dir-tablet": f({
1020
- stackedStyle: h,
999
+ "--flex-dir": f,
1000
+ "--flex-dir-tablet": h({
1001
+ stackedStyle: f,
1021
1002
  desktopStyle: "row"
1022
1003
  })
1023
1004
  };
1024
1005
  }
1025
1006
  function S(m) {
1026
- const y = m === 0 ? 0 : t, I = c(m), u = `${y}px`, p = "100%", R = 0;
1007
+ const y = m === 0 ? 0 : t, I = c(m), u = `${y}px`, p = "100%", E = 0;
1027
1008
  return {
1028
1009
  ...{
1029
1010
  display: "flex",
@@ -1037,26 +1018,26 @@ function $t(e) {
1037
1018
  desktopStyle: I
1038
1019
  }),
1039
1020
  "--column-margin-left-mobile": b({
1040
- stackedStyle: R,
1021
+ stackedStyle: E,
1041
1022
  desktopStyle: u
1042
1023
  }),
1043
- "--column-width-tablet": f({
1024
+ "--column-width-tablet": h({
1044
1025
  stackedStyle: p,
1045
1026
  desktopStyle: I
1046
1027
  }),
1047
- "--column-margin-left-tablet": f({
1048
- stackedStyle: R,
1028
+ "--column-margin-left-tablet": h({
1029
+ stackedStyle: E,
1049
1030
  desktopStyle: u
1050
1031
  })
1051
1032
  };
1052
1033
  }
1053
1034
  function x(m) {
1054
1035
  var I, u;
1055
- return Fe(
1036
+ return Ae(
1056
1037
  ((u = (I = e.builderContext.content) == null ? void 0 : I.meta) == null ? void 0 : u.breakpoints) || {}
1057
1038
  )[m].max;
1058
1039
  }
1059
- function E() {
1040
+ function R() {
1060
1041
  const m = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1061
1042
  return `
1062
1043
  @media (max-width: ${x("medium")}px) {
@@ -1089,33 +1070,33 @@ function $t(e) {
1089
1070
  ...m.link ? {
1090
1071
  href: m.link
1091
1072
  } : {},
1092
- [M()]: "builder-column",
1093
- style: Ae(S(y))
1073
+ [U()]: "builder-column",
1074
+ style: Be(S(y))
1094
1075
  };
1095
1076
  }
1096
1077
  return /* @__PURE__ */ V(w, { children: [
1097
1078
  /* @__PURE__ */ V(
1098
1079
  "div",
1099
1080
  {
1100
- className: Nt((k = e.builderBlock) == null ? void 0 : k.id) + " div-3b0f6fe2",
1081
+ className: Wt((k = e.builderBlock) == null ? void 0 : k.id) + " div-3b0f6fe2",
1101
1082
  style: g(),
1102
1083
  children: [
1103
1084
  /* @__PURE__ */ l(
1104
- Y,
1085
+ z,
1105
1086
  {
1106
1087
  id: "builderio-columns",
1107
- styles: E(),
1088
+ styles: R(),
1108
1089
  nonce: e.builderContext.nonce
1109
1090
  }
1110
1091
  ),
1111
1092
  (W = e.columns) == null ? void 0 : W.map((m, y) => /* @__PURE__ */ l(
1112
- le,
1093
+ oe,
1113
1094
  {
1114
1095
  TagName: s(m),
1115
1096
  actionAttributes: {},
1116
1097
  attributes: C(m, y),
1117
1098
  children: /* @__PURE__ */ l(
1118
- N,
1099
+ F,
1119
1100
  {
1120
1101
  path: `component.options.columns.${y}.blocks`,
1121
1102
  parent: e.builderBlock.id,
@@ -1140,72 +1121,72 @@ function $t(e) {
1140
1121
  }` })
1141
1122
  ] });
1142
1123
  }
1143
- function Dt(e) {
1124
+ function Ft(e) {
1144
1125
  return /* @__PURE__ */ l("span", { children: e.children });
1145
1126
  }
1146
- function be(e) {
1127
+ function fe(e) {
1147
1128
  return e.replace(/http(s)?:/, "");
1148
1129
  }
1149
- function Lt(e = "", t, n) {
1130
+ function $t(e = "", t, n) {
1150
1131
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1151
1132
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1152
1133
  }
1153
- function Ot(e, t) {
1134
+ function Dt(e, t) {
1154
1135
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1155
1136
  return e;
1156
1137
  if (t === "master")
1157
- return be(e);
1138
+ return fe(e);
1158
1139
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1159
1140
  if (n) {
1160
1141
  const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1161
- return be(`${i[0]}_${a}${o}`);
1142
+ return fe(`${i[0]}_${a}${o}`);
1162
1143
  }
1163
1144
  return null;
1164
1145
  }
1165
- function Q(e) {
1146
+ function J(e) {
1166
1147
  if (!e)
1167
1148
  return e;
1168
1149
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1169
1150
  if (e.match(/builder\.io/)) {
1170
1151
  let n = e;
1171
1152
  const i = Number(e.split("?width=")[1]);
1172
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Lt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1153
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${$t(e, "width", o)} ${o}w`).concat([n]).join(", ");
1173
1154
  }
1174
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ot(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1155
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Dt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1175
1156
  }
1176
- function Ut(e) {
1157
+ function Lt(e) {
1177
1158
  var o, a, r, s, d, c;
1178
1159
  function t() {
1179
- var h;
1160
+ var f;
1180
1161
  const b = e.image || e.src;
1181
1162
  if (!b || // We can auto add srcset for cdn.builder.io and shopify
1182
1163
  // images, otherwise you can supply this prop manually
1183
1164
  !(b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/)))
1184
1165
  return e.srcset;
1185
1166
  if (!e.noWebp) {
1186
- if (e.srcset && ((h = e.image) != null && h.includes("builder.io/api/v1/image"))) {
1167
+ if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1187
1168
  if (!e.srcset.includes(e.image.split("?")[0]))
1188
- return console.debug("Removed given srcset"), Q(b);
1169
+ return console.debug("Removed given srcset"), J(b);
1189
1170
  } else if (e.image && !e.srcset)
1190
- return Q(b);
1191
- return Q(b);
1171
+ return J(b);
1172
+ return J(b);
1192
1173
  }
1193
1174
  }
1194
1175
  function n() {
1195
- var f;
1196
- return (f = t == null ? void 0 : t()) != null && f.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1176
+ var h;
1177
+ return (h = t == null ? void 0 : t()) != null && h.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1197
1178
  }
1198
1179
  function i() {
1199
- const f = {
1180
+ const h = {
1200
1181
  position: "absolute",
1201
1182
  height: "100%",
1202
1183
  width: "100%",
1203
1184
  left: "0px",
1204
1185
  top: "0px"
1205
1186
  };
1206
- return e.aspectRatio ? f : void 0;
1187
+ return e.aspectRatio ? h : void 0;
1207
1188
  }
1208
- return P(() => {
1189
+ return B(() => {
1209
1190
  }, []), /* @__PURE__ */ V(w, { children: [
1210
1191
  /* @__PURE__ */ V(w, { children: [
1211
1192
  /* @__PURE__ */ V("picture", { children: [
@@ -1260,7 +1241,7 @@ function Ut(e) {
1260
1241
  }` })
1261
1242
  ] });
1262
1243
  }
1263
- function jt(e) {
1244
+ function Ot(e) {
1264
1245
  return /* @__PURE__ */ l(
1265
1246
  "section",
1266
1247
  {
@@ -1281,7 +1262,7 @@ function jt(e) {
1281
1262
  }
1282
1263
  );
1283
1264
  }
1284
- const X = {
1265
+ const G = {
1285
1266
  "@type": "@builder.io/sdk:Element",
1286
1267
  layerName: "Accordion item title",
1287
1268
  responsiveStyles: {
@@ -1310,7 +1291,7 @@ const X = {
1310
1291
  }
1311
1292
  }
1312
1293
  }]
1313
- }, Z = {
1294
+ }, Y = {
1314
1295
  "@type": "@builder.io/sdk:Element",
1315
1296
  layerName: "Accordion item detail",
1316
1297
  responsiveStyles: {
@@ -1341,7 +1322,7 @@ const X = {
1341
1322
  }
1342
1323
  }
1343
1324
  }]
1344
- }, Mt = {
1325
+ }, Ut = {
1345
1326
  name: "Builder:Accordion",
1346
1327
  canHaveChildren: !0,
1347
1328
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1358,19 +1339,19 @@ const X = {
1358
1339
  name: "title",
1359
1340
  type: "uiBlocks",
1360
1341
  hideFromUI: !0,
1361
- defaultValue: [X]
1342
+ defaultValue: [G]
1362
1343
  }, {
1363
1344
  name: "detail",
1364
1345
  type: "uiBlocks",
1365
1346
  hideFromUI: !0,
1366
- defaultValue: [Z]
1347
+ defaultValue: [Y]
1367
1348
  }],
1368
1349
  defaultValue: [{
1369
- title: [X],
1370
- detail: [Z]
1350
+ title: [G],
1351
+ detail: [Y]
1371
1352
  }, {
1372
- title: [X],
1373
- detail: [Z]
1353
+ title: [G],
1354
+ detail: [Y]
1374
1355
  }],
1375
1356
  showIf: (e) => !e.get("useChildrenForItems")
1376
1357
  }, {
@@ -1405,8 +1386,8 @@ const X = {
1405
1386
  builderComponents: !0,
1406
1387
  builderLinkComponent: !0
1407
1388
  }
1408
- }, pe = (e) => e.toString();
1409
- function Ht(e) {
1389
+ }, he = (e) => e.toString();
1390
+ function jt(e) {
1410
1391
  var b;
1411
1392
  const [t, n] = T(() => []);
1412
1393
  function i() {
@@ -1437,54 +1418,54 @@ function Ht(e) {
1437
1418
  Object.entries(v).filter(([g, S]) => S !== void 0)
1438
1419
  );
1439
1420
  }
1440
- function r(h) {
1441
- return `builder-accordion-title builder-accordion-title-${t.includes(h) ? "open" : "closed"}`;
1421
+ function r(f) {
1422
+ return `builder-accordion-title builder-accordion-title-${t.includes(f) ? "open" : "closed"}`;
1442
1423
  }
1443
- function s(h) {
1444
- return `builder-accordion-detail builder-accordion-detail-${t.includes(h) ? "open" : "closed"}`;
1424
+ function s(f) {
1425
+ return `builder-accordion-detail builder-accordion-detail-${t.includes(f) ? "open" : "closed"}`;
1445
1426
  }
1446
1427
  function d() {
1447
- let h = null;
1428
+ let f = null;
1448
1429
  if (e.grid && t.length && document) {
1449
1430
  const g = t[0];
1450
1431
  let x = document.querySelector(
1451
1432
  `.builder-accordion-title[data-index="${g}"]`
1452
1433
  );
1453
- if (h = g, x) {
1454
- let E = x.getBoundingClientRect();
1434
+ if (f = g, x) {
1435
+ let R = x.getBoundingClientRect();
1455
1436
  for (; x = x && x.nextElementSibling; )
1456
1437
  if (x) {
1457
1438
  if (x.classList.contains("builder-accordion-detail"))
1458
1439
  continue;
1459
1440
  const C = x.getBoundingClientRect();
1460
- if (C.left > E.left) {
1441
+ if (C.left > R.left) {
1461
1442
  const k = parseInt(
1462
1443
  x.getAttribute("data-index") || "",
1463
1444
  10
1464
1445
  );
1465
- isNaN(k) || (E = C, h = k);
1446
+ isNaN(k) || (R = C, f = k);
1466
1447
  } else
1467
1448
  break;
1468
1449
  }
1469
1450
  }
1470
1451
  }
1471
- return typeof h == "number" && (h = h + 1), h;
1452
+ return typeof f == "number" && (f = f + 1), f;
1472
1453
  }
1473
1454
  function c() {
1474
- const h = {
1455
+ const f = {
1475
1456
  order: typeof d() == "number" ? d() : void 0,
1476
1457
  ...e.grid && {
1477
1458
  width: "100%"
1478
1459
  }
1479
1460
  };
1480
1461
  return Object.fromEntries(
1481
- Object.entries(h).filter(([v, g]) => g !== void 0)
1462
+ Object.entries(f).filter(([v, g]) => g !== void 0)
1482
1463
  );
1483
1464
  }
1484
- function f(h) {
1485
- t.includes(h) ? n(i() ? [] : t.filter((v) => v !== h)) : n(i() ? [h] : t.concat(h));
1465
+ function h(f) {
1466
+ t.includes(f) ? n(i() ? [] : t.filter((v) => v !== f)) : n(i() ? [f] : t.concat(f));
1486
1467
  }
1487
- return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((h, v) => /* @__PURE__ */ V(w, { children: [
1468
+ return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((f, v) => /* @__PURE__ */ V(w, { children: [
1488
1469
  /* @__PURE__ */ l(
1489
1470
  "div",
1490
1471
  {
@@ -1492,14 +1473,14 @@ function Ht(e) {
1492
1473
  style: {
1493
1474
  ...a(),
1494
1475
  width: e.grid ? e.gridRowWidth : void 0,
1495
- order: d() !== null ? pe(v) : pe(v + 1)
1476
+ order: d() !== null ? he(v) : he(v + 1)
1496
1477
  },
1497
1478
  "data-index": v,
1498
- onClick: (g) => f(v),
1479
+ onClick: (g) => h(v),
1499
1480
  children: /* @__PURE__ */ l(
1500
- N,
1481
+ F,
1501
1482
  {
1502
- blocks: h.title,
1483
+ blocks: f.title,
1503
1484
  path: `items.${v}.title`,
1504
1485
  parent: e.builderBlock.id,
1505
1486
  context: e.builderContext,
@@ -1515,9 +1496,9 @@ function Ht(e) {
1515
1496
  className: s(v),
1516
1497
  style: c(),
1517
1498
  children: /* @__PURE__ */ l(
1518
- N,
1499
+ F,
1519
1500
  {
1520
- blocks: h.detail,
1501
+ blocks: f.detail,
1521
1502
  path: `items.${v}.detail`,
1522
1503
  parent: e.builderBlock.id,
1523
1504
  context: e.builderContext,
@@ -1529,7 +1510,7 @@ function Ht(e) {
1529
1510
  ) : null
1530
1511
  ] })) });
1531
1512
  }
1532
- const Kt = {
1513
+ const Mt = {
1533
1514
  name: "Core:Button",
1534
1515
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1535
1516
  defaultStyles: {
@@ -1565,7 +1546,7 @@ const Kt = {
1565
1546
  shouldReceiveBuilderProps: {
1566
1547
  builderLinkComponent: !0
1567
1548
  }
1568
- }, qt = {
1549
+ }, _t = {
1569
1550
  // TODO: ways to statically preprocess JSON for references, functions, etc
1570
1551
  name: "Columns",
1571
1552
  isRSC: !0,
@@ -1772,13 +1753,13 @@ const Kt = {
1772
1753
  builderComponents: !0,
1773
1754
  builderLinkComponent: !0
1774
1755
  }
1775
- }, _t = {
1756
+ }, Ht = {
1776
1757
  name: "Fragment",
1777
1758
  static: !0,
1778
1759
  hidden: !0,
1779
1760
  canHaveChildren: !0,
1780
1761
  noWrap: !0
1781
- }, zt = {
1762
+ }, qt = {
1782
1763
  name: "Image",
1783
1764
  static: !0,
1784
1765
  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",
@@ -1800,13 +1781,13 @@ const Kt = {
1800
1781
  e.delete("srcset"), e.delete("noWebp");
1801
1782
  function n(r, s = 6e4) {
1802
1783
  return new Promise((d, c) => {
1803
- const f = document.createElement("img");
1784
+ const h = document.createElement("img");
1804
1785
  let b = !1;
1805
- f.onload = () => {
1806
- b = !0, d(f);
1807
- }, f.addEventListener("error", (h) => {
1808
- console.warn("Image load failed", h.error), c(h.error);
1809
- }), f.src = r, setTimeout(() => {
1786
+ h.onload = () => {
1787
+ b = !0, d(h);
1788
+ }, h.addEventListener("error", (f) => {
1789
+ console.warn("Image load failed", f.error), c(f.error);
1790
+ }), h.src = r, setTimeout(() => {
1810
1791
  b || c(new Error("Image load timed out"));
1811
1792
  }, s);
1812
1793
  });
@@ -1886,7 +1867,7 @@ const Kt = {
1886
1867
  shouldReceiveBuilderProps: {
1887
1868
  builderBlock: !0
1888
1869
  }
1889
- }, Jt = {
1870
+ }, Kt = {
1890
1871
  name: "Core:Section",
1891
1872
  static: !0,
1892
1873
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1925,7 +1906,7 @@ const Kt = {
1925
1906
  }
1926
1907
  }
1927
1908
  }]
1928
- }, Yt = {
1909
+ }, zt = {
1929
1910
  name: "Slot",
1930
1911
  isRSC: !0,
1931
1912
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -1943,7 +1924,7 @@ const Kt = {
1943
1924
  builderComponents: !0
1944
1925
  }
1945
1926
  };
1946
- function Gt(e) {
1927
+ function Jt(e) {
1947
1928
  var t, n, i;
1948
1929
  return /* @__PURE__ */ l(
1949
1930
  "div",
@@ -1955,7 +1936,7 @@ function Gt(e) {
1955
1936
  "builder-slot": e.name
1956
1937
  },
1957
1938
  children: /* @__PURE__ */ l(
1958
- N,
1939
+ F,
1959
1940
  {
1960
1941
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
1961
1942
  path: `symbol.data.${e.name}`,
@@ -1967,7 +1948,7 @@ function Gt(e) {
1967
1948
  }
1968
1949
  );
1969
1950
  }
1970
- const Qt = {
1951
+ const Gt = {
1971
1952
  name: "Symbol",
1972
1953
  noWrap: !0,
1973
1954
  static: !0,
@@ -2006,7 +1987,7 @@ const Qt = {
2006
1987
  builderComponents: !0,
2007
1988
  builderLinkComponent: !0
2008
1989
  }
2009
- }, ee = {
1990
+ }, Q = {
2010
1991
  "@type": "@builder.io/sdk:Element",
2011
1992
  responsiveStyles: {
2012
1993
  large: {
@@ -2028,7 +2009,7 @@ const Qt = {
2028
2009
  text: "New tab"
2029
2010
  }
2030
2011
  }
2031
- }, te = {
2012
+ }, X = {
2032
2013
  "@type": "@builder.io/sdk:Element",
2033
2014
  responsiveStyles: {
2034
2015
  large: {
@@ -2044,7 +2025,7 @@ const Qt = {
2044
2025
  text: "New tab content "
2045
2026
  }
2046
2027
  }
2047
- }, Xt = {
2028
+ }, Yt = {
2048
2029
  name: "Builder: Tabs",
2049
2030
  inputs: [{
2050
2031
  name: "tabs",
@@ -2054,16 +2035,16 @@ const Qt = {
2054
2035
  name: "label",
2055
2036
  type: "uiBlocks",
2056
2037
  hideFromUI: !0,
2057
- defaultValue: [ee]
2038
+ defaultValue: [Q]
2058
2039
  }, {
2059
2040
  name: "content",
2060
2041
  type: "uiBlocks",
2061
2042
  hideFromUI: !0,
2062
- defaultValue: [te]
2043
+ defaultValue: [X]
2063
2044
  }],
2064
2045
  defaultValue: [{
2065
2046
  label: [{
2066
- ...ee,
2047
+ ...Q,
2067
2048
  component: {
2068
2049
  name: "Text",
2069
2050
  options: {
@@ -2072,7 +2053,7 @@ const Qt = {
2072
2053
  }
2073
2054
  }],
2074
2055
  content: [{
2075
- ...te,
2056
+ ...X,
2076
2057
  component: {
2077
2058
  name: "Text",
2078
2059
  options: {
@@ -2082,7 +2063,7 @@ const Qt = {
2082
2063
  }]
2083
2064
  }, {
2084
2065
  label: [{
2085
- ...ee,
2066
+ ...Q,
2086
2067
  component: {
2087
2068
  name: "Text",
2088
2069
  options: {
@@ -2091,7 +2072,7 @@ const Qt = {
2091
2072
  }
2092
2073
  }],
2093
2074
  content: [{
2094
- ...te,
2075
+ ...X,
2095
2076
  component: {
2096
2077
  name: "Text",
2097
2078
  options: {
@@ -2148,7 +2129,7 @@ const Qt = {
2148
2129
  builderLinkComponent: !0
2149
2130
  }
2150
2131
  };
2151
- function Zt(e) {
2132
+ function Qt(e) {
2152
2133
  var a;
2153
2134
  const [t, n] = T(
2154
2135
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2179,7 +2160,7 @@ function Zt(e) {
2179
2160
  },
2180
2161
  onClick: (d) => o(s),
2181
2162
  children: /* @__PURE__ */ l(
2182
- N,
2163
+ F,
2183
2164
  {
2184
2165
  parent: e.builderBlock.id,
2185
2166
  path: `component.options.tabs.${s}.label`,
@@ -2195,7 +2176,7 @@ function Zt(e) {
2195
2176
  }
2196
2177
  ),
2197
2178
  i(t) ? /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(
2198
- N,
2179
+ F,
2199
2180
  {
2200
2181
  parent: e.builderBlock.id,
2201
2182
  path: `component.options.tabs.${t}.content`,
@@ -2207,7 +2188,7 @@ function Zt(e) {
2207
2188
  ) }) : null
2208
2189
  ] });
2209
2190
  }
2210
- const en = {
2191
+ const Xt = {
2211
2192
  shouldReceiveBuilderProps: {
2212
2193
  builderBlock: !1,
2213
2194
  builderContext: !0
@@ -2230,7 +2211,7 @@ const en = {
2230
2211
  textAlign: "center"
2231
2212
  }
2232
2213
  };
2233
- function tn(e) {
2214
+ function Zt(e) {
2234
2215
  function t() {
2235
2216
  var s;
2236
2217
  const n = e.builderContext, {
@@ -2241,13 +2222,12 @@ function tn(e) {
2241
2222
  } = n;
2242
2223
  return String(((s = e.text) == null ? void 0 : s.toString()) || "").replace(
2243
2224
  /{{([^}]+)}}/g,
2244
- (d, c) => U({
2225
+ (d, c) => L({
2245
2226
  code: c,
2246
2227
  context: i,
2247
2228
  localState: o,
2248
2229
  rootState: a,
2249
- rootSetState: r,
2250
- enableCache: !1
2230
+ rootSetState: r
2251
2231
  })
2252
2232
  );
2253
2233
  }
@@ -2262,7 +2242,7 @@ function tn(e) {
2262
2242
  }
2263
2243
  );
2264
2244
  }
2265
- const nn = {
2245
+ const en = {
2266
2246
  name: "Custom Code",
2267
2247
  static: !0,
2268
2248
  requiredPermissions: ["editCode"],
@@ -2285,9 +2265,9 @@ const nn = {
2285
2265
  advanced: !0
2286
2266
  }]
2287
2267
  };
2288
- function on(e) {
2289
- const t = D(null), [n, i] = T(() => []), [o, a] = T(() => []);
2290
- return P(() => {
2268
+ function tn(e) {
2269
+ const t = $(null), [n, i] = T(() => []), [o, a] = T(() => []);
2270
+ return B(() => {
2291
2271
  var s;
2292
2272
  if (!((s = t.current) != null && s.getElementsByTagName) || typeof window == "undefined")
2293
2273
  return;
@@ -2298,8 +2278,8 @@ function on(e) {
2298
2278
  if (n.includes(c.src))
2299
2279
  continue;
2300
2280
  n.push(c.src);
2301
- const f = document.createElement("script");
2302
- f.async = !0, f.src = c.src, document.head.appendChild(f);
2281
+ const h = document.createElement("script");
2282
+ h.async = !0, h.src = c.src, document.head.appendChild(h);
2303
2283
  } else if (!c.type || [
2304
2284
  "text/javascript",
2305
2285
  "application/javascript",
@@ -2309,8 +2289,8 @@ function on(e) {
2309
2289
  continue;
2310
2290
  try {
2311
2291
  o.push(c.innerText), new Function(c.innerText)();
2312
- } catch (f) {
2313
- console.warn("`CustomCode`: Error running script:", f);
2292
+ } catch (h) {
2293
+ console.warn("`CustomCode`: Error running script:", h);
2314
2294
  }
2315
2295
  }
2316
2296
  }
@@ -2323,7 +2303,7 @@ function on(e) {
2323
2303
  }
2324
2304
  );
2325
2305
  }
2326
- const an = {
2306
+ const nn = {
2327
2307
  name: "Embed",
2328
2308
  static: !0,
2329
2309
  inputs: [{
@@ -2338,28 +2318,28 @@ const an = {
2338
2318
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2339
2319
  hideFromUI: !0
2340
2320
  }]
2341
- }, rn = ["text/javascript", "application/javascript", "application/ecmascript"], ln = (e) => rn.includes(e.type);
2342
- function sn(e) {
2343
- const t = D(null), [n, i] = T(() => []), [o, a] = T(() => []), [r, s] = T(() => !1);
2321
+ }, on = ["text/javascript", "application/javascript", "application/ecmascript"], an = (e) => on.includes(e.type);
2322
+ function rn(e) {
2323
+ const t = $(null), [n, i] = T(() => []), [o, a] = T(() => []), [r, s] = T(() => !1);
2344
2324
  function d() {
2345
2325
  if (!t.current || !t.current.getElementsByTagName)
2346
2326
  return;
2347
2327
  const c = t.current.getElementsByTagName("script");
2348
- for (let f = 0; f < c.length; f++) {
2349
- const b = c[f];
2328
+ for (let h = 0; h < c.length; h++) {
2329
+ const b = c[h];
2350
2330
  if (b.src && !n.includes(b.src)) {
2351
2331
  n.push(b.src);
2352
- const h = document.createElement("script");
2353
- h.async = !0, h.src = b.src, document.head.appendChild(h);
2354
- } else if (ln(b) && !o.includes(b.innerText))
2332
+ const f = document.createElement("script");
2333
+ f.async = !0, f.src = b.src, document.head.appendChild(f);
2334
+ } else if (an(b) && !o.includes(b.innerText))
2355
2335
  try {
2356
2336
  o.push(b.innerText), new Function(b.innerText)();
2357
- } catch (h) {
2358
- console.warn("`Embed`: Error running script:", h);
2337
+ } catch (f) {
2338
+ console.warn("`Embed`: Error running script:", f);
2359
2339
  }
2360
2340
  }
2361
2341
  }
2362
- return P(() => {
2342
+ return B(() => {
2363
2343
  t.current && !r && (s(!0), d());
2364
2344
  }, [t.current, r]), /* @__PURE__ */ l(
2365
2345
  "div",
@@ -2370,7 +2350,7 @@ function sn(e) {
2370
2350
  }
2371
2351
  );
2372
2352
  }
2373
- const cn = {
2353
+ const ln = {
2374
2354
  name: "Form:Form",
2375
2355
  // editableTags: ['builder-form-error']
2376
2356
  defaults: {
@@ -2607,16 +2587,13 @@ const cn = {
2607
2587
  builderComponents: !0,
2608
2588
  builderLinkComponent: !0
2609
2589
  }
2610
- }, dn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], un = () => {
2590
+ }, sn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], cn = () => {
2611
2591
  const e = process.env.NODE_ENV || "production";
2612
- return dn.includes(e) ? e : "production";
2613
- }, mn = (e, t, n) => {
2614
- const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
2615
- return i === void 0 || i === e ? n : i;
2592
+ return sn.includes(e) ? e : "production";
2616
2593
  };
2617
- function fn(e) {
2618
- var b, h;
2619
- const t = D(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2594
+ function dn(e) {
2595
+ var b, f;
2596
+ const t = $(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2620
2597
  function d(v) {
2621
2598
  var S, x;
2622
2599
  const g = {
@@ -2626,9 +2603,9 @@ function fn(e) {
2626
2603
  e.builderContext.rootSetState ? (x = (S = e.builderContext).rootSetState) == null || x.call(S, g) : e.builderContext.rootState = g;
2627
2604
  }
2628
2605
  function c() {
2629
- return F() && e.previewState || n;
2606
+ return N() && e.previewState || n;
2630
2607
  }
2631
- function f(v) {
2608
+ function h(v) {
2632
2609
  var S;
2633
2610
  const g = e.sendWithJs || e.sendSubmissionsTo === "email";
2634
2611
  if (e.sendSubmissionsTo === "zapier")
@@ -2639,29 +2616,29 @@ function fn(e) {
2639
2616
  return;
2640
2617
  }
2641
2618
  v.preventDefault();
2642
- const x = v.currentTarget || v.target, E = e.customHeaders || {};
2619
+ const x = v.currentTarget || v.target, R = e.customHeaders || {};
2643
2620
  let C;
2644
2621
  const k = new FormData(x), W = Array.from(x.querySelectorAll("input,select,textarea")).filter((u) => !!u.name).map((u) => {
2645
2622
  let p;
2646
- const R = u.name;
2623
+ const E = u.name;
2647
2624
  if (u instanceof HTMLInputElement)
2648
2625
  if (u.type === "radio") {
2649
2626
  if (u.checked)
2650
2627
  return p = u.name, {
2651
- key: R,
2628
+ key: E,
2652
2629
  value: p
2653
2630
  };
2654
2631
  } else if (u.type === "checkbox")
2655
2632
  p = u.checked;
2656
2633
  else if (u.type === "number" || u.type === "range") {
2657
- const B = u.valueAsNumber;
2658
- isNaN(B) || (p = B);
2634
+ const P = u.valueAsNumber;
2635
+ isNaN(P) || (p = P);
2659
2636
  } else
2660
2637
  u.type === "file" ? p = u.files : p = u.value;
2661
2638
  else
2662
2639
  p = u.value;
2663
2640
  return {
2664
- key: R,
2641
+ key: E,
2665
2642
  value: p
2666
2643
  };
2667
2644
  });
@@ -2672,35 +2649,35 @@ function fn(e) {
2672
2649
  C = k;
2673
2650
  else {
2674
2651
  const u = {};
2675
- Array.from(W).forEach(({ value: p, key: R }) => {
2676
- we(u, R, p);
2652
+ Array.from(W).forEach(({ value: p, key: E }) => {
2653
+ Ce(u, E, p);
2677
2654
  }), C = JSON.stringify(u);
2678
2655
  }
2679
- m && m !== "multipart/form-data" && (g && ((S = e.action) != null && S.includes("zapier.com")) || (E["content-type"] = m));
2656
+ m && m !== "multipart/form-data" && (g && ((S = e.action) != null && S.includes("zapier.com")) || (R["content-type"] = m));
2680
2657
  const y = new CustomEvent("presubmit", { detail: { body: C } });
2681
2658
  if (t.current && (t.current.dispatchEvent(y), y.defaultPrevented))
2682
2659
  return;
2683
2660
  i("sending");
2684
- const I = `${un() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2661
+ const I = `${cn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2685
2662
  e.sendSubmissionsToEmail || ""
2686
2663
  )}&name=${encodeURIComponent(e.name || "")}`;
2687
2664
  fetch(
2688
2665
  e.sendSubmissionsTo === "email" ? I : e.action,
2689
- { body: C, headers: E, method: e.method || "post" }
2666
+ { body: C, headers: R, method: e.method || "post" }
2690
2667
  ).then(
2691
2668
  async (u) => {
2692
2669
  let p;
2693
- const R = u.headers.get("content-type");
2694
- if (R && R.indexOf("application/json") !== -1 ? p = await u.json() : p = await u.text(), !u.ok && e.errorMessagePath) {
2695
- let B = mn(p, e.errorMessagePath);
2696
- B && (typeof B != "string" && (B = JSON.stringify(B)), s(B), d({ formErrorMessage: B }));
2670
+ const E = u.headers.get("content-type");
2671
+ if (E && E.indexOf("application/json") !== -1 ? p = await u.json() : p = await u.text(), !u.ok && e.errorMessagePath) {
2672
+ let P = Ie(p, e.errorMessagePath);
2673
+ P && (typeof P != "string" && (P = JSON.stringify(P)), s(P), d({ formErrorMessage: P }));
2697
2674
  }
2698
2675
  if (a(p), i(u.ok ? "success" : "error"), u.ok) {
2699
- const B = new CustomEvent("submit:success", {
2676
+ const P = new CustomEvent("submit:success", {
2700
2677
  detail: { res: u, body: p }
2701
2678
  });
2702
2679
  if (t.current) {
2703
- if (t.current.dispatchEvent(B), B.defaultPrevented)
2680
+ if (t.current.dispatchEvent(P), P.defaultPrevented)
2704
2681
  return;
2705
2682
  e.resetFormOnSubmit !== !1 && t.current.reset();
2706
2683
  }
@@ -2733,11 +2710,11 @@ function fn(e) {
2733
2710
  action: !e.sendWithJs && e.action,
2734
2711
  method: e.method,
2735
2712
  name: e.name,
2736
- onSubmit: (v) => f(v),
2713
+ onSubmit: (v) => h(v),
2737
2714
  ...e.attributes,
2738
2715
  children: [
2739
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(w, { children: (h = (b = e.builderBlock) == null ? void 0 : b.children) == null ? void 0 : h.map((v, g) => /* @__PURE__ */ l(
2740
- H,
2716
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(w, { children: (f = (b = e.builderBlock) == null ? void 0 : b.children) == null ? void 0 : f.map((v, g) => /* @__PURE__ */ l(
2717
+ j,
2741
2718
  {
2742
2719
  block: v,
2743
2720
  context: e.builderContext,
@@ -2747,7 +2724,7 @@ function fn(e) {
2747
2724
  `form-block-${g}`
2748
2725
  )) }) : null,
2749
2726
  c() === "error" ? /* @__PURE__ */ l(
2750
- N,
2727
+ F,
2751
2728
  {
2752
2729
  path: "errorMessage",
2753
2730
  blocks: e.errorMessage,
@@ -2755,7 +2732,7 @@ function fn(e) {
2755
2732
  }
2756
2733
  ) : null,
2757
2734
  c() === "sending" ? /* @__PURE__ */ l(
2758
- N,
2735
+ F,
2759
2736
  {
2760
2737
  path: "sendingMessage",
2761
2738
  blocks: e.sendingMessage,
@@ -2764,7 +2741,7 @@ function fn(e) {
2764
2741
  ) : null,
2765
2742
  c() === "error" && o ? /* @__PURE__ */ l("pre", { className: "builder-form-error-text pre-3a20f614", children: JSON.stringify(o, null, 2) }) : null,
2766
2743
  c() === "success" ? /* @__PURE__ */ l(
2767
- N,
2744
+ F,
2768
2745
  {
2769
2746
  path: "successMessage",
2770
2747
  blocks: e.successMessage,
@@ -2779,7 +2756,7 @@ function fn(e) {
2779
2756
  " "
2780
2757
  ] });
2781
2758
  }
2782
- const hn = {
2759
+ const un = {
2783
2760
  name: "Form:Input",
2784
2761
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2785
2762
  inputs: [
@@ -2831,12 +2808,12 @@ const hn = {
2831
2808
  borderColor: "#ccc"
2832
2809
  }
2833
2810
  };
2834
- function gn(e) {
2835
- return /* @__PURE__ */ Ie(
2811
+ function mn(e) {
2812
+ return /* @__PURE__ */ ke(
2836
2813
  "input",
2837
2814
  {
2838
2815
  ...e.attributes,
2839
- key: F() && e.defaultValue ? e.defaultValue : "default-key",
2816
+ key: N() && e.defaultValue ? e.defaultValue : "default-key",
2840
2817
  placeholder: e.placeholder,
2841
2818
  type: e.type,
2842
2819
  name: e.name,
@@ -2846,7 +2823,7 @@ function gn(e) {
2846
2823
  }
2847
2824
  );
2848
2825
  }
2849
- const bn = {
2826
+ const fn = {
2850
2827
  name: "Form:Select",
2851
2828
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2852
2829
  defaultStyles: {
@@ -2889,14 +2866,14 @@ const bn = {
2889
2866
  static: !0,
2890
2867
  noWrap: !0
2891
2868
  };
2892
- function pn(e) {
2869
+ function hn(e) {
2893
2870
  var t;
2894
- return /* @__PURE__ */ Ie(
2871
+ return /* @__PURE__ */ ke(
2895
2872
  "select",
2896
2873
  {
2897
2874
  ...e.attributes,
2898
2875
  value: e.value,
2899
- key: F() && e.defaultValue ? e.defaultValue : "default-key",
2876
+ key: N() && e.defaultValue ? e.defaultValue : "default-key",
2900
2877
  defaultValue: e.defaultValue,
2901
2878
  name: e.name,
2902
2879
  required: e.required
@@ -2904,7 +2881,7 @@ function pn(e) {
2904
2881
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ l("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
2905
2882
  );
2906
2883
  }
2907
- const yn = {
2884
+ const gn = {
2908
2885
  name: "Form:SubmitButton",
2909
2886
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
2910
2887
  defaultStyles: {
@@ -2930,10 +2907,10 @@ const yn = {
2930
2907
  // TODO: defaultChildren
2931
2908
  // canHaveChildren: true,
2932
2909
  };
2933
- function xn(e) {
2910
+ function bn(e) {
2934
2911
  return /* @__PURE__ */ l("button", { type: "submit", ...e.attributes, children: e.text });
2935
2912
  }
2936
- const vn = {
2913
+ const pn = {
2937
2914
  name: "Form:TextArea",
2938
2915
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
2939
2916
  inputs: [{
@@ -2970,7 +2947,7 @@ const vn = {
2970
2947
  static: !0,
2971
2948
  noWrap: !0
2972
2949
  };
2973
- function Sn(e) {
2950
+ function yn(e) {
2974
2951
  return /* @__PURE__ */ l(
2975
2952
  "textarea",
2976
2953
  {
@@ -2983,7 +2960,7 @@ function Sn(e) {
2983
2960
  }
2984
2961
  );
2985
2962
  }
2986
- const kn = {
2963
+ const xn = {
2987
2964
  // friendlyName?
2988
2965
  name: "Raw:Img",
2989
2966
  hideFromInsertMenu: !0,
@@ -2998,7 +2975,7 @@ const kn = {
2998
2975
  noWrap: !0,
2999
2976
  static: !0
3000
2977
  };
3001
- function Cn(e) {
2978
+ function vn(e) {
3002
2979
  return /* @__PURE__ */ l(
3003
2980
  "img",
3004
2981
  {
@@ -3010,10 +2987,10 @@ function Cn(e) {
3010
2987
  src: e.imgSrc || e.image,
3011
2988
  ...e.attributes
3012
2989
  },
3013
- F() && e.imgSrc || "default-key"
2990
+ N() && e.imgSrc || "default-key"
3014
2991
  );
3015
2992
  }
3016
- const Tn = {
2993
+ const Sn = {
3017
2994
  name: "Video",
3018
2995
  canHaveChildren: !0,
3019
2996
  defaultStyles: {
@@ -3098,7 +3075,7 @@ const Tn = {
3098
3075
  builderBlock: !0
3099
3076
  }
3100
3077
  };
3101
- function In(e) {
3078
+ function kn(e) {
3102
3079
  var i, o, a, r, s, d, c;
3103
3080
  function t() {
3104
3081
  return {
@@ -3199,64 +3176,64 @@ function In(e) {
3199
3176
  }
3200
3177
  );
3201
3178
  }
3202
- const wn = () => [{
3203
- component: on,
3204
- ...nn
3205
- }, {
3206
- component: sn,
3207
- ...an
3179
+ const Cn = () => [{
3180
+ component: tn,
3181
+ ...en
3208
3182
  }, {
3209
- component: fn,
3210
- ...cn
3183
+ component: rn,
3184
+ ...nn
3211
3185
  }, {
3212
- component: gn,
3213
- ...hn
3186
+ component: dn,
3187
+ ...ln
3214
3188
  }, {
3215
- component: xn,
3216
- ...yn
3189
+ component: mn,
3190
+ ...un
3217
3191
  }, {
3218
- component: pn,
3219
- ...bn
3192
+ component: bn,
3193
+ ...gn
3220
3194
  }, {
3221
- component: Sn,
3222
- ...vn
3195
+ component: hn,
3196
+ ...fn
3223
3197
  }, {
3224
- component: Cn,
3225
- ...kn
3198
+ component: yn,
3199
+ ...pn
3226
3200
  }, {
3227
- component: In,
3228
- ...Tn
3229
- }], ye = () => [{
3230
- component: tt,
3231
- ...Kt
3201
+ component: vn,
3202
+ ...xn
3232
3203
  }, {
3233
- component: $t,
3234
- ...qt
3204
+ component: kn,
3205
+ ...Sn
3206
+ }], ge = () => [{
3207
+ component: Qe,
3208
+ ...Mt
3235
3209
  }, {
3236
- component: Dt,
3210
+ component: Nt,
3237
3211
  ..._t
3238
3212
  }, {
3239
- component: Ut,
3240
- ...zt
3213
+ component: Ft,
3214
+ ...Ht
3241
3215
  }, {
3242
- component: jt,
3243
- ...Jt
3216
+ component: Lt,
3217
+ ...qt
3244
3218
  }, {
3245
- component: Gt,
3246
- ...Yt
3219
+ component: Ot,
3220
+ ...Kt
3247
3221
  }, {
3248
- component: Yn,
3249
- ...Qt
3222
+ component: Jt,
3223
+ ...zt
3250
3224
  }, {
3251
- component: tn,
3252
- ...en
3225
+ component: Kn,
3226
+ ...Gt
3253
3227
  }, {
3254
3228
  component: Zt,
3255
3229
  ...Xt
3256
3230
  }, {
3257
- component: Ht,
3258
- ...Mt
3259
- }, ...wn()], Rn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3231
+ component: Qt,
3232
+ ...Yt
3233
+ }, {
3234
+ component: jt,
3235
+ ...Ut
3236
+ }, ...Cn()], Tn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3260
3237
  function getAndSetVariantId() {
3261
3238
  function setCookie(name, value, days) {
3262
3239
  let expires = '';
@@ -3312,7 +3289,7 @@ const wn = () => [{
3312
3289
  }).join('');
3313
3290
  styleEl.innerHTML = newStyleStr;
3314
3291
  }
3315
- }`, En = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3292
+ }`, In = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3316
3293
  if (!navigator.cookieEnabled) {
3317
3294
  return;
3318
3295
  }
@@ -3346,26 +3323,26 @@ const wn = () => [{
3346
3323
  thisScriptEl?.remove();
3347
3324
  }
3348
3325
  return;
3349
- }`, $e = "builderIoAbTest", De = "builderIoRenderContent", q = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3326
+ }`, Ne = "builderIoAbTest", Fe = "builderIoRenderContent", _ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3350
3327
  ...t,
3351
3328
  testVariationId: t.id,
3352
3329
  id: e == null ? void 0 : e.id
3353
- })), Bn = ({
3330
+ })), wn = ({
3354
3331
  canTrack: e,
3355
3332
  content: t
3356
- }) => !(!(q(t).length > 0) || !e || _()), Pn = (e) => e === "react" || e === "reactNative", Le = Pn(L), Vn = () => `
3357
- window.${$e} = ${Rn}
3358
- window.${De} = ${En}
3359
- `, An = (e, t) => `
3360
- window.${$e}(
3361
- "${t}",${JSON.stringify(e)}, ${Le}
3362
- )`, Wn = ({
3333
+ }) => !(!(_(t).length > 0) || !e || H()), En = (e) => e === "react" || e === "reactNative", $e = En(D), Rn = () => `
3334
+ window.${Ne} = ${Tn}
3335
+ window.${Fe} = ${In}
3336
+ `, Pn = (e, t) => `
3337
+ window.${Ne}(
3338
+ "${t}",${JSON.stringify(e)}, ${$e}
3339
+ )`, Bn = ({
3363
3340
  contentId: e,
3364
3341
  variationId: t
3365
- }) => `window.${De}(
3366
- "${t}", "${e}", ${Le}
3342
+ }) => `window.${Fe}(
3343
+ "${t}", "${e}", ${$e}
3367
3344
  )`;
3368
- function oe(e) {
3345
+ function te(e) {
3369
3346
  return /* @__PURE__ */ l(
3370
3347
  "script",
3371
3348
  {
@@ -3375,10 +3352,10 @@ function oe(e) {
3375
3352
  }
3376
3353
  );
3377
3354
  }
3378
- function xe(e) {
3355
+ function be(e) {
3379
3356
  return Math.round(e * 1e3) / 1e3;
3380
3357
  }
3381
- const Fn = (e, t, n = !0) => {
3358
+ const Vn = (e, t, n = !0) => {
3382
3359
  if (!(e instanceof HTMLElement))
3383
3360
  return null;
3384
3361
  let i = n ? e : e.parentElement;
@@ -3389,35 +3366,35 @@ const Fn = (e, t, n = !0) => {
3389
3366
  return i;
3390
3367
  } while (i = i.parentElement);
3391
3368
  return null;
3392
- }, Nn = (e) => Fn(e, (t) => {
3369
+ }, An = (e) => Vn(e, (t) => {
3393
3370
  const n = t.getAttribute("builder-id") || t.id;
3394
3371
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3395
- }), ve = ({
3372
+ }), pe = ({
3396
3373
  event: e,
3397
3374
  target: t
3398
3375
  }) => {
3399
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = xe(i / n.width), r = xe(o / n.height);
3376
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = be(i / n.width), r = be(o / n.height);
3400
3377
  return {
3401
3378
  x: a,
3402
3379
  y: r
3403
3380
  };
3404
- }, $n = (e) => {
3405
- const t = e.target, n = t && Nn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3381
+ }, Wn = (e) => {
3382
+ const t = e.target, n = t && An(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3406
3383
  return {
3407
3384
  targetBuilderElement: i || void 0,
3408
3385
  metadata: {
3409
- targetOffset: t ? ve({
3386
+ targetOffset: t ? pe({
3410
3387
  event: e,
3411
3388
  target: t
3412
3389
  }) : void 0,
3413
- builderTargetOffset: n ? ve({
3390
+ builderTargetOffset: n ? pe({
3414
3391
  event: e,
3415
3392
  target: n
3416
3393
  }) : void 0,
3417
3394
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
3418
3395
  }
3419
3396
  };
3420
- }, Dn = (e) => {
3397
+ }, Nn = (e) => {
3421
3398
  var a, r;
3422
3399
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
3423
3400
  let o = "";
@@ -3443,15 +3420,15 @@ font-weight: ${s};
3443
3420
  `.trim());
3444
3421
  }
3445
3422
  return o;
3446
- }, Ln = ({
3423
+ }, Fn = ({
3447
3424
  customFonts: e
3448
3425
  }) => {
3449
3426
  var t;
3450
- return ((t = e == null ? void 0 : e.map((n) => Dn(n))) == null ? void 0 : t.join(" ")) || "";
3451
- }, On = ({
3427
+ return ((t = e == null ? void 0 : e.map((n) => Nn(n))) == null ? void 0 : t.join(" ")) || "";
3428
+ }, $n = ({
3452
3429
  cssCode: e,
3453
3430
  contentId: t
3454
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Un = `
3431
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Dn = `
3455
3432
  .builder-button {
3456
3433
  all: unset;
3457
3434
  }
@@ -3468,10 +3445,10 @@ font-weight: ${s};
3468
3445
  text-align: inherit;
3469
3446
  font-family: inherit;
3470
3447
  }
3471
- `, jn = (e) => e ? "" : Un, Mn = (e) => `variant-${e}`;
3472
- function Hn(e) {
3448
+ `, Ln = (e) => e ? "" : Dn, On = (e) => `variant-${e}`;
3449
+ function Un(e) {
3473
3450
  var C, k, W;
3474
- const t = D(null);
3451
+ const t = $(null);
3475
3452
  function n(m) {
3476
3453
  var I, u;
3477
3454
  const y = {
@@ -3484,7 +3461,7 @@ function Hn(e) {
3484
3461
  }));
3485
3462
  }
3486
3463
  function i(m) {
3487
- var I, u, p, R, B;
3464
+ var I, u, p, E, P;
3488
3465
  const y = {
3489
3466
  ...e.builderContextSignal.content,
3490
3467
  ...m,
@@ -3495,7 +3472,7 @@ function Hn(e) {
3495
3472
  meta: {
3496
3473
  ...(u = e.builderContextSignal.content) == null ? void 0 : u.meta,
3497
3474
  ...m == null ? void 0 : m.meta,
3498
- breakpoints: ((p = m == null ? void 0 : m.meta) == null ? void 0 : p.breakpoints) || ((B = (R = e.builderContextSignal.content) == null ? void 0 : R.meta) == null ? void 0 : B.breakpoints)
3475
+ breakpoints: ((p = m == null ? void 0 : m.meta) == null ? void 0 : p.breakpoints) || ((P = (E = e.builderContextSignal.content) == null ? void 0 : E.meta) == null ? void 0 : P.breakpoints)
3499
3476
  }
3500
3477
  };
3501
3478
  e.setBuilderContextSignal((A) => ({
@@ -3513,7 +3490,7 @@ function Hn(e) {
3513
3490
  () => e.contentWrapper || "div"
3514
3491
  );
3515
3492
  function s(m) {
3516
- return qe({
3493
+ return je({
3517
3494
  model: e.model,
3518
3495
  trustedHosts: e.trustedHosts,
3519
3496
  callbacks: {
@@ -3527,7 +3504,7 @@ function Hn(e) {
3527
3504
  });
3528
3505
  },
3529
3506
  animation: (y) => {
3530
- Pe(y);
3507
+ Re(y);
3531
3508
  },
3532
3509
  contentUpdate: (y) => {
3533
3510
  i(y);
@@ -3535,61 +3512,60 @@ function Hn(e) {
3535
3512
  }
3536
3513
  })(m);
3537
3514
  }
3538
- const [d, c] = T(() => ({})), [f, b] = T(() => ({})), [h, v] = T(() => !1);
3515
+ const [d, c] = T(() => ({})), [h, b] = T(() => ({})), [f, v] = T(() => !1);
3539
3516
  function g(m) {
3540
3517
  var y, I;
3541
3518
  if (e.builderContextSignal.content) {
3542
3519
  const u = (y = e.builderContextSignal.content) == null ? void 0 : y.testVariationId, p = (I = e.builderContextSignal.content) == null ? void 0 : I.id;
3543
- de({
3520
+ le({
3544
3521
  type: "click",
3545
- canTrack: z(e.canTrack),
3522
+ canTrack: q(e.canTrack),
3546
3523
  contentId: p,
3547
3524
  apiKey: e.apiKey,
3548
3525
  variationId: u !== p ? u : void 0,
3549
- ...$n(m),
3550
- unique: !h
3526
+ ...Wn(m),
3527
+ unique: !f
3551
3528
  });
3552
3529
  }
3553
- h || v(!0);
3530
+ f || v(!0);
3554
3531
  }
3555
3532
  function S() {
3556
3533
  var y, I, u;
3557
3534
  const m = (u = (I = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : I.httpRequests) != null ? u : {};
3558
- Object.entries(m).forEach(([p, R]) => {
3559
- if (!R || f[p] || d[p] && !F())
3535
+ Object.entries(m).forEach(([p, E]) => {
3536
+ if (!E || h[p] || d[p] && !N())
3560
3537
  return;
3561
- f[p] = !0;
3562
- const B = R.replace(
3538
+ h[p] = !0;
3539
+ const P = E.replace(
3563
3540
  /{{([^}]+)}}/g,
3564
- (A, Oe) => String(
3565
- U({
3566
- code: Oe,
3541
+ (A, De) => String(
3542
+ L({
3543
+ code: De,
3567
3544
  context: e.context || {},
3568
3545
  localState: void 0,
3569
3546
  rootState: e.builderContextSignal.rootState,
3570
- rootSetState: e.builderContextSignal.rootSetState,
3571
- enableCache: !0
3547
+ rootSetState: e.builderContextSignal.rootSetState
3572
3548
  })
3573
3549
  )
3574
3550
  );
3575
- fetch(B).then((A) => A.json()).then((A) => {
3551
+ fetch(P).then((A) => A.json()).then((A) => {
3576
3552
  n({
3577
3553
  [p]: A
3578
3554
  }), d[p] = !0;
3579
3555
  }).catch((A) => {
3580
- console.error("error fetching dynamic data", R, A);
3556
+ console.error("error fetching dynamic data", E, A);
3581
3557
  }).finally(() => {
3582
- f[p] = !1;
3558
+ h[p] = !1;
3583
3559
  });
3584
3560
  });
3585
3561
  }
3586
3562
  function x() {
3587
- F() && window.dispatchEvent(
3563
+ N() && window.dispatchEvent(
3588
3564
  new CustomEvent(
3589
3565
  "builder:component:stateChange",
3590
3566
  {
3591
3567
  detail: {
3592
- state: re(e.builderContextSignal.rootState),
3568
+ state: ie(e.builderContextSignal.rootState),
3593
3569
  ref: {
3594
3570
  name: e.model
3595
3571
  }
@@ -3598,11 +3574,11 @@ function Hn(e) {
3598
3574
  )
3599
3575
  );
3600
3576
  }
3601
- const E = D(!1);
3602
- return E.current || (S(), x(), E.current = !0), P(() => {
3577
+ const R = $(!1);
3578
+ return R.current || (S(), x(), R.current = !0), B(() => {
3603
3579
  var m, y;
3604
- if (_()) {
3605
- if (F() && (window.addEventListener("message", s), Me(), He({
3580
+ if (H()) {
3581
+ if (N() && (window.addEventListener("message", s), Le(), Oe({
3606
3582
  ...e.locale ? {
3607
3583
  locale: e.locale
3608
3584
  } : {},
@@ -3615,27 +3591,27 @@ function Hn(e) {
3615
3591
  }), Object.values(
3616
3592
  e.builderContextSignal.componentInfos
3617
3593
  ).forEach((u) => {
3618
- var R;
3619
- const p = Ke(u);
3620
- (R = window.parent) == null || R.postMessage(p, "*");
3594
+ var E;
3595
+ const p = Ue(u);
3596
+ (E = window.parent) == null || E.postMessage(p, "*");
3621
3597
  }), window.addEventListener(
3622
3598
  "builder:component:stateChangeListenerActivated",
3623
3599
  x
3624
- )), e.builderContextSignal.content && z(e.canTrack)) {
3625
- const u = (m = e.builderContextSignal.content) == null ? void 0 : m.testVariationId, p = (y = e.builderContextSignal.content) == null ? void 0 : y.id, R = e.apiKey;
3626
- de({
3600
+ )), e.builderContextSignal.content && q(e.canTrack)) {
3601
+ const u = (m = e.builderContextSignal.content) == null ? void 0 : m.testVariationId, p = (y = e.builderContextSignal.content) == null ? void 0 : y.id, E = e.apiKey;
3602
+ le({
3627
3603
  type: "impression",
3628
3604
  canTrack: !0,
3629
3605
  contentId: p,
3630
- apiKey: R,
3606
+ apiKey: E,
3631
3607
  variationId: u !== p ? u : void 0
3632
3608
  });
3633
3609
  }
3634
- if (ke() && !F()) {
3635
- const u = new URL(location.href).searchParams, p = u.get("builder.preview"), R = u.get(
3610
+ if (xe() && !N()) {
3611
+ const u = new URL(location.href).searchParams, p = u.get("builder.preview"), E = u.get(
3636
3612
  `builder.overrides.${p}`
3637
- ), B = u.get("apiKey") || u.get("builder.space");
3638
- p === e.model && B === e.apiKey && (!e.content || R === e.content.id) && Ce({
3613
+ ), P = u.get("apiKey") || u.get("builder.space");
3614
+ p === e.model && P === e.apiKey && (!e.content || E === e.content.id) && ve({
3639
3615
  model: e.model,
3640
3616
  apiKey: e.apiKey,
3641
3617
  apiVersion: e.builderContextSignal.apiVersion
@@ -3644,29 +3620,29 @@ function Hn(e) {
3644
3620
  });
3645
3621
  }
3646
3622
  }
3647
- }, []), P(() => {
3623
+ }, []), B(() => {
3648
3624
  e.content && i(e.content);
3649
- }, [e.content]), P(() => {
3625
+ }, [e.content]), B(() => {
3650
3626
  x();
3651
- }, [e.builderContextSignal.rootState]), P(() => {
3627
+ }, [e.builderContextSignal.rootState]), B(() => {
3652
3628
  e.data && n(e.data);
3653
- }, [e.data]), P(() => {
3629
+ }, [e.data]), B(() => {
3654
3630
  e.locale && n({
3655
3631
  locale: e.locale
3656
3632
  });
3657
- }, [e.locale]), P(() => () => {
3658
- _() && (window.removeEventListener("message", s), window.removeEventListener(
3633
+ }, [e.locale]), B(() => () => {
3634
+ H() && (window.removeEventListener("message", s), window.removeEventListener(
3659
3635
  "builder:component:stateChangeListenerActivated",
3660
3636
  x
3661
3637
  ));
3662
- }, []), /* @__PURE__ */ l(se.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3638
+ }, []), /* @__PURE__ */ l(ae.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3663
3639
  a,
3664
3640
  {
3665
3641
  ref: t,
3666
3642
  onClick: (m) => g(m),
3667
3643
  "builder-content-id": (C = e.builderContextSignal.content) == null ? void 0 : C.id,
3668
3644
  "builder-model": e.model,
3669
- className: Mn(
3645
+ className: On(
3670
3646
  ((k = e.content) == null ? void 0 : k.testVariationId) || ((W = e.content) == null ? void 0 : W.id)
3671
3647
  ),
3672
3648
  ...o(),
@@ -3675,21 +3651,21 @@ function Hn(e) {
3675
3651
  }
3676
3652
  ) : null });
3677
3653
  }
3678
- function Kn(e) {
3654
+ function jn(e) {
3679
3655
  const [t, n] = T(
3680
3656
  () => `
3681
- ${On({
3657
+ ${$n({
3682
3658
  cssCode: e.cssCode,
3683
3659
  contentId: e.contentId
3684
3660
  })}
3685
- ${Ln({
3661
+ ${Fn({
3686
3662
  customFonts: e.customFonts
3687
3663
  })}
3688
- ${jn(e.isNestedRender)}
3664
+ ${Ln(e.isNestedRender)}
3689
3665
  `.trim()
3690
3666
  );
3691
3667
  return /* @__PURE__ */ l(
3692
- Y,
3668
+ z,
3693
3669
  {
3694
3670
  id: "builderio-content",
3695
3671
  styles: t,
@@ -3697,7 +3673,7 @@ ${jn(e.isNestedRender)}
3697
3673
  }
3698
3674
  );
3699
3675
  }
3700
- const qn = ({
3676
+ const Mn = ({
3701
3677
  content: e,
3702
3678
  data: t,
3703
3679
  locale: n
@@ -3725,12 +3701,12 @@ const qn = ({
3725
3701
  },
3726
3702
  meta: e == null ? void 0 : e.meta
3727
3703
  } : void 0;
3728
- function Se(e) {
3729
- var c, f, b, h, v, g, S, x, E;
3704
+ function ye(e) {
3705
+ var c, h, b, f, v, g, S, x, R;
3730
3706
  const [t, n] = T(
3731
3707
  () => {
3732
3708
  var C, k;
3733
- return Wn({
3709
+ return Bn({
3734
3710
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3735
3711
  variationId: (C = e.content) == null ? void 0 : C.testVariationId,
3736
3712
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -3748,14 +3724,14 @@ function Se(e) {
3748
3724
  () => {
3749
3725
  var C;
3750
3726
  return [
3751
- ...ye(),
3727
+ ...ge(),
3752
3728
  ...((C = e.customComponents) == null ? void 0 : C.filter(({ models: k }) => !(k != null && k.length) || !e.model ? !0 : k.includes(e.model))) || []
3753
3729
  ].reduce(
3754
3730
  (k, { component: W, ...m }) => ({
3755
3731
  ...k,
3756
3732
  [m.name]: {
3757
3733
  component: W,
3758
- ...ue(m)
3734
+ ...se(m)
3759
3735
  }
3760
3736
  }),
3761
3737
  {}
@@ -3769,7 +3745,7 @@ function Se(e) {
3769
3745
  data: e.data
3770
3746
  }),
3771
3747
  localState: void 0,
3772
- rootState: qn({
3748
+ rootState: Mn({
3773
3749
  content: e.content,
3774
3750
  data: e.data,
3775
3751
  locale: e.locale
@@ -3780,12 +3756,12 @@ function Se(e) {
3780
3756
  apiKey: e.apiKey,
3781
3757
  apiVersion: e.apiVersion,
3782
3758
  componentInfos: [
3783
- ...ye(),
3759
+ ...ge(),
3784
3760
  ...((C = e.customComponents) == null ? void 0 : C.filter(({ models: k }) => !(k != null && k.length) || !e.model ? !0 : k.includes(e.model))) || []
3785
3761
  ].reduce(
3786
3762
  (k, { component: W, ...m }) => ({
3787
3763
  ...k,
3788
- [m.name]: ue(m)
3764
+ [m.name]: se(m)
3789
3765
  }),
3790
3766
  {}
3791
3767
  ),
@@ -3794,13 +3770,13 @@ function Se(e) {
3794
3770
  BlocksWrapperProps: e.blocksWrapperProps || {},
3795
3771
  nonce: e.nonce || ""
3796
3772
  };
3797
- }), d = D(!1);
3773
+ }), d = $(!1);
3798
3774
  if (!d.current) {
3799
- e.apiKey || ae.error(
3775
+ e.apiKey || ne.error(
3800
3776
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3801
3777
  );
3802
- const C = (f = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : f.jsCode;
3803
- C && U({
3778
+ const C = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
3779
+ C && L({
3804
3780
  code: C,
3805
3781
  context: e.context || {},
3806
3782
  localState: void 0,
@@ -3808,21 +3784,17 @@ function Se(e) {
3808
3784
  rootSetState: (k) => {
3809
3785
  Object.assign(r.rootState, k);
3810
3786
  },
3811
- isExpression: !1,
3812
- /**
3813
- * We don't want to cache the result of the JS code, since it's arbitrary side effect code.
3814
- */
3815
- enableCache: !1
3787
+ isExpression: !1
3816
3788
  }), d.current = !0;
3817
3789
  }
3818
3790
  return /* @__PURE__ */ l(
3819
- Re.Provider,
3791
+ Te.Provider,
3820
3792
  {
3821
3793
  value: {
3822
3794
  registeredComponents: o
3823
3795
  },
3824
3796
  children: /* @__PURE__ */ V(
3825
- Hn,
3797
+ Un,
3826
3798
  {
3827
3799
  nonce: e.nonce,
3828
3800
  content: e.content,
@@ -3841,7 +3813,7 @@ function Se(e) {
3841
3813
  setBuilderContextSignal: s,
3842
3814
  children: [
3843
3815
  e.isSsrAbTest ? /* @__PURE__ */ l(
3844
- oe,
3816
+ te,
3845
3817
  {
3846
3818
  id: "builderio-variant-visibility",
3847
3819
  scriptStr: t,
@@ -3849,19 +3821,19 @@ function Se(e) {
3849
3821
  }
3850
3822
  ) : null,
3851
3823
  /* @__PURE__ */ l(
3852
- Kn,
3824
+ jn,
3853
3825
  {
3854
3826
  nonce: e.nonce || "",
3855
3827
  isNestedRender: e.isNestedRender,
3856
3828
  contentId: (b = r.content) == null ? void 0 : b.id,
3857
- cssCode: (v = (h = r.content) == null ? void 0 : h.data) == null ? void 0 : v.cssCode,
3829
+ cssCode: (v = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : v.cssCode,
3858
3830
  customFonts: (S = (g = r.content) == null ? void 0 : g.data) == null ? void 0 : S.customFonts
3859
3831
  }
3860
3832
  ),
3861
3833
  /* @__PURE__ */ l(
3862
- N,
3834
+ F,
3863
3835
  {
3864
- blocks: (E = (x = r.content) == null ? void 0 : x.data) == null ? void 0 : E.blocks,
3836
+ blocks: (R = (x = r.content) == null ? void 0 : x.data) == null ? void 0 : R.blocks,
3865
3837
  context: r,
3866
3838
  registeredComponents: o,
3867
3839
  linkComponent: e.linkComponent
@@ -3873,18 +3845,18 @@ function Se(e) {
3873
3845
  }
3874
3846
  );
3875
3847
  }
3876
- function zn(e) {
3848
+ function Hn(e) {
3877
3849
  var r;
3878
3850
  const [t, n] = T(
3879
- () => Bn({
3880
- canTrack: z(e.canTrack),
3851
+ () => wn({
3852
+ canTrack: q(e.canTrack),
3881
3853
  content: e.content
3882
3854
  })
3883
3855
  );
3884
3856
  function i() {
3885
3857
  var s;
3886
- return An(
3887
- q(e.content).map((d) => ({
3858
+ return Pn(
3859
+ _(e.content).map((d) => ({
3888
3860
  id: d.testVariationId,
3889
3861
  testRatio: d.testRatio
3890
3862
  })),
@@ -3892,31 +3864,31 @@ function zn(e) {
3892
3864
  );
3893
3865
  }
3894
3866
  function o() {
3895
- return q(e.content).map((s) => `.variant-${s.testVariationId} { display: none; } `).join("");
3867
+ return _(e.content).map((s) => `.variant-${s.testVariationId} { display: none; } `).join("");
3896
3868
  }
3897
3869
  function a() {
3898
3870
  var s;
3899
3871
  return t ? {
3900
3872
  ...e.content,
3901
3873
  testVariationId: (s = e.content) == null ? void 0 : s.id
3902
- } : _e({
3874
+ } : Me({
3903
3875
  item: e.content,
3904
- canTrack: z(e.canTrack)
3876
+ canTrack: q(e.canTrack)
3905
3877
  });
3906
3878
  }
3907
- return P(() => {
3879
+ return B(() => {
3908
3880
  }, []), /* @__PURE__ */ V(w, { children: [
3909
- !e.isNestedRender && L !== "reactNative" ? /* @__PURE__ */ l(
3910
- oe,
3881
+ !e.isNestedRender && D !== "reactNative" ? /* @__PURE__ */ l(
3882
+ te,
3911
3883
  {
3912
3884
  id: "builderio-init-variants-fns",
3913
- scriptStr: Vn(),
3885
+ scriptStr: Rn(),
3914
3886
  nonce: e.nonce || ""
3915
3887
  }
3916
3888
  ) : null,
3917
3889
  t ? /* @__PURE__ */ V(w, { children: [
3918
3890
  /* @__PURE__ */ l(
3919
- Y,
3891
+ z,
3920
3892
  {
3921
3893
  id: "builderio-variants",
3922
3894
  styles: o(),
@@ -3924,15 +3896,15 @@ function zn(e) {
3924
3896
  }
3925
3897
  ),
3926
3898
  /* @__PURE__ */ l(
3927
- oe,
3899
+ te,
3928
3900
  {
3929
3901
  id: "builderio-variants-visibility",
3930
3902
  scriptStr: i(),
3931
3903
  nonce: e.nonce || ""
3932
3904
  }
3933
3905
  ),
3934
- (r = q(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
3935
- Se,
3906
+ (r = _(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
3907
+ ye,
3936
3908
  {
3937
3909
  isNestedRender: e.isNestedRender,
3938
3910
  nonce: e.nonce,
@@ -3959,7 +3931,7 @@ function zn(e) {
3959
3931
  ))
3960
3932
  ] }) : null,
3961
3933
  /* @__PURE__ */ l(
3962
- Se,
3934
+ ye,
3963
3935
  {
3964
3936
  nonce: e.nonce,
3965
3937
  isNestedRender: e.isNestedRender,
@@ -3985,13 +3957,13 @@ function zn(e) {
3985
3957
  )
3986
3958
  ] });
3987
3959
  }
3988
- const Jn = async ({
3960
+ const qn = async ({
3989
3961
  builderContextValue: e,
3990
3962
  symbol: t
3991
3963
  }) => {
3992
3964
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
3993
3965
  (e != null && e.apiKey))
3994
- return Ce({
3966
+ return ve({
3995
3967
  model: t.model,
3996
3968
  apiKey: e.apiKey,
3997
3969
  apiVersion: e.apiVersion,
@@ -4001,11 +3973,11 @@ const Jn = async ({
4001
3973
  }
4002
3974
  }
4003
3975
  }).catch((n) => {
4004
- ae.error("Could not fetch symbol content: ", n);
3976
+ ne.error("Could not fetch symbol content: ", n);
4005
3977
  });
4006
3978
  };
4007
- function Yn(e) {
4008
- var s, d, c, f;
3979
+ function Kn(e) {
3980
+ var s, d, c, h;
4009
3981
  function t() {
4010
3982
  return "div";
4011
3983
  }
@@ -4013,12 +3985,12 @@ function Yn(e) {
4013
3985
  return "div";
4014
3986
  }
4015
3987
  function i() {
4016
- var b, h;
3988
+ var b, f;
4017
3989
  return [
4018
- e.attributes[M()],
3990
+ e.attributes[U()],
4019
3991
  "builder-symbol",
4020
3992
  (b = e.symbol) != null && b.inline ? "builder-inline-symbol" : void 0,
4021
- (h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
3993
+ (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4022
3994
  ].filter(Boolean).join(" ");
4023
3995
  }
4024
3996
  const [o, a] = T(() => {
@@ -4026,18 +3998,18 @@ function Yn(e) {
4026
3998
  return (b = e.symbol) == null ? void 0 : b.content;
4027
3999
  });
4028
4000
  function r() {
4029
- o || Jn({
4001
+ o || qn({
4030
4002
  symbol: e.symbol,
4031
4003
  builderContextValue: e.builderContext
4032
4004
  }).then((b) => {
4033
4005
  b && a(b);
4034
4006
  });
4035
4007
  }
4036
- return P(() => {
4037
- }, []), P(() => {
4008
+ return B(() => {
4009
+ }, []), B(() => {
4038
4010
  r();
4039
4011
  }, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ l(
4040
- zn,
4012
+ Hn,
4041
4013
  {
4042
4014
  nonce: e.builderContext.nonce,
4043
4015
  isNestedRender: !0,
@@ -4054,7 +4026,7 @@ function Yn(e) {
4054
4026
  ...(c = o == null ? void 0 : o.data) == null ? void 0 : c.state
4055
4027
  },
4056
4028
  canTrack: e.builderContext.canTrack,
4057
- model: (f = e.symbol) == null ? void 0 : f.model,
4029
+ model: (h = e.symbol) == null ? void 0 : h.model,
4058
4030
  content: o,
4059
4031
  linkComponent: e.builderLinkComponent,
4060
4032
  blocksWrapper: t(),
@@ -4063,15 +4035,15 @@ function Yn(e) {
4063
4035
  ) });
4064
4036
  }
4065
4037
  export {
4066
- N as Blocks,
4067
- se as BuilderContext,
4068
- tt as Button,
4069
- $t as Columns,
4070
- zn as Content,
4071
- Dt as Fragment,
4072
- Ut as Image,
4073
- jt as Section,
4074
- Yn as Symbol,
4075
- tn as Text,
4076
- In as Video
4038
+ F as Blocks,
4039
+ ae as BuilderContext,
4040
+ Qe as Button,
4041
+ Nt as Columns,
4042
+ Hn as Content,
4043
+ Ft as Fragment,
4044
+ Lt as Image,
4045
+ Ot as Section,
4046
+ Kn as Symbol,
4047
+ Zt as Text,
4048
+ kn as Video
4077
4049
  };