@riverbankcms/sdk 0.180.0 → 0.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-Chr9pNVW.d.ts} +58 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-kjccgopX.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-BodaiS00.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-Brl6_I2j.d.ts} +1 -2
  9. package/dist/_dts/{index-CB5Csefo.d.ts → index-CJkefwYh.d.ts} +2 -2
  10. package/dist/_dts/{index-DQBGwBPx.d.ts → index-D1WpKwQe.d.ts} +1 -1
  11. package/dist/_dts/{index-DQr358-m.d.ts → index-DG0OvBs0.d.ts} +8 -8
  12. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Diqt0PvG.d.ts} +1 -1
  13. package/dist/_dts/{index-DCcxLa8p.d.ts → index-Dy50xUMK.d.ts} +2 -2
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-CA0izds5.d.ts} +2498 -1108
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  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 +6 -6
  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/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +6 -6
  54. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-CQrsP1x_.d.ts} +3 -3
  55. package/dist/_dts/{types-DpEAnP4F.d.ts → types-CgS3xLk8.d.ts} +2 -2
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-R65DKjPn.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-uWfR2kaG.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-CyNIKw6k.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-CwzrjcRw.mjs} +6 -6
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DZ0qMFF4.mjs} +6 -6
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +700 -514
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-C7mygH_f.mjs} +389 -248
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-CsW8U3ff.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-cBWM392H.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-DJoleFV3.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-EO5o6uPH.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-D_gPw45z.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-NVfZW0kR.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  93. package/dist/client/client.mjs +87 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-CoOkvw__.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-CRhn9qzS.mjs} +732 -370
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-D7YYKySQ.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DM8Zbxbv.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-DWIsqQru.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-RuM86VAv.mjs} +23 -24
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-Dl4mZ-rr.mjs} +167 -49
  119. package/dist/client/portal/client.mjs +13040 -8190
  120. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  121. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-BZJCfqat.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-CiRs3mNb.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-CDNNd8wC.mjs} +247 -203
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-Rx_gEMK8.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-ZSqRK3dD.mjs} +228 -90
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-BQJrSK0K.mjs} +9 -78
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-Dm3lKJKR.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-CC_yQLSA.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-BliJOzEX.mjs} +953 -279
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BhL0uADo.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +5 -5
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-BS32G4V9.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-RL0WfZXD.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +29 -5
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-CQyS8pcq.mjs} +5011 -2074
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlmbvbLN.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-R3PcMmax.mjs} +71 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BQWsnGT6.mjs} +126 -120
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DxojjtK3.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-CDndhbYO.mjs} +86 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/index.mjs +3 -3
  180. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-BKstMBmX.mjs} +5 -4
  181. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  182. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-TFjgNG61.mjs} +38 -18
  183. package/dist/server/manifest.mjs +36 -25
  184. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  185. package/dist/server/media-BRmYrnzb.mjs +31 -0
  186. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  187. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  188. package/dist/server/navigation.mjs +1 -1
  189. package/dist/server/next.mjs +134 -81
  190. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +3 -3
  192. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-B7iULvKe.mjs} +8 -7
  193. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-BytMroxn.mjs} +5 -5
  194. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-Dcs_XTIO.mjs} +243 -323
  195. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  196. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  197. package/dist/server/portal.mjs +3 -3
  198. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  199. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-agaH-vZV.mjs} +1 -1
  200. package/dist/server/prebuild.mjs +1 -1
  201. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-DwpRjqw4.mjs} +4 -3
  202. package/dist/server/{registry-CvhFwbXJ.mjs → registry-DM9dHfDC.mjs} +345 -449
  203. package/dist/server/rendering/components/pageShared.mjs +1 -1
  204. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  205. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  206. package/dist/server/rendering/server.mjs +4 -4
  207. package/dist/server/rendering.mjs +10 -9
  208. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-CinHGf8l.mjs} +2 -2
  209. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BBBhOtdE.mjs} +21 -20
  214. package/dist/server/theme-bridge.mjs +3 -2
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-DG5jX3jH.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-CipbxPHL.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1013 -1840
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,16 +1,30 @@
1
1
  "use client";
2
- import { $a as RichText, ar as clearSignInReturnDrafts, cr as nextSignInReturnExpiry, dr as sweepExpiredSignInReturnDrafts, ka as requestSignIn, lr as readSignInReturn, sr as decideSignInReturn, ur as signInReturnPath } from "./wizardSteps-CWIQyRIw.mjs";
3
- import { t as assertNever } from "./src-o7WEvbK1.mjs";
4
- import { a as DemoPortalSignInLink, t as BookingQuestionFields } from "./BookingQuestionFields-DXegGSnS.mjs";
5
- import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-DtKdUdkO.mjs";
6
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
7
- import { p as NavigationHandOffPanel } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
2
+ import { Cn as toUtcIsoDateTimeString, t as assertNever } from "./src-ZSqRK3dD.mjs";
3
+ import { Do as RichText, Fr as decideSignInReturn, Ir as nextSignInReturnExpiry, Lr as readSignInReturn, Nr as clearSignInReturnDrafts, Rr as signInReturnPath, ro as requestSignIn, zr as sweepExpiredSignInReturnDrafts } from "./wizardSteps-BliJOzEX.mjs";
4
+ import { n as BookingQuestionFields } from "./BookingQuestionFields-CyNIKw6k.mjs";
5
+ import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-CRhn9qzS.mjs";
6
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
7
+ import { p as NavigationHandOffPanel } from "./DemoBookingPortalAccess-DFLPyuqe.mjs";
8
8
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
9
- import { i as requestDemoPortalMagicLink, r as buildPortalCallbackUrl } from "./demoPortalMagicLink-B8eDjhuG.mjs";
9
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CWDGSTBu.mjs";
10
10
  import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
11
11
  import * as React$1 from "react";
12
12
  import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
+ //#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
15
+ function DemoPortalSignInLink(props) {
16
+ return /* @__PURE__ */ jsxs("div", { children: [
17
+ /* @__PURE__ */ jsx("h3", { children: "Your sign-in link" }),
18
+ /* @__PURE__ */ jsx("p", { children: "In the demo we don’t send emails, so here’s the link we’d have sent you." }),
19
+ /* @__PURE__ */ jsx(ThemedButtonLink, {
20
+ variant: "default",
21
+ size: "md",
22
+ label: "Sign in to the portal",
23
+ href: props.url
24
+ })
25
+ ] });
26
+ }
27
+ //#endregion
14
28
  //#region ../blocks/src/system/runtime/shared/components/PaymentChoiceRows.tsx
15
29
  /**
16
30
  * Payment choices as a radio group. Native radios give the whole row as the
@@ -233,17 +247,14 @@ function useReturnSession(input, waiting) {
233
247
  useEffect(() => {
234
248
  if (!waiting || identity === null) return;
235
249
  const run = { live: true };
236
- api.getPortalProfile().then((me) => {
237
- if (run.live) setRead({
238
- identity,
239
- email: me.profile.email
240
- });
241
- }, () => {
250
+ const settleRead = (email) => {
242
251
  if (run.live) setRead({
243
252
  identity,
244
- email: null
253
+ email
245
254
  });
246
- });
255
+ };
256
+ if (!api.portalVisitor) settleRead(null);
257
+ else api.portalVisitor.profile().then((result) => settleRead(result.ok ? result.value.profile.email : null));
247
258
  return () => {
248
259
  run.live = false;
249
260
  };
@@ -312,6 +323,71 @@ function portalSessionIdentity(config) {
312
323
  return portalAuth.type === "bearer" ? portalAuth.token : null;
313
324
  }
314
325
  //#endregion
326
+ //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
327
+ const ANCHOR_CLOCK = { kind: "anchor" };
328
+ const MAX_TIMER_DELAY_MS = 2147483647;
329
+ const browserClock = () => toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString());
330
+ /** The effect owns one timer, including long-delay and early-timer retries. */
331
+ function scheduleBookingClockBoundary(boundary, refresh, clock) {
332
+ const timer = {};
333
+ const schedule = () => {
334
+ const delay = Date.parse(boundary) - Date.parse(clock());
335
+ if (!Number.isFinite(delay) || delay <= 0) return;
336
+ timer.current = setTimeout(() => {
337
+ refresh();
338
+ schedule();
339
+ }, Math.min(delay, MAX_TIMER_DELAY_MS));
340
+ };
341
+ schedule();
342
+ return () => {
343
+ if (timer.current !== void 0) clearTimeout(timer.current);
344
+ };
345
+ }
346
+ /**
347
+ * The supplied server clock snapshot for this booking or registration flow.
348
+ *
349
+ * Payment previews take this as their "now" so the pure view-model builders
350
+ * never read the clock themselves. The anchor stays fixed per mount. Lifecycle
351
+ * presentation starts with the same snapshot, then reconciles in effects.
352
+ */
353
+ function useBookingNowIso(snapshot, policy = ANCHOR_CLOCK, clock = browserClock) {
354
+ const [nowIso, setNowIso] = useState(snapshot);
355
+ const refresh = useCallback(() => setNowIso(clock()), [clock]);
356
+ const nextBoundary = policy.kind === "presentation" ? policy.nextBoundary : null;
357
+ useEffect(() => {
358
+ if (policy.kind === "anchor") return;
359
+ refresh();
360
+ const interval = policy.kind === "relative" ? setInterval(refresh, 6e4) : null;
361
+ window.addEventListener("focus", refresh);
362
+ document.addEventListener("visibilitychange", refresh);
363
+ return () => {
364
+ if (interval !== null) clearInterval(interval);
365
+ window.removeEventListener("focus", refresh);
366
+ document.removeEventListener("visibilitychange", refresh);
367
+ };
368
+ }, [policy.kind, refresh]);
369
+ useEffect(() => {
370
+ if (!nextBoundary) return;
371
+ return scheduleBookingClockBoundary(nextBoundary, refresh, clock);
372
+ }, [
373
+ nextBoundary,
374
+ clock,
375
+ refresh
376
+ ]);
377
+ return nowIso;
378
+ }
379
+ //#endregion
380
+ //#region ../blocks/src/system/runtime/shared/parseBookingSubmissionFailure.ts
381
+ /** `fieldPrefix` is where the server puts question field ids: booking flows send them under `bookingQuestions.`, the portal under `answers.`. */
382
+ function parseBookingSubmissionFailure(error, fallbackMessage, fieldPrefix = "bookingQuestions.") {
383
+ const fieldErrors = error instanceof BlockApiError ? error.fieldErrors : [];
384
+ return {
385
+ message: error instanceof Error ? error.message : fallbackMessage,
386
+ answersNeeded: fieldErrors.some(({ field, code }) => field === "bookingQuestions" && code === "validation:required"),
387
+ questionFieldErrors: Object.fromEntries(fieldErrors.flatMap(({ field, message }) => field.startsWith(fieldPrefix) && field.length > fieldPrefix.length ? [[field.slice(fieldPrefix.length), message]] : []))
388
+ };
389
+ }
390
+ //#endregion
315
391
  //#region ../blocks/src/system/runtime/hooks/usePolling.state.ts
