@riverbankcms/sdk 0.163.0 → 0.164.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 (195) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-CDzsagB2.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-CbeYTSry.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types--uYRIcIF.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
  10. package/dist/_dts/{index-CdSNXLOx.d.ts → index-BZE-1azr.d.ts} +1 -1
  11. package/dist/_dts/{index-C3mJvn27.d.ts → index-BpEbwDM7.d.ts} +4 -4
  12. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  13. package/dist/_dts/{index-rhMSu0oY.d.ts → index-CjdIn9-_.d.ts} +2 -2
  14. package/dist/_dts/{index-DRxgeK8L.d.ts → index-DYQFmf--.d.ts} +2 -2
  15. package/dist/_dts/{index-CyQhZuhM.d.ts → index-D_pQO-AS.d.ts} +21803 -21487
  16. package/dist/_dts/{index-FstkyqQB.d.ts → index-DriYVLfT.d.ts} +2 -2
  17. package/dist/_dts/{index-CaL0nKkl.d.ts → index-JS8WYgD3.d.ts} +31245 -31027
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-wegfy7lf.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-DFOqkClJ.d.ts → types-DiciZDrk.d.ts} +3 -3
  48. package/dist/_dts/{types-CalL7aKP.d.ts → types-DubJnBnI.d.ts} +7 -7
  49. package/dist/_dts/{types-BmtrA45p.d.ts → types-W40f2olO.d.ts} +3 -2
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-BF4_zNkR.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-hrSyTApW.mjs} +20 -16
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -7
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-Dub71o3c.mjs} +444 -199
  68. package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-vCG_JC5t.mjs} +1 -1
  74. package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-FM1mkkL0.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-BDFhbh9j.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-x3HOke6T.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-BibhwnTd.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-BNAM7NsW.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-ChiN1Vgg.mjs} +1 -1
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-GXqjObPC.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-CoKNba2e.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-magB_epJ.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-BiloOyjS.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +4 -3
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-BMQCPHT3.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-BX-vWwQc.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-C2vZse15.mjs} +3 -3
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BsCao6X4.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-Cc-PmbEe.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BMsWpx8y.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-BpLZo3bC.mjs} +27 -24
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-DMUkBtIO.mjs} +2385 -2364
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DyXtB5TD.mjs} +3 -3
  125. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
  126. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-QOKqQPgK.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BQdm441g.mjs} +24 -14
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-CyW6MU48.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-BLHYJ8S7.mjs} +20 -15
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
  138. package/dist/client/{view-yUIfWX3S.mjs → view-BnaOmrap.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-vhKGFfC3.mjs} +7 -7
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
  141. package/dist/preview-next/before-render.mjs +1 -1
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-43wIAWr4.mjs} +1 -1
  143. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +68 -68
  144. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-C-1zDCR_.mjs} +3 -3
  145. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +240 -177
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
  147. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-g7NPrsGp.mjs} +60 -45
  148. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewAuthStore-By_zfrS5.mjs} +102570 -102217
  149. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
  150. package/dist/preview-next/client/runtime.mjs +3 -3
  151. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
  152. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → siteStyleAccess-BiSyYyyr.mjs} +3541 -3525
  153. package/dist/preview-next/client/{spinner-CjxE3uws.mjs → spinner-DnWpeDp2.mjs} +1 -1
  154. package/dist/preview-next/keepAlive.mjs +1 -1
  155. package/dist/preview-next/middleware.mjs +1 -1
  156. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-D5tHZEz5.mjs} +31 -42
  157. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-Iy7g11iP.mjs} +5 -4
  158. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-BVJGgUT0.mjs} +2 -2
  159. package/dist/server/{client-C2Q56xqV.mjs → client-CiKaE8ms.mjs} +215 -109
  160. package/dist/server/config-validation.mjs +1 -1
  161. package/dist/server/config.mjs +2 -2
  162. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +14 -8
  163. package/dist/server/index.mjs +3 -3
  164. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-BuintpdO.mjs} +6 -4
  165. package/dist/server/loadPage-BwjncpJf.mjs +2 -0
  166. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-Dk4wea8M.mjs} +3 -2
  167. package/dist/server/next.mjs +9 -9
  168. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
  169. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DVemf-GV.mjs} +66 -46
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DubLNgRH.mjs} +1 -1
  172. package/dist/server/prebuild.mjs +1 -1
  173. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-Bnbwoe5n.mjs} +48 -27
  174. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-D3Fc5TKk.mjs} +76 -70
  175. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-zjd1P2Dl.mjs} +34 -21
  176. package/dist/server/rendering/server.mjs +4 -4
  177. package/dist/server/rendering.mjs +8 -8
  178. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
  179. package/dist/server/routing.mjs +1 -1
  180. package/dist/server/{schema-DgrigZq9.mjs → schema-BlTWmTSl.mjs} +58 -37
  181. package/dist/server/server.mjs +3 -3
  182. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-yHytcXIB.mjs} +9 -10
  183. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +32 -36
  184. package/dist/server/{src-C44_fMy5.mjs → src-cbbK3Bho.mjs} +286 -71
  185. package/dist/server/theme-bridge.mjs +1 -1
  186. package/dist/server/theme.mjs +1 -1
  187. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
  188. package/dist/server/{validation-BrbY0nxR.mjs → validation-CGH-Xs4E.mjs} +2 -2
  189. package/dist/server/{version-BBSk8uM6.mjs → version-DoOG6F13.mjs} +1 -1
  190. package/dist/styles/index.css +262 -65
  191. package/package.json +2 -3
  192. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  193. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  194. package/dist/client/src-BNZzXgWu.mjs +0 -102
  195. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,25 +1,24 @@
1
1
  "use client";
2
- import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-DclwabI7.mjs";
2
+ import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, Zt as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-BQdm441g.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectEventCapacitySource, jt as getTicketTypeLineMax, kn as getRemainingPlaces, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-kbONzKUv.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
6
- import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, Zt as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-Cf_kASpd.mjs";
7
- import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-Dfu3RSL2.mjs";
4
+ import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectEventCapacitySource, jt as getTicketTypeLineMax, kn as getRemainingPlaces, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-xqU4q63H.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
6
+ import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BGVwNwE-.mjs";
7
+ import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-ByT88VHR.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
- import { t as CheckboxChoice } from "./CheckboxChoice-Dtgp3OU8.mjs";
9
+ import { t as CheckboxChoice } from "./CheckboxChoice-3PhxDxgR.mjs";
10
10
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
11
11
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
12
12
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-Ct8JMKW0.mjs";
14
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-B0Z7n2tZ.mjs";
13
+ import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-Qw780EfW.mjs";
14
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-BEIvL31G.mjs";
15
15
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
16
- import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-BV5-50F0.mjs";
16
+ import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-CSQyFm9J.mjs";
17
17
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
18
- import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bjx4faaw.mjs";
19
- import { n as useBlockApi, r as BlockApiError } from "./context-Bg0SFWcM.mjs";
20
- import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
21
- import { t as useBookingNowIso } from "./useBookingNowIso-CWIiqPd0.mjs";
22
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CDWheSjI.mjs";
18
+ import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bp7MyutT.mjs";
19
+ import { n as useBlockApi, r as BlockApiError } from "./context-BNAM7NsW.mjs";
20
+ import { t as useBookingNowIso } from "./useBookingNowIso-CUExAee1.mjs";
21
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-NwKJk6gn.mjs";
23
22
  import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
24
23
  import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
25
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -2926,39 +2925,29 @@ function ExistingRegistrationNotice(props) {
2926
2925
  function AttendeeDetailsContent(props) {
2927
2926
  const { wizard } = props;
2928
2927
  const membership = wizard.portalAuthState === "authenticated" && wizard.ticketsCount === 1 ? wizard.eligibility?.eligibleMemberships[0] : void 0;
2929
- return /* @__PURE__ */ jsxs(Fragment, { children: [
2930
- membership && /* @__PURE__ */ jsx(MembershipHero, { membershipName: membership.membershipName }),
2931
- /* @__PURE__ */ jsx(AttendeeDetailsStep, {
2932
- formData: wizard.formData,
2933
- onChange: wizard.setFormData,
2934
- errors: wizard.errors,
2935
- emailLocked: wizard.portalAuthState === "authenticated",
2936
- onLogout: wizard.portalAuthState === "authenticated" ? wizard.handleLogout : void 0,
2937
- ticketsCount: wizard.ticketsCount,
2938
- requireGuestDetails: wizard.requireGuestDetails,
2939
- guests: wizard.guests,
2940
- onGuestsChange: wizard.setGuests,
2941
- guestErrors: wizard.guestErrors,
2942
- guestSectionShake: wizard.guestSectionShake,
2943
- onGuestShakeEnd: wizard.handleGuestShakeEnd,
2944
- consent: (wizard.selectedEvent ?? wizard.preSelectedEvent)?.consent ?? null,
2945
- mailingListSignup: wizard.mailingListSignup,
2946
- siteTerms: /* @__PURE__ */ jsx(SiteTermsAgreementField, {
2947
- agreement: wizard.siteTerms.view,
2948
- onChange: wizard.siteTerms.onChange,
2949
- error: wizard.siteTerms.error,
2950
- disabled: wizard.siteTerms.disabled
2951
- }),
2952
- siteTermsNotice: /* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: wizard.siteTerms.notice })
2928
+ return /* @__PURE__ */ jsxs(Fragment, { children: [membership && /* @__PURE__ */ jsx(MembershipHero, { membershipName: membership.membershipName }), /* @__PURE__ */ jsx(AttendeeDetailsStep, {
2929
+ formData: wizard.formData,
2930
+ onChange: wizard.setFormData,
2931
+ errors: wizard.errors,
2932
+ emailLocked: wizard.portalAuthState === "authenticated",
2933
+ onLogout: wizard.portalAuthState === "authenticated" ? wizard.handleLogout : void 0,
2934
+ ticketsCount: wizard.ticketsCount,
2935
+ requireGuestDetails: wizard.requireGuestDetails,
2936
+ guests: wizard.guests,
2937
+ onGuestsChange: wizard.setGuests,
2938
+ guestErrors: wizard.guestErrors,
2939
+ guestSectionShake: wizard.guestSectionShake,
2940
+ onGuestShakeEnd: wizard.handleGuestShakeEnd,
2941
+ consent: (wizard.selectedEvent ?? wizard.preSelectedEvent)?.consent ?? null,
2942
+ mailingListSignup: wizard.mailingListSignup,
2943
+ siteTerms: /* @__PURE__ */ jsx(SiteTermsAgreementField, {
2944
+ agreement: wizard.siteTerms.view,
2945
+ onChange: wizard.siteTerms.onChange,
2946
+ error: wizard.siteTerms.error,
2947
+ disabled: wizard.siteTerms.disabled
2953
2948
  }),
2954
- props.showSpamProtection && /* @__PURE__ */ jsx("div", {
2955
- className: "er-altcha",
2956
- children: /* @__PURE__ */ jsx(AltchaWidget, {
2957
- challengeUrl: getChallengeUrl(),
2958
- onSolutionChange: wizard.setAltchaSolution
2959
- })
2960
- })
2961
- ] });
2949
+ siteTermsNotice: /* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: wizard.siteTerms.notice })
2950
+ })] });
2962
2951
  }
2963
2952
  function EventDiscountCodeDisclosure(props) {
2964
2953
  const { wizard } = props;
@@ -3066,7 +3055,6 @@ function TicketSelectionContent({ wizard, display }) {
3066
3055
  }
3067
3056
  function EventRegistrationWizardContent(props) {
3068
3057
  const { wizard } = props;
3069
- const showSpamProtection = props.showSpamProtection ?? isSpamProtectionEnabled();
3070
3058
  switch (wizard.step) {
3071
3059
  case "payment": return /* @__PURE__ */ jsx(EventPaymentMount, {
3072
3060
  state: wizard.paymentController.state,
@@ -3092,10 +3080,7 @@ function EventRegistrationWizardContent(props) {
3092
3080
  wizard,
3093
3081
  display: props.display
3094
3082
  });
3095
- case "enter-details": return /* @__PURE__ */ jsx(AttendeeDetailsContent, {
3096
- wizard,
3097
- showSpamProtection
3098
- });
3083
+ case "enter-details": return /* @__PURE__ */ jsx(AttendeeDetailsContent, { wizard });
3099
3084
  case "select-payment": return /* @__PURE__ */ jsx(PaymentSelectionContent, { wizard });
3100
3085
  default: return null;
3101
3086
  }
@@ -3339,7 +3324,6 @@ function EventRegistrationStepLayout(props) {
3339
3324
  /* @__PURE__ */ jsx(EventRegistrationWizardContent, {
3340
3325
  wizard,
3341
3326
  display: props.display,
3342
- showSpamProtection: props.showSpamProtection,
3343
3327
  buttonVariant: props.buttonVariant
3344
3328
  }),
3345
3329
  props.showPortalAuthPrompt && props.portalAuthCopy.placement === "after" ? prompt : null
@@ -3562,8 +3546,7 @@ function overlayProgress(presentation, stepLabelContext) {
3562
3546
  }
3563
3547
  function EventRegistrationWizardView(viewProps) {
3564
3548
  const { wizard, ...props } = viewProps;
3565
- const { display, successMessage, buttonText = DEFAULT_BOOKING_BUTTON_TEXT, buttonVariant = "primary", className, spamProtectionEnabled, supportEmail } = props;
3566
- const showSpamProtection = spamProtectionEnabled ?? isSpamProtectionEnabled();
3549
+ const { display, successMessage, buttonText = DEFAULT_BOOKING_BUTTON_TEXT, buttonVariant = "primary", className, supportEmail } = props;
3567
3550
  const registrationRootClassName = `event-registration ${className || ""}`;
3568
3551
  const registrationRootRef = React.useRef(null);
3569
3552
  const [bookingOverlayOpen, setBookingOverlayOpen] = useBookingPanelOpen(wizard.step, wizard.waitlistClaim.kind !== "none");
@@ -3623,7 +3606,6 @@ function EventRegistrationWizardView(viewProps) {
3623
3606
  showPortalAuthPrompt,
3624
3607
  portalAuthCopy,
3625
3608
  display,
3626
- showSpamProtection,
3627
3609
  buttonText,
3628
3610
  buttonVariant,
3629
3611
  supportEmail,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-ffa6920T.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-DWoboRW5.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCalendar.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
4
- import { n as EventCombinedIslandClient } from "./EventCombined.client-zm0W2G79.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-C98ucpcP.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCombined.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as EventDetailsIslandClient } from "./event-details.client-SFtS9OkF.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as EventDetailsIslandClient } from "./event-details.client-jFyFjOIC.mjs";
4
4
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
4
- import { t as EventListingClient } from "./EventListing.client-CaoRZUI9.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-Cp11sBX_.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventListing.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as EventRegistrationIslandClient } from "./event-registration.client-CguNVIFY.mjs";
4
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as EventRegistrationIslandClient } from "./event-registration.client-BK_jVv3R.mjs";
4
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
4
- import { t as FormNodeClient } from "./form.client-BoAkhoh_.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
+ import { t as FormNodeClient } from "./form.client-CoKNba2e.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,12 +1,13 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-DclwabI7.mjs";
3
2
  import { n as err, r as ok, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
4
+ import { C as clsx } from "./ThemedButton-BGVwNwE-.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-1VnasOK8.mjs";
7
- import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
8
- import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
9
- import { useReducer, useRef, useState } from "react";
6
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-magB_epJ.mjs";
7
+ import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
8
+ import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CRsKTQV-.mjs";
9
+ import { t as useAltchaProtection } from "./altchaProtection-BWchRM3v.mjs";
10
+ import { useReducer, useRef } from "react";
10
11
  import { jsx, jsxs } from "react/jsx-runtime";
11
12
  //#region ../blocks/src/system/runtime/hooks/useFormSubmission.state.ts
12
13
  const initialFormSubmissionState = { tag: "idle" };
@@ -44,7 +45,7 @@ function formSubmissionReducer(_state, action) {
44
45
  * const result = await submit({
45
46
  * formId: 'contact-form',
46
47
  * data: formData,
47
- * meta: { altchaSolution },
48
+ * authorization: protection.submission.authorization,
48
49
  * });
49
50
  *
50
51
  * if (!result.ok) {
@@ -91,8 +92,10 @@ function useFormSubmission() {
91
92
  const FormNodeClient = ({ render }) => {
92
93
  const form = render.display.form;
93
94
  const { submit, state } = useFormSubmission();
94
- const [altchaSolution, setAltchaSolution] = useState(null);
95
- const showSpamProtection = render.hydration.spamProtectionEnabled ?? isSpamProtectionEnabled();
95
+ const protection = useAltchaProtection({
96
+ apiBaseUrl: useBlockApi().config.baseUrl,
97
+ enabled: render.hydration.spamProtectionEnabled
98
+ });
96
99
  if (!form) return /* @__PURE__ */ jsx(FeedbackMessage, {
97
100
  tone: "warning",
98
101
  className: clsx("fb-empty", render.display.className ?? void 0),
@@ -101,23 +104,16 @@ const FormNodeClient = ({ render }) => {
101
104
  });
102
105
  const handleSubmit = async (e) => {
103
106
  e.preventDefault();
107
+ if (protection.submission.kind !== "ready") return;
104
108
  const formData = new FormData(e.currentTarget);
105
109
  const honeypot = formData.get("company");
106
- if (honeypot?.trim()) return;
107
- const data = {};
108
- for (const [key, fieldValue] of formData.entries()) {
109
- if (key === "company" || key === "altcha-solution") continue;
110
- if (key in data) {
111
- const existing = data[key];
112
- data[key] = isUnknownArray(existing) ? [...existing, fieldValue] : [existing, fieldValue];
113
- } else data[key] = fieldValue;
114
- }
110
+ if (typeof honeypot !== "string" || honeypot.trim()) return;
115
111
  await submit({
112
+ authorization: protection.submission.authorization,
116
113
  formId: form.id,
117
- data,
114
+ data: submittedFormFields(formData),
118
115
  meta: {
119
116
  honeypot,
120
- altchaSolution,
121
117
  referer: typeof window !== "undefined" ? window.location.href : void 0,
122
118
  userAgent: typeof navigator !== "undefined" ? navigator.userAgent : void 0
123
119
  }
@@ -152,11 +148,9 @@ const FormNodeClient = ({ render }) => {
152
148
  groups: render.display.groups,
153
149
  lookSlots: render.display.lookSlots
154
150
  }),
155
- showSpamProtection && /* @__PURE__ */ jsx(AltchaWidget, {
156
- challengeUrl: getChallengeUrl(),
157
- onSolutionChange: setAltchaSolution
158
- }),
151
+ /* @__PURE__ */ jsx(SpamProtectionWidget, { protection }),
159
152
  /* @__PURE__ */ jsx(FormSubmitAction, {
153
+ submission: protection.submission,
160
154
  lookSlots: render.display.lookSlots,
161
155
  disabled: state.tag === "submitting",
162
156
  submitLabel: state.tag === "submitting" ? "Submitting..." : render.display.submitLabel
@@ -164,6 +158,21 @@ const FormNodeClient = ({ render }) => {
164
158
  ]
165
159
  });
166
160
  };
161
+ /** Keep repeated visitor fields while excluding the provider's internal controls. */
162
+ function submittedFormFields(formData) {
163
+ return Array.from(formData.entries()).filter(([key]) => ![
164
+ "company",
165
+ "altcha",
166
+ "altcha-solution"
167
+ ].includes(key)).reduce((fields, [key, value]) => {
168
+ const existing = fields[key];
169
+ const combined = Object.prototype.hasOwnProperty.call(fields, key) ? isUnknownArray(existing) ? [...existing, value] : [existing, value] : value;
170
+ return {
171
+ ...fields,
172
+ [key]: combined
173
+ };
174
+ }, {});
175
+ }
167
176
  function FormSuccessMessage({ display }) {
168
177
  const message = display.successMessage?.trim() || "Thanks — we received your submission.";
169
178
  return display.lookSlots ? /* @__PURE__ */ jsx("p", {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
- import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
4
- import { t as CheckboxChoice } from "./CheckboxChoice-Dtgp3OU8.mjs";
2
+ import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
3
+ import { t as CheckboxChoice } from "./CheckboxChoice-3PhxDxgR.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-DGbgGvdh.mjs";
5
5
  import "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/form.fields.tsx
@@ -182,14 +182,15 @@ function FormFieldGroups({ groups, lookSlots }) {
182
182
  children: group.fields.map(renderField)
183
183
  }, group.key) : renderField(group.field)) });
184
184
  }
185
- function FormSubmitAction({ lookSlots, submitLabel, disabled }) {
185
+ function FormSubmitAction({ lookSlots, submitLabel, disabled, submission }) {
186
186
  return /* @__PURE__ */ jsx("div", {
187
187
  className: "fb-actions",
188
188
  ...listLookSlot({ lookSlots }, "actions"),
189
189
  children: /* @__PURE__ */ jsx("div", {
190
190
  className: "fb-actions-inner",
191
191
  ...listLookSlot({ lookSlots }, "inline"),
192
- children: /* @__PURE__ */ jsx(ThemedButton, {
192
+ children: /* @__PURE__ */ jsx(ProtectedSubmitButton, {
193
+ submission,
193
194
  ...listLookSlot({ lookSlots }, "action"),
194
195
  type: "submit",
195
196
  variant: "primary",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-4XFGzJpT.mjs";
2
+ import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-C2vZse15.mjs";
3
3
  //#region ../blocks/src/bindings/formatDate.ts
4
4
  /** Admit stored civil dates or offset-aware instants before core projection. */
5
5
  function formatDate(value, context, options) {
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  "use client";
3
- import { W as formatGiftCardAmountLabel, i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DclwabI7.mjs";
4
- import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-4XFGzJpT.mjs";
3
+ import { x as formatGiftCardAmountLabel } from "../purchase-BMsWpx8y.mjs";
4
+ import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-C2vZse15.mjs";
5
+ import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BGVwNwE-.mjs";
5
6
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
6
- import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-Bg0SFWcM.mjs";
7
+ import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-BNAM7NsW.mjs";
7
8
  import React from "react";
8
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
10
  import { useRouter } from "next/navigation.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
- import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-BqVDXL0D.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-D4zqEBDl.mjs";
4
4
  //#region src/rendering/islands/enhancers/headerSection.ts
5
5
  const decode = defineIslandPropsDecoder("headerSection");
6
6
  const enhance = (root, props) => {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { lr as renderableMediaAssetSchema } from "./schema-BFwQDvJL.mjs";
2
+ import { lr as renderableMediaAssetSchema } from "./schema-DMUkBtIO.mjs";
3
3
  //#region src/rendering/mediaAssets.ts
4
4
  function toBlocksMediaAssets(assets) {
5
5
  if (!assets) return void 0;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { cr as buildRenderableMediaAssetIndex } from "./schema-BFwQDvJL.mjs";
2
+ import { cr as buildRenderableMediaAssetIndex } from "./schema-DMUkBtIO.mjs";
3
3
  //#region ../blocks/src/system/runtime/nodes/mediaContext.ts
4
4
  function buildMediaAssetIndex(assets) {
5
5
  return buildRenderableMediaAssetIndex(assets);