@riverbankcms/sdk 0.167.0 → 0.169.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 (235) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-DHBBDRC_.d.ts} +7 -6
  3. package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
  4. package/dist/_dts/{client-CwsI23pj.d.ts → client-MURxFla9.d.ts} +90 -418
  5. package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
  6. package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CHNvzh0y.d.ts} +6 -4
  7. package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
  9. package/dist/_dts/{index-CS6b1B-c.d.ts → index-BaDqRekr.d.ts} +4 -4
  10. package/dist/_dts/{index-bDln38Hm.d.ts → index-CVB5wgbz.d.ts} +2 -2
  11. package/dist/_dts/{index-D7EbliE3.d.ts → index-CiR_oPYT.d.ts} +3 -3
  12. package/dist/_dts/{index-5_jf52sZ.d.ts → index-CovKPftP.d.ts} +2 -2
  13. package/dist/_dts/{index-C20yUyob.d.ts → index-DCw8LO4M.d.ts} +1 -1
  14. package/dist/_dts/index-DDaX-K2D.d.ts +14 -0
  15. package/dist/_dts/{index-DeHDwMfu.d.ts → index-rfAssXq0.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
  17. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
  18. package/dist/_dts/{index-ChpjHK0U.d.ts → request-DeVetKBr.d.ts} +81273 -46979
  19. package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-D8MZWyNO.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  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/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -5
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{types-BlaCuPLr.d.ts → types-B4MBlP_B.d.ts} +4 -2
  55. package/dist/_dts/{types-D-WElMCy.d.ts → types-Fj31kIi2.d.ts} +7 -7
  56. package/dist/_dts/{types-CwtTcaQP.d.ts → types-OwqfS8Gn.d.ts} +3 -3
  57. package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +21 -21
  59. package/dist/client/BookingMailingListNote-y3qWjnOo.mjs +957 -0
  60. package/dist/client/BookingQuestionFields-DjLjd0vc.mjs +359 -0
  61. package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +8 -8
  62. package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +68 -12
  64. package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-DDjz7tuX.mjs} +10 -10
  65. package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-CeYbNsch.mjs} +9 -9
  66. package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
  67. package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-B5J0IeF4.mjs} +37 -15
  68. package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
  69. package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
  70. package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-BYBaElec.mjs} +34 -16
  71. package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +362 -90
  72. package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-BFp2uQQQ.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
  74. package/dist/client/{Page-D4_H_u9V.mjs → Page-Dv9eIOGr.mjs} +4475 -1600
  75. package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
  76. package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-BZNUd0-v.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
  78. package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
  79. package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
  80. package/dist/client/{accordion--EUHmEGa.mjs → accordion-BCtVxnDZ.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-Cr5G-HHO.mjs} +1323 -567
  82. package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-B1Fc62Sl.mjs} +9 -5
  83. package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
  84. package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
  85. package/dist/client/bookings.mjs +28 -20
  86. package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DW-HgjvT.mjs} +3 -3
  87. package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
  88. package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
  89. package/dist/client/{cart-CCZZC-Lq.mjs → cart-D1zWe4R7.mjs} +3 -3
  90. package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-CIfbTLHS.mjs} +1 -1
  91. package/dist/client/{checkout-CipmYL4A.mjs → checkout-fDCNZ3IT.mjs} +3 -3
  92. package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
  94. package/dist/client/client.mjs +287 -63
  95. package/dist/client/{context-Cv3QHjAF.mjs → context-DQnTyApV.mjs} +320 -4
  96. package/dist/client/creditProducts-CMOmhWm2.mjs +364 -0
  97. package/dist/client/{cta-P2vJVTEn.mjs → cta-Bj5WHgcv.mjs} +2 -2
  98. package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
  100. package/dist/client/{site-styles-D56hT2u1.mjs → display-CT8KMSpH.mjs} +19832 -17912
  101. package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-B27KFGDv.mjs} +4 -3
  102. package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
  103. package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-Dj3Kyp5X.mjs} +118 -241
  104. package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
  105. package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
  106. package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzMskXYA.mjs} +2 -2
  107. package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CpFFcAUr.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
  109. package/dist/client/{form-Bw1uuiUs.mjs → form-57k2JQnm.mjs} +3 -3
  110. package/dist/client/{form.client-pZ-9gN33.mjs → form.client-CCl6CpRJ.mjs} +5 -5
  111. package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-BOJ1yDDf.mjs} +3 -3
  112. package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-BGlhrmhF.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-q_bEzfhW.mjs} +2 -2
  115. package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
  116. package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
  117. package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-CiqKAmPs.mjs} +6 -6
  118. package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-x1RzAMNO.mjs} +2 -2
  119. package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
  120. package/dist/client/{noop-ByVtIWf4.mjs → noop-B_f7RqLD.mjs} +544 -494
  121. package/dist/client/portal/client.mjs +86 -231
  122. package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
  123. package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
  124. package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
  125. package/dist/client/{productList-B21TGdpT.mjs → productList-C0MLeh-v.mjs} +3 -3
  126. package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-CAmEkJ6Y.mjs} +5 -4
  127. package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Bf2YX_4v.mjs} +2218 -2435
  128. package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
  129. package/dist/client/rendering/client.mjs +30 -30
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +10 -9
  132. package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-BTurYEao.mjs} +1 -1
  133. package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
  134. package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
  135. package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
  136. package/dist/client/{shop-mqyoOvOK.mjs → shop-Dkn6EasY.mjs} +3 -3
  137. package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-bo0Z6kwf.mjs} +13 -13
  138. package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
  139. package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-B_GqU6_U.mjs} +111 -32
  140. package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C6L_Ig5F.mjs} +87 -528
  141. package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-BozhJ43Z.mjs +3 -0
  144. package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
  145. package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
  146. package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-D62jfOxZ.mjs} +12 -12
  147. package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
  148. package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
  149. package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-Ca2pHUDu.mjs} +6 -4
  150. package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
  151. package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-uxnUWI2v.mjs} +7 -7
  152. package/dist/client/{view-BN-fxyfq.mjs → view-B6KSxQMO.mjs} +11 -7
  153. package/dist/client/{view-Dh2tGoS0.mjs → view-SVnWic7i.mjs} +3 -4
  154. package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-kbdqYkWM.mjs} +26 -17
  155. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
  156. package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
  157. package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
  158. package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +212 -55
  159. package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-yyD-ZREP.mjs} +6 -6
  160. package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-YauP65Gi.mjs} +199 -155
  161. package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +32 -32
  162. package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +4772 -3687
  163. package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
  164. package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
  165. package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-DSR0IdAw.mjs} +16547 -13046
  166. package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
  167. package/dist/preview-next/client/runtime.mjs +3 -3
  168. package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
  169. package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
  170. package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
  171. package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +2 -2
  172. package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +2 -2
  173. package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-CK-GWb9k.mjs} +1 -1
  174. package/dist/preview-next/keepAlive.mjs +1 -1
  175. package/dist/preview-next/middleware.mjs +1 -1
  176. package/dist/preview-next/{route-contract-Bv3nkdpV.mjs → route-contract-BU1m9SV3.mjs} +212 -0
  177. package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-4vx7wzxj.mjs} +5 -5
  178. package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-C3HLgqBF.mjs} +463 -127
  179. package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
  180. package/dist/server/{bindings-ConMYJ2U.mjs → bindings-TAQbo2P5.mjs} +2 -2
  181. package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
  182. package/dist/server/{client-Cot-H5fQ.mjs → client-DzCxEl3L.mjs} +308 -61
  183. package/dist/server/config-validation.mjs +1 -1
  184. package/dist/server/config.mjs +1 -1
  185. package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
  186. package/dist/server/data/resolveBlockData.mjs +1 -1
  187. package/dist/server/headerVariant-8O5MvxIU.mjs +464 -0
  188. package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
  189. package/dist/server/index.mjs +3 -3
  190. package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-BO1M9Hdf.mjs} +4 -5
  191. package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-BvWzmZcD.mjs} +2 -2
  192. package/dist/server/manifest.mjs +1 -1
  193. package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
  194. package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
  195. package/dist/server/next.mjs +6 -6
  196. package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
  197. package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
  198. package/dist/server/page-converter.mjs +3 -3
  199. package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-DzduDSqY.mjs} +255 -158
  200. package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +291 -5
  201. package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-CSOJ8p8E.mjs} +1303 -907
  202. package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-BebSeE17.mjs} +593 -1592
  203. package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
  204. package/dist/server/prebuild.mjs +1 -1
  205. package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-BvbxqeKn.mjs} +5 -4
  206. package/dist/server/{registry-BPFcpn6k.mjs → registry-Fv-7D8o2.mjs} +4595 -4045
  207. package/dist/server/rendering/components/pageShared.mjs +1 -1
  208. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  209. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  210. package/dist/server/rendering/server.mjs +3 -3
  211. package/dist/server/rendering.mjs +8 -8
  212. package/dist/server/{resolveBlockData-BHvfGD4y.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
  213. package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
  214. package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
  215. package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
  216. package/dist/server/server.mjs +3 -3
  217. package/dist/server/theme-bridge.mjs +2 -3
  218. package/dist/server/theme.mjs +1 -2
  219. package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
  220. package/dist/server/{validation-bl6WcAi_.mjs → validation-DddhgNdb.mjs} +58 -9
  221. package/dist/server/{version-BLXZ31S-.mjs → version-D_W2mt8w.mjs} +1 -1
  222. package/dist/styles/index.css +342 -67
  223. package/package.json +4 -3
  224. package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
  225. package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
  226. package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
  227. package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
  228. package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
  229. package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
  230. package/dist/client/src-CdRISvQp.mjs +0 -3
  231. package/dist/client/src-DjnxOjXG.mjs +0 -217
  232. package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
  233. package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
  234. package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
  235. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
@@ -1,10 +1,11 @@
1
1
  "use client";
2
- import { pn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
2
+ import { in as staticHeaderChromeRuntime } from "./shop.interactive-C6L_Ig5F.mjs";
3
+ import { t as buildCartDisplay } from "./display-CT8KMSpH.mjs";
4
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
4
5
  import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
5
6
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
6
7
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
7
- import { n as useCommerceCart } from "./shop-commerce-store-B7n-Z7nY.mjs";
8
+ import { n as useCommerceCart } from "./shop-commerce-store-Ckxa4_jI.mjs";
8
9
  import * as React$1 from "react";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
11
  import { createPortal } from "react-dom";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-BN-fxyfq.mjs";
2
+ import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-B6KSxQMO.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
@@ -1,26 +1,24 @@
1
1
  "use client";
2
- import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, cn 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-mdM3UMWG.mjs";
3
- import { A as isEventRegistrationAvailable, An as selectEventCapacitySource, At as getTicketSelectionTotal, B as paymentChoiceDetails, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dt as canRequestTicketOption, En as getEventAvailability, Er as resolveEventRegistrationScopedEvents, Et as formatPrice, Hn as getRegistrationSuccessCopy, Ht as shownVenue, Mn as groupPublicEventsByRun, On as getRemainingPlaces, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlistOnAnyMode, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, 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 selectMostOpenCapacitySource, jt as getTicketTypeLineMax, kn as isEventFull, 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, xn as canJoinEventWaitlist, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { t as assertNever } from "./src-DjnxOjXG.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-DdkY86qI.mjs";
6
- import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
7
- import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CIQw6vNy.mjs";
2
+ import { $ as bookingEntry, I as offeringNounForEvent, N as displayButtonText, Q as bookingCardEntry, X as DEFAULT_BOOKING_BUTTON_TEXT, Z as bookingBarPlacement, et as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, qt as formatEventPriceDisplay, tt as bookingPanelHeading } from "./shop.interactive-C6L_Ig5F.mjs";
3
+ import { $n as canJoinEventWaitlistOnAnyMode, $t as getTicketTypeLineMax, At as confirmationPaymentRows, B as placeCountCeiling, Bt as formatTime, C as panelShouldOpen, D as registrationStepLabel, Fo as publicEventPricingType, Ft as formatBookingWhen, G as resolveRegistrationAvailabilityBlocker, Gt as occurrenceTitleOverride, It as formatDate, Jt as formatPrice, L as shouldPromptForLogin, Lt as formatEventDateTime, Mo as publicEventPricingCurrency, Mt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Nt as areEntitlementsDisabledForTicketCount, O as registrationStepLabelContext, Po as publicEventPricingStrategy, Qn as canJoinEventWaitlist, Qt as getTicketSelectionTotal, R as fullyBookedLabel, Ri as resolveEventRegistrationScopedEvents, Rt as formatPassCreditUsageLabel, S as getEventSelectionMode, Sn as shownVenue, Ut as getTicketTypeAvailabilityLabel, Wt as getVisibleTicketTypes, X as isEventRegistrationAvailable, Yt as canRequestTicketOption, Z as normalizeEventRegistrationMaxTickets, Zt as getTicketLineQuantity, ar as getRemainingPlaces, cr as selectMostOpenCapacitySource, jt as resolveFinishedPresentation, k as areEventRegistrationPaymentSelectionsEqual, lr as groupPublicEventsByRun, nn as setTicketLineQuantity, or as isEventFull, ot as paymentChoiceDetails, q as settledRemainingPlaces, qt as withOccurrenceTitle, rr as getEventAvailability, sr as selectEventCapacitySource, st as paymentChoicePrice, vr as getRegistrationSuccessCopy, yn as placesLeftLabel, zt as formatRegistrationSchedule } from "./display-CT8KMSpH.mjs";
4
+ import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
+ import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-C2QCj_Ta.mjs";
6
+ import { n as useBlockApi } from "./context-DQnTyApV.mjs";
7
+ import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-Do7Q0wRG.mjs";
8
+ import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
8
9
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
- import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
10
+ import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
10
11
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
11
12
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
12
13
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-B9YrzZt2.mjs";
14
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-CM-DTX5X.mjs";
14
+ import { i as useBookingNowIso } from "./BookingQuestionFields-DjLjd0vc.mjs";
15
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-AEifktGO.mjs";
15
16
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
16
- import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-CCVXX1LN.mjs";
17
+ import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-y3qWjnOo.mjs";
17
18
  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-Dptantmg.mjs";
19
- import { n as useBlockApi, r as BlockApiError } from "./context-Cv3QHjAF.mjs";
20
- import { t as useBookingNowIso } from "./useBookingNowIso-BDmWkYUW.mjs";
21
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CXWZoV-d.mjs";
19
+ import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-BZNUd0-v.mjs";
22
20
  import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
23
- import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
21
+ import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
24
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
25
23
  import { createPortal } from "react-dom";
26
24
  //#region ../core/src/number-input.ts
@@ -455,206 +453,6 @@ function EventRegistrationBookingLayer(props) {
455
453
  ] });
456
454
  }
457
455
  //#endregion
458
- //#region ../blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.ts
459
- const initialMagicLinkSubmissionState = Object.freeze({ tag: "idle" });
460
- function magicLinkSubmissionReducer(state, action) {
461
- switch (action.type) {
462
- case "submit-started":
463
- if (state.tag === "submitting") return state;
464
- return { tag: "submitting" };
465
- case "submit-succeeded":
466
- if (state.tag !== "submitting") return state;
467
- return { tag: "success" };
468
- case "submit-demo-link": return state.tag === "submitting" ? {
469
- tag: "demo_link",
470
- url: action.url
471
- } : state;
472
- case "submit-demo-refused": return state.tag === "submitting" ? {
473
- tag: "demo_refused",
474
- message: action.message
475
- } : state;
476
- case "submit-failed":
477
- if (state.tag !== "submitting") return state;
478
- return {
479
- tag: "error",
480
- message: action.message
481
- };
482
- case "reset": return initialMagicLinkSubmissionState;
483
- default: return assertNever(action);
484
- }
485
- }
486
- function isMagicLinkSubmitting(state) {
487
- return state.tag === "submitting";
488
- }
489
- function getMagicLinkError(state) {
490
- return state.tag === "error" ? state.message : null;
491
- }
492
- //#endregion
493
- //#region ../blocks/src/system/runtime/nodes/shared/MagicLinkForm.tsx
494
- function MagicLinkForm(props) {
495
- const api = useBlockApi();
496
- const [email, setEmail] = useState(props.initialEmail ?? "");
497
- const [state, dispatch] = useReducer(magicLinkSubmissionReducer, initialMagicLinkSubmissionState);
498
- const loading = isMagicLinkSubmitting(state);
499
- const handleSubmit = (event) => {
500
- submitMagicLink({
501
- event,
502
- email,
503
- loading,
504
- api,
505
- dispatch,
506
- onSuccess: props.onSuccess
507
- });
508
- };
509
- if (state.tag === "success" || state.tag === "demo_link") return /* @__PURE__ */ jsx(MagicLinkSuccess, {
510
- state,
511
- classPrefix: props.classPrefix ?? "er",
512
- compact: props.compact ?? false,
513
- successMessage: props.successMessage ?? "Check your email for a login link to sign in.",
514
- onReset: () => {
515
- setEmail("");
516
- dispatch({ type: "reset" });
517
- }
518
- });
519
- return /* @__PURE__ */ jsx(MagicLinkFormView, {
520
- classPrefix: props.classPrefix ?? "er",
521
- compact: props.compact ?? false,
522
- email,
523
- error: getMagicLinkError(state),
524
- loading,
525
- title: props.title,
526
- subtitle: props.subtitle,
527
- buttonText: props.buttonText ?? "Send login link",
528
- state,
529
- onEmailChange: setEmail,
530
- onSubmit: handleSubmit
531
- });
532
- }
533
- function MagicLinkFormView(props) {
534
- const classPrefix = props.classPrefix;
535
- return /* @__PURE__ */ jsxs("form", {
536
- onSubmit: props.onSubmit,
537
- className: `${classPrefix}-magic-link-form`,
538
- children: [
539
- props.title ? /* @__PURE__ */ jsx("h3", {
540
- className: `${classPrefix}-magic-link-title`,
541
- children: props.title
542
- }) : null,
543
- props.subtitle ? /* @__PURE__ */ jsx("p", {
544
- className: `${classPrefix}-portal-auth-text`,
545
- children: props.subtitle
546
- }) : null,
547
- /* @__PURE__ */ jsx("input", {
548
- type: "email",
549
- className: classPrefix === "cp" ? "cp-input" : `${classPrefix}-form__input`,
550
- placeholder: "your@email.com",
551
- value: props.email,
552
- onChange: (event) => props.onEmailChange(event.target.value),
553
- autoFocus: !props.compact,
554
- required: true,
555
- disabled: props.loading
556
- }),
557
- /* @__PURE__ */ jsx(MagicLinkFormFeedback, {
558
- classPrefix,
559
- error: props.error,
560
- state: props.state
561
- }),
562
- /* @__PURE__ */ jsx(MagicLinkButton, {
563
- themed: classPrefix === "cp",
564
- type: "submit",
565
- variant: "primary",
566
- className: `${classPrefix}-modal-btn`,
567
- label: props.loading ? "Sending..." : props.buttonText,
568
- disabled: !props.email.trim() || props.loading
569
- })
570
- ]
571
- });
572
- }
573
- function MagicLinkFormFeedback(props) {
574
- if (!props.error && props.state.tag !== "demo_refused") return null;
575
- return /* @__PURE__ */ jsxs(Fragment, { children: [props.error ? /* @__PURE__ */ jsx("p", {
576
- className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--error`,
577
- children: props.error
578
- }) : null, props.state.tag === "demo_refused" ? /* @__PURE__ */ jsx("p", {
579
- role: "alert",
580
- className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--error`,
581
- children: props.state.message
582
- }) : null] });
583
- }
584
- function MagicLinkSuccess(props) {
585
- return /* @__PURE__ */ jsxs("div", {
586
- className: `${props.classPrefix}-magic-link-success`,
587
- children: [props.state.tag === "success" ? /* @__PURE__ */ jsx("p", {
588
- className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--success`,
589
- children: props.successMessage
590
- }) : /* @__PURE__ */ jsx(DemoPortalSignInLink, { url: props.state.url }), !props.compact ? /* @__PURE__ */ jsx(MagicLinkButton, {
591
- themed: props.classPrefix === "cp",
592
- type: "button",
593
- variant: "secondary",
594
- className: `${props.classPrefix}-modal-btn ${props.classPrefix}-modal-btn--secondary`,
595
- label: "Try a different email",
596
- onClick: props.onReset
597
- }) : null]
598
- });
599
- }
600
- function MagicLinkButton(props) {
601
- return props.themed ? /* @__PURE__ */ jsx(ThemedButton, {
602
- type: props.type,
603
- variant: props.variant,
604
- size: "md",
605
- label: props.label,
606
- disabled: props.disabled,
607
- onClick: props.onClick
608
- }) : /* @__PURE__ */ jsx("button", {
609
- type: props.type,
610
- className: props.className,
611
- disabled: props.disabled,
612
- onClick: props.onClick,
613
- children: props.label
614
- });
615
- }
616
- async function submitMagicLink(input) {
617
- input.event.preventDefault();
618
- const email = input.email.trim().toLowerCase();
619
- if (!email || input.loading) return;
620
- input.dispatch({ type: "submit-started" });
621
- try {
622
- const result = await requestDemoPortalMagicLink({
623
- email,
624
- redirectUrl: getMagicLinkRedirectUrl(),
625
- send: (request) => input.api.sendMagicLink(request)
626
- });
627
- input.dispatch(magicLinkActionForResult(result));
628
- if (result.kind === "email_sent") input.onSuccess?.();
629
- } catch (error) {
630
- console.error("Magic link error:", error);
631
- input.dispatch({
632
- type: "submit-failed",
633
- message: getMagicLinkErrorMessage(error)
634
- });
635
- }
636
- }
637
- function magicLinkActionForResult(result) {
638
- switch (result.kind) {
639
- case "email_sent": return { type: "submit-succeeded" };
640
- case "demo_sign_in": return {
641
- type: "submit-demo-link",
642
- url: result.url
643
- };
644
- case "refused": return {
645
- type: "submit-demo-refused",
646
- message: result.message
647
- };
648
- }
649
- }
650
- function getMagicLinkRedirectUrl() {
651
- const redirectTo = `${window.location.pathname}${window.location.search}${window.location.hash}`;
652
- return buildPortalCallbackUrl(window.location.origin, redirectTo);
653
- }
654
- function getMagicLinkErrorMessage(error) {
655
- return error instanceof BlockApiError ? error.message : "We couldn’t send the sign-in link. Please try again.";
656
- }
657
- //#endregion
658
456
  //#region ../blocks/src/system/runtime/nodes/event-registration/ErrorStep.tsx
659
457
  /**
660
458
  * Error Step
@@ -1366,6 +1164,26 @@ function ClosedPaymentPanel({ message }) {
1366
1164
  });
1367
1165
  }
1368
1166
  //#endregion
1167
+ //#region ../blocks/src/system/runtime/nodes/event-registration/existingBookingsSummary.ts
1168
+ function places(count) {
1169
+ return count === 1 ? "1 place" : `${count} places`;
1170
+ }
1171
+ /** Waitlist entries have their own notice, so only confirmed bookings count here. */
1172
+ function summariseExistingBookings(registrations) {
1173
+ const confirmed = registrations.filter((registration) => registration.status === "confirmed");
1174
+ const [only] = confirmed;
1175
+ if (!only) return { kind: "none" };
1176
+ if (confirmed.length === 1) return {
1177
+ kind: "booked",
1178
+ detail: only.ticketBreakdown ?? places(only.ticketsCount)
1179
+ };
1180
+ const placeCount = confirmed.reduce((total, registration) => total + registration.ticketsCount, 0);
1181
+ return {
1182
+ kind: "booked",
1183
+ detail: `${confirmed.length} bookings · ${places(placeCount)}`
1184
+ };
1185
+ }
1186
+ //#endregion
1369
1187
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.tsx
1370
1188
  /** Dates in order, grouped by the month and year they fall in, both in the date's own zone. */
1371
1189
  function groupByMonth(events) {
@@ -2108,7 +1926,8 @@ function EventConsentField({ consent, error, formData, idBase, onChange }) {
2108
1926
  /* @__PURE__ */ jsx(BookingConsentAgreement, {
2109
1927
  agreement: consent.agreement,
2110
1928
  title: consent.title,
2111
- titleId: `${idBase}-consent-title`
1929
+ titleId: `${idBase}-consent-title`,
1930
+ requiredMark: "none"
2112
1931
  }),
2113
1932
  /* @__PURE__ */ jsx(CheckboxChoice, {
2114
1933
  "aria-describedby": error ? errorId : void 0,
@@ -2118,14 +1937,7 @@ function EventConsentField({ consent, error, formData, idBase, onChange }) {
2118
1937
  ...formData,
2119
1938
  consentAccepted: event.target.checked
2120
1939
  }),
2121
- label: /* @__PURE__ */ jsxs(Fragment, { children: [
2122
- consent.checkboxLabel,
2123
- " ",
2124
- /* @__PURE__ */ jsx("span", {
2125
- className: "required-marker",
2126
- children: "*"
2127
- })
2128
- ] }),
1940
+ label: consent.checkboxLabel,
2129
1941
  presentation: "tile",
2130
1942
  className: "er-consent-check"
2131
1943
  }),
@@ -2230,12 +2042,44 @@ function MailingListOptInField({ signup, formData, onChange }) {
2230
2042
  });
2231
2043
  }
2232
2044
  /**
2045
+ * The end of the details form: the event's during-booking questions, then
2046
+ * consent and the site's terms, then the message under the form.
2047
+ */
2048
+ function QuestionsAndAgreement(props) {
2049
+ const { bookingQuestions, consent } = props;
2050
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
2051
+ bookingQuestions ? /* @__PURE__ */ jsx(BookingQuestionSections, {
2052
+ presentation: bookingQuestions.presentation,
2053
+ values: bookingQuestions.values,
2054
+ fieldErrors: bookingQuestions.fieldErrors,
2055
+ onChange: bookingQuestions.answer,
2056
+ answerMode: bookingQuestions.answerMode,
2057
+ onAnswerModeChange: bookingQuestions.chooseAnswerMode,
2058
+ signInEmail: props.formData.email.trim() || void 0,
2059
+ signInReturnPath: bookingQuestions.signInReturnPath
2060
+ }) : null,
2061
+ consent ? /* @__PURE__ */ jsx(EventConsentField, {
2062
+ consent,
2063
+ error: props.consentError,
2064
+ formData: props.formData,
2065
+ idBase: props.idBase,
2066
+ onChange: props.onChange
2067
+ }) : null,
2068
+ props.siteTerms,
2069
+ props.questionsMessage ? /* @__PURE__ */ jsx("p", {
2070
+ role: "alert",
2071
+ className: "er-error",
2072
+ children: props.questionsMessage
2073
+ }) : null
2074
+ ] });
2075
+ }
2076
+ /**
2233
2077
  * Attendee Details Step
2234
2078
  *
2235
2079
  * Collects attendee information: name, email, phone, and notes.
2236
2080
  * Validates required fields and displays errors.
2237
2081
  */
2238
- const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false, onLogout, ticketsCount = 1, requireGuestDetails = false, guests = [], onGuestsChange, guestErrors = {}, guestSectionShake = false, onGuestShakeEnd, consent, mailingListSignup, siteTerms, siteTermsNotice }) => {
2082
+ const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false, onLogout, ticketsCount = 1, requireGuestDetails = false, guests = [], onGuestsChange, guestErrors = {}, guestSectionShake = false, onGuestShakeEnd, consent, mailingListSignup, siteTerms, siteTermsNotice, bookingQuestions, questionsMessage }) => {
2239
2083
  const idBase = useId();
2240
2084
  const nameId = `${idBase}-name`;
2241
2085
  const emailId = `${idBase}-email`;
@@ -2323,14 +2167,16 @@ const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false,
2323
2167
  notes
2324
2168
  })
2325
2169
  }),
2326
- consent ? /* @__PURE__ */ jsx(EventConsentField, {
2327
- consent,
2328
- error: errors.consentAccepted,
2170
+ /* @__PURE__ */ jsx(QuestionsAndAgreement, {
2329
2171
  formData,
2172
+ onChange,
2330
2173
  idBase,
2331
- onChange
2332
- }) : null,
2333
- siteTerms
2174
+ consent,
2175
+ consentError: errors.consentAccepted,
2176
+ bookingQuestions,
2177
+ questionsMessage,
2178
+ siteTerms
2179
+ })
2334
2180
  ] }),
2335
2181
  guestDetailsChangeHandler && /* @__PURE__ */ jsx(GuestDetailsSection, {
2336
2182
  guests,
@@ -2620,7 +2466,7 @@ function entitlementRows(props) {
2620
2466
  //#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
2621
2467
  /** Download effects happen only after a click, including in editor preview. */
2622
2468
  async function downloadCalendar(calendar) {
2623
- const { renderCalendarFeedIcs } = await import("./src-CdRISvQp.mjs");
2469
+ const { renderCalendarFeedIcs } = await import("./src-BozhJ43Z.mjs");
2624
2470
  const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
2625
2471
  const link = document.createElement("a");
2626
2472
  link.href = url;
@@ -2923,6 +2769,7 @@ function ExistingRegistrationNotice(props) {
2923
2769
  className: "er-existing-registration-notice",
2924
2770
  titleClassName: "er-existing-registration-title",
2925
2771
  bodyClassName: "er-existing-registration-copy",
2772
+ secondaryBodyClassName: "er-existing-registration-copy",
2926
2773
  icon: /* @__PURE__ */ jsx(StateIcon, {
2927
2774
  variant: isBooked ? "success" : "info",
2928
2775
  children: /* @__PURE__ */ jsx("svg", {
@@ -2937,9 +2784,14 @@ function ExistingRegistrationNotice(props) {
2937
2784
  })
2938
2785
  })
2939
2786
  }),
2940
- title: isBooked ? "You're already booked on this event." : "You're already on the waitlist for this event.",
2941
- body: "Sign out to book for someone else.",
2942
- actions: /* @__PURE__ */ jsx("button", {
2787
+ title: isBooked ? "You're already booked for this date" : "You're already on the waitlist for this event.",
2788
+ body: isBooked ? props.detail : "Sign out to book for someone else.",
2789
+ secondaryBody: isBooked ? "Need more tickets? You can book them below. They'll come as a new booking with its own confirmation email, and your first booking won't change." : void 0,
2790
+ actions: isBooked ? /* @__PURE__ */ jsx("a", {
2791
+ href: "/portal",
2792
+ className: "er-existing-registration-link",
2793
+ children: "View my bookings"
2794
+ }) : /* @__PURE__ */ jsx("button", {
2943
2795
  type: "button",
2944
2796
  className: "er-existing-registration-link",
2945
2797
  onClick: props.onBookForSomeoneElse,
@@ -2965,11 +2817,14 @@ function AttendeeDetailsContent(props) {
2965
2817
  onGuestShakeEnd: wizard.handleGuestShakeEnd,
2966
2818
  consent: (wizard.selectedEvent ?? wizard.preSelectedEvent)?.consent ?? null,
2967
2819
  mailingListSignup: wizard.mailingListSignup,
2820
+ bookingQuestions: wizard.bookingQuestions,
2821
+ questionsMessage: wizard.questionsMessage,
2968
2822
  siteTerms: /* @__PURE__ */ jsx(SiteTermsAgreementField, {
2969
2823
  agreement: wizard.siteTerms.view,
2970
2824
  onChange: wizard.siteTerms.onChange,
2971
2825
  error: wizard.siteTerms.error,
2972
- disabled: wizard.siteTerms.disabled
2826
+ disabled: wizard.siteTerms.disabled,
2827
+ requiredMark: "none"
2973
2828
  }),
2974
2829
  siteTermsNotice: /* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: wizard.siteTerms.notice })
2975
2830
  })] });
@@ -3042,8 +2897,14 @@ function ClosedAdmissionNotice({ wizard }) {
3042
2897
  }
3043
2898
  function TicketSelectionContent({ wizard, display }) {
3044
2899
  if (!wizard.selectedEvent && !wizard.occurrenceContext) return null;
2900
+ const isWaitlisted = wizard.admission.kind === "closed" && wizard.admission.reason === "alreadyWaitlisted";
2901
+ const existingBookings = summariseExistingBookings(wizard.existingRegistrations);
3045
2902
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3046
- wizard.admission.kind === "closed" && wizard.admission.reason === "alreadyWaitlisted" && /* @__PURE__ */ jsx(ExistingRegistrationNotice, {
2903
+ existingBookings.kind === "booked" && !isWaitlisted && /* @__PURE__ */ jsx(ExistingRegistrationNotice, {
2904
+ kind: "booked",
2905
+ detail: existingBookings.detail
2906
+ }),
2907
+ isWaitlisted && /* @__PURE__ */ jsx(ExistingRegistrationNotice, {
3047
2908
  kind: "waitlisted",
3048
2909
  onBookForSomeoneElse: wizard.handleBookForSomeoneElse
3049
2910
  }),
@@ -3114,7 +2975,8 @@ function BundleSiteTerms({ wizard }) {
3114
2975
  agreement: wizard.siteTerms.commerceView,
3115
2976
  onChange: wizard.siteTerms.onChange,
3116
2977
  error: wizard.siteTerms.error,
3117
- disabled: wizard.siteTerms.disabled
2978
+ disabled: wizard.siteTerms.disabled,
2979
+ requiredMark: "none"
3118
2980
  });
3119
2981
  }
3120
2982
  //#endregion
@@ -3258,8 +3120,15 @@ function EventRegistrationMagicLinkModal(props) {
3258
3120
  className: "er-modal-content",
3259
3121
  children: /* @__PURE__ */ jsx(MagicLinkForm, {
3260
3122
  initialEmail: wizard.formData.email,
3261
- subtitle: "Enter your email and we'll send you a link to sign in.",
3262
- successMessage: "Check your email for a login link. Click the link to sign in, then return to complete your registration.",
3123
+ subtitle: "Enter your email and we’ll send you a link to sign in.",
3124
+ buttonText: "Send sign-in link",
3125
+ successMessage: (email) => `We’ve sent a sign-in link to ${email}.`,
3126
+ successDetail: "Open it on this device and you’ll come back to this booking with everything you’ve typed so far.",
3127
+ successAction: {
3128
+ label: "Back to my booking",
3129
+ onClick: () => wizard.setShowMagicLinkModal(false)
3130
+ },
3131
+ returnPath: wizard.signInReturnPath,
3263
3132
  classPrefix: "er"
3264
3133
  })
3265
3134
  })
@@ -3413,7 +3282,13 @@ function EventRegistrationSurface(props) {
3413
3282
  return /* @__PURE__ */ jsxs("div", {
3414
3283
  ref: useRegistrationStepFocus(wizard.step, props.variant),
3415
3284
  className: `rb-reg-surface er-container${props.variant === "overlay" ? " er-container--overlay" : ""}`,
3416
- children: [presentation.layout === "steps" ? /* @__PURE__ */ jsx(EventRegistrationStepLayout, {
3285
+ children: [wizard.handOff ? /* @__PURE__ */ jsx(NavigationHandOffPanel, {
3286
+ handOff: wizard.handOff,
3287
+ purpose: wizard.handOff.purpose,
3288
+ businessName: wizard.handOffBusinessName,
3289
+ offeringLabel: wizard.handOffOfferingLabel,
3290
+ onBack: () => wizard.dismissHandOff?.()
3291
+ }, wizard.handOff.url) : presentation.layout === "steps" ? /* @__PURE__ */ jsx(EventRegistrationStepLayout, {
3417
3292
  ...props,
3418
3293
  progress: presentation.progress
3419
3294
  }) : /* @__PURE__ */ jsxs("div", {
@@ -3549,6 +3424,8 @@ function useConfiguredEventRegistrationWizard(props) {
3549
3424
  maxTicketsNum: normalizeEventRegistrationMaxTickets(props.maxTickets ?? "5"),
3550
3425
  mailingList: props.mailingList,
3551
3426
  siteTerms: props.siteTerms,
3427
+ pageNavigation: props.pageNavigation,
3428
+ offeringNoun: props.offeringNoun,
3552
3429
  siteName: props.siteName
3553
3430
  });
3554
3431
  }
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
3
- import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-DAeQPV76.mjs";
2
+ import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-DDjz7tuX.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DbHX4JOS.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UdAlnZGQ.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-B3vIBkex.mjs";
3
- import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
4
- import { n as EventCombinedIslandClient } from "./EventCombined.client-Bus9R0bj.mjs";
2
+ import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
4
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-CeYbNsch.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DbHX4JOS.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UdAlnZGQ.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-B3vIBkex.mjs";
3
- import { t as EventDetailsIslandClient } from "./event-details.client-dLmyuPap.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
3
+ import { t as EventDetailsIslandClient } from "./event-details.client-CL4Lqz2c.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-B3vIBkex.mjs";
3
- import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
4
- import { t as EventListingClient } from "./EventListing.client-Bogi_SnJ.mjs";
2
+ import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-slpvrTrM.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DbHX4JOS.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UdAlnZGQ.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 EventRegistrationIslandClient } from "./event-registration.client-BEhC2_-Y.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
4
- import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
2
+ import { t as EventRegistrationIslandClient } from "./event-registration.client-Dj3Kyp5X.mjs";
3
+ import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DbHX4JOS.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UdAlnZGQ.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -22,7 +22,10 @@ const enhance = (root, props) => {
22
22
  });
23
23
  return mountReactIsland(root, ({ root: reactRoot }) => {
24
24
  reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
25
- config: apiConfig,
25
+ config: {
26
+ ...apiConfig,
27
+ pageNavigation: props.render.hydration.pageNavigation
28
+ },
26
29
  children: /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props })
27
30
  }));
28
31
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
3
- import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
4
- import { t as FormNodeClient } from "./form.client-pZ-9gN33.mjs";
2
+ import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
4
+ import { t as FormNodeClient } from "./form.client-CCl6CpRJ.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Nr as listLookSlot } from "./wizardSteps-DtkhwKXK.mjs";
3
- import { n as err, r as ok, t as assertNever } from "./src-DjnxOjXG.mjs";
4
- import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
2
+ import { Gi as listLookSlot } from "./display-CT8KMSpH.mjs";
3
+ import { _ as ok, g as err, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
4
+ import { n as useBlockApi } from "./context-DQnTyApV.mjs";
5
+ import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
5
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-PXlu6XQO.mjs";
7
- import { n as useBlockApi } from "./context-Cv3QHjAF.mjs";
7
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-BOJ1yDDf.mjs";
8
8
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
9
9
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
10
10
  import { useReducer, useRef } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Mr as listLookControl, Nr as listLookSlot } from "./wizardSteps-DtkhwKXK.mjs";
3
- import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-8DuDw2ag.mjs";
2
+ import { Gi as listLookSlot, Wi as listLookControl } from "./display-CT8KMSpH.mjs";
3
+ import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.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
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { At as parseBookingLocalDate, Ft as parseUtcIsoDateTimeString, ht as formatDateTime, pt as formatDate$1 } from "./noop-ByVtIWf4.mjs";
2
+ import { Mt as formatDate$1, Pt as formatDateTime, Yt as parseBookingLocalDate, en as parseUtcIsoDateTimeString } from "./noop-B_f7RqLD.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) {