316
392
  function createInitialPollingState() {
317
393
  return {
@@ -605,10 +681,9 @@ function getMagicLinkError(state) {
605
681
  //#endregion
606
682
  //#region ../blocks/src/system/runtime/nodes/shared/MagicLinkForm.tsx
607
683
  function usesThemedControls(classPrefix) {
608
- return classPrefix === "cp" || classPrefix === "rb-reg";
684
+ return classPrefix === "rb-reg";
609
685
  }
610
686
  function emailInputClassName(classPrefix) {
611
- if (classPrefix === "cp") return "cp-input";
612
687
  if (classPrefix === "rb-reg") return "form-input";
613
688
  return `${classPrefix}-form__input`;
614
689
  }
@@ -992,4 +1067,4 @@ function BookingMailingListNote(props) {
992
1067
  });
993
1068
  }
994
1069
  //#endregion
995
- export { MagicLinkForm as a, portalSessionIdentity as c, PaymentChoiceRows as d, SignInNotice as i, useSignInReturn as l, OrganiserContactLine as n, BookingConsentAgreement as o, BookingQuestionSections as r, usePolling as s, BookingMailingListNote as t, useBookingQuestionsRefresh as u };
1070
+ export { MagicLinkForm as a, parseBookingSubmissionFailure as c, useSignInReturn as d, useBookingQuestionsRefresh as f, SignInNotice as i, useBookingNowIso as l, OrganiserContactLine as n, BookingConsentAgreement as o, PaymentChoiceRows as p, BookingQuestionSections as r, usePolling as s, BookingMailingListNote as t, portalSessionIdentity as u };
@@ -1,11 +1,9 @@
1
1
  "use client";
2
- import { Gt as capitalize, vn as toUtcIsoDateTimeString } from "./src-o7WEvbK1.mjs";
3
- import { s as getInitialFieldValue } from "./creditProducts-BQ1t1erI.mjs";
4
- import { i as BlockApiError } from "./context-DtKdUdkO.mjs";
5
- import { i as ThemedButtonLink } from "./ThemedButton-CnSa7o-I.mjs";
6
- import { t as CheckboxChoice } from "./CheckboxChoice-BZPLCgTU.mjs";
2
+ import { Xt as capitalize } from "./src-ZSqRK3dD.mjs";
3
+ import { l as getInitialFieldValue } from "./bookingCalendar--aWnqFDn.mjs";
4
+ import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
7
5
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
8
- import { useCallback, useEffect, useState } from "react";
6
+ import "react";
9
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
8
  const indefiniteArticle = (word) => /^(honest|honour|hour|heir)/i.test(word) ? "an" : /^(uni([^nmd]|$)|use|user|euro|one|once)/i.test(word) ? "a" : /^[aeiou]/i.test(word) ? "an" : "a";
11
9
  function clientPersonPhrases(noun) {
@@ -28,85 +26,6 @@ function clientPersonPhrases(noun) {
28
26
  };
29
27
  }
30
28
  //#endregion
31
- //#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
32
- function DemoPortalSignInLink(props) {
33
- return /* @__PURE__ */ jsxs("div", { children: [
34
- /* @__PURE__ */ jsx("h3", { children: "Your sign-in link" }),
35
- /* @__PURE__ */ jsx("p", { children: "In the demo we don’t send emails, so here’s the link we’d have sent you." }),
36
- /* @__PURE__ */ jsx(ThemedButtonLink, {
37
- variant: "default",
38
- size: "md",
39
- label: "Sign in to the portal",
40
- href: props.url
41
- })
42
- ] });
43
- }
44
- //#endregion
45
- //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
46
- const ANCHOR_CLOCK = { kind: "anchor" };
47
- const MAX_TIMER_DELAY_MS = 2147483647;
48
- const browserClock = () => toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString());
49
- /** The effect owns one timer, including long-delay and early-timer retries. */
50
- function scheduleBookingClockBoundary(boundary, refresh, clock) {
51
- const timer = {};
52
- const schedule = () => {
53
- const delay = Date.parse(boundary) - Date.parse(clock());
54
- if (!Number.isFinite(delay) || delay <= 0) return;
55
- timer.current = setTimeout(() => {
56
- refresh();
57
- schedule();
58
- }, Math.min(delay, MAX_TIMER_DELAY_MS));
59
- };
60
- schedule();
61
- return () => {
62
- if (timer.current !== void 0) clearTimeout(timer.current);
63
- };
64
- }
65
- /**
66
- * The supplied server clock snapshot for this booking or registration flow.
67
- *
68
- * Payment previews take this as their "now" so the pure view-model builders
69
- * never read the clock themselves. The anchor stays fixed per mount. Lifecycle
70
- * presentation starts with the same snapshot, then reconciles in effects.
71
- */
72
- function useBookingNowIso(snapshot, policy = ANCHOR_CLOCK, clock = browserClock) {
73
- const [nowIso, setNowIso] = useState(snapshot);
74
- const refresh = useCallback(() => setNowIso(clock()), [clock]);
75
- const nextBoundary = policy.kind === "presentation" ? policy.nextBoundary : null;
76
- useEffect(() => {
77
- if (policy.kind === "anchor") return;
78
- refresh();
79
- const interval = policy.kind === "relative" ? setInterval(refresh, 6e4) : null;
80
- window.addEventListener("focus", refresh);
81
- document.addEventListener("visibilitychange", refresh);
82
- return () => {
83
- if (interval !== null) clearInterval(interval);
84
- window.removeEventListener("focus", refresh);
85
- document.removeEventListener("visibilitychange", refresh);
86
- };
87
- }, [policy.kind, refresh]);
88
- useEffect(() => {
89
- if (!nextBoundary) return;
90
- return scheduleBookingClockBoundary(nextBoundary, refresh, clock);
91
- }, [
92
- nextBoundary,
93
- clock,
94
- refresh
95
- ]);
96
- return nowIso;
97
- }
98
- //#endregion
99
- //#region ../blocks/src/system/runtime/shared/parseBookingSubmissionFailure.ts
100
- /** `fieldPrefix` is where the server puts question field ids: booking flows send them under `bookingQuestions.`, the portal under `answers.`. */
101
- function parseBookingSubmissionFailure(error, fallbackMessage, fieldPrefix = "bookingQuestions.") {
102
- const fieldErrors = error instanceof BlockApiError ? error.fieldErrors : [];
103
- return {
104
- message: error instanceof Error ? error.message : fallbackMessage,
105
- answersNeeded: fieldErrors.some(({ field, code }) => field === "bookingQuestions" && code === "validation:required"),
106
- questionFieldErrors: Object.fromEntries(fieldErrors.flatMap(({ field, message }) => field.startsWith(fieldPrefix) && field.length > fieldPrefix.length ? [[field.slice(fieldPrefix.length), message]] : []))
107
- };
108
- }
109
- //#endregion
110
29
  //#region ../blocks/src/system/runtime/shared/components/BookingQuestionFields.tsx
