@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,9 +1,9 @@
1
1
  "use client";
2
- import { Qt as selectCardListPresentation, Xt as CardListLeadDate, Yt as CardListContentPart, Zt as resolveCardListSchedule, on as formatEventPrice } from "./shop.interactive-C8OvFY06.mjs";
3
- import { En as formatEventTimeRange, Ln as getEventAvailabilityStatus, Nn as formatEventRemainingPlaces, Sn as formatEventCompactDateRail, _n as eventDateOptions, ii as listItemPresentation, oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
4
- import { I as resolveTokenOrCssColorValue, N as isCssColorLiteral, P as resolveOnColorForThemeToken, nt as getTextColorForBackground } from "./accessibleSurfaces-chpD4C2c.mjs";
2
+ import { Ft as CardListContentPart, It as CardListLeadDate, Kt as formatEventPrice, Lt as resolveCardListSchedule, Rt as selectCardListPresentation } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { Gi as listLookSlot, Rn as eventDateOptions, Ui as listItemPresentation, Un as formatEventCompactDateRail, er as formatEventRemainingPlaces, ir as getEventAvailabilityStatus, qn as formatEventTimeRange } from "./display-DDNmyb0z.mjs";
4
+ import { I as resolveTokenOrCssColorValue, N as isCssColorLiteral, P as resolveOnColorForThemeToken, nt as getTextColorForBackground } from "./accessibleSurfaces-_7jkuinl.mjs";
5
5
  import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-BdnEwA38.mjs";
6
- import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-DP_IBnq3.mjs";
6
+ import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-CfuyGqXL.mjs";
7
7
  import React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
@@ -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 "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Ht as buildEventRuntimeFilters } from "./shop.interactive-C8OvFY06.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-a0QEIEf0.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-PhTIoFVX.mjs";
2
+ import { Ot as buildEventRuntimeFilters } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-DTsVU6gc.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-spj7sGQP.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { $t as MediaNodeServer, an as weekColumnDays, on as formatEventPrice } from "./shop.interactive-C8OvFY06.mjs";
3
- import { En as formatEventTimeRange, Sn as formatEventCompactDateRail, Tn as formatEventNextDateFact, _n as eventDateOptions, ba as itemRoleValues, bn as formatDate, fa as boxBackgroundOverlaySchema, ga as boxlessCardVariantValue, ii as listItemPresentation, ma as runtimeBoxBackgroundSchema, oi as listLookSlot, pa as boxBackgroundSchema, rn as ImagePresets, vn as eventLocalDateKey, xa as openCardRoleValue, ya as cardVariantRoleValues } from "./wizardSteps-CFulHWnT.mjs";
2
+ import { Gt as weekColumnDays, Kt as formatEventPrice, zt as MediaNodeServer } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { $a as runtimeBoxBackgroundSchema, Gi as listLookSlot, Kn as formatEventNextDateFact, Qa as boxBackgroundSchema, Rn as eventDateOptions, Ui as listItemPresentation, Un as formatEventCompactDateRail, Vn as formatDate, Za as boxBackgroundOverlaySchema, ao as itemRoleValues, io as cardVariantRoleValues, oo as openCardRoleValue, qn as formatEventTimeRange, to as boxlessCardVariantValue, wn as ImagePresets, zn as eventLocalDateKey } from "./display-DDNmyb0z.mjs";
4
4
  import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-BdnEwA38.mjs";
5
- import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-DP_IBnq3.mjs";
6
- import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-13JQI7_z.mjs";
7
- import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-BIc4gjiD.mjs";
5
+ import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CfuyGqXL.mjs";
6
+ import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DDWfmgpA.mjs";
7
+ import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-OpLehMpT.mjs";
8
8
  import "react";
9
- import { z } from "zod";
10
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
+ import { z } from "zod";
11
11
  z.enum(itemRoleValues);
12
12
  z.enum(cardVariantRoleValues);
13
13
  function isCardVariantRole(value) {
@@ -1,18 +1,19 @@
1
1
  "use client";
2
- import { $ as getEligibilityFlowFlags, $r as resolveEventRegistrationScopedEvents, Bt as EVENT_SIGN_IN_FORM_ID, C as resolveGuestNextStepCheck, Cr as needsBookingQuestionsRefresh, Ct as getVisibleTicketTypes, E as resolveRegistrationTicketContinuation, Er as toBookingQuestionsPaymentSnapshot, G as resolveRegistrationTarget, H as findPreSelectedEvent, Ht as eventSignInEnds, It as getRegistrationStartAt, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, L as calculateEventRegistrationPreviewTotal, La as resolveBookingSignupOffer, Lt as toRegistrationEvents, M as resolveEventRegistrationSubmitPlan, Nt as hasValidPricingOptionSelection, O as visitorHoldsOwnPlace, Pt as normalizeTicketSelectionLines, Q as getCurrentTicketSelection, S as planRegistrationDetailsContinuation, Sr as deriveBookingQuestions, Tt as transformRegistrationOptionsResponse, U as resolveDiscountContext, Ut as eventSignInRestoration, Vt as eventSignInDraftStore, W as resolveEventRequiresPayment, Wt as toEventSignInDraft, X as invitationSubmission, Y as createRegistrationDraftData, Ya as publicEventPricingStrategy, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, br as bookingQuestionsPaymentSnapshotSchema, bt as getImplicitSingleTicketType, ct as validateFormData, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, it as parseCurrencyInputToCents, jt as getTicketSelectionTotal, kt as getSingleSelectedPricingOptionId, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, pt as findSelectedTicketType, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as registrationQuestionsMessage, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, x as planRegistrationDetailsCheck, xr as decideBookingQuestionsRestoration, xt as getPortalSubjectEmail, y as getTicketSelectionPurpose, zt as toWholeSeriesRegistrationEvents } from "./wizardSteps-CFulHWnT.mjs";
3
- import { Mt as inferSiteDateLocale, Wt as resolveBookingBusinessTimeZone } from "./noop-ByFRHYQ2.mjs";
4
- import { d as assertNever, i as checkBookingQuestionsAnswered } from "./bookingQuestionValues-BjcyCru5.mjs";
5
- import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-BeiZxEUJ.mjs";
2
+ import { A as createInitialRegistrationFlowState, Ai as leavePage, Ct as getTicketSelectionRemainingPlaces, Dt as withRegistrationAvailability, E as registrationRoute, Et as shouldLoadRegistrationOptions, F as buildEventRegistrationPaymentOptionsViewModel, H as planRegistrationDetailsContinuation, Hr as decideBookingQuestionsRestoration, Ht as getPortalSubjectEmail, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, K as resolveRegistrationTicketContinuation, Kt as transformRegistrationOptionsResponse, M as getDeclinedPass, Mi as requestSignIn, N as isRegistrationLocked, Oi as PAGE_NAVIGATION, Ot as registrationQuestionsMessage, P as registrationFlowReducer, Po as publicEventPricingStrategy, Pt as findSelectedTicketType, Q as resolveEventRegistrationSubmitPlan, Qt as getTicketSelectionTotal, Ri as resolveEventRegistrationScopedEvents, So as resolveBookingSignupOffer, St as getSlidingScaleSelectionMessage, T as registrationPresentation, Tt as resolveHeldTicketPlaces, U as resolveGuestNextStepCheck, Ur as deriveBookingQuestions, V as planRegistrationDetailsCheck, Vr as bookingQuestionsPaymentSnapshotSchema, Vt as getImplicitSingleTicketType, W as resolveRegistrationAdmission, Wr as needsBookingQuestionsRefresh, Wt as getVisibleTicketTypes, Xt as getSingleSelectedPricingOptionId, _t as formatCentsAsCurrencyInput, bt as getRegistrationOccurrenceId, cn as eventSignInDraftStore, ct as findPreSelectedEvent, dn as toEventSignInDraft, dt as resolveRegistrationTarget, en as hasValidPricingOptionSelection, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toRegistrationEvents, j as decideEventChoice, kt as validateFormData, ln as eventSignInEnds, lt as resolveDiscountContext, mt as beginWaitlistInvitation, on as toWholeSeriesRegistrationEvents, pt as toRegistrationRequestSubject, qr as toBookingQuestionsPaymentSnapshot, rn as getRegistrationStartAt, rt as calculateEventRegistrationPreviewTotal, sn as EVENT_SIGN_IN_FORM_ID, tn as normalizeTicketSelectionLines, un as eventSignInRestoration, ut as resolveEventRequiresPayment, vt as getCurrentTicketSelection, w as registrationPaymentRoute, wt as parseCurrencyInputToCents, xt as getSlidingScaleForEvent, yt as getEligibilityFlowFlags, z as getTicketSelectionPurpose } from "./display-DDNmyb0z.mjs";
3
+ import { Zt as resolveBookingBusinessTimeZone, zt as inferSiteDateLocale } from "./noop-B_f7RqLD.mjs";
4
+ import { c as checkBookingQuestionsAnswered, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
+ import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
6
6
  import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
7
- import { n as useBlockApi, r as BlockApiError } from "./context-DXmIbXCK.mjs";
8
- import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-Bhh0cvsl.mjs";
9
- import { t as useDiscountCodeUi } from "./useDiscountCodeUi-D3XnOSCi.mjs";
10
- import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-Dsugoe-n.mjs";
7
+ import { i as BlockApiError, n as useBlockApi } from "./context-Xhf81Q-c.mjs";
8
+ import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
9
+ import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-LLGCWjvU.mjs";
10
+ import { t as useDiscountCodeUi } from "./useDiscountCodeUi-CD82QX5i.mjs";
11
+ import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-Br1VyHkP.mjs";
11
12
  import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
12
- import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-DQXK-Fh6.mjs";
13
+ import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-DQtwf_s2.mjs";
13
14
  import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
14
- import { z } from "zod";
15
15
  import { jsx } from "react/jsx-runtime";
16
+ import { z } from "zod";
16
17
  //#region ../commerce/src/purchase/event-registration-errors.ts
17
18
  const eventRegistrationErrors = {
18
19
  invalidAnswers: {
@@ -145,32 +146,6 @@ function logoutPortal(anchorId) {
145
146
  form.submit();
146
147
  }
147
148
  //#endregion
148
- //#region ../blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.ts
149
- /** Owns admission and its navigation commands; renderers receive decisions. */
150
- function useRegistrationAdmission(input) {
151
- const { admission, isAuthenticated, dispatchFlow } = input;
152
- const ticketContinuation = resolveRegistrationTicketContinuation({
153
- admission,
154
- ticketSelectionRequired: input.ticketSelectionRequired,
155
- hasValidTicketSelection: input.hasValidTicketSelection,
156
- isCheckingExistingRegistration: isAuthenticated && input.existingRegistrationLoading
157
- });
158
- const handleTicketsComplete = () => {
159
- if (ticketContinuation.kind === "blocked") return {
160
- ok: false,
161
- reason: "blocked",
162
- message: ticketContinuation.message
163
- };
164
- dispatchFlow({ type: "tickets-completed" });
165
- return { ok: true };
166
- };
167
- return {
168
- admission,
169
- ticketContinuation,
170
- handleTicketsComplete
171
- };
172
- }
173
- //#endregion
174
149
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.ts
175
150
  function resolveRegistrationRecoveryAction(step, action) {
176
151
  if (step === "payment-failed") return "payment-options";
@@ -193,36 +168,113 @@ function resetRegistrationAfterExpiry(input) {
193
168
  input.setErrorMessage("");
194
169
  }
195
170
  /** Retry the retained submission in place; explicit payment uncertainty stays status-only. */
196
- function recoverRegistrationError(action, handlers) {
171
+ function recoverRegistrationError(action, handlers, navigation) {
197
172
  switch (action) {
198
- case "none": return;
199
- case "portal":
200
- window.location.assign(CUSTOMER_PORTAL_PATH);
201
- return;
202
- case "event":
203
- window.location.assign(window.location.pathname);
204
- return;
173
+ case "none": return { kind: "navigated" };
174
+ case "portal": return leavePage(CUSTOMER_PORTAL_PATH, navigation);
175
+ case "event": return leavePage(window.location.pathname, navigation);
205
176
  case "retry":
206
177
  handlers.clearError();
207
178
  handlers.setStep("select-payment");
208
- return;
179
+ return { kind: "navigated" };
209
180
  case "details":
210
181
  handlers.clearError();
211
182
  handlers.setStep("enter-details");
212
- return;
183
+ return { kind: "navigated" };
213
184
  case "payment-options":
214
185
  case "places":
215
186
  handlers.refreshOptions();
216
187
  handlers.clearError();
217
188
  handlers.setStep(action === "places" ? handlers.canJoinWaitlist ? "enter-details" : "select-tickets" : "select-payment");
218
- return;
189
+ return { kind: "navigated" };
219
190
  case "start":
220
191
  handlers.refreshOptions();
221
192
  handlers.reset();
222
- return;
193
+ return { kind: "navigated" };
223
194
  }
224
195
  }
225
196
  //#endregion
197
+ //#region ../blocks/src/system/runtime/nodes/event-registration/useRegistrationNavigation.ts
198
+ function signInBookingPath(target) {
199
+ const subject = target?.subject;
200
+ return resolveDedicatedBookingHref("/", subject?.kind === "wholeSeries" ? {
201
+ kind: "event_series",
202
+ eventId: subject.eventSeriesId
203
+ } : subject ? {
204
+ kind: "event_occurrence",
205
+ occurrenceId: subject.occurrenceId
206
+ } : { kind: "chooser" });
207
+ }
208
+ /** Presentation state for leaving the frame stays outside registration's state machine. */
209
+ function useRegistrationNavigation(input) {
210
+ const navigation = input.pageNavigation ?? PAGE_NAVIGATION;
211
+ const [showMagicLinkModal, openMagicLinkModal] = useState(false);
212
+ const [handOff, setHandOff] = useState(null);
213
+ const returnPath = signInBookingPath(input.target);
214
+ const changeSignInVisibility = useCallback((show) => {
215
+ if (!show) {
216
+ openMagicLinkModal(false);
217
+ return;
218
+ }
219
+ const outcome = requestSignIn(returnPath, () => openMagicLinkModal(true), navigation);
220
+ if (outcome.kind === "handOff") setHandOff({
221
+ ...outcome,
222
+ purpose: "signIn"
223
+ });
224
+ }, [navigation, returnPath]);
225
+ const recover = (action, handlers) => {
226
+ receiveHandOff(recoverRegistrationError(action, handlers, navigation), setHandOff);
227
+ };
228
+ return {
229
+ showMagicLinkModal,
230
+ changeSignInVisibility,
231
+ recover,
232
+ interceptPaymentSelection: useCallback((selection) => {
233
+ if (navigation.kind === "page" || selection.method === null || selection.method === "stripe" || selection.method === "free") return false;
234
+ changeSignInVisibility(true);
235
+ return true;
236
+ }, [navigation, changeSignInVisibility]),
237
+ presentation: handOff ? {
238
+ handOff,
239
+ dismissHandOff: () => setHandOff(null),
240
+ handOffBusinessName: input.businessName,
241
+ handOffOfferingLabel: input.offeringNoun?.label
242
+ } : {}
243
+ };
244
+ }
245
+ function receiveHandOff(outcome, receive) {
246
+ if (outcome.kind === "handOff") receive({
247
+ ...outcome,
248
+ purpose: "navigation"
249
+ });
250
+ }
251
+ //#endregion
252
+ //#region ../blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.ts
253
+ /** Owns admission and its navigation commands; renderers receive decisions. */
254
+ function useRegistrationAdmission(input) {
255
+ const { admission, isAuthenticated, dispatchFlow } = input;
256
+ const ticketContinuation = resolveRegistrationTicketContinuation({
257
+ admission,
258
+ ticketSelectionRequired: input.ticketSelectionRequired,
259
+ hasValidTicketSelection: input.hasValidTicketSelection,
260
+ isCheckingExistingRegistration: isAuthenticated && input.existingRegistrationLoading
261
+ });
262
+ const handleTicketsComplete = () => {
263
+ if (ticketContinuation.kind === "blocked") return {
264
+ ok: false,
265
+ reason: "blocked",
266
+ message: ticketContinuation.message
267
+ };
268
+ dispatchFlow({ type: "tickets-completed" });
269
+ return { ok: true };
270
+ };
271
+ return {
272
+ admission,
273
+ ticketContinuation,
274
+ handleTicketsComplete
275
+ };
276
+ }
277
+ //#endregion
226
278
  //#region ../blocks/src/system/runtime/nodes/event-registration/useEventRegistrationQuestions.ts
227
279
  /** The event series is the booking target: its question set applies to every date. */
228
280
  function eventTarget(event) {
@@ -417,18 +469,18 @@ function eligibilityLookupReducer(state, action) {
417
469
  }
418
470
  const initialExistingRegistrationLookupState = {
419
471
  tag: "idle",
420
- registration: null
472
+ registrations: []
421
473
  };
422
474
  function existingRegistrationLookupReducer(state, action) {
423
475
  switch (action.type) {
424
476
  case "reset": return initialExistingRegistrationLookupState;
425
477
  case "loading-started": return {
426
478
  tag: "loading",
427
- registration: state.registration
479
+ registrations: state.registrations
428
480
  };
429
481
  case "resolved": return {
430
482
  tag: "resolved",
431
- registration: action.registration
483
+ registrations: action.registrations
432
484
  };
433
485
  default: return assertNever(action);
434
486
  }
@@ -622,13 +674,13 @@ function useExistingEventRegistrationWithDeps({ isAuthenticated, occurrenceId },
622
674
  if (cancelled || requestIdRef.current !== requestId) return;
623
675
  dispatch({
624
676
  type: "resolved",
625
- registration: events.find((event) => event.occurrenceId === occurrenceId && event.status !== "cancelled" && event.transferState !== "transferred_out") ?? null
677
+ registrations: events.filter((event) => event.occurrenceId === occurrenceId && event.status !== "cancelled" && event.transferState !== "transferred_out")
626
678
  });
627
679
  } catch {
628
680
  if (cancelled || requestIdRef.current !== requestId) return;
629
681
  dispatch({
630
682
  type: "resolved",
631
- registration: null
683
+ registrations: []
632
684
  });
633
685
  }
634
686
  }
@@ -643,7 +695,7 @@ function useExistingEventRegistrationWithDeps({ isAuthenticated, occurrenceId },
643
695
  ]);
644
696
  return {
645
697
  state,
646
- registration: state.registration,
698
+ registrations: state.registrations,
647
699
  isLoading: state.tag === "loading"
648
700
  };
649
701
  }
@@ -1897,6 +1949,14 @@ function useRegistrationEventSource(options) {
1897
1949
  } : options.eventSource, [options.eventSource, scopedEvents])
1898
1950
  };
1899
1951
  }
1952
+ /** A signed-in booker's email is their verified identity, never a draft copy. */
1953
+ function useVerifiedFormData(draft, authState, profile) {
1954
+ const verifiedEmail = authState === "authenticated" ? profile?.email ?? null : null;
1955
+ return useMemo(() => verifiedEmail === null ? draft : {
1956
+ ...draft,
1957
+ email: verifiedEmail
1958
+ }, [draft, verifiedEmail]);
1959
+ }
1900
1960
  function useEventRegistrationWizardWithDeps(options, deps) {
1901
1961
  const api = useBlockApi();
1902
1962
  const arrivalCredential = deps.useWaitlistClaimCredential();
@@ -1914,7 +1974,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
1914
1974
  }));
1915
1975
  const step = flowState.step;
1916
1976
  const paymentIntent = flowState.paymentSelection;
1917
- const { selectedEvent, formData, guests, selectedAttendanceMode, selectedTicketLines, selectedSlidingAmountInput } = flowState.draft;
1977
+ const { selectedEvent, formData: draftFormData, guests, selectedAttendanceMode, selectedTicketLines, selectedSlidingAmountInput } = flowState.draft;
1918
1978
  const setSelectedEvent = useCallback((value) => dispatchFlow({
1919
1979
  type: "draft-edited",
1920
1980
  edit: {
@@ -1972,6 +2032,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
1972
2032
  const [submissionErrorAction, setErrorAction] = useState("retry");
1973
2033
  const [optionsRefreshKey, setOptionsRefreshKey] = useState(0);
1974
2034
  const { authState: portalAuthState, profile: portalProfile } = deps.usePortalAuth();
2035
+ const formData = useVerifiedFormData(draftFormData, portalAuthState, portalProfile);
1975
2036
  const portalIdentity = portalSessionIdentity(api.config);
1976
2037
  const waitlistClaim = flowState.invitation;
1977
2038
  const claimLookup = deps.useWaitlistClaim(waitlistClaim.kind === "none" ? null : waitlistClaim.request);
@@ -1995,13 +2056,11 @@ function useEventRegistrationWizardWithDeps(options, deps) {
1995
2056
  ]);
1996
2057
  const errorMessage = waitlistClaim.kind === "error" ? waitlistClaim.message : submissionErrorMessage;
1997
2058
  const errorAction = waitlistClaim.kind === "error" ? waitlistClaim.action : submissionErrorAction;
1998
- const [showMagicLinkModal, setShowMagicLinkModal] = useState(false);
1999
2059
  const selectionLocked = isRegistrationLocked(step);
2000
2060
  useEffect(() => {
2001
2061
  if (selectionLocked || portalAuthState !== "authenticated" || !portalProfile) return;
2002
2062
  setFormData((prev) => ({
2003
2063
  ...prev,
2004
- email: portalProfile.email,
2005
2064
  name: prev.name || portalProfile.name,
2006
2065
  phone: prev.phone || portalProfile.phone || ""
2007
2066
  }));
@@ -2012,6 +2071,13 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2012
2071
  selectedEvent
2013
2072
  }), [options.occurrenceContext, selectedEvent]);
2014
2073
  const registrationOccurrenceId = getRegistrationOccurrenceId(registrationTarget);
2074
+ const registrationNavigation = useRegistrationNavigation({
2075
+ pageNavigation: options.pageNavigation,
2076
+ target: registrationTarget,
2077
+ businessName: options.siteName,
2078
+ offeringNoun: options.offeringNoun
2079
+ });
2080
+ const { showMagicLinkModal, changeSignInVisibility: setShowMagicLinkModal, interceptPaymentSelection } = registrationNavigation;
2015
2081
  const currentEvent = selectedEvent ?? preSelectedEvent;
2016
2082
  const commandRef = useRef(null);
2017
2083
  const setStep = useCallback((nextStep) => {
@@ -2067,6 +2133,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2067
2133
  isAuthenticated: portalAuthState === "authenticated",
2068
2134
  occurrenceId: registrationOccurrenceId
2069
2135
  });
2136
+ const existingRegistrations = useMemo(() => existingRegistrationResult.registrations.filter((registration) => registration.occurrenceId === registrationOccurrenceId), [existingRegistrationResult.registrations, registrationOccurrenceId]);
2070
2137
  const eligibility = eligibilityResult.eligibility;
2071
2138
  const eligibilityLoading = eligibilityResult.isLoading;
2072
2139
  const eligibilityError = eligibilityResult.error;
@@ -2488,7 +2555,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2488
2555
  commandRef.current = null;
2489
2556
  setOptionsRefreshKey((value) => value + 1);
2490
2557
  };
2491
- const handleRetry = () => recoverRegistrationError(resolveRegistrationRecoveryAction(step, errorAction), {
2558
+ const handleRetry = () => registrationNavigation.recover(resolveRegistrationRecoveryAction(step, errorAction), {
2492
2559
  canJoinWaitlist: admission.kind === "waitlist",
2493
2560
  refreshOptions: () => setOptionsRefreshKey((value) => value + 1),
2494
2561
  clearError: () => setErrorMessage(""),
@@ -2507,11 +2574,12 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2507
2574
  }
2508
2575
  });
2509
2576
  const handlePaymentSelectionChange = useCallback((selection) => {
2577
+ if (interceptPaymentSelection(selection)) return;
2510
2578
  dispatchFlow({
2511
2579
  type: "set-manual-payment-selection",
2512
2580
  selection
2513
2581
  });
2514
- }, []);
2582
+ }, [interceptPaymentSelection]);
2515
2583
  const presentation = presentWizardStep({
2516
2584
  step,
2517
2585
  flow: flowState,
@@ -2530,7 +2598,9 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2530
2598
  ticketsCount,
2531
2599
  paymentMethod: paymentSelection.method
2532
2600
  });
2601
+ const displayEvent = withRegistrationAvailability(currentEvent, eligibilityLoading ? null : eligibility, selectedAttendanceMode);
2533
2602
  return {
2603
+ ...registrationNavigation.presentation,
2534
2604
  api,
2535
2605
  nowIso,
2536
2606
  directPaymentOptions,
@@ -2542,7 +2612,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2542
2612
  events,
2543
2613
  maxTicketsNum: waitlistClaim.kind === "ready" ? waitlistClaim.restoration.ticketsCount : options.maxTicketsNum,
2544
2614
  scopedEvents,
2545
- preSelectedEvent,
2615
+ preSelectedEvent: preSelectedEvent?.selectionId === currentEvent?.selectionId ? displayEvent : preSelectedEvent,
2546
2616
  hasPreSelectedContext,
2547
2617
  presentation,
2548
2618
  flow: flowState,
@@ -2553,7 +2623,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2553
2623
  admission,
2554
2624
  ticketContinuation,
2555
2625
  handleTicketsComplete,
2556
- selectedEvent,
2626
+ selectedEvent: selectedEvent ? displayEvent : null,
2557
2627
  setSelectedEvent: (value) => {
2558
2628
  if (!selectionLocked) setSelectedEvent(value);
2559
2629
  },
@@ -2628,7 +2698,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
2628
2698
  registrationOptionsState: eligibilityResult.state,
2629
2699
  eligibilityLoading: eligibilityLoading || checkingNextStep,
2630
2700
  eligibilityError,
2631
- existingRegistration: existingRegistrationResult.registration,
2701
+ existingRegistrations,
2632
2702
  existingRegistrationLoading: existingRegistrationResult.isLoading || portalAuthState === "authenticated" && eligibilityLoading,
2633
2703
  existingRegistrationState: existingRegistrationResult.state,
2634
2704
  registrationState,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { vt as normalizeLocationAddressText } from "./noop-ByFRHYQ2.mjs";
2
+ import { Tt as normalizeLocationAddressText } from "./noop-B_f7RqLD.mjs";
3
3
  import { i as ThemedButtonLink } from "./ThemedButton-BdnEwA38.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { wt as mapDrawingSchema } from "./noop-ByFRHYQ2.mjs";
2
+ import { jt as mapDrawingSchema } from "./noop-B_f7RqLD.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts