@riverbankcms/sdk 0.168.0 → 0.169.1

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 (211) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CiD_VVGM.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-BhCfStX1.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
  4. package/dist/_dts/{client-C8mfUxrJ.d.ts → client-BZMn4Y99.d.ts} +39 -397
  5. package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-DjYsGY3B.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
  9. package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BR0i0c3G.d.ts} +4 -4
  10. package/dist/_dts/{index-Bpr-wT5k.d.ts → index-BV-qVnt7.d.ts} +2 -2
  11. package/dist/_dts/{index-C7_Rz8EY.d.ts → index-BYYhTQ_b.d.ts} +3 -3
  12. package/dist/_dts/{index-Vh8B9FSa.d.ts → index-BzguBJzR.d.ts} +1 -1
  13. package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
  14. package/dist/_dts/{index-Cx2BQlHL.d.ts → index-NaRauKDR.d.ts} +1 -1
  15. package/dist/_dts/{index-vR3p9Bu-.d.ts → index-QIbYMeI7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
  17. package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DssgRQSm.d.ts} +9558 -7863
  18. package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-BB33-Spd.d.ts → types-DrAWDtqR.d.ts} +3 -3
  54. package/dist/_dts/{types-BVFXYtRg.d.ts → types-Z388-GR1.d.ts} +7 -7
  55. package/dist/_dts/{types-FOsJ-KYb.d.ts → types-cObpvZGF.d.ts} +2 -2
  56. package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-hLr8zVrc.d.ts} +4 -4
  57. package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
  58. package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-Br1VyHkP.mjs} +17 -6
  59. package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-LLGCWjvU.mjs} +3 -3
  60. package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +7 -7
  61. package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +65 -9
  62. package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-ucgdMS35.mjs} +9 -9
  63. package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-BEdfJGpx.mjs} +7 -7
  64. package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-OpLehMpT.mjs} +4 -4
  65. package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
  66. package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
  67. package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BCvRqU86.mjs} +6 -6
  68. package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +132 -62
  69. package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
  70. package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
  71. package/dist/client/{Page-D_M2Vxz3.mjs → Page-Bu5TJU3L.mjs} +53 -22
  72. package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-CR7_0yu4.mjs} +5 -4
  73. package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
  74. package/dist/client/{accordion-DE7OG--d.mjs → accordion-DMItWylU.mjs} +6 -1
  75. package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-wd71DG19.mjs} +505 -217
  76. package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-Cyr2qeS1.mjs} +17 -17
  77. package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
  78. package/dist/client/bookings.mjs +16 -13
  79. package/dist/client/{carousel-DZyUdnFh.mjs → carousel-B5-Hzzif.mjs} +7 -9
  80. package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
  81. package/dist/client/{cart-D7HkkNwe.mjs → cart-B-M5l__W.mjs} +3 -3
  82. package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-COAP4CEy.mjs} +1 -1
  83. package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-ZHc8GfaG.mjs} +3 -3
  84. package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-DRralR3e.mjs} +1 -1
  85. package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-CY8qywXl.mjs} +3 -2
  86. package/dist/client/client.mjs +87 -4
  87. package/dist/client/{context-DXmIbXCK.mjs → context-Xhf81Q-c.mjs} +25 -3
  88. package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
  89. package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
  90. package/dist/client/{cta-DP_IBnq3.mjs → cta-CfuyGqXL.mjs} +2 -2
  91. package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
  93. package/dist/client/{wizardSteps-CFulHWnT.mjs → display-DDNmyb0z.mjs} +920 -870
  94. package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -2
  95. package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
  96. package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-CLBdHUfd.mjs} +59 -18
  97. package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
  98. package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
  99. package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
  100. package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
  101. package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-DyseP_sY.mjs} +19 -19
  102. package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
  103. package/dist/client/{form-DgQqm7T2.mjs → form-RTqunrpz.mjs} +9 -14
  104. package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-D3_RF29v.mjs} +4 -4
  105. package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-DWLf_3PF.mjs} +1 -1
  106. package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-CyNGt23J.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-IfLup4o0.mjs} +5 -5
  110. package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
  111. package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
  112. package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
  113. package/dist/client/portal/client.mjs +21 -13
  114. package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
  115. package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-c-777ohj.mjs} +1 -1
  116. package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-hXttfQhE.mjs} +3 -3
  117. package/dist/client/{productList-B8o5AOMX.mjs → productList-BPsYP_jA.mjs} +3 -3
  118. package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-Dc8j5i79.mjs} +3 -3
  119. package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
  120. package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-CMrdUGGv.mjs} +338 -289
  121. package/dist/client/rendering/client.mjs +39 -39
  122. package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +5 -5
  125. package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
  127. package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
  128. package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
  129. package/dist/client/{shop-rRXplPGZ.mjs → shop-Ds47onRS.mjs} +3 -3
  130. package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-B3PyRHaN.mjs} +12 -12
  131. package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
  132. package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-RljK0qPB.mjs} +110 -31
  133. package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-BH0xDlMF.mjs} +42 -533
  134. package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-BEfD0e4m.mjs} +12 -15
  135. package/dist/client/src-BozhJ43Z.mjs +3 -0
  136. package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
  137. package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-BG7Ejxdr.mjs} +12 -12
  138. package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-GP8tnAVW.mjs} +3 -3
  139. package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Cq07nTyG.mjs} +5 -3
  140. package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
  141. package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-spj7sGQP.mjs} +6 -6
  142. package/dist/client/{view-L_mkgtnk.mjs → view-aAP2WbCR.mjs} +2 -3
  143. package/dist/client/{view-448wvvEY.mjs → view-oToSpu1N.mjs} +7 -7
  144. package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
  145. package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
  146. package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
  147. package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +201 -151
  148. package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
  149. package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
  150. package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +12 -9
  151. package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +1418 -598
  152. package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
  153. package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +684 -930
  154. package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
  157. package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
  158. package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
  159. package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
  160. package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
  161. package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
  162. package/dist/preview-next/keepAlive.mjs +1 -1
  163. package/dist/preview-next/middleware.mjs +3 -4
  164. package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-jc2Bug-h.mjs} +83 -0
  165. package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-BHgQjX16.mjs} +4 -4
  166. package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +31 -5
  167. package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
  168. package/dist/server/{bindings-DLoZYUxG.mjs → bindings-CAbTvrCZ.mjs} +1 -1
  169. package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
  170. package/dist/server/{client-Bc8jI8zN.mjs → client-C-asG6Cf.mjs} +85 -2
  171. package/dist/server/config-validation.mjs +1 -1
  172. package/dist/server/config.mjs +1 -1
  173. package/dist/server/data/resolveBlockData.mjs +1 -1
  174. package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
  175. package/dist/server/index.mjs +2 -2
  176. package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-DKerbSnI.mjs} +4 -4
  177. package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-XgtQR90Z.mjs} +2 -2
  178. package/dist/server/next.mjs +6 -6
  179. package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
  180. package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
  181. package/dist/server/page-converter.mjs +1 -1
  182. package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DQAo35og.mjs} +9 -8
  183. package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +2 -2
  184. package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-7mPhqqXX.mjs} +345 -289
  185. package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
  186. package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C0m4KOT9.mjs} +1 -1
  187. package/dist/server/prebuild.mjs +1 -1
  188. package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
  189. package/dist/server/{registry-Bh0Y25zH.mjs → registry-7_0_lUrh.mjs} +305 -844
  190. package/dist/server/rendering/components/pageShared.mjs +1 -1
  191. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  192. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  193. package/dist/server/rendering/islandDelivery.script.mjs +19 -0
  194. package/dist/server/rendering/server.mjs +3 -3
  195. package/dist/server/rendering.mjs +7 -7
  196. package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
  197. package/dist/server/server.mjs +3 -3
  198. package/dist/server/theme-bridge.mjs +2 -2
  199. package/dist/server/theme.mjs +1 -1
  200. package/dist/server/{validation-D2bHWSxJ.mjs → validation-CSMS6XmP.mjs} +4 -4
  201. package/dist/server/{version-DkM1eAxG.mjs → version-DWeqmTXc.mjs} +1 -1
  202. package/dist/styles/index.css +15 -3
  203. package/package.json +10 -6
  204. package/dist/client/BlocksIslandsHydrator-DcwEaliO.mjs +0 -296
  205. package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
  206. package/dist/client/eventCombined-DoSi8p_l.mjs +0 -28
  207. package/dist/client/eventListing-CkiMjl0g.mjs +0 -29
  208. package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
  209. package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
  210. package/dist/client/src-CdRISvQp.mjs +0 -3
  211. package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