111
30
  /**
112
31
  * Optional questions say so; required ones carry aria-required instead of an
@@ -174,7 +93,7 @@ function SelectQuestionInput({ field, inputId, value, disabled, control, onChang
174
93
  onChange: (event) => onChange(event.target.value),
175
94
  children: [/* @__PURE__ */ jsx("option", {
176
95
  value: "",
177
- children: "Select an option..."
96
+ children: "Choose one"
178
97
  }), options]
179
98
  });
180
99
  }
@@ -265,6 +184,7 @@ function BookingQuestionFieldInput(props) {
265
184
  });
266
185
  }
267
186
  }
187
+ /** The input's ARIA: described by its help and error, required when the question is. */
268
188
  function questionControlProps(field, ids, error) {
269
189
  return {
270
190
  ...getFieldValidationControlProps({
@@ -377,4 +297,4 @@ function BookingQuestionFields({ sections, values, fieldErrors = {}, onChange, d
377
297
  }, section.id)) });
378
298
  }
379
299
  //#endregion
380
- export { DemoPortalSignInLink as a, useBookingNowIso as i, OptionalMark as n, clientPersonPhrases as o, parseBookingSubmissionFailure as r, indefiniteArticle as s, BookingQuestionFields as t };
300
+ export { questionControlProps as a, isChoiceGroup as i, BookingQuestionFields as n, clientPersonPhrases as o, OptionalMark as r, indefiniteArticle as s, BookingQuestionFieldInput as t };
@@ -0,0 +1,105 @@
1
+ "use client";
2
+ import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
3
+ import { useEffect, useId, useRef, useState } from "react";
4
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+ //#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
6
+ /** Download effects happen only after a click, including in editor preview. */
7
+ async function downloadCalendar(calendar) {
8
+ const { renderCalendarFeedIcs } = await import("./src-DqMbCjI1.mjs");
9
+ const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
10
+ const link = document.createElement("a");
11
+ link.href = url;
12
+ link.download = calendar.fileName;
13
+ document.body.append(link);
14
+ link.click();
15
+ link.remove();
16
+ setTimeout(() => URL.revokeObjectURL(url), 0);
17
+ }
18
+ function CalendarAction({ calendar }) {
19
+ const [open, setOpen] = useState(false);
20
+ const [downloadFailed, setDownloadFailed] = useState(false);
21
+ const id = useId();
22
+ const choicesRef = useRef(null);
23
+ useEffect(() => {
24
+ if (open) choicesRef.current?.scrollIntoView({ block: "nearest" });
25
+ }, [open]);
26
+ const close = () => setOpen(false);
27
+ const download = async (value) => {
28
+ setDownloadFailed(false);
29
+ try {
30
+ await downloadCalendar(value);
31
+ close();
32
+ } catch {
33
+ setDownloadFailed(true);
34
+ }
35
+ };
36
+ if (!calendar) return null;
37
+ return /* @__PURE__ */ jsxs("div", {
38
+ className: "er-calendar-action",
39
+ onBlur: (event) => {
40
+ if (!event.currentTarget.contains(event.relatedTarget)) close();
41
+ },
42
+ onKeyDown: (event) => {
43
+ if (event.key === "Escape" && open) {
44
+ event.stopPropagation();
45
+ close();
46
+ event.currentTarget.querySelector("button")?.focus();
47
+ }
48
+ },
49
+ children: [calendar.kind === "sessions" ? /* @__PURE__ */ jsx(ThemedButton, {
50
+ type: "button",
51
+ variant: "outline",
52
+ size: "md",
53
+ extraClassName: "er-calendar-action__trigger",
54
+ label: calendar.sessionCount === 2 ? "Add both sessions to your calendar" : `Add all ${calendar.sessionCount} sessions to your calendar`,
55
+ onClick: () => {
56
+ download(calendar);
57
+ }
58
+ }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ThemedButton, {
59
+ type: "button",
60
+ variant: "outline",
61
+ size: "md",
62
+ extraClassName: "er-calendar-action__trigger er-calendar-action__trigger--disclosure",
63
+ label: "Add to calendar",
64
+ "aria-expanded": open,
65
+ "aria-controls": id,
66
+ onClick: () => setOpen(!open)
67
+ }), open ? /* @__PURE__ */ jsxs("div", {
68
+ id,
69
+ ref: choicesRef,
70
+ className: "er-calendar-action__choices",
71
+ children: [
72
+ /* @__PURE__ */ jsx("a", {
73
+ className: "er-calendar-action__choice",
74
+ href: calendar.googleUrl,
75
+ target: "_blank",
76
+ rel: "noopener noreferrer",
77
+ onClick: close,
78
+ children: "Google Calendar"
79
+ }),
80
+ /* @__PURE__ */ jsx("a", {
81
+ className: "er-calendar-action__choice",
82
+ href: calendar.outlookUrl,
83
+ target: "_blank",
84
+ rel: "noopener noreferrer",
85
+ onClick: close,
86
+ children: "Outlook.com"
87
+ }),
88
+ /* @__PURE__ */ jsx("button", {
89
+ type: "button",
90
+ className: "er-calendar-action__choice",
91
+ onClick: () => {
92
+ download(calendar);
93
+ },
94
+ children: "Apple Calendar or other (.ics file)"
95
+ })
96
+ ]
97
+ }) : null] }), downloadFailed ? /* @__PURE__ */ jsx("p", {
98
+ role: "alert",
99
+ className: "er-calendar-action__error",
100
+ children: "We couldn't create the calendar file. Please try again."
101
+ }) : null]
102
+ });
103
+ }
104
+ //#endregion
105
+ export { downloadCalendar as n, CalendarAction as t };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { bn as formatEventPrice } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { Fa as formatEventLocation, Na as eventPlaceName, Va as formatEventRemainingPlaces, _o as resolveEventTimeZone, go as groupEventsByDate, ho as formatTime, qa as isEventFull, ro as eventDateOptions } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { Zt as formatDate, hn as parseBookingLocalDate } from "./src-o7WEvbK1.mjs";
5
- import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-gJ3OqPf9.mjs";
6
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { xn as formatEventPrice } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { bn as parseBookingLocalDate, nn as formatDate } from "./src-ZSqRK3dD.mjs";
4
+ import { Go as resolveEventTimeZone, Uo as formatTime, Wo as groupEventsByDate, ho as formatEventRemainingPlaces, jo as eventDateOptions, lo as formatEventLocation, so as eventPlaceName, xo as isEventFull } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { i as listLookSlot, n as listItemPresentation } from "./noop-Dl4mZ-rr.mjs";
6
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
7
7
  import { d as formatDateKey, v as isToday } from "./src-uwCpbHXG.mjs";
