@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,16 +1,13 @@
1
1
  "use client";
2
- var je = Object.defineProperty;
3
- var He = (e, t, n) => t in e ? je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var X = (e, t, n) => (He(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, isEditing as N, isBrowser as U, getUserAttributes as Ke, checkIsDefined as z, logger as Y, isPreviewing as Ce, registerInsertMenu as qe, setupBrowserForEditing as _e, createRegisterComponentMessage as ze, getDefaultCanTrack as J, _track as de, fetchOneEntry as Te, createEditorListener as Je, serializeIncludingFunctions as ue, handleABTestingSync as Ye } from "./server-entry-b83ba684.js";
7
- import { createContext as Ie, useEffect as P, useState as T, useRef as D, useContext as me, createElement as we } from "react";
8
- const Ge = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Qe = (e) => typeof e == "string" && Ge.has(e.toLowerCase());
9
- function re(e) {
10
- return /* @__PURE__ */ l(w, { children: Qe(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 }) }) });
3
+ import { TARGET as D, isEditing as W, isBrowser as L, getUserAttributes as Ue, checkIsDefined as q, logger as z, isPreviewing as ve, registerInsertMenu as je, setupBrowserForEditing as Me, createRegisterComponentMessage as _e, getDefaultCanTrack as K, _track as le, fetchOneEntry as Se, createEditorListener as He, serializeIncludingFunctions as se, handleABTestingSync as qe } from "./server-entry-e7cbd2fc.js";
4
+ import { createContext as ke, useEffect as B, useState as T, useRef as $, useContext as ce, createElement as Ce } from "react";
5
+ const Ke = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ze = (e) => typeof e == "string" && Ke.has(e.toLowerCase());
6
+ function ie(e) {
7
+ return /* @__PURE__ */ l(w, { children: ze(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 }) }) });
11
8
  }
12
- const H = () => {
13
- switch (L) {
9
+ const j = () => {
10
+ switch (D) {
14
11
  case "react":
15
12
  case "reactNative":
16
13
  case "rsc":
@@ -23,11 +20,11 @@ const H = () => {
23
20
  return "class";
24
21
  }
25
22
  };
26
- function Xe(e) {
23
+ function Je(e) {
27
24
  function t() {
28
25
  return {
29
26
  ...e.attributes,
30
- [H()]: `${e.link ? "" : "builder-button"} ${e.attributes[H()] || ""}`,
27
+ [j()]: `${e.link ? "" : "builder-button"} ${e.attributes[j()] || ""}`,
31
28
  ...e.link ? {
32
29
  href: e.link,
33
30
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -38,7 +35,7 @@ function Xe(e) {
38
35
  };
39
36
  }
40
37
  return /* @__PURE__ */ l(
41
- re,
38
+ ie,
42
39
  {
43
40
  attributes: t(),
44
41
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
@@ -47,7 +44,7 @@ function Xe(e) {
47
44
  }
48
45
  );
49
46
  }
50
- const le = Ie({
47
+ const oe = ke({
51
48
  content: null,
52
49
  context: {},
53
50
  localState: void 0,
@@ -61,21 +58,24 @@ const le = Ie({
61
58
  BlocksWrapper: "div",
62
59
  BlocksWrapperProps: {},
63
60
  nonce: ""
64
- }), Ee = Ie({ registeredComponents: {} });
65
- function Ze(e) {
61
+ }), Te = ke({ registeredComponents: {} });
62
+ function Ge(e) {
66
63
  var t;
67
64
  return {
68
65
  ...(t = e.component) == null ? void 0 : t.options,
69
66
  ...e.options
70
67
  };
71
68
  }
72
- function et(e, ...t) {
69
+ function Ye(e, ...t) {
73
70
  const n = Object.assign({}, e);
74
71
  for (const i of t)
75
72
  delete n[i];
76
73
  return n;
77
74
  }
78
- const tt = ({
75
+ const Ie = (e, t, n) => {
76
+ const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
77
+ return i === void 0 || i === e ? n : i;
78
+ }, Qe = ({
79
79
  builder: e,
80
80
  context: t,
81
81
  event: n,
@@ -87,15 +87,15 @@ const tt = ({
87
87
  builder: e,
88
88
  context: t,
89
89
  event: n
90
- }), nt = () => ({
91
- isEditing: N(),
92
- isBrowser: U(),
93
- isServer: !U(),
94
- getUserAttributes: () => Ke()
95
- }), it = (e, {
90
+ }), Xe = () => ({
91
+ isEditing: W(),
92
+ isBrowser: L(),
93
+ isServer: !L(),
94
+ getUserAttributes: () => Ue()
95
+ }), Ze = (e, {
96
96
  isExpression: t = !0
97
97
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
98
- function Re({
98
+ function we({
99
99
  rootState: e,
100
100
  localState: t,
101
101
  rootSetState: n
@@ -105,7 +105,7 @@ function Re({
105
105
  if (t && o in t)
106
106
  return t[o];
107
107
  const a = i[o];
108
- return typeof a == "object" && a !== null ? Re({
108
+ return typeof a == "object" && a !== null ? we({
109
109
  rootState: a,
110
110
  localState: void 0,
111
111
  rootSetState: n ? (r) => {
@@ -120,7 +120,7 @@ function Re({
120
120
  }
121
121
  });
122
122
  }
123
- const fe = ({
123
+ const de = ({
124
124
  code: e,
125
125
  builder: t,
126
126
  context: n,
@@ -129,11 +129,11 @@ const fe = ({
129
129
  rootSetState: a,
130
130
  rootState: r
131
131
  }) => {
132
- const s = tt({
132
+ const s = Qe({
133
133
  builder: t,
134
134
  context: n,
135
135
  event: i,
136
- state: Re({
136
+ state: we({
137
137
  rootState: r,
138
138
  localState: o,
139
139
  rootSetState: a
@@ -141,103 +141,82 @@ const fe = ({
141
141
  });
142
142
  return new Function(...s.map(([d]) => d), e)(...s.map(([, d]) => d));
143
143
  };
144
- function ot() {
144
+ function et() {
145
145
  var e;
146
- return typeof process != "undefined" && z((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
146
+ return typeof process != "undefined" && q((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
147
147
  }
148
- const at = ({
148
+ const tt = ({
149
149
  shouldLogWarning: e
150
150
  }) => {
151
151
  var o;
152
- if (!ot())
152
+ if (!et())
153
153
  return !1;
154
154
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
155
- return t && n && !i ? (e && Y.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
156
- }, rt = (e) => (U() || at({
155
+ return t && n && !i ? (e && z.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
156
+ }, nt = (e) => (L() || tt({
157
157
  shouldLogWarning: !0
158
- }), fe(e)), lt = !0, $ = class $ {
159
- static getCacheKey(t) {
160
- return JSON.stringify({
161
- ...t,
162
- // replace the event with a random number to break cache
163
- // thats because we can't serialize the event object due to circular refs in DOM node refs.
164
- event: t.event ? Math.random() : void 0
165
- });
166
- }
167
- static getCachedValue(t) {
168
- return $.cache.get(t);
169
- }
170
- static setCachedValue(t, n) {
171
- $.cache.size > 20 && $.cache.delete($.cache.keys().next().value), $.cache.set(t, {
172
- value: n
173
- });
174
- }
158
+ }), de(e)), it = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, ot = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, at = (e) => {
159
+ var t, n, i, o, a, r;
160
+ return ((i = (n = (t = it.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = ot.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
175
161
  };
176
- X($, "cacheLimit", 20), X($, "cache", /* @__PURE__ */ new Map());
177
- let O = $;
178
- function M({
162
+ function O({
179
163
  code: e,
180
164
  context: t,
181
165
  localState: n,
182
166
  rootState: i,
183
167
  rootSetState: o,
184
168
  event: a,
185
- isExpression: r = !0,
186
- enableCache: s
169
+ isExpression: r = !0
187
170
  }) {
188
- if (e === "")
171
+ if (e.trim() === "")
189
172
  return;
173
+ const s = at(e.trim());
174
+ if (s)
175
+ return Ie({
176
+ ...i,
177
+ ...n
178
+ }, s);
190
179
  const d = {
191
- code: it(e, {
180
+ code: Ze(e, {
192
181
  isExpression: r
193
182
  }),
194
- builder: nt(),
183
+ builder: Xe(),
195
184
  context: t,
196
185
  event: a,
197
186
  rootSetState: o,
198
187
  rootState: i,
199
188
  localState: n
200
189
  };
201
- if (s && !lt) {
202
- const c = O.getCacheKey(d), f = O.getCachedValue(c);
203
- if (f)
204
- return f.value;
205
- }
206
190
  try {
207
- const c = rt(d);
208
- if (s) {
209
- const f = O.getCacheKey(d);
210
- O.setCachedValue(f, c);
211
- }
212
- return c;
191
+ return nt(d);
213
192
  } catch (c) {
214
- Y.error("Failed code evaluation: " + c.message, {
193
+ z.error("Failed code evaluation: " + c.message, {
215
194
  code: e
216
195
  });
217
196
  return;
218
197
  }
219
198
  }
220
- const se = (e) => JSON.parse(JSON.stringify(e)), Be = (e, t, n) => {
199
+ const ae = (e) => JSON.parse(JSON.stringify(e)), Ee = (e, t, n) => {
221
200
  if (Object(e) !== e)
222
201
  return e;
223
202
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
224
203
  return i.slice(0, -1).reduce((o, a, r) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
225
204
  };
226
- function oe(e) {
205
+ function te(e) {
227
206
  if (e === null || typeof e != "object")
228
207
  return e;
229
208
  if (Array.isArray(e))
230
- return e.map((n) => oe(n));
209
+ return e.map((n) => te(n));
231
210
  if (e["@type"] === "@builder.io/sdk:Element")
232
211
  return e;
233
212
  const t = {};
234
213
  for (const n in e)
235
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = oe(e[n]));
214
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = te(e[n]));
236
215
  return t;
237
216
  }
238
- const st = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), ct = (e) => {
239
- if (st) {
240
- const t = se(e);
217
+ const rt = ["svelte", "vue", "angular", "qwik", "solid"].includes(D), lt = (e) => {
218
+ if (rt) {
219
+ const t = ae(e);
241
220
  return {
242
221
  ...t,
243
222
  properties: {
@@ -248,7 +227,7 @@ const st = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), ct = (e) =
248
227
  }
249
228
  };
250
229
  } else {
251
- const t = oe(et(e, "children", "meta"));
230
+ const t = te(Ye(e, "children", "meta"));
252
231
  return {
253
232
  ...t,
254
233
  properties: {
@@ -261,7 +240,7 @@ const st = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), ct = (e) =
261
240
  meta: e.meta
262
241
  };
263
242
  }
264
- }, dt = ({
243
+ }, st = ({
265
244
  block: e,
266
245
  context: t,
267
246
  localState: n,
@@ -270,21 +249,20 @@ const st = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), ct = (e) =
270
249
  }) => {
271
250
  if (!e.bindings)
272
251
  return e;
273
- const a = ct(e);
252
+ const a = lt(e);
274
253
  for (const r in e.bindings) {
275
- const s = e.bindings[r], d = M({
254
+ const s = e.bindings[r], d = O({
276
255
  code: s,
277
256
  localState: n,
278
257
  rootState: i,
279
258
  rootSetState: o,
280
- context: t,
281
- enableCache: !0
259
+ context: t
282
260
  });
283
- Be(a, r, d);
261
+ Ee(a, r, d);
284
262
  }
285
263
  return a;
286
264
  };
287
- function ut({
265
+ function ct({
288
266
  block: e,
289
267
  context: t,
290
268
  shouldEvaluateBindings: n,
@@ -293,7 +271,7 @@ function ut({
293
271
  rootSetState: a
294
272
  }) {
295
273
  const r = e;
296
- return n ? dt({
274
+ return n ? st({
297
275
  block: r,
298
276
  localState: i,
299
277
  rootState: o,
@@ -301,8 +279,8 @@ function ut({
301
279
  context: t
302
280
  }) : r;
303
281
  }
304
- const G = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
305
- function mt(e, t, n = {}) {
282
+ const J = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
283
+ function dt(e, t, n = {}) {
306
284
  let i, o, a, r = null, s = 0;
307
285
  const d = function() {
308
286
  s = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
@@ -310,11 +288,11 @@ function mt(e, t, n = {}) {
310
288
  return function() {
311
289
  const c = Date.now();
312
290
  !s && n.leading === !1 && (s = c);
313
- const f = t - (c - s);
314
- 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;
291
+ const h = t - (c - s);
292
+ 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;
315
293
  };
316
294
  }
317
- function j(e, ...t) {
295
+ function U(e, ...t) {
318
296
  const n = Object(e);
319
297
  for (let i = 1; i < arguments.length; i++) {
320
298
  const o = arguments[i];
@@ -324,118 +302,118 @@ function j(e, ...t) {
324
302
  }
325
303
  return n;
326
304
  }
327
- function ft(e) {
305
+ function ut(e) {
328
306
  for (const t of e)
329
307
  switch (t.trigger) {
330
308
  case "pageLoad":
331
- Ae(t);
309
+ Be(t);
332
310
  break;
333
311
  case "scrollInView":
334
- gt(t);
312
+ ft(t);
335
313
  break;
336
314
  }
337
315
  }
338
- function Pe(e) {
316
+ function Re(e) {
339
317
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
340
318
  }
341
- function Ve(e, t) {
342
- const n = ht(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
319
+ function Pe(e, t) {
320
+ const n = mt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
343
321
  for (const s of r)
344
322
  for (const d of n)
345
323
  d in s || (s[d] = i[d]);
346
324
  }
347
- function ht(e) {
325
+ function mt(e) {
348
326
  const t = [];
349
327
  for (const n of e.steps)
350
328
  for (const i in n.styles)
351
329
  t.indexOf(i) === -1 && t.push(i);
352
330
  return t;
353
331
  }
354
- function Ae(e) {
332
+ function Be(e) {
355
333
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
356
334
  if (!t.length) {
357
- Pe(e.elementId || e.id || "");
335
+ Re(e.elementId || e.id || "");
358
336
  return;
359
337
  }
360
338
  Array.from(t).forEach((n) => {
361
- Ve(e, n), n.style.transition = "none", n.style.transitionDelay = "0", j(n.style, e.steps[0].styles), setTimeout(() => {
362
- n.style.transition = `all ${e.duration}s ${G(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), j(n.style, e.steps[1].styles), setTimeout(() => {
339
+ Pe(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
340
+ n.style.transition = `all ${e.duration}s ${J(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
363
341
  n.style.transition = "", n.style.transitionDelay = "";
364
342
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
365
343
  });
366
344
  });
367
345
  }
368
- function gt(e) {
346
+ function ft(e) {
369
347
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
370
348
  if (!t.length) {
371
- Pe(e.elementId || e.id || "");
349
+ Re(e.elementId || e.id || "");
372
350
  return;
373
351
  }
374
352
  Array.from(t).forEach((n) => {
375
- Ve(e, n);
353
+ Pe(e, n);
376
354
  let i = !1, o = !1;
377
355
  function a() {
378
356
  !i && s(n) ? (i = !0, o = !0, setTimeout(() => {
379
- j(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
357
+ U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
380
358
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
381
359
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
382
- })) : e.repeat && i && !o && !s(n) && (i = !1, j(n.style, e.steps[0].styles));
360
+ })) : e.repeat && i && !o && !s(n) && (i = !1, U(n.style, e.steps[0].styles));
383
361
  }
384
- const r = mt(a, 200, {
362
+ const r = dt(a, 200, {
385
363
  leading: !1
386
364
  });
387
- function s(f) {
388
- const b = f.getBoundingClientRect(), h = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * h;
389
- return b.bottom > g && b.top < h - g;
365
+ function s(h) {
366
+ const b = h.getBoundingClientRect(), f = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * f;
367
+ return b.bottom > g && b.top < f - g;
390
368
  }
391
369
  const d = e.steps[0].styles;
392
370
  function c() {
393
- j(n.style, d);
371
+ U(n.style, d);
394
372
  }
395
373
  c(), setTimeout(() => {
396
- n.style.transition = `all ${e.duration}s ${G(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
374
+ n.style.transition = `all ${e.duration}s ${J(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
397
375
  }), document.addEventListener("scroll", r, {
398
376
  capture: !0,
399
377
  passive: !0
400
378
  }), a();
401
379
  });
402
380
  }
403
- const We = (e) => Object.entries(e).map(([n, i]) => {
381
+ const Ve = (e) => Object.entries(e).map(([n, i]) => {
404
382
  if (typeof i == "string")
405
- return `${G(n)}: ${i};`;
406
- }).filter(z), bt = (e) => We(e).join(`
407
- `), q = ({
383
+ return `${J(n)}: ${i};`;
384
+ }).filter(q), ht = (e) => Ve(e).join(`
385
+ `), _ = ({
408
386
  mediaQuery: e,
409
387
  className: t,
410
388
  styles: n
411
389
  }) => {
412
390
  const i = `.${t} {
413
- ${bt(n)}
391
+ ${ht(n)}
414
392
  }`;
415
393
  return e ? `${e} {
416
394
  ${i}
417
395
  }` : i;
418
396
  };
419
- function pt({
397
+ function gt({
420
398
  style: e
421
399
  }) {
422
400
  return e;
423
401
  }
424
- const yt = ({
402
+ const bt = ({
425
403
  block: e,
426
404
  context: t
427
- }) => Ne(pt({
405
+ }) => Ae(gt({
428
406
  style: e.style || {},
429
407
  context: t,
430
408
  block: e
431
409
  }));
432
- function Ne(e) {
433
- switch (L) {
410
+ function Ae(e) {
411
+ switch (D) {
434
412
  case "svelte":
435
413
  case "vue":
436
414
  case "solid":
437
415
  case "angular":
438
- return We(e).join(" ");
416
+ return Ve(e).join(" ");
439
417
  case "qwik":
440
418
  case "reactNative":
441
419
  case "react":
@@ -443,7 +421,7 @@ function Ne(e) {
443
421
  return e;
444
422
  }
445
423
  }
446
- const xt = ({
424
+ const pt = ({
447
425
  block: e,
448
426
  registeredComponents: t
449
427
  }) => {
@@ -457,7 +435,7 @@ const xt = ({
457
435
  console.warn(`
458
436
  Could not find a registered component named "${n}".
459
437
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
460
- }, vt = ({
438
+ }, yt = ({
461
439
  block: e,
462
440
  context: t
463
441
  }) => {
@@ -467,13 +445,12 @@ const xt = ({
467
445
  } = e;
468
446
  if (!(n != null && n.collection))
469
447
  return;
470
- const o = M({
448
+ const o = O({
471
449
  code: n.collection,
472
450
  localState: t.localState,
473
451
  rootState: t.rootState,
474
452
  rootSetState: t.rootSetState,
475
- context: t.context,
476
- enableCache: !0
453
+ context: t.context
477
454
  });
478
455
  if (!Array.isArray(o))
479
456
  return;
@@ -491,27 +468,27 @@ const xt = ({
491
468
  },
492
469
  block: i
493
470
  }));
494
- }, St = (e, t) => {
471
+ }, xt = (e, t) => {
495
472
  var n;
496
473
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
497
474
  builderLinkComponent: t
498
475
  } : {};
499
- }, kt = (e, t) => {
476
+ }, vt = (e, t) => {
500
477
  var n;
501
478
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
502
479
  builderComponents: t
503
480
  } : {};
504
- }, Ct = (e, t) => {
481
+ }, St = (e, t) => {
505
482
  var n;
506
483
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
507
484
  builderBlock: t
508
485
  } : {};
509
- }, Tt = (e, t) => {
486
+ }, kt = (e, t) => {
510
487
  var n;
511
488
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
512
489
  builderContext: t
513
490
  } : {};
514
- }, Fe = {
491
+ }, Ne = {
515
492
  small: {
516
493
  min: 320,
517
494
  default: 321,
@@ -527,11 +504,11 @@ const xt = ({
527
504
  default: 991,
528
505
  max: 1200
529
506
  }
530
- }, he = (e, t = Fe) => `@media (max-width: ${t[e].max}px)`, $e = ({
507
+ }, ue = (e, t = Ne) => `@media (max-width: ${t[e].max}px)`, We = ({
531
508
  small: e,
532
509
  medium: t
533
510
  }) => {
534
- const n = se(Fe);
511
+ const n = ae(Ne);
535
512
  if (!e || !t)
536
513
  return n;
537
514
  const i = Math.floor(e / 2);
@@ -554,7 +531,7 @@ const xt = ({
554
531
  default: a + 1
555
532
  }, n;
556
533
  };
557
- function Q(e) {
534
+ function G(e) {
558
535
  return /* @__PURE__ */ l(
559
536
  "style",
560
537
  {
@@ -564,32 +541,32 @@ function Q(e) {
564
541
  }
565
542
  );
566
543
  }
567
- function It(e) {
544
+ function Ct(e) {
568
545
  function t() {
569
546
  const i = e.block;
570
- return z(i.hide) ? !i.hide : z(i.show) ? i.show : !0;
547
+ return q(i.hide) ? !i.hide : q(i.show) ? i.show : !0;
571
548
  }
572
549
  function n() {
573
550
  var x, R, C;
574
- const i = e.block, o = i.responsiveStyles, a = e.context.content, r = $e(
551
+ const i = e.block, o = i.responsiveStyles, a = e.context.content, r = We(
575
552
  ((x = a == null ? void 0 : a.meta) == null ? void 0 : x.breakpoints) || {}
576
- ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, f = i.id;
577
- if (!f)
553
+ ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, h = i.id;
554
+ if (!h)
578
555
  return "";
579
- const b = s ? q({
580
- className: f,
556
+ const b = s ? _({
557
+ className: h,
581
558
  styles: s
582
- }) : "", h = d ? q({
583
- className: f,
559
+ }) : "", f = d ? _({
560
+ className: h,
584
561
  styles: d,
585
- mediaQuery: he(
562
+ mediaQuery: ue(
586
563
  "medium",
587
564
  r
588
565
  )
589
- }) : "", v = c ? q({
590
- className: f,
566
+ }) : "", v = c ? _({
567
+ className: h,
591
568
  styles: c,
592
- mediaQuery: he(
569
+ mediaQuery: ue(
593
570
  "small",
594
571
  r
595
572
  )
@@ -597,11 +574,11 @@ function It(e) {
597
574
  let S = "";
598
575
  if (g) {
599
576
  const k = ((C = (R = g.steps) == null ? void 0 : R[1]) == null ? void 0 : C.styles) || {};
600
- S = q({
601
- className: `${f}:hover`,
577
+ S = _({
578
+ className: `${h}:hover`,
602
579
  styles: {
603
580
  ...k,
604
- transition: `all ${g.duration}s ${G(
581
+ transition: `all ${g.duration}s ${J(
605
582
  g.easing
606
583
  )}`,
607
584
  transitionDelay: g.delay ? `${g.delay}s` : "0s"
@@ -610,13 +587,13 @@ function It(e) {
610
587
  }
611
588
  return [
612
589
  b,
613
- h,
590
+ f,
614
591
  v,
615
592
  S
616
593
  ].join(" ");
617
594
  }
618
595
  return /* @__PURE__ */ l(w, { children: n() && t() ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
619
- Q,
596
+ G,
620
597
  {
621
598
  id: "builderio-block",
622
599
  styles: n(),
@@ -624,29 +601,28 @@ function It(e) {
624
601
  }
625
602
  ) }) : null });
626
603
  }
627
- function wt(e) {
604
+ function Tt(e) {
628
605
  return e.charAt(0).toUpperCase() + e.slice(1);
629
606
  }
630
- const Et = (e) => `on${wt(e)}`, Rt = (e, t) => (n) => M({
607
+ const It = (e) => `on${Tt(e)}`, wt = (e, t) => (n) => O({
631
608
  code: e,
632
609
  context: t.context,
633
610
  localState: t.localState,
634
611
  rootState: t.rootState,
635
612
  rootSetState: t.rootSetState,
636
613
  event: n,
637
- isExpression: !1,
638
- enableCache: !0
614
+ isExpression: !1
639
615
  });
640
- function De(e) {
616
+ function Fe(e) {
641
617
  var i;
642
618
  const t = {}, n = (i = e.block.actions) != null ? i : {};
643
619
  for (const o in n) {
644
620
  if (!n.hasOwnProperty(o))
645
621
  continue;
646
622
  const a = n[o];
647
- let r = Et(o);
623
+ let r = It(o);
648
624
  if (e.stripPrefix)
649
- switch (L) {
625
+ switch (D) {
650
626
  case "vue":
651
627
  r = r.replace("v-on:", "");
652
628
  break;
@@ -654,49 +630,49 @@ function De(e) {
654
630
  r = r.replace("on:", "");
655
631
  break;
656
632
  }
657
- t[r] = Rt(a, e);
633
+ t[r] = wt(a, e);
658
634
  }
659
635
  return t;
660
636
  }
661
- function Bt({
637
+ function Et({
662
638
  properties: e
663
639
  }) {
664
640
  return e;
665
641
  }
666
- const Pt = (e) => ({
642
+ const Rt = (e) => ({
667
643
  href: e.href
668
644
  });
669
- function ce({
645
+ function re({
670
646
  block: e,
671
647
  context: t
672
648
  }) {
673
649
  var i;
674
650
  const n = {
675
- ...Pt(e),
651
+ ...Rt(e),
676
652
  ...e.properties,
677
653
  "builder-id": e.id,
678
- style: yt({
654
+ style: bt({
679
655
  block: e,
680
656
  context: t
681
657
  }),
682
- [H()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
658
+ [j()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
683
659
  };
684
- return Bt({
660
+ return Et({
685
661
  properties: n,
686
662
  context: t,
687
663
  block: e
688
664
  });
689
665
  }
690
- function Vt(e) {
666
+ function Pt(e) {
691
667
  return /* @__PURE__ */ l(
692
- re,
668
+ ie,
693
669
  {
694
670
  TagName: e.Wrapper,
695
- attributes: ce({
671
+ attributes: re({
696
672
  block: e.block,
697
673
  context: e.context
698
674
  }),
699
- actionAttributes: De({
675
+ actionAttributes: Fe({
700
676
  block: e.block,
701
677
  rootState: e.context.rootState,
702
678
  rootSetState: e.context.rootSetState,
@@ -708,18 +684,18 @@ function Vt(e) {
708
684
  }
709
685
  );
710
686
  }
711
- function At(e) {
712
- return P(() => {
687
+ function Bt(e) {
688
+ return B(() => {
713
689
  }, []), /* @__PURE__ */ l(w, { children: e.children });
714
690
  }
715
- function Wt(e) {
691
+ function Vt(e) {
716
692
  function t() {
717
693
  return e.includeBlockProps ? {
718
- ...ce({
694
+ ...re({
719
695
  block: e.block,
720
696
  context: e.context
721
697
  }),
722
- ...De({
698
+ ...Fe({
723
699
  block: e.block,
724
700
  rootState: e.context.rootState,
725
701
  rootSetState: e.context.rootSetState,
@@ -729,7 +705,7 @@ function Wt(e) {
729
705
  } : {};
730
706
  }
731
707
  return /* @__PURE__ */ l(w, { children: e.Wrapper.load ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
732
- At,
708
+ Bt,
733
709
  {
734
710
  load: e.Wrapper.load,
735
711
  fallback: e.Wrapper.fallback,
@@ -739,7 +715,7 @@ function Wt(e) {
739
715
  }
740
716
  ) }) : /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
741
717
  }
742
- const Nt = ({
718
+ const At = ({
743
719
  componentOptions: e,
744
720
  builderBlock: t,
745
721
  context: n,
@@ -755,7 +731,7 @@ const Nt = ({
755
731
  * component itself directly. Otherwise, they are provided to the wrapper element.
756
732
  */
757
733
  ...o ? {
758
- attributes: ce({
734
+ attributes: re({
759
735
  block: t,
760
736
  context: r
761
737
  })
@@ -769,15 +745,15 @@ const Nt = ({
769
745
  includeBlockProps: o
770
746
  } : s;
771
747
  };
772
- function ge(e) {
748
+ function me(e) {
773
749
  var i;
774
750
  const [t, n] = T(
775
- () => e.isInteractive ? Wt : e.componentRef
751
+ () => e.isInteractive ? Vt : e.componentRef
776
752
  );
777
753
  return /* @__PURE__ */ l(w, { children: e.componentRef ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
778
754
  t,
779
755
  {
780
- ...Nt({
756
+ ...At({
781
757
  componentOptions: e.componentOptions,
782
758
  builderBlock: e.builderBlock,
783
759
  context: e.context,
@@ -788,7 +764,7 @@ function ge(e) {
788
764
  contextValue: e.context
789
765
  }),
790
766
  children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
791
- K,
767
+ M,
792
768
  {
793
769
  block: o,
794
770
  context: e.context,
@@ -800,10 +776,10 @@ function ge(e) {
800
776
  }
801
777
  ) }) : null });
802
778
  }
803
- function be(e) {
779
+ function fe(e) {
804
780
  const [t, n] = T(() => e.repeatContext);
805
- return /* @__PURE__ */ l(le.Provider, { value: t, children: /* @__PURE__ */ l(
806
- K,
781
+ return /* @__PURE__ */ l(oe.Provider, { value: t, children: /* @__PURE__ */ l(
782
+ M,
807
783
  {
808
784
  block: e.block,
809
785
  context: t,
@@ -812,10 +788,10 @@ function be(e) {
812
788
  }
813
789
  ) });
814
790
  }
815
- function K(e) {
816
- var f, b, h, v;
791
+ function M(e) {
792
+ var h, b, f, v;
817
793
  function t() {
818
- return vt({
794
+ return yt({
819
795
  block: e.block,
820
796
  context: e.context
821
797
  });
@@ -826,9 +802,9 @@ function K(e) {
826
802
  }));
827
803
  function o() {
828
804
  var S;
829
- if (n.value && !n.update && !Ce())
805
+ if (n.value && !n.update && !ve())
830
806
  return n.value;
831
- const g = (S = e.block.repeat) != null && S.collection ? e.block : ut({
807
+ const g = (S = e.block.repeat) != null && S.collection ? e.block : ct({
832
808
  block: e.block,
833
809
  localState: e.context.localState,
834
810
  rootState: e.context.rootState,
@@ -839,7 +815,7 @@ function K(e) {
839
815
  return n.value = g, n.update = !1, g;
840
816
  }
841
817
  function a() {
842
- return xt({
818
+ return pt({
843
819
  block: o(),
844
820
  registeredComponents: e.registeredComponents
845
821
  });
@@ -865,11 +841,11 @@ function K(e) {
865
841
  blockChildren: (g = o().children) != null ? g : [],
866
842
  componentRef: (S = a == null ? void 0 : a()) == null ? void 0 : S.component,
867
843
  componentOptions: {
868
- ...Ze(o()),
869
- ...Ct(a(), o()),
870
- ...Tt(a(), e.context),
871
- ...St(a(), e.linkComponent),
872
- ...kt(
844
+ ...Ge(o()),
845
+ ...St(a(), o()),
846
+ ...kt(a(), e.context),
847
+ ...xt(a(), e.linkComponent),
848
+ ...vt(
873
849
  a(),
874
850
  e.registeredComponents
875
851
  )
@@ -879,23 +855,23 @@ function K(e) {
879
855
  registeredComponents: e.registeredComponents,
880
856
  builderBlock: o(),
881
857
  includeBlockProps: ((x = a == null ? void 0 : a()) == null ? void 0 : x.noWrap) === !0,
882
- isInteractive: !((R = a == null ? void 0 : a()) != null && R.isRSC && L === "rsc")
858
+ isInteractive: !((R = a == null ? void 0 : a()) != null && R.isRSC && D === "rsc")
883
859
  };
884
860
  }
885
- return P(() => {
861
+ return B(() => {
886
862
  const g = o().id, S = o().animations;
887
- S && g && ft(
863
+ S && g && ut(
888
864
  S.map((x) => ({
889
865
  ...x,
890
866
  elementId: g
891
867
  }))
892
868
  );
893
- }, []), P(() => {
869
+ }, []), B(() => {
894
870
  n.update = !0;
895
871
  }), /* @__PURE__ */ l(w, { children: s() ? /* @__PURE__ */ V(w, { children: [
896
- /* @__PURE__ */ l(It, { block: o(), context: e.context }),
897
- (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(
898
- be,
872
+ /* @__PURE__ */ l(Ct, { block: o(), context: e.context }),
873
+ (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(
874
+ fe,
899
875
  {
900
876
  repeatContext: g.context,
901
877
  block: g.block,
@@ -904,7 +880,7 @@ function K(e) {
904
880
  },
905
881
  S
906
882
  )) }) : /* @__PURE__ */ l(
907
- ge,
883
+ me,
908
884
  {
909
885
  componentRef: c().componentRef,
910
886
  componentOptions: c().componentOptions,
@@ -916,8 +892,8 @@ function K(e) {
916
892
  includeBlockProps: c().includeBlockProps,
917
893
  isInteractive: c().isInteractive
918
894
  }
919
- ) : /* @__PURE__ */ l(w, { children: t() ? /* @__PURE__ */ l(w, { children: (h = t()) == null ? void 0 : h.map((g, S) => /* @__PURE__ */ l(
920
- be,
895
+ ) : /* @__PURE__ */ l(w, { children: t() ? /* @__PURE__ */ l(w, { children: (f = t()) == null ? void 0 : f.map((g, S) => /* @__PURE__ */ l(
896
+ fe,
921
897
  {
922
898
  repeatContext: g.context,
923
899
  block: g.block,
@@ -926,14 +902,14 @@ function K(e) {
926
902
  },
927
903
  S
928
904
  )) }) : /* @__PURE__ */ V(
929
- Vt,
905
+ Pt,
930
906
  {
931
907
  Wrapper: r(),
932
908
  block: o(),
933
909
  context: e.context,
934
910
  children: [
935
911
  /* @__PURE__ */ l(
936
- ge,
912
+ me,
937
913
  {
938
914
  componentRef: c().componentRef,
939
915
  componentOptions: c().componentOptions,
@@ -947,7 +923,7 @@ function K(e) {
947
923
  }
948
924
  ),
949
925
  (b = d()) == null ? void 0 : b.map((g) => /* @__PURE__ */ l(
950
- K,
926
+ M,
951
927
  {
952
928
  block: g,
953
929
  registeredComponents: e.registeredComponents,
@@ -961,15 +937,19 @@ function K(e) {
961
937
  ) })
962
938
  ] }) : null });
963
939
  }
964
- function Ft(e) {
965
- const t = D(null);
940
+ function Nt(e) {
941
+ const t = $(null);
966
942
  function n() {
967
943
  var a;
968
- return "builder-blocks" + ((a = e.blocks) != null && a.length ? "" : " no-blocks");
944
+ return [
945
+ "builder-blocks",
946
+ (a = e.blocks) != null && a.length ? "" : "no-blocks",
947
+ e.classNameProp
948
+ ].filter(Boolean).join(" ");
969
949
  }
970
950
  function i() {
971
951
  var a, r;
972
- N() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
952
+ W() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
973
953
  {
974
954
  type: "builder.clickEmptyBlocks",
975
955
  data: {
@@ -982,7 +962,7 @@ function Ft(e) {
982
962
  }
983
963
  function o() {
984
964
  var a, r;
985
- N() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
965
+ W() && !((a = e.blocks) != null && a.length) && ((r = window.parent) == null || r.postMessage(
986
966
  {
987
967
  type: "builder.hoverEmptyBlocks",
988
968
  data: {
@@ -993,13 +973,13 @@ function Ft(e) {
993
973
  "*"
994
974
  ));
995
975
  }
996
- return P(() => {
976
+ return B(() => {
997
977
  }, []), /* @__PURE__ */ V(w, { children: [
998
978
  /* @__PURE__ */ l(
999
979
  e.BlocksWrapper,
1000
980
  {
1001
981
  ref: t,
1002
- className: n() + " props-blocks-wrapper-77bdc7c6",
982
+ className: n() + " props-blocks-wrapper-43ec7ac8",
1003
983
  "builder-path": e.path,
1004
984
  "builder-parent-id": e.parent,
1005
985
  style: e.styleProp,
@@ -1010,7 +990,7 @@ function Ft(e) {
1010
990
  children: e.children
1011
991
  }
1012
992
  ),
1013
- /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-77bdc7c6 {
993
+ /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-43ec7ac8 {
1014
994
  display: flex;
1015
995
  flex-direction: column;
1016
996
  align-items: stretch;
@@ -1019,18 +999,19 @@ function Ft(e) {
1019
999
  }
1020
1000
  function F(e) {
1021
1001
  var i, o, a;
1022
- const t = me(le), n = me(Ee);
1002
+ const t = ce(oe), n = ce(Te);
1023
1003
  return /* @__PURE__ */ l(
1024
- Ft,
1004
+ Nt,
1025
1005
  {
1026
1006
  blocks: e.blocks,
1027
1007
  parent: e.parent,
1028
1008
  path: e.path,
1029
1009
  styleProp: e.styleProp,
1010
+ classNameProp: e.className,
1030
1011
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || t.BlocksWrapper,
1031
1012
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
1032
1013
  children: e.blocks ? /* @__PURE__ */ l(w, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
1033
- K,
1014
+ M,
1034
1015
  {
1035
1016
  block: r,
1036
1017
  linkComponent: e.linkComponent,
@@ -1042,9 +1023,9 @@ function F(e) {
1042
1023
  }
1043
1024
  );
1044
1025
  }
1045
- const $t = (e) => `builder-columns ${e}-breakpoints`;
1046
- function Dt(e) {
1047
- var k, W;
1026
+ const Wt = (e) => `builder-columns ${e}-breakpoints`;
1027
+ function Ft(e) {
1028
+ var k, N;
1048
1029
  const [t, n] = T(
1049
1030
  () => typeof e.space == "number" ? e.space || 0 : 20
1050
1031
  ), [i, o] = T(() => e.columns || []), [a, r] = T(
@@ -1061,7 +1042,7 @@ function Dt(e) {
1061
1042
  const y = d(m), I = t * (i.length - 1) * (y / 100);
1062
1043
  return `calc(${y}% - ${I}px)`;
1063
1044
  }
1064
- function f({
1045
+ function h({
1065
1046
  stackedStyle: m,
1066
1047
  desktopStyle: y
1067
1048
  }) {
@@ -1073,14 +1054,14 @@ function Dt(e) {
1073
1054
  }) {
1074
1055
  return a === "never" ? y : m;
1075
1056
  }
1076
- const [h, v] = T(
1057
+ const [f, v] = T(
1077
1058
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
1078
1059
  );
1079
1060
  function g() {
1080
1061
  return {
1081
- "--flex-dir": h,
1082
- "--flex-dir-tablet": f({
1083
- stackedStyle: h,
1062
+ "--flex-dir": f,
1063
+ "--flex-dir-tablet": h({
1064
+ stackedStyle: f,
1084
1065
  desktopStyle: "row"
1085
1066
  })
1086
1067
  };
@@ -1103,11 +1084,11 @@ function Dt(e) {
1103
1084
  stackedStyle: E,
1104
1085
  desktopStyle: u
1105
1086
  }),
1106
- "--column-width-tablet": f({
1087
+ "--column-width-tablet": h({
1107
1088
  stackedStyle: p,
1108
1089
  desktopStyle: I
1109
1090
  }),
1110
- "--column-margin-left-tablet": f({
1091
+ "--column-margin-left-tablet": h({
1111
1092
  stackedStyle: E,
1112
1093
  desktopStyle: u
1113
1094
  })
@@ -1115,7 +1096,7 @@ function Dt(e) {
1115
1096
  }
1116
1097
  function x(m) {
1117
1098
  var I, u;
1118
- return $e(
1099
+ return We(
1119
1100
  ((u = (I = e.builderContext.content) == null ? void 0 : I.meta) == null ? void 0 : u.breakpoints) || {}
1120
1101
  )[m].max;
1121
1102
  }
@@ -1152,27 +1133,27 @@ function Dt(e) {
1152
1133
  ...m.link ? {
1153
1134
  href: m.link
1154
1135
  } : {},
1155
- [H()]: "builder-column",
1156
- style: Ne(S(y))
1136
+ [j()]: "builder-column",
1137
+ style: Ae(S(y))
1157
1138
  };
1158
1139
  }
1159
1140
  return /* @__PURE__ */ V(w, { children: [
1160
1141
  /* @__PURE__ */ V(
1161
1142
  "div",
1162
1143
  {
1163
- className: $t((k = e.builderBlock) == null ? void 0 : k.id) + " div-3b0f6fe2",
1144
+ className: Wt((k = e.builderBlock) == null ? void 0 : k.id) + " div-3b0f6fe2",
1164
1145
  style: g(),
1165
1146
  children: [
1166
1147
  /* @__PURE__ */ l(
1167
- Q,
1148
+ G,
1168
1149
  {
1169
1150
  id: "builderio-columns",
1170
1151
  styles: R(),
1171
1152
  nonce: e.builderContext.nonce
1172
1153
  }
1173
1154
  ),
1174
- (W = e.columns) == null ? void 0 : W.map((m, y) => /* @__PURE__ */ l(
1175
- re,
1155
+ (N = e.columns) == null ? void 0 : N.map((m, y) => /* @__PURE__ */ l(
1156
+ ie,
1176
1157
  {
1177
1158
  TagName: s(m),
1178
1159
  actionAttributes: {},
@@ -1203,72 +1184,72 @@ function Dt(e) {
1203
1184
  }` })
1204
1185
  ] });
1205
1186
  }
1206
- function Lt(e) {
1187
+ function $t(e) {
1207
1188
  return /* @__PURE__ */ l("span", { children: e.children });
1208
1189
  }
1209
- function pe(e) {
1190
+ function he(e) {
1210
1191
  return e.replace(/http(s)?:/, "");
1211
1192
  }
1212
- function Ot(e = "", t, n) {
1193
+ function Dt(e = "", t, n) {
1213
1194
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1214
1195
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1215
1196
  }
1216
- function Ut(e, t) {
1197
+ function Lt(e, t) {
1217
1198
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1218
1199
  return e;
1219
1200
  if (t === "master")
1220
- return pe(e);
1201
+ return he(e);
1221
1202
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1222
1203
  if (n) {
1223
1204
  const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1224
- return pe(`${i[0]}_${a}${o}`);
1205
+ return he(`${i[0]}_${a}${o}`);
1225
1206
  }
1226
1207
  return null;
1227
1208
  }
1228
- function Z(e) {
1209
+ function Y(e) {
1229
1210
  if (!e)
1230
1211
  return e;
1231
1212
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1232
1213
  if (e.match(/builder\.io/)) {
1233
1214
  let n = e;
1234
1215
  const i = Number(e.split("?width=")[1]);
1235
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Ot(e, "width", o)} ${o}w`).concat([n]).join(", ");
1216
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Dt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1236
1217
  }
1237
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ut(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1218
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Lt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1238
1219
  }
1239
- function Mt(e) {
1220
+ function Ot(e) {
1240
1221
  var o, a, r, s, d, c;
1241
1222
  function t() {
1242
- var h;
1223
+ var f;
1243
1224
  const b = e.image || e.src;
1244
1225
  if (!b || // We can auto add srcset for cdn.builder.io and shopify
1245
1226
  // images, otherwise you can supply this prop manually
1246
1227
  !(b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/)))
1247
1228
  return e.srcset;
1248
1229
  if (!e.noWebp) {
1249
- if (e.srcset && ((h = e.image) != null && h.includes("builder.io/api/v1/image"))) {
1230
+ if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1250
1231
  if (!e.srcset.includes(e.image.split("?")[0]))
1251
- return console.debug("Removed given srcset"), Z(b);
1232
+ return console.debug("Removed given srcset"), Y(b);
1252
1233
  } else if (e.image && !e.srcset)
1253
- return Z(b);
1254
- return Z(b);
1234
+ return Y(b);
1235
+ return Y(b);
1255
1236
  }
1256
1237
  }
1257
1238
  function n() {
1258
- var f;
1259
- return (f = t == null ? void 0 : t()) != null && f.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1239
+ var h;
1240
+ return (h = t == null ? void 0 : t()) != null && h.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1260
1241
  }
1261
1242
  function i() {
1262
- const f = {
1243
+ const h = {
1263
1244
  position: "absolute",
1264
1245
  height: "100%",
1265
1246
  width: "100%",
1266
1247
  left: "0px",
1267
1248
  top: "0px"
1268
1249
  };
1269
- return e.aspectRatio ? f : void 0;
1250
+ return e.aspectRatio ? h : void 0;
1270
1251
  }
1271
- return P(() => {
1252
+ return B(() => {
1272
1253
  }, []), /* @__PURE__ */ V(w, { children: [
1273
1254
  /* @__PURE__ */ V(w, { children: [
1274
1255
  /* @__PURE__ */ V("picture", { children: [
@@ -1323,7 +1304,7 @@ function Mt(e) {
1323
1304
  }` })
1324
1305
  ] });
1325
1306
  }
1326
- function jt(e) {
1307
+ function Ut(e) {
1327
1308
  return /* @__PURE__ */ l(
1328
1309
  "section",
1329
1310
  {
@@ -1344,7 +1325,7 @@ function jt(e) {
1344
1325
  }
1345
1326
  );
1346
1327
  }
1347
- const ee = {
1328
+ const Q = {
1348
1329
  "@type": "@builder.io/sdk:Element",
1349
1330
  layerName: "Accordion item title",
1350
1331
  responsiveStyles: {
@@ -1373,7 +1354,7 @@ const ee = {
1373
1354
  }
1374
1355
  }
1375
1356
  }]
1376
- }, te = {
1357
+ }, X = {
1377
1358
  "@type": "@builder.io/sdk:Element",
1378
1359
  layerName: "Accordion item detail",
1379
1360
  responsiveStyles: {
@@ -1404,7 +1385,7 @@ const ee = {
1404
1385
  }
1405
1386
  }
1406
1387
  }]
1407
- }, Ht = {
1388
+ }, jt = {
1408
1389
  name: "Builder:Accordion",
1409
1390
  canHaveChildren: !0,
1410
1391
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1421,19 +1402,19 @@ const ee = {
1421
1402
  name: "title",
1422
1403
  type: "uiBlocks",
1423
1404
  hideFromUI: !0,
1424
- defaultValue: [ee]
1405
+ defaultValue: [Q]
1425
1406
  }, {
1426
1407
  name: "detail",
1427
1408
  type: "uiBlocks",
1428
1409
  hideFromUI: !0,
1429
- defaultValue: [te]
1410
+ defaultValue: [X]
1430
1411
  }],
1431
1412
  defaultValue: [{
1432
- title: [ee],
1433
- detail: [te]
1413
+ title: [Q],
1414
+ detail: [X]
1434
1415
  }, {
1435
- title: [ee],
1436
- detail: [te]
1416
+ title: [Q],
1417
+ detail: [X]
1437
1418
  }],
1438
1419
  showIf: (e) => !e.get("useChildrenForItems")
1439
1420
  }, {
@@ -1468,8 +1449,8 @@ const ee = {
1468
1449
  builderComponents: !0,
1469
1450
  builderLinkComponent: !0
1470
1451
  }
1471
- }, ye = (e) => e.toString();
1472
- function Kt(e) {
1452
+ }, ge = (e) => e.toString();
1453
+ function Mt(e) {
1473
1454
  var b;
1474
1455
  const [t, n] = T(() => []);
1475
1456
  function i() {
@@ -1500,20 +1481,20 @@ function Kt(e) {
1500
1481
  Object.entries(v).filter(([g, S]) => S !== void 0)
1501
1482
  );
1502
1483
  }
1503
- function r(h) {
1504
- return `builder-accordion-title builder-accordion-title-${t.includes(h) ? "open" : "closed"}`;
1484
+ function r(f) {
1485
+ return `builder-accordion-title builder-accordion-title-${t.includes(f) ? "open" : "closed"}`;
1505
1486
  }
1506
- function s(h) {
1507
- return `builder-accordion-detail builder-accordion-detail-${t.includes(h) ? "open" : "closed"}`;
1487
+ function s(f) {
1488
+ return `builder-accordion-detail builder-accordion-detail-${t.includes(f) ? "open" : "closed"}`;
1508
1489
  }
1509
1490
  function d() {
1510
- let h = null;
1491
+ let f = null;
1511
1492
  if (e.grid && t.length && document) {
1512
1493
  const g = t[0];
1513
1494
  let x = document.querySelector(
1514
1495
  `.builder-accordion-title[data-index="${g}"]`
1515
1496
  );
1516
- if (h = g, x) {
1497
+ if (f = g, x) {
1517
1498
  let R = x.getBoundingClientRect();
1518
1499
  for (; x = x && x.nextElementSibling; )
1519
1500
  if (x) {
@@ -1525,29 +1506,29 @@ function Kt(e) {
1525
1506
  x.getAttribute("data-index") || "",
1526
1507
  10
1527
1508
  );
1528
- isNaN(k) || (R = C, h = k);
1509
+ isNaN(k) || (R = C, f = k);
1529
1510
  } else
1530
1511
  break;
1531
1512
  }
1532
1513
  }
1533
1514
  }
1534
- return typeof h == "number" && (h = h + 1), h;
1515
+ return typeof f == "number" && (f = f + 1), f;
1535
1516
  }
1536
1517
  function c() {
1537
- const h = {
1518
+ const f = {
1538
1519
  order: typeof d() == "number" ? d() : void 0,
1539
1520
  ...e.grid && {
1540
1521
  width: "100%"
1541
1522
  }
1542
1523
  };
1543
1524
  return Object.fromEntries(
1544
- Object.entries(h).filter(([v, g]) => g !== void 0)
1525
+ Object.entries(f).filter(([v, g]) => g !== void 0)
1545
1526
  );
1546
1527
  }
1547
- function f(h) {
1548
- t.includes(h) ? n(i() ? [] : t.filter((v) => v !== h)) : n(i() ? [h] : t.concat(h));
1528
+ function h(f) {
1529
+ t.includes(f) ? n(i() ? [] : t.filter((v) => v !== f)) : n(i() ? [f] : t.concat(f));
1549
1530
  }
1550
- return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((h, v) => /* @__PURE__ */ V(w, { children: [
1531
+ return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((f, v) => /* @__PURE__ */ V(w, { children: [
1551
1532
  /* @__PURE__ */ l(
1552
1533
  "div",
1553
1534
  {
@@ -1555,14 +1536,14 @@ function Kt(e) {
1555
1536
  style: {
1556
1537
  ...a(),
1557
1538
  width: e.grid ? e.gridRowWidth : void 0,
1558
- order: d() !== null ? ye(v) : ye(v + 1)
1539
+ order: d() !== null ? ge(v) : ge(v + 1)
1559
1540
  },
1560
1541
  "data-index": v,
1561
- onClick: (g) => f(v),
1542
+ onClick: (g) => h(v),
1562
1543
  children: /* @__PURE__ */ l(
1563
1544
  F,
1564
1545
  {
1565
- blocks: h.title,
1546
+ blocks: f.title,
1566
1547
  path: `items.${v}.title`,
1567
1548
  parent: e.builderBlock.id,
1568
1549
  context: e.builderContext,
@@ -1580,7 +1561,7 @@ function Kt(e) {
1580
1561
  children: /* @__PURE__ */ l(
1581
1562
  F,
1582
1563
  {
1583
- blocks: h.detail,
1564
+ blocks: f.detail,
1584
1565
  path: `items.${v}.detail`,
1585
1566
  parent: e.builderBlock.id,
1586
1567
  context: e.builderContext,
@@ -1592,7 +1573,7 @@ function Kt(e) {
1592
1573
  ) : null
1593
1574
  ] })) });
1594
1575
  }
1595
- const qt = {
1576
+ const _t = {
1596
1577
  name: "Core:Button",
1597
1578
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1598
1579
  defaultStyles: {
@@ -1628,7 +1609,7 @@ const qt = {
1628
1609
  shouldReceiveBuilderProps: {
1629
1610
  builderLinkComponent: !0
1630
1611
  }
1631
- }, _t = {
1612
+ }, Ht = {
1632
1613
  // TODO: ways to statically preprocess JSON for references, functions, etc
1633
1614
  name: "Columns",
1634
1615
  isRSC: !0,
@@ -1835,13 +1816,13 @@ const qt = {
1835
1816
  builderComponents: !0,
1836
1817
  builderLinkComponent: !0
1837
1818
  }
1838
- }, zt = {
1819
+ }, qt = {
1839
1820
  name: "Fragment",
1840
1821
  static: !0,
1841
1822
  hidden: !0,
1842
1823
  canHaveChildren: !0,
1843
1824
  noWrap: !0
1844
- }, Jt = {
1825
+ }, Kt = {
1845
1826
  name: "Image",
1846
1827
  static: !0,
1847
1828
  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",
@@ -1863,13 +1844,13 @@ const qt = {
1863
1844
  e.delete("srcset"), e.delete("noWebp");
1864
1845
  function n(r, s = 6e4) {
1865
1846
  return new Promise((d, c) => {
1866
- const f = document.createElement("img");
1847
+ const h = document.createElement("img");
1867
1848
  let b = !1;
1868
- f.onload = () => {
1869
- b = !0, d(f);
1870
- }, f.addEventListener("error", (h) => {
1871
- console.warn("Image load failed", h.error), c(h.error);
1872
- }), f.src = r, setTimeout(() => {
1849
+ h.onload = () => {
1850
+ b = !0, d(h);
1851
+ }, h.addEventListener("error", (f) => {
1852
+ console.warn("Image load failed", f.error), c(f.error);
1853
+ }), h.src = r, setTimeout(() => {
1873
1854
  b || c(new Error("Image load timed out"));
1874
1855
  }, s);
1875
1856
  });
@@ -1949,7 +1930,7 @@ const qt = {
1949
1930
  shouldReceiveBuilderProps: {
1950
1931
  builderBlock: !0
1951
1932
  }
1952
- }, Yt = {
1933
+ }, zt = {
1953
1934
  name: "Core:Section",
1954
1935
  static: !0,
1955
1936
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1988,7 +1969,7 @@ const qt = {
1988
1969
  }
1989
1970
  }
1990
1971
  }]
1991
- }, Gt = {
1972
+ }, Jt = {
1992
1973
  name: "Slot",
1993
1974
  isRSC: !0,
1994
1975
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2006,7 +1987,7 @@ const qt = {
2006
1987
  builderComponents: !0
2007
1988
  }
2008
1989
  };
2009
- function Qt(e) {
1990
+ function Gt(e) {
2010
1991
  var t, n, i;
2011
1992
  return /* @__PURE__ */ l(
2012
1993
  "div",
@@ -2030,7 +2011,7 @@ function Qt(e) {
2030
2011
  }
2031
2012
  );
2032
2013
  }
2033
- const Xt = {
2014
+ const Yt = {
2034
2015
  name: "Symbol",
2035
2016
  noWrap: !0,
2036
2017
  static: !0,
@@ -2069,7 +2050,7 @@ const Xt = {
2069
2050
  builderComponents: !0,
2070
2051
  builderLinkComponent: !0
2071
2052
  }
2072
- }, ne = {
2053
+ }, Z = {
2073
2054
  "@type": "@builder.io/sdk:Element",
2074
2055
  responsiveStyles: {
2075
2056
  large: {
@@ -2091,7 +2072,7 @@ const Xt = {
2091
2072
  text: "New tab"
2092
2073
  }
2093
2074
  }
2094
- }, ie = {
2075
+ }, ee = {
2095
2076
  "@type": "@builder.io/sdk:Element",
2096
2077
  responsiveStyles: {
2097
2078
  large: {
@@ -2107,7 +2088,7 @@ const Xt = {
2107
2088
  text: "New tab content "
2108
2089
  }
2109
2090
  }
2110
- }, Zt = {
2091
+ }, Qt = {
2111
2092
  name: "Builder: Tabs",
2112
2093
  inputs: [{
2113
2094
  name: "tabs",
@@ -2117,16 +2098,16 @@ const Xt = {
2117
2098
  name: "label",
2118
2099
  type: "uiBlocks",
2119
2100
  hideFromUI: !0,
2120
- defaultValue: [ne]
2101
+ defaultValue: [Z]
2121
2102
  }, {
2122
2103
  name: "content",
2123
2104
  type: "uiBlocks",
2124
2105
  hideFromUI: !0,
2125
- defaultValue: [ie]
2106
+ defaultValue: [ee]
2126
2107
  }],
2127
2108
  defaultValue: [{
2128
2109
  label: [{
2129
- ...ne,
2110
+ ...Z,
2130
2111
  component: {
2131
2112
  name: "Text",
2132
2113
  options: {
@@ -2135,7 +2116,7 @@ const Xt = {
2135
2116
  }
2136
2117
  }],
2137
2118
  content: [{
2138
- ...ie,
2119
+ ...ee,
2139
2120
  component: {
2140
2121
  name: "Text",
2141
2122
  options: {
@@ -2145,7 +2126,7 @@ const Xt = {
2145
2126
  }]
2146
2127
  }, {
2147
2128
  label: [{
2148
- ...ne,
2129
+ ...Z,
2149
2130
  component: {
2150
2131
  name: "Text",
2151
2132
  options: {
@@ -2154,7 +2135,7 @@ const Xt = {
2154
2135
  }
2155
2136
  }],
2156
2137
  content: [{
2157
- ...ie,
2138
+ ...ee,
2158
2139
  component: {
2159
2140
  name: "Text",
2160
2141
  options: {
@@ -2211,7 +2192,7 @@ const Xt = {
2211
2192
  builderLinkComponent: !0
2212
2193
  }
2213
2194
  };
2214
- function en(e) {
2195
+ function Xt(e) {
2215
2196
  var a;
2216
2197
  const [t, n] = T(
2217
2198
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2270,7 +2251,7 @@ function en(e) {
2270
2251
  ) }) : null
2271
2252
  ] });
2272
2253
  }
2273
- const tn = {
2254
+ const Zt = {
2274
2255
  shouldReceiveBuilderProps: {
2275
2256
  builderBlock: !1,
2276
2257
  builderContext: !0
@@ -2293,7 +2274,7 @@ const tn = {
2293
2274
  textAlign: "center"
2294
2275
  }
2295
2276
  };
2296
- function nn(e) {
2277
+ function en(e) {
2297
2278
  function t() {
2298
2279
  var s;
2299
2280
  const n = e.builderContext, {
@@ -2304,13 +2285,12 @@ function nn(e) {
2304
2285
  } = n;
2305
2286
  return String(((s = e.text) == null ? void 0 : s.toString()) || "").replace(
2306
2287
  /{{([^}]+)}}/g,
2307
- (d, c) => M({
2288
+ (d, c) => O({
2308
2289
  code: c,
2309
2290
  context: i,
2310
2291
  localState: o,
2311
2292
  rootState: a,
2312
- rootSetState: r,
2313
- enableCache: !1
2293
+ rootSetState: r
2314
2294
  })
2315
2295
  );
2316
2296
  }
@@ -2325,7 +2305,7 @@ function nn(e) {
2325
2305
  }
2326
2306
  );
2327
2307
  }
2328
- const on = {
2308
+ const tn = {
2329
2309
  name: "Custom Code",
2330
2310
  static: !0,
2331
2311
  requiredPermissions: ["editCode"],
@@ -2348,9 +2328,9 @@ const on = {
2348
2328
  advanced: !0
2349
2329
  }]
2350
2330
  };
2351
- function an(e) {
2352
- const t = D(null), [n, i] = T(() => []), [o, a] = T(() => []);
2353
- return P(() => {
2331
+ function nn(e) {
2332
+ const t = $(null), [n, i] = T(() => []), [o, a] = T(() => []);
2333
+ return B(() => {
2354
2334
  var s;
2355
2335
  if (!((s = t.current) != null && s.getElementsByTagName) || typeof window == "undefined")
2356
2336
  return;
@@ -2361,8 +2341,8 @@ function an(e) {
2361
2341
  if (n.includes(c.src))
2362
2342
  continue;
2363
2343
  n.push(c.src);
2364
- const f = document.createElement("script");
2365
- f.async = !0, f.src = c.src, document.head.appendChild(f);
2344
+ const h = document.createElement("script");
2345
+ h.async = !0, h.src = c.src, document.head.appendChild(h);
2366
2346
  } else if (!c.type || [
2367
2347
  "text/javascript",
2368
2348
  "application/javascript",
@@ -2372,8 +2352,8 @@ function an(e) {
2372
2352
  continue;
2373
2353
  try {
2374
2354
  o.push(c.innerText), new Function(c.innerText)();
2375
- } catch (f) {
2376
- console.warn("`CustomCode`: Error running script:", f);
2355
+ } catch (h) {
2356
+ console.warn("`CustomCode`: Error running script:", h);
2377
2357
  }
2378
2358
  }
2379
2359
  }
@@ -2386,7 +2366,7 @@ function an(e) {
2386
2366
  }
2387
2367
  );
2388
2368
  }
2389
- const rn = {
2369
+ const on = {
2390
2370
  name: "Embed",
2391
2371
  static: !0,
2392
2372
  inputs: [{
@@ -2401,28 +2381,28 @@ const rn = {
2401
2381
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2402
2382
  hideFromUI: !0
2403
2383
  }]
2404
- }, ln = ["text/javascript", "application/javascript", "application/ecmascript"], sn = (e) => ln.includes(e.type);
2405
- function cn(e) {
2406
- const t = D(null), [n, i] = T(() => []), [o, a] = T(() => []), [r, s] = T(() => !1);
2384
+ }, an = ["text/javascript", "application/javascript", "application/ecmascript"], rn = (e) => an.includes(e.type);
2385
+ function ln(e) {
2386
+ const t = $(null), [n, i] = T(() => []), [o, a] = T(() => []), [r, s] = T(() => !1);
2407
2387
  function d() {
2408
2388
  if (!t.current || !t.current.getElementsByTagName)
2409
2389
  return;
2410
2390
  const c = t.current.getElementsByTagName("script");
2411
- for (let f = 0; f < c.length; f++) {
2412
- const b = c[f];
2391
+ for (let h = 0; h < c.length; h++) {
2392
+ const b = c[h];
2413
2393
  if (b.src && !n.includes(b.src)) {
2414
2394
  n.push(b.src);
2415
- const h = document.createElement("script");
2416
- h.async = !0, h.src = b.src, document.head.appendChild(h);
2417
- } else if (sn(b) && !o.includes(b.innerText))
2395
+ const f = document.createElement("script");
2396
+ f.async = !0, f.src = b.src, document.head.appendChild(f);
2397
+ } else if (rn(b) && !o.includes(b.innerText))
2418
2398
  try {
2419
2399
  o.push(b.innerText), new Function(b.innerText)();
2420
- } catch (h) {
2421
- console.warn("`Embed`: Error running script:", h);
2400
+ } catch (f) {
2401
+ console.warn("`Embed`: Error running script:", f);
2422
2402
  }
2423
2403
  }
2424
2404
  }
2425
- return P(() => {
2405
+ return B(() => {
2426
2406
  t.current && !r && (s(!0), d());
2427
2407
  }, [t.current, r]), /* @__PURE__ */ l(
2428
2408
  "div",
@@ -2433,7 +2413,7 @@ function cn(e) {
2433
2413
  }
2434
2414
  );
2435
2415
  }
2436
- const dn = {
2416
+ const sn = {
2437
2417
  name: "Form:Form",
2438
2418
  // editableTags: ['builder-form-error']
2439
2419
  defaults: {
@@ -2670,16 +2650,13 @@ const dn = {
2670
2650
  builderComponents: !0,
2671
2651
  builderLinkComponent: !0
2672
2652
  }
2673
- }, un = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], mn = () => {
2653
+ }, cn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], dn = () => {
2674
2654
  const e = process.env.NODE_ENV || "production";
2675
- return un.includes(e) ? e : "production";
2676
- }, fn = (e, t, n) => {
2677
- const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
2678
- return i === void 0 || i === e ? n : i;
2655
+ return cn.includes(e) ? e : "production";
2679
2656
  };
2680
- function hn(e) {
2681
- var b, h;
2682
- const t = D(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2657
+ function un(e) {
2658
+ var b, f;
2659
+ const t = $(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2683
2660
  function d(v) {
2684
2661
  var S, x;
2685
2662
  const g = {
@@ -2689,9 +2666,9 @@ function hn(e) {
2689
2666
  e.builderContext.rootSetState ? (x = (S = e.builderContext).rootSetState) == null || x.call(S, g) : e.builderContext.rootState = g;
2690
2667
  }
2691
2668
  function c() {
2692
- return N() && e.previewState || n;
2669
+ return W() && e.previewState || n;
2693
2670
  }
2694
- function f(v) {
2671
+ function h(v) {
2695
2672
  var S;
2696
2673
  const g = e.sendWithJs || e.sendSubmissionsTo === "email";
2697
2674
  if (e.sendSubmissionsTo === "zapier")
@@ -2704,7 +2681,7 @@ function hn(e) {
2704
2681
  v.preventDefault();
2705
2682
  const x = v.currentTarget || v.target, R = e.customHeaders || {};
2706
2683
  let C;
2707
- const k = new FormData(x), W = Array.from(x.querySelectorAll("input,select,textarea")).filter((u) => !!u.name).map((u) => {
2684
+ const k = new FormData(x), N = Array.from(x.querySelectorAll("input,select,textarea")).filter((u) => !!u.name).map((u) => {
2708
2685
  let p;
2709
2686
  const E = u.name;
2710
2687
  if (u instanceof HTMLInputElement)
@@ -2717,8 +2694,8 @@ function hn(e) {
2717
2694
  } else if (u.type === "checkbox")
2718
2695
  p = u.checked;
2719
2696
  else if (u.type === "number" || u.type === "range") {
2720
- const B = u.valueAsNumber;
2721
- isNaN(B) || (p = B);
2697
+ const P = u.valueAsNumber;
2698
+ isNaN(P) || (p = P);
2722
2699
  } else
2723
2700
  u.type === "file" ? p = u.files : p = u.value;
2724
2701
  else
@@ -2729,14 +2706,14 @@ function hn(e) {
2729
2706
  };
2730
2707
  });
2731
2708
  let m = e.contentType;
2732
- if (e.sendSubmissionsTo === "email" && (m = "multipart/form-data"), Array.from(W).forEach(({ value: u }) => {
2709
+ if (e.sendSubmissionsTo === "email" && (m = "multipart/form-data"), Array.from(N).forEach(({ value: u }) => {
2733
2710
  (u instanceof File || Array.isArray(u) && u[0] instanceof File || u instanceof FileList) && (m = "multipart/form-data");
2734
2711
  }), m !== "application/json")
2735
2712
  C = k;
2736
2713
  else {
2737
2714
  const u = {};
2738
- Array.from(W).forEach(({ value: p, key: E }) => {
2739
- Be(u, E, p);
2715
+ Array.from(N).forEach(({ value: p, key: E }) => {
2716
+ Ee(u, E, p);
2740
2717
  }), C = JSON.stringify(u);
2741
2718
  }
2742
2719
  m && m !== "multipart/form-data" && (g && ((S = e.action) != null && S.includes("zapier.com")) || (R["content-type"] = m));
@@ -2744,7 +2721,7 @@ function hn(e) {
2744
2721
  if (t.current && (t.current.dispatchEvent(y), y.defaultPrevented))
2745
2722
  return;
2746
2723
  i("sending");
2747
- const I = `${mn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2724
+ const I = `${dn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2748
2725
  e.sendSubmissionsToEmail || ""
2749
2726
  )}&name=${encodeURIComponent(e.name || "")}`;
2750
2727
  fetch(
@@ -2755,15 +2732,15 @@ function hn(e) {
2755
2732
  let p;
2756
2733
  const E = u.headers.get("content-type");
2757
2734
  if (E && E.indexOf("application/json") !== -1 ? p = await u.json() : p = await u.text(), !u.ok && e.errorMessagePath) {
2758
- let B = fn(p, e.errorMessagePath);
2759
- B && (typeof B != "string" && (B = JSON.stringify(B)), s(B), d({ formErrorMessage: B }));
2735
+ let P = Ie(p, e.errorMessagePath);
2736
+ P && (typeof P != "string" && (P = JSON.stringify(P)), s(P), d({ formErrorMessage: P }));
2760
2737
  }
2761
2738
  if (a(p), i(u.ok ? "success" : "error"), u.ok) {
2762
- const B = new CustomEvent("submit:success", {
2739
+ const P = new CustomEvent("submit:success", {
2763
2740
  detail: { res: u, body: p }
2764
2741
  });
2765
2742
  if (t.current) {
2766
- if (t.current.dispatchEvent(B), B.defaultPrevented)
2743
+ if (t.current.dispatchEvent(P), P.defaultPrevented)
2767
2744
  return;
2768
2745
  e.resetFormOnSubmit !== !1 && t.current.reset();
2769
2746
  }
@@ -2796,11 +2773,11 @@ function hn(e) {
2796
2773
  action: !e.sendWithJs && e.action,
2797
2774
  method: e.method,
2798
2775
  name: e.name,
2799
- onSubmit: (v) => f(v),
2776
+ onSubmit: (v) => h(v),
2800
2777
  ...e.attributes,
2801
2778
  children: [
2802
- 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(
2803
- K,
2779
+ 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(
2780
+ M,
2804
2781
  {
2805
2782
  block: v,
2806
2783
  context: e.builderContext,
@@ -2842,7 +2819,7 @@ function hn(e) {
2842
2819
  " "
2843
2820
  ] });
2844
2821
  }
2845
- const gn = {
2822
+ const mn = {
2846
2823
  name: "Form:Input",
2847
2824
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2848
2825
  inputs: [
@@ -2894,12 +2871,12 @@ const gn = {
2894
2871
  borderColor: "#ccc"
2895
2872
  }
2896
2873
  };
2897
- function bn(e) {
2898
- return /* @__PURE__ */ we(
2874
+ function fn(e) {
2875
+ return /* @__PURE__ */ Ce(
2899
2876
  "input",
2900
2877
  {
2901
2878
  ...e.attributes,
2902
- key: N() && e.defaultValue ? e.defaultValue : "default-key",
2879
+ key: W() && e.defaultValue ? e.defaultValue : "default-key",
2903
2880
  placeholder: e.placeholder,
2904
2881
  type: e.type,
2905
2882
  name: e.name,
@@ -2909,7 +2886,7 @@ function bn(e) {
2909
2886
  }
2910
2887
  );
2911
2888
  }
2912
- const pn = {
2889
+ const hn = {
2913
2890
  name: "Form:Select",
2914
2891
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2915
2892
  defaultStyles: {
@@ -2952,14 +2929,14 @@ const pn = {
2952
2929
  static: !0,
2953
2930
  noWrap: !0
2954
2931
  };
2955
- function yn(e) {
2932
+ function gn(e) {
2956
2933
  var t;
2957
- return /* @__PURE__ */ we(
2934
+ return /* @__PURE__ */ Ce(
2958
2935
  "select",
2959
2936
  {
2960
2937
  ...e.attributes,
2961
2938
  value: e.value,
2962
- key: N() && e.defaultValue ? e.defaultValue : "default-key",
2939
+ key: W() && e.defaultValue ? e.defaultValue : "default-key",
2963
2940
  defaultValue: e.defaultValue,
2964
2941
  name: e.name,
2965
2942
  required: e.required
@@ -2967,7 +2944,7 @@ function yn(e) {
2967
2944
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ l("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
2968
2945
  );
2969
2946
  }
2970
- const xn = {
2947
+ const bn = {
2971
2948
  name: "Form:SubmitButton",
2972
2949
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
2973
2950
  defaultStyles: {
@@ -2993,10 +2970,10 @@ const xn = {
2993
2970
  // TODO: defaultChildren
2994
2971
  // canHaveChildren: true,
2995
2972
  };
2996
- function vn(e) {
2973
+ function pn(e) {
2997
2974
  return /* @__PURE__ */ l("button", { type: "submit", ...e.attributes, children: e.text });
2998
2975
  }
2999
- const Sn = {
2976
+ const yn = {
3000
2977
  name: "Form:TextArea",
3001
2978
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3002
2979
  inputs: [{
@@ -3033,7 +3010,7 @@ const Sn = {
3033
3010
  static: !0,
3034
3011
  noWrap: !0
3035
3012
  };
3036
- function kn(e) {
3013
+ function xn(e) {
3037
3014
  return /* @__PURE__ */ l(
3038
3015
  "textarea",
3039
3016
  {
@@ -3046,7 +3023,7 @@ function kn(e) {
3046
3023
  }
3047
3024
  );
3048
3025
  }
3049
- const Cn = {
3026
+ const vn = {
3050
3027
  // friendlyName?
3051
3028
  name: "Raw:Img",
3052
3029
  hideFromInsertMenu: !0,
@@ -3061,7 +3038,7 @@ const Cn = {
3061
3038
  noWrap: !0,
3062
3039
  static: !0
3063
3040
  };
3064
- function Tn(e) {
3041
+ function Sn(e) {
3065
3042
  return /* @__PURE__ */ l(
3066
3043
  "img",
3067
3044
  {
@@ -3073,10 +3050,10 @@ function Tn(e) {
3073
3050
  src: e.imgSrc || e.image,
3074
3051
  ...e.attributes
3075
3052
  },
3076
- N() && e.imgSrc || "default-key"
3053
+ W() && e.imgSrc || "default-key"
3077
3054
  );
3078
3055
  }
3079
- const In = {
3056
+ const kn = {
3080
3057
  name: "Video",
3081
3058
  canHaveChildren: !0,
3082
3059
  defaultStyles: {
@@ -3161,7 +3138,7 @@ const In = {
3161
3138
  builderBlock: !0
3162
3139
  }
3163
3140
  };
3164
- function wn(e) {
3141
+ function Cn(e) {
3165
3142
  var i, o, a, r, s, d, c;
3166
3143
  function t() {
3167
3144
  return {
@@ -3262,64 +3239,64 @@ function wn(e) {
3262
3239
  }
3263
3240
  );
3264
3241
  }
3265
- const En = () => [{
3266
- component: an,
3242
+ const Tn = () => [{
3243
+ component: nn,
3244
+ ...tn
3245
+ }, {
3246
+ component: ln,
3267
3247
  ...on
3268
3248
  }, {
3269
- component: cn,
3270
- ...rn
3249
+ component: un,
3250
+ ...sn
3271
3251
  }, {
3272
- component: hn,
3273
- ...dn
3252
+ component: fn,
3253
+ ...mn
3274
3254
  }, {
3275
- component: bn,
3276
- ...gn
3255
+ component: pn,
3256
+ ...bn
3277
3257
  }, {
3278
- component: vn,
3279
- ...xn
3258
+ component: gn,
3259
+ ...hn
3280
3260
  }, {
3281
- component: yn,
3282
- ...pn
3261
+ component: xn,
3262
+ ...yn
3283
3263
  }, {
3284
- component: kn,
3285
- ...Sn
3264
+ component: Sn,
3265
+ ...vn
3286
3266
  }, {
3287
- component: Tn,
3288
- ...Cn
3267
+ component: Cn,
3268
+ ...kn
3269
+ }], be = () => [{
3270
+ component: Je,
3271
+ ..._t
3289
3272
  }, {
3290
- component: wn,
3291
- ...In
3292
- }], xe = () => [{
3293
- component: Xe,
3273
+ component: Ft,
3274
+ ...Ht
3275
+ }, {
3276
+ component: $t,
3294
3277
  ...qt
3295
3278
  }, {
3296
- component: Dt,
3297
- ..._t
3279
+ component: Ot,
3280
+ ...Kt
3298
3281
  }, {
3299
- component: Lt,
3282
+ component: Ut,
3300
3283
  ...zt
3301
3284
  }, {
3302
- component: Mt,
3285
+ component: Gt,
3303
3286
  ...Jt
3304
3287
  }, {
3305
- component: jt,
3288
+ component: zn,
3306
3289
  ...Yt
3307
- }, {
3308
- component: Qt,
3309
- ...Gt
3310
- }, {
3311
- component: Gn,
3312
- ...Xt
3313
- }, {
3314
- component: nn,
3315
- ...tn
3316
3290
  }, {
3317
3291
  component: en,
3318
3292
  ...Zt
3319
3293
  }, {
3320
- component: Kt,
3321
- ...Ht
3322
- }, ...En()], Rn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3294
+ component: Xt,
3295
+ ...Qt
3296
+ }, {
3297
+ component: Mt,
3298
+ ...jt
3299
+ }, ...Tn()], In = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3323
3300
  function getAndSetVariantId() {
3324
3301
  function setCookie(name, value, days) {
3325
3302
  let expires = '';
@@ -3375,7 +3352,7 @@ const En = () => [{
3375
3352
  }).join('');
3376
3353
  styleEl.innerHTML = newStyleStr;
3377
3354
  }
3378
- }`, Bn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3355
+ }`, wn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3379
3356
  if (!navigator.cookieEnabled) {
3380
3357
  return;
3381
3358
  }
@@ -3409,26 +3386,26 @@ const En = () => [{
3409
3386
  thisScriptEl?.remove();
3410
3387
  }
3411
3388
  return;
3412
- }`, Le = "builderIoAbTest", Oe = "builderIoRenderContent", _ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3389
+ }`, $e = "builderIoAbTest", De = "builderIoRenderContent", H = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3413
3390
  ...t,
3414
3391
  testVariationId: t.id,
3415
3392
  id: e == null ? void 0 : e.id
3416
- })), Pn = ({
3393
+ })), En = ({
3417
3394
  canTrack: e,
3418
3395
  content: t
3419
- }) => !(!(_(t).length > 0) || !e || U()), Vn = (e) => e === "react" || e === "reactNative", Ue = Vn(L), An = () => `
3420
- window.${Le} = ${Rn}
3421
- window.${Oe} = ${Bn}
3422
- `, Wn = (e, t) => `
3423
- window.${Le}(
3424
- "${t}",${JSON.stringify(e)}, ${Ue}
3425
- )`, Nn = ({
3396
+ }) => !(!(H(t).length > 0) || !e || L()), Rn = (e) => e === "react" || e === "reactNative", Le = Rn(D), Pn = () => `
3397
+ window.${$e} = ${In}
3398
+ window.${De} = ${wn}
3399
+ `, Bn = (e, t) => `
3400
+ window.${$e}(
3401
+ "${t}",${JSON.stringify(e)}, ${Le}
3402
+ )`, Vn = ({
3426
3403
  contentId: e,
3427
3404
  variationId: t
3428
- }) => `window.${Oe}(
3429
- "${t}", "${e}", ${Ue}
3405
+ }) => `window.${De}(
3406
+ "${t}", "${e}", ${Le}
3430
3407
  )`;
3431
- function ae(e) {
3408
+ function ne(e) {
3432
3409
  return /* @__PURE__ */ l(
3433
3410
  "script",
3434
3411
  {
@@ -3438,10 +3415,10 @@ function ae(e) {
3438
3415
  }
3439
3416
  );
3440
3417
  }
3441
- function ve(e) {
3418
+ function pe(e) {
3442
3419
  return Math.round(e * 1e3) / 1e3;
3443
3420
  }
3444
- const Fn = (e, t, n = !0) => {
3421
+ const An = (e, t, n = !0) => {
3445
3422
  if (!(e instanceof HTMLElement))
3446
3423
  return null;
3447
3424
  let i = n ? e : e.parentElement;
@@ -3452,35 +3429,35 @@ const Fn = (e, t, n = !0) => {
3452
3429
  return i;
3453
3430
  } while (i = i.parentElement);
3454
3431
  return null;
3455
- }, $n = (e) => Fn(e, (t) => {
3432
+ }, Nn = (e) => An(e, (t) => {
3456
3433
  const n = t.getAttribute("builder-id") || t.id;
3457
3434
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3458
- }), Se = ({
3435
+ }), ye = ({
3459
3436
  event: e,
3460
3437
  target: t
3461
3438
  }) => {
3462
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ve(i / n.width), r = ve(o / n.height);
3439
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = pe(i / n.width), r = pe(o / n.height);
3463
3440
  return {
3464
3441
  x: a,
3465
3442
  y: r
3466
3443
  };
3467
- }, Dn = (e) => {
3468
- const t = e.target, n = t && $n(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3444
+ }, Wn = (e) => {
3445
+ const t = e.target, n = t && Nn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3469
3446
  return {
3470
3447
  targetBuilderElement: i || void 0,
3471
3448
  metadata: {
3472
- targetOffset: t ? Se({
3449
+ targetOffset: t ? ye({
3473
3450
  event: e,
3474
3451
  target: t
3475
3452
  }) : void 0,
3476
- builderTargetOffset: n ? Se({
3453
+ builderTargetOffset: n ? ye({
3477
3454
  event: e,
3478
3455
  target: n
3479
3456
  }) : void 0,
3480
3457
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
3481
3458
  }
3482
3459
  };
3483
- }, Ln = (e) => {
3460
+ }, Fn = (e) => {
3484
3461
  var a, r;
3485
3462
  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;
3486
3463
  let o = "";
@@ -3506,15 +3483,15 @@ font-weight: ${s};
3506
3483
  `.trim());
3507
3484
  }
3508
3485
  return o;
3509
- }, On = ({
3486
+ }, $n = ({
3510
3487
  customFonts: e
3511
3488
  }) => {
3512
3489
  var t;
3513
- return ((t = e == null ? void 0 : e.map((n) => Ln(n))) == null ? void 0 : t.join(" ")) || "";
3514
- }, Un = ({
3490
+ return ((t = e == null ? void 0 : e.map((n) => Fn(n))) == null ? void 0 : t.join(" ")) || "";
3491
+ }, Dn = ({
3515
3492
  cssCode: e,
3516
3493
  contentId: t
3517
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Mn = `
3494
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ln = `
3518
3495
  .builder-button {
3519
3496
  all: unset;
3520
3497
  }
@@ -3531,10 +3508,10 @@ font-weight: ${s};
3531
3508
  text-align: inherit;
3532
3509
  font-family: inherit;
3533
3510
  }
3534
- `, jn = (e) => e ? "" : Mn, Hn = (e) => `variant-${e}`;
3535
- function Kn(e) {
3536
- var C, k, W;
3537
- const t = D(null);
3511
+ `, On = (e) => e ? "" : Ln, Un = (e) => `variant-${e}`;
3512
+ function jn(e) {
3513
+ var C, k, N;
3514
+ const t = $(null);
3538
3515
  function n(m) {
3539
3516
  var I, u;
3540
3517
  const y = {
@@ -3547,7 +3524,7 @@ function Kn(e) {
3547
3524
  }));
3548
3525
  }
3549
3526
  function i(m) {
3550
- var I, u, p, E, B;
3527
+ var I, u, p, E, P;
3551
3528
  const y = {
3552
3529
  ...e.builderContextSignal.content,
3553
3530
  ...m,
@@ -3558,7 +3535,7 @@ function Kn(e) {
3558
3535
  meta: {
3559
3536
  ...(u = e.builderContextSignal.content) == null ? void 0 : u.meta,
3560
3537
  ...m == null ? void 0 : m.meta,
3561
- breakpoints: ((p = m == null ? void 0 : m.meta) == null ? void 0 : p.breakpoints) || ((B = (E = e.builderContextSignal.content) == null ? void 0 : E.meta) == null ? void 0 : B.breakpoints)
3538
+ 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)
3562
3539
  }
3563
3540
  };
3564
3541
  e.setBuilderContextSignal((A) => ({
@@ -3576,7 +3553,7 @@ function Kn(e) {
3576
3553
  () => e.contentWrapper || "div"
3577
3554
  );
3578
3555
  function s(m) {
3579
- return Je({
3556
+ return He({
3580
3557
  model: e.model,
3581
3558
  trustedHosts: e.trustedHosts,
3582
3559
  callbacks: {
@@ -3590,7 +3567,7 @@ function Kn(e) {
3590
3567
  });
3591
3568
  },
3592
3569
  animation: (y) => {
3593
- Ae(y);
3570
+ Be(y);
3594
3571
  },
3595
3572
  contentUpdate: (y) => {
3596
3573
  i(y);
@@ -3598,61 +3575,60 @@ function Kn(e) {
3598
3575
  }
3599
3576
  })(m);
3600
3577
  }
3601
- const [d, c] = T(() => ({})), [f, b] = T(() => ({})), [h, v] = T(() => !1);
3578
+ const [d, c] = T(() => ({})), [h, b] = T(() => ({})), [f, v] = T(() => !1);
3602
3579
  function g(m) {
3603
3580
  var y, I;
3604
3581
  if (e.builderContextSignal.content) {
3605
3582
  const u = (y = e.builderContextSignal.content) == null ? void 0 : y.testVariationId, p = (I = e.builderContextSignal.content) == null ? void 0 : I.id;
3606
- de({
3583
+ le({
3607
3584
  type: "click",
3608
- canTrack: J(e.canTrack),
3585
+ canTrack: K(e.canTrack),
3609
3586
  contentId: p,
3610
3587
  apiKey: e.apiKey,
3611
3588
  variationId: u !== p ? u : void 0,
3612
- ...Dn(m),
3613
- unique: !h
3589
+ ...Wn(m),
3590
+ unique: !f
3614
3591
  });
3615
3592
  }
3616
- h || v(!0);
3593
+ f || v(!0);
3617
3594
  }
3618
3595
  function S() {
3619
3596
  var y, I, u;
3620
3597
  const m = (u = (I = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : I.httpRequests) != null ? u : {};
3621
3598
  Object.entries(m).forEach(([p, E]) => {
3622
- if (!E || f[p] || d[p] && !N())
3599
+ if (!E || h[p] || d[p] && !W())
3623
3600
  return;
3624
- f[p] = !0;
3625
- const B = E.replace(
3601
+ h[p] = !0;
3602
+ const P = E.replace(
3626
3603
  /{{([^}]+)}}/g,
3627
- (A, Me) => String(
3628
- M({
3629
- code: Me,
3604
+ (A, Oe) => String(
3605
+ O({
3606
+ code: Oe,
3630
3607
  context: e.context || {},
3631
3608
  localState: void 0,
3632
3609
  rootState: e.builderContextSignal.rootState,
3633
- rootSetState: e.builderContextSignal.rootSetState,
3634
- enableCache: !0
3610
+ rootSetState: e.builderContextSignal.rootSetState
3635
3611
  })
3636
3612
  )
3637
3613
  );
3638
- fetch(B).then((A) => A.json()).then((A) => {
3614
+ fetch(P).then((A) => A.json()).then((A) => {
3639
3615
  n({
3640
3616
  [p]: A
3641
3617
  }), d[p] = !0;
3642
3618
  }).catch((A) => {
3643
3619
  console.error("error fetching dynamic data", E, A);
3644
3620
  }).finally(() => {
3645
- f[p] = !1;
3621
+ h[p] = !1;
3646
3622
  });
3647
3623
  });
3648
3624
  }
3649
3625
  function x() {
3650
- N() && window.dispatchEvent(
3626
+ W() && window.dispatchEvent(
3651
3627
  new CustomEvent(
3652
3628
  "builder:component:stateChange",
3653
3629
  {
3654
3630
  detail: {
3655
- state: se(e.builderContextSignal.rootState),
3631
+ state: ae(e.builderContextSignal.rootState),
3656
3632
  ref: {
3657
3633
  name: e.model
3658
3634
  }
@@ -3661,11 +3637,11 @@ function Kn(e) {
3661
3637
  )
3662
3638
  );
3663
3639
  }
3664
- const R = D(!1);
3665
- return R.current || (S(), x(), R.current = !0), P(() => {
3640
+ const R = $(!1);
3641
+ return R.current || (S(), x(), R.current = !0), B(() => {
3666
3642
  var m, y;
3667
- if (U()) {
3668
- if (N() && (window.addEventListener("message", s), qe(), _e({
3643
+ if (L()) {
3644
+ if (W() && (window.addEventListener("message", s), je(), Me({
3669
3645
  ...e.locale ? {
3670
3646
  locale: e.locale
3671
3647
  } : {},
@@ -3679,14 +3655,14 @@ function Kn(e) {
3679
3655
  e.builderContextSignal.componentInfos
3680
3656
  ).forEach((u) => {
3681
3657
  var E;
3682
- const p = ze(u);
3658
+ const p = _e(u);
3683
3659
  (E = window.parent) == null || E.postMessage(p, "*");
3684
3660
  }), window.addEventListener(
3685
3661
  "builder:component:stateChangeListenerActivated",
3686
3662
  x
3687
- )), e.builderContextSignal.content && J(e.canTrack)) {
3663
+ )), e.builderContextSignal.content && K(e.canTrack)) {
3688
3664
  const u = (m = e.builderContextSignal.content) == null ? void 0 : m.testVariationId, p = (y = e.builderContextSignal.content) == null ? void 0 : y.id, E = e.apiKey;
3689
- de({
3665
+ le({
3690
3666
  type: "impression",
3691
3667
  canTrack: !0,
3692
3668
  contentId: p,
@@ -3694,11 +3670,11 @@ function Kn(e) {
3694
3670
  variationId: u !== p ? u : void 0
3695
3671
  });
3696
3672
  }
3697
- if (Ce() && !N()) {
3673
+ if (ve() && !W()) {
3698
3674
  const u = new URL(location.href).searchParams, p = u.get("builder.preview"), E = u.get(
3699
3675
  `builder.overrides.${p}`
3700
- ), B = u.get("apiKey") || u.get("builder.space");
3701
- p === e.model && B === e.apiKey && (!e.content || E === e.content.id) && Te({
3676
+ ), P = u.get("apiKey") || u.get("builder.space");
3677
+ p === e.model && P === e.apiKey && (!e.content || E === e.content.id) && Se({
3702
3678
  model: e.model,
3703
3679
  apiKey: e.apiKey,
3704
3680
  apiVersion: e.builderContextSignal.apiVersion
@@ -3707,30 +3683,30 @@ function Kn(e) {
3707
3683
  });
3708
3684
  }
3709
3685
  }
3710
- }, []), P(() => {
3686
+ }, []), B(() => {
3711
3687
  e.content && i(e.content);
3712
- }, [e.content]), P(() => {
3688
+ }, [e.content]), B(() => {
3713
3689
  x();
3714
- }, [e.builderContextSignal.rootState]), P(() => {
3690
+ }, [e.builderContextSignal.rootState]), B(() => {
3715
3691
  e.data && n(e.data);
3716
- }, [e.data]), P(() => {
3692
+ }, [e.data]), B(() => {
3717
3693
  e.locale && n({
3718
3694
  locale: e.locale
3719
3695
  });
3720
- }, [e.locale]), P(() => () => {
3721
- U() && (window.removeEventListener("message", s), window.removeEventListener(
3696
+ }, [e.locale]), B(() => () => {
3697
+ L() && (window.removeEventListener("message", s), window.removeEventListener(
3722
3698
  "builder:component:stateChangeListenerActivated",
3723
3699
  x
3724
3700
  ));
3725
- }, []), /* @__PURE__ */ l(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3701
+ }, []), /* @__PURE__ */ l(oe.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3726
3702
  a,
3727
3703
  {
3728
3704
  ref: t,
3729
3705
  onClick: (m) => g(m),
3730
3706
  "builder-content-id": (C = e.builderContextSignal.content) == null ? void 0 : C.id,
3731
3707
  "builder-model": e.model,
3732
- className: Hn(
3733
- ((k = e.content) == null ? void 0 : k.testVariationId) || ((W = e.content) == null ? void 0 : W.id)
3708
+ className: Un(
3709
+ ((k = e.content) == null ? void 0 : k.testVariationId) || ((N = e.content) == null ? void 0 : N.id)
3734
3710
  ),
3735
3711
  ...o(),
3736
3712
  ...e.contentWrapperProps,
@@ -3738,21 +3714,21 @@ function Kn(e) {
3738
3714
  }
3739
3715
  ) : null });
3740
3716
  }
3741
- function qn(e) {
3717
+ function Mn(e) {
3742
3718
  const [t, n] = T(
3743
3719
  () => `
3744
- ${Un({
3720
+ ${Dn({
3745
3721
  cssCode: e.cssCode,
3746
3722
  contentId: e.contentId
3747
3723
  })}
3748
- ${On({
3724
+ ${$n({
3749
3725
  customFonts: e.customFonts
3750
3726
  })}
3751
- ${jn(e.isNestedRender)}
3727
+ ${On(e.isNestedRender)}
3752
3728
  `.trim()
3753
3729
  );
3754
3730
  return /* @__PURE__ */ l(
3755
- Q,
3731
+ G,
3756
3732
  {
3757
3733
  id: "builderio-content",
3758
3734
  styles: t,
@@ -3777,7 +3753,7 @@ const _n = ({
3777
3753
  locale: n
3778
3754
  } : {}
3779
3755
  };
3780
- }, zn = ({
3756
+ }, Hn = ({
3781
3757
  content: e,
3782
3758
  data: t
3783
3759
  }) => e ? {
@@ -3788,12 +3764,12 @@ const _n = ({
3788
3764
  },
3789
3765
  meta: e == null ? void 0 : e.meta
3790
3766
  } : void 0;
3791
- function ke(e) {
3792
- var c, f, b, h, v, g, S, x, R;
3767
+ function xe(e) {
3768
+ var c, h, b, f, v, g, S, x, R;
3793
3769
  const [t, n] = T(
3794
3770
  () => {
3795
3771
  var C, k;
3796
- return Nn({
3772
+ return Vn({
3797
3773
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3798
3774
  variationId: (C = e.content) == null ? void 0 : C.testVariationId,
3799
3775
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -3811,14 +3787,14 @@ function ke(e) {
3811
3787
  () => {
3812
3788
  var C;
3813
3789
  return [
3814
- ...xe(),
3790
+ ...be(),
3815
3791
  ...((C = e.customComponents) == null ? void 0 : C.filter(({ models: k }) => !(k != null && k.length) || !e.model ? !0 : k.includes(e.model))) || []
3816
3792
  ].reduce(
3817
- (k, { component: W, ...m }) => ({
3793
+ (k, { component: N, ...m }) => ({
3818
3794
  ...k,
3819
3795
  [m.name]: {
3820
- component: W,
3821
- ...ue(m)
3796
+ component: N,
3797
+ ...se(m)
3822
3798
  }
3823
3799
  }),
3824
3800
  {}
@@ -3827,7 +3803,7 @@ function ke(e) {
3827
3803
  ), [r, s] = T(() => {
3828
3804
  var C;
3829
3805
  return {
3830
- content: zn({
3806
+ content: Hn({
3831
3807
  content: e.content,
3832
3808
  data: e.data
3833
3809
  }),
@@ -3843,12 +3819,12 @@ function ke(e) {
3843
3819
  apiKey: e.apiKey,
3844
3820
  apiVersion: e.apiVersion,
3845
3821
  componentInfos: [
3846
- ...xe(),
3822
+ ...be(),
3847
3823
  ...((C = e.customComponents) == null ? void 0 : C.filter(({ models: k }) => !(k != null && k.length) || !e.model ? !0 : k.includes(e.model))) || []
3848
3824
  ].reduce(
3849
- (k, { component: W, ...m }) => ({
3825
+ (k, { component: N, ...m }) => ({
3850
3826
  ...k,
3851
- [m.name]: ue(m)
3827
+ [m.name]: se(m)
3852
3828
  }),
3853
3829
  {}
3854
3830
  ),
@@ -3857,13 +3833,13 @@ function ke(e) {
3857
3833
  BlocksWrapperProps: e.blocksWrapperProps || {},
3858
3834
  nonce: e.nonce || ""
3859
3835
  };
3860
- }), d = D(!1);
3836
+ }), d = $(!1);
3861
3837
  if (!d.current) {
3862
- e.apiKey || Y.error(
3838
+ e.apiKey || z.error(
3863
3839
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3864
3840
  );
3865
- const C = (f = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : f.jsCode;
3866
- C && M({
3841
+ const C = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
3842
+ C && O({
3867
3843
  code: C,
3868
3844
  context: e.context || {},
3869
3845
  localState: void 0,
@@ -3871,21 +3847,17 @@ function ke(e) {
3871
3847
  rootSetState: (k) => {
3872
3848
  Object.assign(r.rootState, k);
3873
3849
  },
3874
- isExpression: !1,
3875
- /**
3876
- * We don't want to cache the result of the JS code, since it's arbitrary side effect code.
3877
- */
3878
- enableCache: !1
3850
+ isExpression: !1
3879
3851
  }), d.current = !0;
3880
3852
  }
3881
3853
  return /* @__PURE__ */ l(
3882
- Ee.Provider,
3854
+ Te.Provider,
3883
3855
  {
3884
3856
  value: {
3885
3857
  registeredComponents: o
3886
3858
  },
3887
3859
  children: /* @__PURE__ */ V(
3888
- Kn,
3860
+ jn,
3889
3861
  {
3890
3862
  nonce: e.nonce,
3891
3863
  content: e.content,
@@ -3904,7 +3876,7 @@ function ke(e) {
3904
3876
  setBuilderContextSignal: s,
3905
3877
  children: [
3906
3878
  e.isSsrAbTest ? /* @__PURE__ */ l(
3907
- ae,
3879
+ ne,
3908
3880
  {
3909
3881
  id: "builderio-variant-visibility",
3910
3882
  scriptStr: t,
@@ -3912,12 +3884,12 @@ function ke(e) {
3912
3884
  }
3913
3885
  ) : null,
3914
3886
  /* @__PURE__ */ l(
3915
- qn,
3887
+ Mn,
3916
3888
  {
3917
3889
  nonce: e.nonce || "",
3918
3890
  isNestedRender: e.isNestedRender,
3919
3891
  contentId: (b = r.content) == null ? void 0 : b.id,
3920
- cssCode: (v = (h = r.content) == null ? void 0 : h.data) == null ? void 0 : v.cssCode,
3892
+ cssCode: (v = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : v.cssCode,
3921
3893
  customFonts: (S = (g = r.content) == null ? void 0 : g.data) == null ? void 0 : S.customFonts
3922
3894
  }
3923
3895
  ),
@@ -3936,18 +3908,18 @@ function ke(e) {
3936
3908
  }
3937
3909
  );
3938
3910
  }
3939
- function Jn(e) {
3911
+ function qn(e) {
3940
3912
  var r;
3941
3913
  const [t, n] = T(
3942
- () => Pn({
3943
- canTrack: J(e.canTrack),
3914
+ () => En({
3915
+ canTrack: K(e.canTrack),
3944
3916
  content: e.content
3945
3917
  })
3946
3918
  );
3947
3919
  function i() {
3948
3920
  var s;
3949
- return Wn(
3950
- _(e.content).map((d) => ({
3921
+ return Bn(
3922
+ H(e.content).map((d) => ({
3951
3923
  id: d.testVariationId,
3952
3924
  testRatio: d.testRatio
3953
3925
  })),
@@ -3955,31 +3927,31 @@ function Jn(e) {
3955
3927
  );
3956
3928
  }
3957
3929
  function o() {
3958
- return _(e.content).map((s) => `.variant-${s.testVariationId} { display: none; } `).join("");
3930
+ return H(e.content).map((s) => `.variant-${s.testVariationId} { display: none; } `).join("");
3959
3931
  }
3960
3932
  function a() {
3961
3933
  var s;
3962
3934
  return t ? {
3963
3935
  ...e.content,
3964
3936
  testVariationId: (s = e.content) == null ? void 0 : s.id
3965
- } : Ye({
3937
+ } : qe({
3966
3938
  item: e.content,
3967
- canTrack: J(e.canTrack)
3939
+ canTrack: K(e.canTrack)
3968
3940
  });
3969
3941
  }
3970
- return P(() => {
3942
+ return B(() => {
3971
3943
  }, []), /* @__PURE__ */ V(w, { children: [
3972
- !e.isNestedRender && L !== "reactNative" ? /* @__PURE__ */ l(
3973
- ae,
3944
+ !e.isNestedRender && D !== "reactNative" ? /* @__PURE__ */ l(
3945
+ ne,
3974
3946
  {
3975
3947
  id: "builderio-init-variants-fns",
3976
- scriptStr: An(),
3948
+ scriptStr: Pn(),
3977
3949
  nonce: e.nonce || ""
3978
3950
  }
3979
3951
  ) : null,
3980
3952
  t ? /* @__PURE__ */ V(w, { children: [
3981
3953
  /* @__PURE__ */ l(
3982
- Q,
3954
+ G,
3983
3955
  {
3984
3956
  id: "builderio-variants",
3985
3957
  styles: o(),
@@ -3987,15 +3959,15 @@ function Jn(e) {
3987
3959
  }
3988
3960
  ),
3989
3961
  /* @__PURE__ */ l(
3990
- ae,
3962
+ ne,
3991
3963
  {
3992
3964
  id: "builderio-variants-visibility",
3993
3965
  scriptStr: i(),
3994
3966
  nonce: e.nonce || ""
3995
3967
  }
3996
3968
  ),
3997
- (r = _(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
3998
- ke,
3969
+ (r = H(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
3970
+ xe,
3999
3971
  {
4000
3972
  isNestedRender: e.isNestedRender,
4001
3973
  nonce: e.nonce,
@@ -4022,7 +3994,7 @@ function Jn(e) {
4022
3994
  ))
4023
3995
  ] }) : null,
4024
3996
  /* @__PURE__ */ l(
4025
- ke,
3997
+ xe,
4026
3998
  {
4027
3999
  nonce: e.nonce,
4028
4000
  isNestedRender: e.isNestedRender,
@@ -4048,13 +4020,13 @@ function Jn(e) {
4048
4020
  )
4049
4021
  ] });
4050
4022
  }
4051
- const Yn = async ({
4023
+ const Kn = async ({
4052
4024
  builderContextValue: e,
4053
4025
  symbol: t
4054
4026
  }) => {
4055
4027
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4056
4028
  (e != null && e.apiKey))
4057
- return Te({
4029
+ return Se({
4058
4030
  model: t.model,
4059
4031
  apiKey: e.apiKey,
4060
4032
  apiVersion: e.apiVersion,
@@ -4064,11 +4036,11 @@ const Yn = async ({
4064
4036
  }
4065
4037
  }
4066
4038
  }).catch((n) => {
4067
- Y.error("Could not fetch symbol content: ", n);
4039
+ z.error("Could not fetch symbol content: ", n);
4068
4040
  });
4069
4041
  };
4070
- function Gn(e) {
4071
- var s, d, c, f;
4042
+ function zn(e) {
4043
+ var s, d, c, h;
4072
4044
  function t() {
4073
4045
  return "div";
4074
4046
  }
@@ -4076,12 +4048,12 @@ function Gn(e) {
4076
4048
  return "div";
4077
4049
  }
4078
4050
  function i() {
4079
- var b, h;
4051
+ var b, f;
4080
4052
  return [
4081
- e.attributes[H()],
4053
+ e.attributes[j()],
4082
4054
  "builder-symbol",
4083
4055
  (b = e.symbol) != null && b.inline ? "builder-inline-symbol" : void 0,
4084
- (h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4056
+ (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4085
4057
  ].filter(Boolean).join(" ");
4086
4058
  }
4087
4059
  const [o, a] = T(() => {
@@ -4089,18 +4061,18 @@ function Gn(e) {
4089
4061
  return (b = e.symbol) == null ? void 0 : b.content;
4090
4062
  });
4091
4063
  function r() {
4092
- o || Yn({
4064
+ o || Kn({
4093
4065
  symbol: e.symbol,
4094
4066
  builderContextValue: e.builderContext
4095
4067
  }).then((b) => {
4096
4068
  b && a(b);
4097
4069
  });
4098
4070
  }
4099
- return P(() => {
4100
- }, []), P(() => {
4071
+ return B(() => {
4072
+ }, []), B(() => {
4101
4073
  r();
4102
4074
  }, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ l(
4103
- Jn,
4075
+ qn,
4104
4076
  {
4105
4077
  nonce: e.builderContext.nonce,
4106
4078
  isNestedRender: !0,
@@ -4117,7 +4089,7 @@ function Gn(e) {
4117
4089
  ...(c = o == null ? void 0 : o.data) == null ? void 0 : c.state
4118
4090
  },
4119
4091
  canTrack: e.builderContext.canTrack,
4120
- model: (f = e.symbol) == null ? void 0 : f.model,
4092
+ model: (h = e.symbol) == null ? void 0 : h.model,
4121
4093
  content: o,
4122
4094
  linkComponent: e.builderLinkComponent,
4123
4095
  blocksWrapper: t(),
@@ -4127,14 +4099,14 @@ function Gn(e) {
4127
4099
  }
4128
4100
  export {
4129
4101
  F as Blocks,
4130
- le as BuilderContext,
4131
- Xe as Button,
4132
- Dt as Columns,
4133
- Jn as Content,
4134
- Lt as Fragment,
4135
- Mt as Image,
4136
- jt as Section,
4137
- Gn as Symbol,
4138
- nn as Text,
4139
- wn as Video
4102
+ oe as BuilderContext,
4103
+ Je as Button,
4104
+ Ft as Columns,
4105
+ qn as Content,
4106
+ $t as Fragment,
4107
+ Ot as Image,
4108
+ Ut as Section,
4109
+ zn as Symbol,
4110
+ en as Text,
4111
+ Cn as Video
4140
4112
  };