@@ -1,10 +1,11 @@
1
1
  "use client";
2
- import { v as buildCartDisplay, yn as staticHeaderChromeRuntime } from "./shop.interactive-C8OvFY06.mjs";
2
+ import { an as staticHeaderChromeRuntime } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { t as buildCartDisplay } from "./display-DDNmyb0z.mjs";
3
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-DqdgJ8Zw.mjs";
8
+ import { n as useCommerceCart } from "./shop-commerce-store-D9CHihQv.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-448wvvEY.mjs";
2
+ import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-oToSpu1N.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,23 +1,23 @@
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-C8OvFY06.mjs";
3
- import { $r as resolveEventRegistrationScopedEvents, A as isEventRegistrationAvailable, At as getTicketLineQuantity, B as paymentChoiceDetails, Bn as selectEventCapacitySource, Ct as getVisibleTicketTypes, D as settledRemainingPlaces, Dt as formatPrice, Et as withOccurrenceTitle, Ft as setTicketLineQuantity, Hn as groupPublicEventsByRun, In as getEventAvailability, Mn as canJoinEventWaitlistOnAnyMode, Mt as getTicketTypeLineMax, Ot as canRequestTicketOption, Qn as getRegistrationSuccessCopy, Qt as placesLeftLabel, Rn as getRemainingPlaces, St as getTicketTypeAvailabilityLabel, T as resolveRegistrationAvailabilityBlocker, V as paymentChoicePrice, Vn as selectMostOpenCapacitySource, Xa as publicEventPricingType, Ya as publicEventPricingStrategy, _ as shouldPromptForLogin, _t as formatPassCreditUsageLabel, b as placeCountCeiling, c as registrationStepLabelContext, dt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, ft as areEntitlementsDisabledForTicketCount, gt as formatEventDateTime, ht as formatDate, j as normalizeEventRegistrationMaxTickets, jn as canJoinEventWaitlist, jt as getTicketSelectionTotal, l as areEventRegistrationPaymentSelectionsEqual, lt as confirmationPaymentRows, mt as formatBookingWhen, n as getEventSelectionMode, qa as publicEventPricingCurrency, r as panelShouldOpen, s as registrationStepLabel, tn as shownVenue, ut as resolveFinishedPresentation, v as fullyBookedLabel, vt as formatRegistrationSchedule, wt as occurrenceTitleOverride, yt as formatTime, zn as isEventFull } from "./wizardSteps-CFulHWnT.mjs";
4
- import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-BeiZxEUJ.mjs";
6
- import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
7
- import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-D9YBNb_E.mjs";
2
+ import { $ as bookingEntry, I as offeringNounForEvent, Jt as formatEventPriceDisplay, N as displayButtonText, Q as bookingCardEntry, X as DEFAULT_BOOKING_BUTTON_TEXT, Z as bookingBarPlacement, et as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, nt as courseTitleOf, tt as bookingPanelHeading } from "./shop.interactive-BH0xDlMF.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-DDNmyb0z.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-Cilv5zdS.mjs";
6
+ import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
7
+ import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CqH3hE-k.mjs";
8
8
  import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
9
9
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
10
10
  import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
11
11
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
12
12
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
13
13
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
14
- import { i as useBookingNowIso } from "./BookingQuestionFields-Bhh0cvsl.mjs";
15
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-D3XnOSCi.mjs";
14
+ import { i as useBookingNowIso } from "./BookingQuestionFields-LLGCWjvU.mjs";
15
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-CD82QX5i.mjs";
16
16
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
17
- import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-Dsugoe-n.mjs";
17
+ import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-Br1VyHkP.mjs";
18
18
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
19
- import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CaN8snZ8.mjs";
20
- import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
19
+ import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CR7_0yu4.mjs";
20
+ import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
21
21
  import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  import { createPortal } from "react-dom";
@@ -1164,6 +1164,26 @@ function ClosedPaymentPanel({ message }) {
1164
1164
  });
1165
1165
  }
1166
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
1167
1187
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.tsx
1168
1188
  /** Dates in order, grouped by the month and year they fall in, both in the date's own zone. */
1169
1189
  function groupByMonth(events) {
@@ -2446,7 +2466,7 @@ function entitlementRows(props) {
2446
2466
  //#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
2447
2467
  /** Download effects happen only after a click, including in editor preview. */
2448
2468
  async function downloadCalendar(calendar) {
2449
- const { renderCalendarFeedIcs } = await import("./src-CdRISvQp.mjs");
2469
+ const { renderCalendarFeedIcs } = await import("./src-BozhJ43Z.mjs");
2450
2470
  const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
2451
2471
  const link = document.createElement("a");
2452
2472
  link.href = url;
@@ -2749,6 +2769,7 @@ function ExistingRegistrationNotice(props) {
2749
2769
  className: "er-existing-registration-notice",
2750
2770
  titleClassName: "er-existing-registration-title",
2751
2771
  bodyClassName: "er-existing-registration-copy",
2772
+ secondaryBodyClassName: "er-existing-registration-copy",
2752
2773
  icon: /* @__PURE__ */ jsx(StateIcon, {
2753
2774
  variant: isBooked ? "success" : "info",
2754
2775
  children: /* @__PURE__ */ jsx("svg", {
@@ -2763,9 +2784,14 @@ function ExistingRegistrationNotice(props) {
2763
2784
  })
2764
2785
  })
2765
2786
  }),
2766
- title: isBooked ? "You're already booked on this event." : "You're already on the waitlist for this event.",
2767
- body: "Sign out to book for someone else.",
2768
- 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", {
2769
2795
  type: "button",
2770
2796
  className: "er-existing-registration-link",
2771
2797
  onClick: props.onBookForSomeoneElse,
@@ -2871,8 +2897,14 @@ function ClosedAdmissionNotice({ wizard }) {
2871
2897
  }
2872
2898
  function TicketSelectionContent({ wizard, display }) {
2873
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);
2874
2902
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2875
- 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, {
2876
2908
  kind: "waitlisted",
2877
2909
  onBookForSomeoneElse: wizard.handleBookForSomeoneElse
2878
2910
  }),
@@ -3250,7 +3282,13 @@ function EventRegistrationSurface(props) {
3250
3282
  return /* @__PURE__ */ jsxs("div", {
3251
3283
  ref: useRegistrationStepFocus(wizard.step, props.variant),
3252
3284
  className: `rb-reg-surface er-container${props.variant === "overlay" ? " er-container--overlay" : ""}`,
3253
- 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, {
3254
3292
  ...props,
3255
3293
  progress: presentation.progress
3256
3294
  }) : /* @__PURE__ */ jsxs("div", {
@@ -3386,6 +3424,8 @@ function useConfiguredEventRegistrationWizard(props) {
3386
3424
  maxTicketsNum: normalizeEventRegistrationMaxTickets(props.maxTickets ?? "5"),
3387
3425
  mailingList: props.mailingList,
3388
3426
  siteTerms: props.siteTerms,
3427
+ pageNavigation: props.pageNavigation,
3428
+ offeringNoun: props.offeringNoun,
3389
3429
  siteName: props.siteName
3390
3430
  });
3391
3431
  }
@@ -3486,7 +3526,8 @@ function EventRegistrationWizardView(viewProps) {
3486
3526
  display,
3487
3527
  buttonText,
3488
3528
  noun: props.offeringNoun ?? offeringNounForEvent(summaryEvent ?? wizard.scopedEvents[0] ?? null, null),
3489
- attendanceMode: wizard.selectedAttendanceMode
3529
+ attendanceMode: wizard.selectedAttendanceMode,
3530
+ courseTitle: courseTitleOf(props.subject)
3490
3531
  };
3491
3532
  const progressFacts = bookingEntryProgress({
3492
3533
  presentation,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-BL943-tl.mjs";
5
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-ucgdMS35.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCalendar.tsx
@@ -12,18 +12,15 @@ const enhance = (root, props) => {
12
12
  const { siteId, apiBaseUrl, stage } = props;
13
13
  if (!siteId) throw new Error("[sdk:islands] event-calendar requires siteId");
14
14
  if (!apiBaseUrl) throw new Error("[sdk:islands] event-calendar requires apiBaseUrl");
15
- const apiConfig = buildRouteIslandApiConfig({
16
- readAuthority: props.readAuthority,
17
- apiBaseUrl,
18
- siteId,
19
- stage
20
- });
21
- return mountReactIsland(root, ({ root: reactRoot }) => {
22
- reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
23
- config: apiConfig,
24
- children: /* @__PURE__ */ jsx(EventCalendarClient, { ...props })
25
- }));
26
- });
15
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
16
+ config: buildRouteIslandApiConfig({
17
+ readAuthority: props.readAuthority,
18
+ apiBaseUrl,
19
+ siteId,
20
+ stage
21
+ }),
22
+ children: /* @__PURE__ */ jsx(EventCalendarClient, { ...props })
23
+ }));
27
24
  };
28
25
  //#endregion
29
26
  export { decode, enhance };
@@ -0,0 +1,25 @@
1
+ "use client";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-BEdfJGpx.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
7
+ import "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ //#region src/rendering/islands/enhancers/eventCombined.tsx
10
+ const decode = defineIslandPropsDecoder("event-combined");
11
+ const enhance = (root, props) => {
12
+ const { siteId, apiBaseUrl, stage } = props;
13
+ if (!apiBaseUrl) throw new Error("[sdk:islands] event-combined requires apiBaseUrl");
14
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
15
+ config: buildRouteIslandApiConfig({
16
+ readAuthority: props.readAuthority,
17
+ apiBaseUrl,
18
+ siteId,
19
+ stage
20
+ }),
21
+ children: /* @__PURE__ */ jsx(EventCombinedIslandClient, { ...props })
22
+ }));
23
+ };
24
+ //#endregion
25
+ export { decode, enhance };
@@ -1,15 +1,13 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
3
- import { t as EventDetailsIslandClient } from "./event-details.client-C5UufcRp.mjs";
4
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
+ import { t as EventDetailsIslandClient } from "./event-details.client-DZZaoCUc.mjs";
4
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/eventDetails.tsx
8
8
  const decode = defineIslandPropsDecoder("event-details");
9
9
  const enhance = (root, props) => {
10
- return mountReactIsland(root, ({ root: reactRoot }) => {
11
- reactRoot.render(/* @__PURE__ */ jsx(EventDetailsIslandClient, { ...props }));
12
- });
10
+ return mountReactIsland(root, /* @__PURE__ */ jsx(EventDetailsIslandClient, { ...props }));
13
11
  };
14
12
  //#endregion
15
13
  export { decode, enhance };
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-8MFGI9BA.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
7
+ import "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ //#region src/rendering/islands/enhancers/eventListing.tsx
10
+ const decode = defineIslandPropsDecoder("event-listing");
11
+ const enhance = (root, props) => {
12
+ const { siteId, apiBaseUrl, stage } = props;
13
+ if (!siteId) throw new Error("[sdk:islands] event-listing requires siteId");
14
+ if (!apiBaseUrl) throw new Error("[sdk:islands] event-listing requires apiBaseUrl");
15
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
16
+ config: buildRouteIslandApiConfig({
17
+ readAuthority: props.readAuthority,
18
+ apiBaseUrl,
19
+ siteId,
20
+ stage
21
+ }),
22
+ children: /* @__PURE__ */ jsx(EventListingClient, { ...props })
23
+ }));
24
+ };
25
+ //#endregion
26
+ export { decode, enhance };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as EventRegistrationIslandClient } from "./event-registration.client-CMGg63IU.mjs";
3
- import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
5
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
2
+ import { t as EventRegistrationIslandClient } from "./event-registration.client-CLBdHUfd.mjs";
3
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -12,20 +12,20 @@ const enhance = (root, props) => {
12
12
  const { siteId, apiBaseUrl, stage, portalToken, previewToken } = props;
13
13
  if (!siteId) throw new Error("[sdk:islands] event-registration requires siteId");
14
14
  if (!apiBaseUrl) throw new Error("[sdk:islands] event-registration requires apiBaseUrl");
15
- const apiConfig = buildRouteIslandApiConfig({
16
- readAuthority: props.readAuthority,
17
- apiBaseUrl,
18
- portalToken,
19
- previewToken,
20
- siteId,
21
- stage
22
- });
23
- return mountReactIsland(root, ({ root: reactRoot }) => {
24
- reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
25
- config: apiConfig,
26
- children: /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props })
27
- }));
28
- });
15
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
16
+ config: {
17
+ ...buildRouteIslandApiConfig({
18
+ readAuthority: props.readAuthority,
19
+ apiBaseUrl,
20
+ portalToken,
21
+ previewToken,
22
+ siteId,
23
+ stage
24
+ }),
25
+ pageNavigation: props.render.hydration.pageNavigation
26
+ },
27
+ children: /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props })
28
+ }));
29
29
  };
30
30
  //#endregion
31
31
  export { decode, enhance };
@@ -0,0 +1,45 @@
1
+ "use client";
2
+ //#region ../blocks/src/system/runtime/islands/flightRegistrations.ts
3
+ const STORE_KEY = Symbol.for("riverbankcms.islands.flight-registrations.v1");
4
+ function flightIslandStore() {
5
+ const host = globalThis;
6
+ const existing = host[STORE_KEY];
7
+ if (existing) return existing;
8
+ const created = {
9
+ registrations: /* @__PURE__ */ new Map(),
10
+ listeners: /* @__PURE__ */ new Set()
11
+ };
12
+ host[STORE_KEY] = created;
13
+ return created;
14
+ }
15
+ /** One registration per element; the returned disposer only removes its own. */
16
+ function registerFlightIsland(registration) {
17
+ const { registrations, listeners } = flightIslandStore();
18
+ registrations.set(registration.element, registration);
19
+ listeners.forEach((listener) => listener({
20
+ type: "registered",
21
+ registration
22
+ }));
23
+ return () => {
24
+ if (registrations.get(registration.element) !== registration) return;
25
+ registrations.delete(registration.element);
26
+ listeners.forEach((listener) => listener({
27
+ type: "disposed",
28
+ element: registration.element
29
+ }));
30
+ };
31
+ }
32
+ /** Replays current registrations, then reports each change until unsubscribed. */
33
+ function subscribeFlightIslands(listener) {
34
+ const { registrations, listeners } = flightIslandStore();
35
+ listeners.add(listener);
36
+ registrations.forEach((registration) => listener({
37
+ type: "registered",
38
+ registration
39
+ }));
40
+ return () => {
41
+ listeners.delete(listener);
42
+ };
43
+ }
44
+ //#endregion
45
+ export { subscribeFlightIslands as n, registerFlightIsland as t };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
4
- import { t as FormNodeClient } from "./form.client-BI9Dcsq5.mjs";
5
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
+ import { t as FormNodeClient } from "./form.client-D3_RF29v.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  //#region src/rendering/islands/enhancers/form.tsx
@@ -75,16 +75,11 @@ const enhance = (root, props) => {
75
75
  auth: { type: "none" },
76
76
  siteId
77
77
  };
78
- const snapshots = snapshotFormValues(root.querySelector("form"));
79
- return mountReactIsland(root, ({ root: reactRoot }) => {
80
- reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
81
- config: apiConfig,
82
- children: /* @__PURE__ */ jsx(FormNodeClient, { ...props })
83
- }));
84
- requestAnimationFrame(() => {
85
- applySnapshots(root.querySelector("form"), snapshots);
86
- });
87
- });
78
+ const fallbackForm = root.querySelector("form");
79
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
80
+ config: apiConfig,
81
+ children: /* @__PURE__ */ jsx(FormNodeClient, { ...props })
82
+ }), { handover: (mount) => applySnapshots(mount.querySelector("form"), snapshotFormValues(fallbackForm)) });
88
83
  };
89
84
  //#endregion
90
85
  export { decode, enhance };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
3
- import { d as assertNever, f as err, p as ok } from "./bookingQuestionValues-BjcyCru5.mjs";
4
- import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
2
+ import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
3
+ import { _ as ok, g as err, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
4
+ import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
5
5
  import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DevF0L_A.mjs";
7
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DWLf_3PF.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,5 +1,5 @@
1
1
  "use client";
2
- import { ai as listLookControl, oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
2
+ import { Gi as listLookSlot, Wi as listLookControl } from "./display-DDNmyb0z.mjs";
3
3
  import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
4
4
  import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
5
5
  import "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Dt as formatDateTime, Ht as parseBookingLocalDate, Tt as formatDate$1, qt as parseUtcIsoDateTimeString } from "./noop-ByFRHYQ2.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) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Gt as resolveBookingTimeZoneId, Jt as toUtcIsoDateTimeString, Tt as formatDate, en as formatGiftCardAmountLabel, t as logger } from "../noop-ByFRHYQ2.mjs";
4
- import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-DXmIbXCK.mjs";
3
+ import { Mt as formatDate, Qt as resolveBookingTimeZoneId, sn as formatGiftCardAmountLabel, t as logger, tn as toUtcIsoDateTimeString } from "../noop-B_f7RqLD.mjs";
4
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-Xhf81Q-c.mjs";
5
5
  import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BdnEwA38.mjs";
6
6
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
7
7
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
3
- import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DheQj7rg.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
+ import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-D7gRy-pL.mjs";
4
4
  //#region src/rendering/islands/enhancers/headerSection.ts
5
5
  const decode = defineIslandPropsDecoder("headerSection");
6
6
  const enhance = (root, props) => {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { I as newsletterBlockSubmissionMessage, On as parseMailingListVisitorSelection, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-C8OvFY06.mjs";
3
- import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
4
- import { O as assertNever$1, d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
5
- import { n as useBlockApi, r as BlockApiError } from "./context-DXmIbXCK.mjs";
2
+ import { fn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
4
+ import { M as assertNever$1, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
+ import { i as BlockApiError, n as useBlockApi } from "./context-Xhf81Q-c.mjs";
6
6
  import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
8
- import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-Dg8s9NwJ.mjs";
8
+ import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DDD-LRyW.mjs";
9
9
  import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
10
10
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
11
11
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
2
+ import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
3
3
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
4
4
  import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
5
5
  import "react";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
4
- import { t as NewsletterFormClient } from "./newsletter-form.client-BWp7Y1e1.mjs";
5
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
+ import { t as NewsletterFormClient } from "./newsletter-form.client-IfLup4o0.mjs";
5
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  //#region src/rendering/islands/enhancers/newsletterForm.tsx
@@ -30,7 +30,7 @@ function applySnapshots(form, snapshots) {
30
30
  }
31
31
  }
32
32
  const enhance = (root, props) => {
33
- const { siteId, apiBaseUrl, render } = props;
33
+ const { siteId, apiBaseUrl } = props;
34
34
  if (!siteId) throw new Error("[sdk:islands] newsletter-form requires siteId");
35
35
  if (!apiBaseUrl) throw new Error("[sdk:islands] newsletter-form requires apiBaseUrl");
36
36
  const apiConfig = {
@@ -38,16 +38,11 @@ const enhance = (root, props) => {
38
38
  auth: { type: "none" },
39
39
  siteId
40
40
  };
41
- const snapshots = snapshotFormValues(root.querySelector("form"));
42
- return mountReactIsland(root, ({ root: reactRoot }) => {
43
- reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
44
- config: apiConfig,
45
- children: /* @__PURE__ */ jsx(NewsletterFormClient, { ...props })
46
- }));
47
- requestAnimationFrame(() => {
48
- applySnapshots(root.querySelector("form"), snapshots);
49
- });
50
- });
41
+ const fallbackForm = root.querySelector("form");
42
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
43
+ config: apiConfig,
44
+ children: /* @__PURE__ */ jsx(NewsletterFormClient, { ...props })
45
+ }), { handover: (mount) => applySnapshots(mount.querySelector("form"), snapshotFormValues(fallbackForm)) });
51
46
  };
52
47
  //#endregion
53
48
  export { decode, enhance };