8
- import { _ as resolveEventLinkProps, g as resolveEventCta, l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-CJITrGkF.mjs";
8
+ import { _ as resolveEventLinkProps, g as resolveEventCta, l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-CwzrjcRw.mjs";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../core/src/duration.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as clsx } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { x as clsx } from "./ThemedButton-PFOhXktM.mjs";
3
3
  import React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
@@ -1,9 +1,10 @@
1
1
  "use client";
2
- import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
- import { Bn as isEmailAddress, Da as leavePage } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { i as BlockApiError, n as useBlockApi } from "./context-DtKdUdkO.mjs";
5
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
6
- import { i as requestDemoPortalMagicLink, r as buildPortalCallbackUrl, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-B8eDjhuG.mjs";
2
+ import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
+ import { mr as isEmailAddress, to as leavePage } from "./wizardSteps-BliJOzEX.mjs";
4
+ import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-D72yvtDh.mjs";
5
+ import { i as BlockApiError, n as useBlockApi } from "./context-CRhn9qzS.mjs";
6
+ import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
7
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CWDGSTBu.mjs";
7
8
  import React, { useCallback, useEffect, useId, useRef, useState } from "react";
8
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
10
  //#region ../blocks/src/system/runtime/api/types/discounts.ts
@@ -22,7 +23,7 @@ function getAutoAppliedDiscountPreview(availability) {
22
23
  }
23
24
  }
24
25
  //#endregion
25
- //#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.tsx
26
+ //#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.classes.ts
26
27
  const BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES = { "event-registration": {
27
28
  root: "er-discount",
28
29
  toggle: "er-discount__toggle",
@@ -52,6 +53,8 @@ function getDiscountCodeDisclosureClasses(surface) {
52
53
  if (surface === "theme-form") return themeFormClasses;
53
54
  return BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES[surface];
54
55
  }
56
+ //#endregion
57
+ //#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.tsx
55
58
  function DiscountActionButton(props) {
56
59
  return props.surface === "theme-form" ? /* @__PURE__ */ jsx(ThemedButton, {
57
60
  type: "button",
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { $t as eventListWeekDays, Qt as buildEventListWeek, d as buildEventCalendarListingRender, in as buildEventRuntimeFilters } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { go as groupEventsByDate, uo as formatEventHourLabel } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { v as resolveCalendarReadProfile } from "./src-o7WEvbK1.mjs";
5
- import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-VfP50sYm.mjs";
6
- import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-BOff1Kk5.mjs";
7
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { $t as buildEventListWeek, an as buildEventRuntimeFilters, d as buildEventCalendarListingRender, en as eventListWeekDays } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { g as resolveCalendarReadProfile } from "./src-ZSqRK3dD.mjs";
4
+ import { Ro as formatEventHourLabel, Wo as groupEventsByDate } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-BGCX3zwG.mjs";
6
+ import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-BQJrSK0K.mjs";
7
+ import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
8
8
  import { d as formatDateKey, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
9
- import { u as eventDisplayTitleText } from "./EventItem-CJITrGkF.mjs";
10
- import { i as useEventCollectionFilters } from "./useEventPagination-BvdcexDC.mjs";
11
- import { n as EventListingController } from "./EventListing.client-BNM_HuS0.mjs";
12
- import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-D0me9wnz.mjs";
9
+ import { u as eventDisplayTitleText } from "./EventItem-CwzrjcRw.mjs";
10
+ import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-uciDKLID.mjs";
11
+ import { i as useEventCollectionFilters } from "./useEventPagination-Jnjt7_ly.mjs";
12
+ import { n as EventListingController } from "./EventListing.client-DA57Qoyx.mjs";
13
13
  import { useEffect, useMemo, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
15
  //#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
@@ -1,19 +1,69 @@
1
1
  "use client";
2
- import { an as getEventRuntimeFiltersKey, in as buildEventRuntimeFilters, s as eventListingBlockRuntime, zt as toError } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { eo as buildCalendarViewport, go as groupEventsByDate, ho as formatTime, ro as eventDateOptions, to as eventCalendarWeekStart, wa as getBlockApiReadStage } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { At as calendarMonthDate, Zt as formatDate, _ as planCalendarMonthRanges, d as calendarMonthKey, f as calendarPageResponseError, h as calendarWindowMonths$1, m as calendarWindowBounds, mn as getLocalScheduleDate, p as calendarQueryKey } from "./src-o7WEvbK1.mjs";
5
- import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-VfP50sYm.mjs";
6
- import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
7
- import { r as listLookSlot } from "./lookSurfaces-gJ3OqPf9.mjs";
8
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { Bt as toError, an as buildEventRuntimeFilters, on as getEventRuntimeFiltersKey, s as eventListingBlockRuntime } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-ZSqRK3dD.mjs";
4
+ import { Oo as buildCalendarViewport, Qa as getBlockApiReadStage, Uo as formatTime, Wo as groupEventsByDate, jo as eventDateOptions, ko as eventCalendarWeekStart } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-BGCX3zwG.mjs";
6
+ import { n as useBlockApi } from "./context-CRhn9qzS.mjs";
7
+ import { i as listLookSlot } from "./noop-Dl4mZ-rr.mjs";
8
+ import { n as ThemedButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
9
9
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-uwCpbHXG.mjs";
10
- import { u as eventDisplayTitleText } from "./EventItem-CJITrGkF.mjs";
10
+ import { u as eventDisplayTitleText } from "./EventItem-CwzrjcRw.mjs";
11
11
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
12
12
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
13
- import { t as TabBarFragment } from "./TabBarFragment-DlKQRhP4.mjs";
14
- import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-BvdcexDC.mjs";
13
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Jnjt7_ly.mjs";
15
14
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
16
15
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
+ //#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
17
+ function clampIndex(idx, len) {
18
+ if (len <= 0) return 0;
19
+ const mod = idx % len;
20
+ return mod < 0 ? mod + len : mod;
21
+ }
22
+ /**
23
+ * TabBarFragment
24
+ *
25
+ * Shared tablist behavior for blocks. Styling is delegated to passed classNames,
26
+ * so blocks can keep their own look (e.g. customer portal pills vs. event underline tabs).
27
+ *
28
+ * Includes basic keyboard navigation (ArrowLeft/Right, Home/End) and focuses the next tab.
29
+ */
30
+ function TabBarFragment({ tabs, activeTab, onTabChange, ariaLabel, listAttributes, tabAttributes, className, tabClassName, activeTabClassName }) {
31
+ return /* @__PURE__ */ jsx("div", {
32
+ className,
33
+ ...listAttributes,
34
+ role: "tablist",
35
+ "aria-label": ariaLabel,
36
+ children: tabs.map((tab, idx) => {
37
+ const isActive = tab.id === activeTab;
38
+ return /* @__PURE__ */ jsx("button", {
39
+ type: "button",
40
+ ...tabAttributes?.(isActive),
41
+ role: "tab",
42
+ "aria-selected": isActive,
43
+ tabIndex: isActive ? 0 : -1,
44
+ className: clsx(tabClassName, isActive && activeTabClassName),
45
+ onClick: () => onTabChange(tab.id),
46
+ onKeyDown: (e) => handleTabKey(e, tabs, idx, onTabChange),
47
+ children: tab.label
48
+ }, tab.id);
49
+ })
50
+ });
51
+ }
52
+ function handleTabKey(e, tabs, idx, onTabChange) {
53
+ if (tabs.length === 0) return;
54
+ if (!(e.currentTarget instanceof HTMLButtonElement)) return;
55
+ const nextIdx = e.key === "ArrowRight" ? clampIndex(idx + 1, tabs.length) : e.key === "ArrowLeft" ? clampIndex(idx - 1, tabs.length) : e.key === "Home" ? 0 : e.key === "End" ? tabs.length - 1 : null;
56
+ if (nextIdx === null) return;
57
+ e.preventDefault();
58
+ const nextId = tabs[nextIdx]?.id;
59
+ if (!nextId) return;
60
+ onTabChange(nextId);
61
+ const tabList = e.currentTarget.closest("[role=\"tablist\"]");
62
+ requestAnimationFrame(() => {
63
+ (tabList?.querySelectorAll("[role=\"tab\"]") ?? null)?.[nextIdx]?.focus();
64
+ });
65
+ }
66
+ //#endregion
17
67
  //#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
18
68
  const SEARCH_STEP_MS = 3600 * 1e3;
19
69
  const MAX_BOUNDARY_SEARCH_MS = 72 * SEARCH_STEP_MS;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ThemedButton, x as SpinnerNode } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region \0rolldown/runtime.js
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Jt as EventQuickFacts, Kt as resolveCardListSchedule, Ut as CardListContentPart, Wt as CardListLeadDate, bn as formatEventPrice, qt as selectCardListPresentation } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { Ba as canJoinEventWaitlistOnAnyMode, Ga as getEventAvailabilityStatus, Ia as resolveRuntimeEventDestination, La as hasEventBookingClosedEarly, Va as formatEventRemainingPlaces, co as formatEventCompactDateRail, ds as orderedLiveRunSessions, fs as resolveWholeSeriesBookingPhase, mo as formatEventWeekdayTime, po as formatEventTimeRange, qa as isEventFull, ro as eventDateOptions } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
5
- import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-gJ3OqPf9.mjs";
6
- import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
7
- import { i as ThemedButtonLink, p as ClockIcon } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { Gt as CardListLeadDate, Jt as selectCardListPresentation, Wt as CardListContentPart, Yt as EventQuickFacts, qt as resolveCardListSchedule, xn as formatEventPrice } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { Gs as resolveWholeSeriesBookingPhase, Ho as formatEventWeekdayTime, Io as formatEventCompactDateRail, Vo as formatEventTimeRange, Ws as orderedLiveRunSessions, do as hasEventBookingClosedEarly, ho as formatEventRemainingPlaces, jo as eventDateOptions, mo as canJoinEventWaitlistOnAnyMode, uo as resolveRuntimeEventDestination, xo as isEventFull, yo as getEventAvailabilityStatus } from "./wizardSteps-BliJOzEX.mjs";
4
+ import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
5
+ import { i as listLookSlot, n as listItemPresentation } from "./noop-Dl4mZ-rr.mjs";
6
+ import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, ut as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-n6kS6Hct.mjs";
7
+ import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
8
8
  import React from "react";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as listLookSlot } from "./lookSurfaces-gJ3OqPf9.mjs";
2
+ import { i as listLookSlot } from "./noop-Dl4mZ-rr.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 { in as buildEventRuntimeFilters } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-BlEm_xjq.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-BvdcexDC.mjs";
2
+ import { an as buildEventRuntimeFilters } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-ChvcnPma.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Jnjt7_ly.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,10 +1,10 @@
1
1
  "use client";
2
- import { Jt as EventQuickFacts, Xt as MediaNodeServer, bn as formatEventPrice, nn as weekColumnDays, tn as groupEventsByWeek } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { Cs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Pa as eventVenuePlace, co as formatEventCompactDateRail, do as formatEventNextDateFact, go as groupEventsByDate, io as eventLocalDateKey, oo as formatDate, po as formatEventTimeRange, ro as eventDateOptions, vo as ImagePresets } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-gJ3OqPf9.mjs";
5
- import { r as boxStyleClassNames } from "./boxStyleClassNames-CQHWz5gJ.mjs";
6
- import { i as ThemedButtonLink, p as ClockIcon } from "./ThemedButton-CnSa7o-I.mjs";
7
- import { _ as resolveEventLinkProps, c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, g as resolveEventCta, h as resolveEventCardBooking, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-CJITrGkF.mjs";
2
+ import { Yt as EventQuickFacts, Zt as MediaNodeServer, nn as groupEventsByWeek, rn as weekColumnDays, xn as formatEventPrice } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { Io as formatEventCompactDateRail, Ko as ImagePresets, Mo as eventLocalDateKey, Po as formatDate, Vo as formatEventTimeRange, Wo as groupEventsByDate, co as eventVenuePlace, jo as eventDateOptions, nc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, zo as formatEventNextDateFact } from "./wizardSteps-BliJOzEX.mjs";
4
+ import { i as listLookSlot, n as listItemPresentation } from "./noop-Dl4mZ-rr.mjs";
5
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-BpGVdLFD.mjs";
6
+ import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
7
+ import { _ as resolveEventLinkProps, c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, g as resolveEventCta, h as resolveEventCardBooking, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-CwzrjcRw.mjs";
8
8
  import "react";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx