@riverbankcms/sdk 0.179.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 (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -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 +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  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 +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,12 +1,15 @@
1
- import { C as buttonVisualStatesSchema, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, S as buttonVariantIdSchema, T as SYSTEM_BLOCK_KINDS, Tt as paletteModeSchema, W as featuresFromHex, _ as isVariantRole, at as surfaceForegroundValue, b as buttonPressOffsetSchema, ct as surfaceInkStyle, dt as borderColorStyle, f as DEFAULT_VARIANT_ALIAS_ID, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, it as surfaceForegroundStyle, j as expandPalette, l as ELEVATION_OFFSET, m as asSpecialVariantId, mt as rgbColorValue, pt as mergeStyles, rt as surfaceForegroundInputFromResolved, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken, vt as blockColorTokenNames, wt as paletteColorsSchema, y as buttonEffectApplicationSchema, yt as hexColorSchema } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, J as paletteValueKeySchema, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, W as planForegroundHover, Y as requirePaletteColorsFromEntries, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as paletteValueKey, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-CM3QANtw.mjs";
3
- import { C as asDesignBoundaryId, D as asSiteStyleId, E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode, b as asAppearancePresetId, d as arrangementModes, h as headingDecorationColorTokenValues, m as eyebrowTreatmentValues, p as eventListTreatmentValues, v as tileTreatmentValues, w as asDesignSystemTemplateId, x as asBoundaryOptionId, y as visibleHeadingDecorationFamilyValues } from "./customCss-BZ8YSrQg.mjs";
4
- import { _ as asHeaderStyleId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, l as boxlessCardVariantValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as openCardRoleValue, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as bookingPageLookIdValues } from "./schema-BpsqaSSU.mjs";
5
- import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-luf7RF22.mjs";
6
- import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-BM5WX7FY.mjs";
7
- import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
8
- import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
9
- import { A as lookKnobBlocks, C as requireNonEmptyReadonlyArray, D as cardListBlockParts, E as toNonEmptyReadonlyArray, M as opaqueSurfaceDeclarations, O as cardListFamilyBlocks, T as testimonialsCompositionTreatmentValues, a as layoutProfileSupportsConstraints, b as noHeadingDecoration, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$2, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListKnobBlocks, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, x as offeringsPreviewCompositionTreatmentValues } from "./lookMediaFrame-CaH018pK.mjs";
1
+ import { A as borderColorStyle, B as blockColorTokenNames, C as surfaceForegroundStyle, D as surfaceInkStyle, J as parseColorTokenParts, K as paletteColorsSchema, M as mergeStyles, N as rgbColorValue, P as textColorStyle, S as surfaceForegroundInputFromResolved, V as hexColorSchema, Y as parseThemeColorToken, c as buttonEffectApplicationSchema, d as buttonVariantIdSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, h as SYSTEM_BLOCK_KINDS, k as backgroundColorStyle, l as buttonPressOffsetSchema, o as isVariantRole, q as paletteModeSchema, r as asSpecialVariantId, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as surfaceForegroundValue } from "./types-BKaBZFjD.mjs";
2
+ import { A as featuresFromHex, g as expandPalette, i as BUTTON_CONTRAST_POLICY, l as ELEVATION_OFFSET } from "./resolveButtonColourStates-B0O1IM16.mjs";
3
+ import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as planForegroundHover, J as paletteValueKey, K as resolveConcreteColorHex, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, U as contrastThresholdByPolicy, X as requirePaletteColorsFromEntries, Y as paletteValueKeySchema, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as resolveOpaqueSurfaceHex, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-WPzUAHp4.mjs";
4
+ import { A as makeBoundaryId, C as asBoundaryOptionId, D as asLayoutVariantKey, E as asDesignSystemTemplateId, O as asPageFlowPresetId, S as asAppearancePresetId, T as asDesignBoundaryId, _ as headingDecorationColorTokenValues, b as tileTreatmentValues, g as eyebrowTreatmentValues, h as eventListTreatmentValues, k as asSiteStyleId, p as arrangementModes, w as asDesignBlockId, x as visibleHeadingDecorationFamilyValues, y as isArrangementMode } from "./customCss-C9kgPHvr.mjs";
5
+ import { _ as asHeaderStyleId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, l as boxlessCardVariantValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as openCardRoleValue, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as bookingPageLookIdValues } from "./schema-CwfxQjc4.mjs";
6
+ import { a as parseUuidBrand, i as unsafeAsStoragePath, n as unsafeAsMediaAssetId, o as err, r as unsafeAsStorageBucketName, s as ok$1 } from "./media-BRmYrnzb.mjs";
7
+ import { c as parseAppointmentServiceId, f as parseEventOfferingId, n as bookingQuestionsSectionSchema, p as parseEventSeriesId, t as bookingQuestionsAnswersSchema, u as parseSiteTermsVersionId } from "./portalQuestions-oUyohgL9.mjs";
8
+ import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-MDDSubTp.mjs";
9
+ import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
10
+ import { i as NodeTreeSchema, l as RichTextDocSchema, m as sanitizeHref, n as isRecord$13, r as NodeSchema, t as isObjectRecord$1 } from "./typeGuards-CTW_9AXq.mjs";
11
+ import { c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind } from "./media-gvfIw3z8.mjs";
12
+ import { A as lookKnobBlocks, C as requireNonEmptyReadonlyArray, D as cardListBlockParts, E as toNonEmptyReadonlyArray, M as opaqueSurfaceDeclarations, O as cardListFamilyBlocks, T as testimonialsCompositionTreatmentValues, a as layoutProfileSupportsConstraints, b as noHeadingDecoration, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListKnobBlocks, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, x as offeringsPreviewCompositionTreatmentValues } from "./lookMediaFrame-TFjgNG61.mjs";
10
13
  import React from "react";
11
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
15
  import { z } from "zod";
@@ -330,21 +333,6 @@ const buttonStyleSelectionSchema = z.discriminatedUnion("styleId", [
330
333
  /** Server-resolved presentation context, never permission to perform a write. */
331
334
  const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
332
335
  //#endregion
333
- //#region ../core/src/branded/events.ts
334
- const unsafeAsEventOfferingId = (id) => id;
335
- const unsafeAsEventSeriesId = (id) => id;
336
- const unsafeAsEventCategoryId$1 = (id) => id;
337
- const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOfferingId);
338
- const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
339
- //#endregion
340
- //#region ../core/src/branded/customers.ts
341
- const unsafeAsSiteTermsVersionId = (id) => id;
342
- const parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
343
- //#endregion
344
- //#region ../core/src/branded/appointments.ts
345
- const unsafeAsAppointmentServiceId = (id) => id;
346
- const parseAppointmentServiceId = (value) => parseUuidBrand(value, unsafeAsAppointmentServiceId);
347
- //#endregion
348
336
  //#region ../core/src/branded/content.ts
349
337
  const unsafeAsContentEntryId = (id) => id;
350
338
  const unsafeAsContentVersionId = (id) => id;
@@ -446,7 +434,7 @@ function isPublicEventPricingOptionDisplayable(option) {
446
434
  case "not_on_sale_yet":
447
435
  case "sale_ended":
448
436
  case "attendance_mode_unavailable": return false;
449
- default: return assertNever$1(reason);
437
+ default: return assertNever(reason);
450
438
  }
451
439
  }
452
440
  function publicEventPricingDisplay(pricing) {
@@ -575,7 +563,7 @@ function canonicalEventPricingDisplay(pricing) {
575
563
  currency: pricing.currency,
576
564
  purpose: "configured"
577
565
  });
578
- default: return assertNever$1(pricing);
566
+ default: return assertNever(pricing);
579
567
  }
580
568
  }
581
569
  /**
@@ -594,7 +582,7 @@ function formatBookingPriceDisplay(display, options = {}) {
594
582
  case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
595
583
  case "unavailable": return "Pricing unavailable";
596
584
  case "external": return display.label;
597
- default: return assertNever$1(display);
585
+ default: return assertNever(display);
598
586
  }
599
587
  }
600
588
  /** Render an event's price directly from its pricing value. */
@@ -689,7 +677,7 @@ function parseEventPageSurfaceDestinationMode(value) {
689
677
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
690
678
  }
691
679
  function parseEventPageSurfaceSubject(value) {
692
- if (!isRecord$13(value)) return err({ kind: "notObject" });
680
+ if (!isRecord$12(value)) return err({ kind: "notObject" });
693
681
  const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err({
694
682
  kind: "unsupportedSubject",
695
683
  subjectKind: value.kind
@@ -748,7 +736,7 @@ function parseEventSeriesIdList(values) {
748
736
  }
749
737
  return ok$1(parsed);
750
738
  }
751
- function isRecord$13(value) {
739
+ function isRecord$12(value) {
752
740
  return typeof value === "object" && value !== null && !Array.isArray(value);
753
741
  }
754
742
  /**
@@ -1346,22 +1334,6 @@ function formatBookingCutOffHours(hours) {
1346
1334
  return hours === 1 ? "1 hour" : `${hours} hours`;
1347
1335
  }
1348
1336
  //#endregion
1349
- //#region ../core/src/booking-instalments.ts
1350
- function isDepositBearingBookingInstalmentPlan(plan) {
1351
- switch (plan.kind) {
1352
- case "deposit_plus_one_remainder":
1353
- case "deposit_plus_scheduled_instalments": return true;
1354
- case "equal_scheduled_instalments": return false;
1355
- default: return assertNever(plan);
1356
- }
1357
- }
1358
- function getBookingInstalmentProtectedDepositAmountCents(plan) {
1359
- return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositAmountCents : null;
1360
- }
1361
- function assertNever(value) {
1362
- throw new Error(`Unexpected value: ${String(value)}`);
1363
- }
1364
- //#endregion
1365
1337
  //#region ../core/src/booking-payment-options.ts
1366
1338
  /**
1367
1339
  * One way a customer may pay for a booking. This is the single definition of
@@ -1446,7 +1418,7 @@ const publicProfileWeekdays = [
1446
1418
  "saturday",
1447
1419
  "sunday"
1448
1420
  ];
1449
- function isRecord$12(value) {
1421
+ function isRecord$11(value) {
1450
1422
  return typeof value === "object" && value !== null && !Array.isArray(value);
1451
1423
  }
1452
1424
  function trimmedOptionalString(value) {
@@ -1487,7 +1459,7 @@ function minutesSinceMidnight(value) {
1487
1459
  }
1488
1460
  function parseOpeningHoursDay(value, expectedWeekday, index) {
1489
1461
  const path = `openingHours.days.${index}`;
1490
- if (!isRecord$12(value) || value.weekday !== expectedWeekday) return err({
1462
+ if (!isRecord$11(value) || value.weekday !== expectedWeekday) return err({
1491
1463
  code: "invalid_weekdays",
1492
1464
  path,
1493
1465
  message: `Expected ${expectedWeekday} in calendar order.`
@@ -1504,7 +1476,7 @@ function parseOpeningHoursDay(value, expectedWeekday, index) {
1504
1476
  const intervals = [];
1505
1477
  for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
1506
1478
  const intervalPath = `${path}.intervals.${intervalIndex}`;
1507
- if (!isRecord$12(rawInterval)) return err({
1479
+ if (!isRecord$11(rawInterval)) return err({
1508
1480
  code: "invalid_interval",
1509
1481
  path: intervalPath,
1510
1482
  message: "Opening interval is invalid."
@@ -1566,7 +1538,7 @@ function parseOpeningHoursWeek(rawDays) {
1566
1538
  ]);
1567
1539
  }
1568
1540
  function parseWeeklyOpeningHours(value) {
1569
- if (!isRecord$12(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
1541
+ if (!isRecord$11(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
1570
1542
  code: "invalid_weekdays",
1571
1543
  path: "openingHours.days",
1572
1544
  message: "Opening hours must include all seven weekdays."
@@ -1589,7 +1561,7 @@ function parseWeeklyOpeningHours(value) {
1589
1561
  }
1590
1562
  //#endregion
1591
1563
  //#region ../core/src/rich-text.ts
1592
- function isRecord$11(value) {
1564
+ function isRecord$10(value) {
1593
1565
  return typeof value === "object" && value !== null && !Array.isArray(value);
1594
1566
  }
1595
1567
  function hasOnlyKeys(value, allowed) {
@@ -1609,15 +1581,15 @@ function isDenseArrayOf(value, predicate) {
1609
1581
  return true;
1610
1582
  }
1611
1583
  function isTipTapMark(value) {
1612
- return isRecord$11(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$11(value.attrs));
1584
+ return isRecord$10(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$10(value.attrs));
1613
1585
  }
1614
1586
  function isTipTapNode(value) {
1615
- if (!isRecord$11(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$11(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
1587
+ if (!isRecord$10(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$10(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
1616
1588
  if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
1617
1589
  return value.text === void 0;
1618
1590
  }
1619
1591
  function isCanonicalRichTextDoc(value) {
1620
- return isRecord$11(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
1592
+ return isRecord$10(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
1621
1593
  }
1622
1594
  /** Whether a document contains non-whitespace text, including in nested nodes. */
1623
1595
  function richTextHasText(document) {
@@ -1709,10 +1681,10 @@ function presentVisitorSelection(selection, optionCount) {
1709
1681
  //#region ../core/src/mailing-list-targeting-parser.ts
1710
1682
  function parseMailingListPlacementTargeting(value) {
1711
1683
  if (value == null) return ok$1(DEFAULT_MAILING_LIST_TARGETING);
1712
- if (!isRecord$10(value)) return targetingError("shape");
1684
+ if (!isRecord$9(value)) return targetingError("shape");
1713
1685
  if (value.mode === "default") return ok$1({ mode: "default" });
1714
1686
  if (value.mode !== "custom") return targetingError("mode");
1715
- if (!isRecord$10(value.selection)) return targetingError("selection");
1687
+ if (!isRecord$9(value.selection)) return targetingError("selection");
1716
1688
  switch (value.provider) {
1717
1689
  case "native": return parseNativeTargeting(value.selection);
1718
1690
  case "brevo": return parseBrevoTargeting(value.selection);
@@ -1818,7 +1790,7 @@ function parseUniqueIds(value, parseId) {
1818
1790
  return id === null ? targetingError("targets") : parsed.value.includes(id) ? targetingError("duplicate_target") : ok$1([...parsed.value, id]);
1819
1791
  }, ok$1([]));
1820
1792
  }
1821
- function isRecord$10(value) {
1793
+ function isRecord$9(value) {
1822
1794
  return typeof value === "object" && value !== null && !Array.isArray(value);
1823
1795
  }
1824
1796
  function targetingError(field) {
@@ -1829,7 +1801,7 @@ function targetingError(field) {
1829
1801
  }
1830
1802
  //#endregion
1831
1803
  //#region ../core/src/mailing-list-setup.ts
1832
- function isRecord$9(value) {
1804
+ function isRecord$8(value) {
1833
1805
  return typeof value === "object" && value !== null && !Array.isArray(value);
1834
1806
  }
1835
1807
  const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
@@ -1839,7 +1811,7 @@ const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
1839
1811
  */
1840
1812
  const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
1841
1813
  function parseMailingListProviderScope(value) {
1842
- if (!isRecord$9(value)) return err("invalid_mailing_list_provider_scope");
1814
+ if (!isRecord$8(value)) return err("invalid_mailing_list_provider_scope");
1843
1815
  if (value.provider === "native") return ok$1({ provider: "native" });
1844
1816
  if (value.provider === "brevo") {
1845
1817
  const accountId = parseBrevoAccountId(value.accountId);
@@ -1867,7 +1839,7 @@ z.unknown().transform((value, ctx) => {
1867
1839
  return z.NEVER;
1868
1840
  });
1869
1841
  function parseMailingListGlobalForm(value) {
1870
- if (!isRecord$8(value)) return formError("shape");
1842
+ if (!isRecord$7(value)) return formError("shape");
1871
1843
  const fields = parseGlobalFields(value.fields);
1872
1844
  if (fields === null) return formError("fields");
1873
1845
  if (typeof value.includeOptionalPhone !== "boolean") return formError("includeOptionalPhone");
@@ -1886,7 +1858,7 @@ function parseMailingListGlobalForm(value) {
1886
1858
  });
1887
1859
  }
1888
1860
  function parseNewsletterAudience(value) {
1889
- if (!isRecord$8(value)) return err("invalid_newsletter_audience");
1861
+ if (!isRecord$7(value)) return err("invalid_newsletter_audience");
1890
1862
  if (value.kind === "general" && Object.keys(value).length === 1) return ok$1({ kind: "general" });
1891
1863
  if (value.kind !== "topic" || Object.keys(value).some((key) => key !== "kind" && key !== "topicId")) return err("invalid_newsletter_audience");
1892
1864
  const topicId = parseNewsletterListId(value.topicId);
@@ -1896,7 +1868,7 @@ function parseNewsletterAudience(value) {
1896
1868
  });
1897
1869
  }
1898
1870
  function parseGlobalFields(value) {
1899
- if (!isRecord$8(value) || typeof value.preset !== "string") return null;
1871
+ if (!isRecord$7(value) || typeof value.preset !== "string") return null;
1900
1872
  switch (value.preset) {
1901
1873
  case "emailOnly": return { preset: "emailOnly" };
1902
1874
  case "emailName": return isRequirement(value.name) ? {
@@ -1937,7 +1909,7 @@ function parseOptionalString(value) {
1937
1909
  function isRequirement(value) {
1938
1910
  return value === "required" || value === "optional";
1939
1911
  }
1940
- function isRecord$8(value) {
1912
+ function isRecord$7(value) {
1941
1913
  return typeof value === "object" && value !== null && !Array.isArray(value);
1942
1914
  }
1943
1915
  function formError(field) {
@@ -2056,7 +2028,7 @@ function assessMatchedChoices(matched, choices) {
2056
2028
  //#endregion
2057
2029
  //#region ../core/src/mailing-list-runtime.ts
2058
2030
  function parseMailingListRuntimeContext(value) {
2059
- if (!isRecord$7(value)) return invalidRuntimeContext();
2031
+ if (!isRecord$6(value)) return invalidRuntimeContext();
2060
2032
  if (value.tag === "not_configured") return ok$1({ tag: "not_configured" });
2061
2033
  if (value.tag !== "configured") return invalidRuntimeContext();
2062
2034
  return parseConfiguredRuntimeContext(value);
@@ -2080,7 +2052,7 @@ function parseBookingSignupOffer(value) {
2080
2052
  tag: "unavailable",
2081
2053
  reason: "disabled"
2082
2054
  };
2083
- if (!isRecord$7(value)) return null;
2055
+ if (!isRecord$6(value)) return null;
2084
2056
  if (value.tag === "offered") return { tag: "offered" };
2085
2057
  if (value.tag === "unavailable" && (value.reason === "disabled" || value.reason === "fields" || value.reason === "destination")) return {
2086
2058
  tag: "unavailable",
@@ -2089,7 +2061,7 @@ function parseBookingSignupOffer(value) {
2089
2061
  return null;
2090
2062
  }
2091
2063
  function parseRuntimeProvider(value) {
2092
- if (!isRecord$7(value)) return null;
2064
+ if (!isRecord$6(value)) return null;
2093
2065
  switch (value.provider) {
2094
2066
  case "native": return parseNativeRuntimeProvider(value);
2095
2067
  case "brevo": return parseBrevoRuntimeProvider(value);
@@ -2127,7 +2099,7 @@ function parseMailchimpRuntimeProvider(value) {
2127
2099
  } : null;
2128
2100
  }
2129
2101
  function parseMailchimpAudience(value) {
2130
- if (!isRecord$7(value) || !Array.isArray(value.interests)) return null;
2102
+ if (!isRecord$6(value) || !Array.isArray(value.interests)) return null;
2131
2103
  const id = parseMailchimpAudienceId(value.id);
2132
2104
  const name = parseName(value.name);
2133
2105
  const interests = Array.from(value.interests, parseMailchimpInterest);
@@ -2138,7 +2110,7 @@ function parseMailchimpAudience(value) {
2138
2110
  } : null;
2139
2111
  }
2140
2112
  function parseMailchimpInterest(value) {
2141
- if (!isRecord$7(value)) return null;
2113
+ if (!isRecord$6(value)) return null;
2142
2114
  const id = parseMailchimpInterestId(value.id);
2143
2115
  const name = parseName(value.name);
2144
2116
  const categoryName = parseName(value.categoryName);
@@ -2151,7 +2123,7 @@ function parseMailchimpInterest(value) {
2151
2123
  function parseNamedItems(value, parseId) {
2152
2124
  if (!Array.isArray(value)) return null;
2153
2125
  const items = Array.from(value, (item) => {
2154
- if (!isRecord$7(item)) return null;
2126
+ if (!isRecord$6(item)) return null;
2155
2127
  const id = parseId(item.id);
2156
2128
  const name = parseName(item.name);
2157
2129
  return id !== null && name !== null ? {
@@ -2166,7 +2138,7 @@ function parseName(value) {
2166
2138
  const name = value.trim();
2167
2139
  return name.length > 0 ? name : null;
2168
2140
  }
2169
- function isRecord$7(value) {
2141
+ function isRecord$6(value) {
2170
2142
  return typeof value === "object" && value !== null && !Array.isArray(value);
2171
2143
  }
2172
2144
  function invalidRuntimeContext() {
@@ -2300,6 +2272,15 @@ function resolveWholeSeriesBookingPhase(run, now) {
2300
2272
  };
2301
2273
  }
2302
2274
  }
2275
+ /** Resolve the course's two distinct dates from its surviving schedule once. */
2276
+ function resolveWholeSeriesPaymentDates(input) {
2277
+ const live = orderedLiveRunSessions(input.sessions);
2278
+ const option = input.paymentTerms.allowedOptions.find((option) => option.kind === "instalment_plan");
2279
+ return {
2280
+ bookingStartAt: live[0]?.startsAt ?? null,
2281
+ instalmentCollectionDeadlineAt: (option?.courseDeadline === "last_session" ? live[live.length - 1] : live[0])?.startsAt ?? null
2282
+ };
2283
+ }
2303
2284
  //#endregion
2304
2285
  //#region ../core/src/event-series-behaviour.ts
2305
2286
  const EVENT_PRESET_VALUES = [
@@ -2438,11 +2419,11 @@ function parseRelativeStoragePath(value) {
2438
2419
  }
2439
2420
  //#endregion
2440
2421
  //#region ../media-core/src/typeGuards.ts
2441
- function isRecord$6(value) {
2422
+ function isRecord$5(value) {
2442
2423
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
2443
2424
  }
2444
2425
  function asRecord(value) {
2445
- return isRecord$6(value) ? value : void 0;
2426
+ return isRecord$5(value) ? value : void 0;
2446
2427
  }
2447
2428
  //#endregion
2448
2429
  //#region ../media-core/src/url.ts
@@ -2677,18 +2658,75 @@ function pageTemplateFromEntry(entry) {
2677
2658
  return entry?._contentTypeSlug === "product" ? { kind: "product" } : { kind: "page" };
2678
2659
  }
2679
2660
  //#endregion
2680
- //#region ../commerce/src/purchase/bookingPaymentSelection.ts
2681
- /** Mirrors private.flexible_balance_due_day: fixed civil date, or local start minus calendar days. */
2682
- function flexibleBalanceDueDay(config, bookingStartAt, timeZone) {
2683
- const rule = config.dueDateRule;
2684
- return formatLocalScheduleDate(rule.kind === "fixed_calendar_date" ? parseBookingLocalDate(rule.dueAt.slice(0, 10)) : addLocalScheduleDays(getLocalScheduleDate(new Date(bookingStartAt), timeZone), -rule.daysBeforeStart));
2685
- }
2686
- //#endregion
2687
2661
  //#region ../commerce/src/purchase/checkoutQuantity.ts
2688
2662
  function unsafeAsPositiveCheckoutQuantity(quantity) {
2689
2663
  return quantity;
2690
2664
  }
2691
2665
  //#endregion
2666
+ //#region ../commerce/src/purchase/roomVocabulary.ts
2667
+ const ROOM_FOR_WHO = [
2668
+ "mixed",
2669
+ "women",
2670
+ "men",
2671
+ "one_per_room"
2672
+ ];
2673
+ const SHARED_ROOM_ARRANGEMENTS = [
2674
+ "together",
2675
+ "separate",
2676
+ "organiser"
2677
+ ];
2678
+ /** The kind of shared place a guest chose. Nobody is asked their gender: this describes the room. */
2679
+ const ROOM_PLACES = [
2680
+ "women",
2681
+ "men",
2682
+ "mixed"
2683
+ ];
2684
+ const MAX_ROOM_BOOKING_PEOPLE = 100;
2685
+ const roomPlaceSchema = z.enum(ROOM_PLACES);
2686
+ const sharedRoomArrangementSchema = z.enum(SHARED_ROOM_ARRANGEMENTS);
2687
+ const roomSetupSchema = z.discriminatedUnion("way", [z.object({ way: z.literal("private") }).strict(), z.object({
2688
+ way: z.enum(["shared", "either"]),
2689
+ forWho: z.enum(ROOM_FOR_WHO)
2690
+ }).strict()]);
2691
+ const roomOccupancySchema = z.discriminatedUnion("bookedAs", [
2692
+ z.object({ bookedAs: z.literal("empty") }).strict(),
2693
+ z.object({ bookedAs: z.literal("private") }).strict(),
2694
+ z.object({
2695
+ bookedAs: z.literal("shared"),
2696
+ place: roomPlaceSchema
2697
+ }).strict()
2698
+ ]);
2699
+ const roomPeopleSchema = z.number().int().min(1).max(MAX_ROOM_BOOKING_PEOPLE);
2700
+ /** What someone chose, from a guest, staff or the draft kept through sign-in and payment. */
2701
+ const roomChoicesSchema = z.array(z.discriminatedUnion("way", [
2702
+ z.object({
2703
+ way: z.literal("own"),
2704
+ kindId: z.uuid(),
2705
+ people: roomPeopleSchema
2706
+ }),
2707
+ z.object({
2708
+ way: z.literal("whole_room"),
2709
+ kindId: z.uuid(),
2710
+ people: roomPeopleSchema
2711
+ }),
2712
+ z.object({
2713
+ way: z.literal("sharing"),
2714
+ kindId: z.uuid(),
2715
+ people: roomPeopleSchema,
2716
+ place: roomPlaceSchema
2717
+ })
2718
+ ])).max(MAX_ROOM_BOOKING_PEOPLE);
2719
+ /** What they accepted when they left the rooms step. */
2720
+ const reviewedRoomsSchema = z.array(z.object({
2721
+ kindId: z.uuid(),
2722
+ place: roomPlaceSchema,
2723
+ together: z.boolean()
2724
+ })).max(MAX_ROOM_BOOKING_PEOPLE);
2725
+ z.object({
2726
+ choices: roomChoicesSchema,
2727
+ reviewed: reviewedRoomsSchema
2728
+ });
2729
+ //#endregion
2692
2730
  //#region ../site-contracts/src/siteData/eventQueries.ts
2693
2731
  const eventSurfacePresetValues = SURFACE_EVENT_PRESET_VALUES;
2694
2732
  const eventSurfaceScopeValues = [
@@ -2976,139 +3014,15 @@ const linkSchema = z.union([
2976
3014
  entryLinkSchema
2977
3015
  ]);
2978
3016
  //#endregion
2979
- //#region ../core/src/rich-text-href.ts
2980
- const SAFE_PROTOCOLS = /* @__PURE__ */ new Set([
2981
- "http:",
2982
- "https:",
2983
- "mailto:",
2984
- "tel:"
2985
- ]);
2986
- const CONTROL_CHARS_PATTERN = /[\u0000-\u001F\u007F]+/g;
2987
- function normalizeInput(value) {
2988
- return value.replace(CONTROL_CHARS_PATTERN, "").trim();
2989
- }
2990
- function decodeForSchemeCheck(value) {
2991
- try {
2992
- return decodeURIComponent(value);
2993
- } catch {
2994
- return value;
2995
- }
2996
- }
2997
- /**
2998
- * Returns a safe href for rich-text anchors, or null when the value should not be rendered.
2999
- *
3000
- * Policy:
3001
- * - Allow absolute URLs with protocols: http, https, mailto, tel.
3002
- * - Allow root-relative ("/path") and hash-only ("#section") links.
3003
- * - Reject protocol-relative URLs ("//example.com"), bare domains ("example.com"),
3004
- * backslashes, executable schemes (javascript/data/vbscript), malformed URLs, and empty values.
3005
- * - Preserve percent-encoding from the original normalized input.
3006
- */
3007
- function sanitizeHref(raw) {
3008
- if (typeof raw !== "string") return null;
3009
- const normalized = normalizeInput(raw);
3010
- if (!normalized) return null;
3011
- if (normalized.includes("\\") || normalized.startsWith("//")) return null;
3012
- if (normalized.startsWith("/")) return normalized;
3013
- if (normalized.startsWith("#")) return normalized;
3014
- return sanitizeAbsoluteHref(normalized);
3015
- }
3016
- function sanitizeAbsoluteHref(normalized) {
3017
- const schemeMatch = normalizeInput(decodeForSchemeCheck(normalized)).match(/^([a-zA-Z][a-zA-Z0-9+.-]*):/);
3018
- if (schemeMatch === null) return null;
3019
- const rawScheme = schemeMatch[1];
3020
- if (rawScheme === void 0 || rawScheme.length === 0) return null;
3021
- const protocol = `${rawScheme.toLowerCase()}:`;
3022
- if (!SAFE_PROTOCOLS.has(protocol)) return null;
3023
- try {
3024
- const parsed = new URL(normalized);
3025
- if (!SAFE_PROTOCOLS.has(parsed.protocol.toLowerCase())) return null;
3026
- } catch {
3027
- return null;
3028
- }
3029
- return normalized;
3030
- }
3031
- //#endregion
3032
3017
  //#region ../blocks/src/system/runtime/api/schemas/bookingQuestions.ts
3033
- const optionSchema = z.object({
3034
- value: z.string(),
3035
- label: z.string()
3036
- });
3037
- /** Everything a scalar question may carry besides its identity; all of it is optional. */
3038
- const scalarFieldDetails = z.object({
3039
- required: z.boolean(),
3040
- placeholder: z.string(),
3041
- helpText: z.string(),
3042
- options: z.array(optionSchema),
3043
- multiple: z.boolean(),
3044
- minLength: z.number(),
3045
- maxLength: z.number(),
3046
- pattern: z.string(),
3047
- min: z.number(),
3048
- max: z.number()
3049
- }).partial();
3050
- const scalarFieldSchema = z.object({
3051
- id: z.string().min(1),
3052
- label: z.string(),
3053
- type: z.enum([
3054
- "text",
3055
- "email",
3056
- "textarea",
3057
- "select",
3058
- "radio",
3059
- "checkbox",
3060
- "tel",
3061
- "url",
3062
- "number",
3063
- "date",
3064
- "time"
3065
- ]),
3066
- ...scalarFieldDetails.shape
3067
- });
3068
- const documentFieldSchema = z.object({
3069
- id: z.string().min(1),
3070
- label: z.string(),
3071
- type: z.literal("document_upload"),
3072
- required: z.boolean().optional(),
3073
- placeholder: z.string().optional(),
3074
- helpText: z.string().optional(),
3075
- allowedFileTypes: z.array(z.enum([
3076
- "pdf",
3077
- "image",
3078
- "docx"
3079
- ])),
3080
- maxBytes: z.number()
3081
- });
3082
- const fieldSchema$1 = z.union([scalarFieldSchema, documentFieldSchema]);
3083
- const sectionSchema = z.object({
3084
- id: z.string(),
3085
- title: z.string(),
3086
- description: z.string().optional(),
3087
- items: z.array(fieldSchema$1)
3088
- });
3089
- /** One answer as a booking flow holds it; also what drafts kept across a sign-in or payment return parse. */
3090
- const bookingQuestionsAnswerValueSchema = z.union([
3091
- z.string(),
3092
- z.number(),
3093
- z.boolean(),
3094
- z.null(),
3095
- z.array(z.string()),
3096
- z.object({
3097
- kind: z.literal("document_upload"),
3098
- fileName: z.string(),
3099
- mimeType: z.string(),
3100
- bytes: z.number(),
3101
- uploadId: z.string().optional()
3102
- })
3103
- ]);
3104
3018
  const setSchema = z.object({
3105
3019
  requirementId: z.string().min(1),
3106
3020
  sharingKey: z.string().min(1).optional(),
3107
3021
  title: z.string(),
3108
- sections: z.array(sectionSchema)
3022
+ sections: z.array(bookingQuestionsSectionSchema)
3109
3023
  });
3110
- z.array(sectionSchema);
3111
- const bookingQuestionAnswersSchema = z.record(z.string(), bookingQuestionsAnswerValueSchema);
3024
+ z.array(bookingQuestionsSectionSchema);
3025
+ const bookingQuestionAnswersSchema = bookingQuestionsAnswersSchema;
3112
3026
  /** The presentation a public catalogue or the authenticated read hands the booking flows. */
3113
3027
  const beforeBookingQuestionsPresentationSchema = z.discriminatedUnion("kind", [
3114
3028
  z.object({ kind: z.literal("none") }),
@@ -3326,7 +3240,6 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
3326
3240
  const eventVenueSchema = z.object({
3327
3241
  area: z.string().nullable().optional(),
3328
3242
  addressWithBooking: z.boolean().optional(),
3329
- drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
3330
3243
  id: z.string(),
3331
3244
  name: z.string(),
3332
3245
  address: z.string().nullable(),
@@ -3507,6 +3420,34 @@ const publicWholeSeriesRunSchema = z.object({
3507
3420
  /**
3508
3421
  * Zod schema for the fields shared by both booking scopes.
3509
3422
  */
3423
+ /** An event's rooms as placement reads them. Nothing here says who has booked. */
3424
+ const publicEventRoomsSchema = z.object({
3425
+ seriesId: z.string(),
3426
+ arrangement: sharedRoomArrangementSchema,
3427
+ kinds: z.array(z.object({
3428
+ id: z.string(),
3429
+ name: z.string(),
3430
+ sleeps: z.number().int().positive(),
3431
+ description: z.string(),
3432
+ photos: z.array(z.object({
3433
+ src: z.string(),
3434
+ alt: z.string()
3435
+ })),
3436
+ prices: z.array(z.object({
3437
+ pricingOptionId: z.string(),
3438
+ peopleInRoom: z.number().int().positive().nullable(),
3439
+ priceName: z.string()
3440
+ }))
3441
+ })),
3442
+ rooms: z.array(z.object({
3443
+ id: z.string(),
3444
+ kindId: z.string(),
3445
+ setup: roomSetupSchema,
3446
+ occupancy: roomOccupancySchema,
3447
+ freePlaces: z.number().int().nonnegative()
3448
+ })),
3449
+ linkedOptionIds: z.array(z.string())
3450
+ });
3510
3451
  const publicEventBaseSchema = z.object({
3511
3452
  eventPreset: eventPresetSchema.optional(),
3512
3453
  eventDestinationMode: eventDestinationModeSchema.optional(),
@@ -3594,7 +3535,9 @@ const publicEventBaseSchema = z.object({
3594
3535
  * Wire admission reads an older server, which never sends it, as off.
3595
3536
  */
3596
3537
  allowsMultipleBooking: z.boolean().default(false),
3597
- combinationPrices: z.array(combinationOfferSchema).default([])
3538
+ combinationPrices: z.array(combinationOfferSchema).default([]),
3539
+ /** Only an event with rooms has this, and the page can't book it without it. */
3540
+ rooms: publicEventRoomsSchema.optional()
3598
3541
  });
3599
3542
  /**
3600
3543
  * Zod schema for public event data.
@@ -4686,66 +4629,6 @@ const blockSectionDeclarationShape = {
4686
4629
  lookField: z.string().min(1).optional()
4687
4630
  };
4688
4631
  //#endregion
4689
- //#region ../site-contracts/src/blocks/nodes.ts
4690
- const transformStepSchema = z.object({
4691
- id: z.string().min(1, "Transform requires an identifier"),
4692
- options: z.record(z.string(), z.unknown()).optional()
4693
- });
4694
- const bindingPathSchema = z.string().min(1, "Binding path is required").regex(/[A-Za-z0-9_\.$\[\]/-]+/, "Binding path contains invalid characters");
4695
- const bindingSchema = z.object({
4696
- from: bindingPathSchema,
4697
- fallback: z.unknown().optional(),
4698
- transforms: transformStepSchema.array().default([]),
4699
- pick: z.enum([
4700
- "value",
4701
- "collection",
4702
- "context"
4703
- ]).default("value"),
4704
- coerce: z.enum([
4705
- "number",
4706
- "boolean",
4707
- "string"
4708
- ]).optional()
4709
- });
4710
- const repeatSchema = z.object({
4711
- collection: bindingSchema,
4712
- itemName: z.string().min(1).default("item"),
4713
- indexName: z.string().min(1).default("index"),
4714
- limit: z.number().int().positive().optional(),
4715
- sortBy: z.object({
4716
- path: bindingPathSchema,
4717
- direction: z.enum(["asc", "desc"]).default("asc")
4718
- }).optional()
4719
- });
4720
- const conditionalAuthoringPresenceSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("visitor-only") }), z.object({
4721
- kind: z.literal("recover-empty-when-active"),
4722
- placeholder: z.string().min(1).optional()
4723
- })]);
4724
- const conditionSchema = z.object({
4725
- when: bindingSchema,
4726
- equals: z.unknown().optional(),
4727
- not: z.boolean().default(false),
4728
- authoringPresence: conditionalAuthoringPresenceSchema.default({ kind: "visitor-only" })
4729
- });
4730
- const dataScopeSchema = z.object({
4731
- name: z.string().min(1),
4732
- from: bindingSchema
4733
- });
4734
- const nodePropsSchema = z.record(z.string(), z.unknown()).default({});
4735
- const nodeSchema = z.object({
4736
- type: z.string().min(1, "Node type is required"),
4737
- key: z.string().optional(),
4738
- props: nodePropsSchema.optional(),
4739
- children: z.lazy(() => z.array(nodeSchema).default([])).optional(),
4740
- $bind: bindingSchema.optional(),
4741
- $repeat: repeatSchema.optional(),
4742
- $when: conditionSchema.optional(),
4743
- $scopes: dataScopeSchema.array().optional()
4744
- });
4745
- const nodeTreeSchema = z.union([z.array(nodeSchema), nodeSchema]);
4746
- const NodeSchema = nodeSchema;
4747
- const NodeTreeSchema = nodeTreeSchema;
4748
- //#endregion
4749
4632
  //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
4750
4633
  const appearancePresets = blockAppearancePresets;
4751
4634
  //#endregion
@@ -4836,7 +4719,7 @@ function compileImageSurfaceTreatmentBackground(background, treatment, foregroun
4836
4719
  ...foreground
4837
4720
  };
4838
4721
  case "solid-panel": return withColorOverlay(background, "surface", treatment, "text", foreground);
4839
- default: return assertNever$2(treatment);
4722
+ default: return assertNever$1(treatment);
4840
4723
  }
4841
4724
  }
4842
4725
  function withColorOverlay(background, color, treatment, foregroundToken, foreground) {
@@ -5796,7 +5679,7 @@ function parsePageDesignIntent(value, options = {}) {
5796
5679
  intent: parsed.value
5797
5680
  };
5798
5681
  case "invalid": return parsed;
5799
- default: return assertNever$2(parsed, "Unhandled page design intent JSON parse result");
5682
+ default: return assertNever$1(parsed, "Unhandled page design intent JSON parse result");
5800
5683
  }
5801
5684
  }
5802
5685
  function autoDesignChoice() {
@@ -9507,8 +9390,8 @@ const gilt = {
9507
9390
  shadow: flatShadow,
9508
9391
  sizes: {
9509
9392
  sm: {
9510
- padding: "10px 20px",
9511
- fontSize: "text-base",
9393
+ padding: "8px 16px",
9394
+ fontSize: "text-15px",
9512
9395
  borderRadius: "rounded-lg"
9513
9396
  },
9514
9397
  md: {
@@ -9555,12 +9438,21 @@ const giltPrimaryHover = {
9555
9438
  const giltSecondary = {
9556
9439
  ...gilt,
9557
9440
  background: {
9558
- type: "solid",
9559
- colorToken: "text"
9560
- }
9441
+ type: "surface",
9442
+ role: "link"
9443
+ },
9444
+ border: { widthClass: "border" }
9561
9445
  };
9562
9446
  const giltSecondaryHover = {
9563
- ...giltSecondary,
9447
+ ...gilt,
9448
+ background: {
9449
+ type: "solid",
9450
+ colorToken: "text"
9451
+ },
9452
+ border: {
9453
+ widthClass: "border",
9454
+ boundaryInk: unsafeAsOpaqueButtonColourToken("text")
9455
+ },
9564
9456
  effects: [lift$1],
9565
9457
  contextualHover: {
9566
9458
  kind: "shade-shift",
@@ -18994,7 +18886,7 @@ function compileContainerStyles(contentFrame, rules) {
18994
18886
  rounded: "none"
18995
18887
  })
18996
18888
  };
18997
- default: return assertNever$2(contentFrame);
18889
+ default: return assertNever$1(contentFrame);
18998
18890
  }
18999
18891
  }
19000
18892
  function shouldMoveFrameToHeroContentCard(block) {
@@ -19013,7 +18905,7 @@ function compileHeroCompositionFields(composition) {
19013
18905
  verticalAlignment: "bottom",
19014
18906
  contentMaxWidth: "medium"
19015
18907
  };
19016
- default: return assertNever$2(composition);
18908
+ default: return assertNever$1(composition);
19017
18909
  }
19018
18910
  }
19019
18911
  function compileHeroRuntimeFields(input) {
@@ -19776,14 +19668,6 @@ const loomLooks = {
19776
19668
  treatment: "events-recurring-week",
19777
19669
  roleMap: loomRoles
19778
19670
  },
19779
- {
19780
- id: id("hero-framed-title"),
19781
- treatment: "hero-framed-title",
19782
- roleMap: {
19783
- ...loomRoles,
19784
- highlight: "deep"
19785
- }
19786
- },
19787
19671
  {
19788
19672
  id: id("testimonials-quote-cards"),
19789
19673
  treatment: "quote-cards",
@@ -19919,6 +19803,11 @@ const loomLooks = {
19919
19803
  treatment: "team-ruled-names",
19920
19804
  roleMap: loomRoles
19921
19805
  },
19806
+ {
19807
+ id: id("team-members-person-rows"),
19808
+ treatment: "team-person",
19809
+ roleMap: loomRoles
19810
+ },
19922
19811
  {
19923
19812
  id: id("shop-price-cards"),
19924
19813
  treatment: "shop-price-cards",
@@ -19974,6 +19863,11 @@ const poiseOffers = [
19974
19863
  roleMap: poiseRoles,
19975
19864
  itemRoles: { items: "card" }
19976
19865
  },
19866
+ {
19867
+ id: id("team-members-person-rows"),
19868
+ treatment: "team-person",
19869
+ roleMap: poiseRoles
19870
+ },
19977
19871
  {
19978
19872
  id: id("shop-price-cards-featured"),
19979
19873
  treatment: "prices-featured",
@@ -20415,6 +20309,11 @@ const havenOffers = [
20415
20309
  roleMap: havenRoles,
20416
20310
  itemRoles: { container: "card" }
20417
20311
  },
20312
+ {
20313
+ id: id("team-members-person-rows"),
20314
+ treatment: "team-person",
20315
+ roleMap: havenRoles
20316
+ },
20418
20317
  {
20419
20318
  id: id("shop-price-cards-featured"),
20420
20319
  treatment: "prices-featured",
@@ -20936,6 +20835,11 @@ const brookOffers = [
20936
20835
  treatment: "team-names",
20937
20836
  roleMap: brookRoles
20938
20837
  },
20838
+ {
20839
+ id: id("team-members-person-rows"),
20840
+ treatment: "team-person",
20841
+ roleMap: brookRoles
20842
+ },
20939
20843
  {
20940
20844
  id: id("shop-price-cards"),
20941
20845
  treatment: "prices",
@@ -21550,6 +21454,11 @@ const orbitOffers = [
21550
21454
  treatment: "media-circle",
21551
21455
  roleMap: orbitRoles
21552
21456
  },
21457
+ {
21458
+ id: id("media-text-quote-beside-circle"),
21459
+ treatment: "media-quote",
21460
+ roleMap: orbitRoles
21461
+ },
21553
21462
  {
21554
21463
  id: id("media-text-photo-beside-text"),
21555
21464
  treatment: "media-beside",
@@ -21570,6 +21479,12 @@ const orbitOffers = [
21570
21479
  treatment: "team-names",
21571
21480
  roleMap: orbitRoles
21572
21481
  },
21482
+ {
21483
+ id: id("team-members-person-rows"),
21484
+ treatment: "team-person",
21485
+ slotRoles: { facts: "card" },
21486
+ roleMap: orbitRoles
21487
+ },
21573
21488
  {
21574
21489
  id: id("shop-price-cards"),
21575
21490
  treatment: "prices",
@@ -21795,6 +21710,21 @@ const orbitOffers = [
21795
21710
  treatment: "faq-open",
21796
21711
  roleMap: orbitRoles
21797
21712
  },
21713
+ {
21714
+ id: id("list-ticked-points"),
21715
+ treatment: "list-ticks",
21716
+ roleMap: orbitRoles
21717
+ },
21718
+ {
21719
+ id: id("list-two-columns"),
21720
+ treatment: "list-columns",
21721
+ roleMap: orbitRoles
21722
+ },
21723
+ {
21724
+ id: id("list-headed-cards"),
21725
+ treatment: "list-cards",
21726
+ roleMap: orbitRoles
21727
+ },
21798
21728
  {
21799
21729
  id: id("cta-text-in-panel"),
21800
21730
  treatment: "cta-panel",
@@ -23426,6 +23356,7 @@ const lanternLooks = {
23426
23356
  id: id("event-calendar-session-cards"),
23427
23357
  treatment: "tablets",
23428
23358
  removeKnobs: ["listColumns"],
23359
+ knobValues: { showPhotos: ["false"] },
23429
23360
  surfaceTints: { date: {
23430
23361
  source: "text",
23431
23362
  opacity: 8
@@ -24304,7 +24235,7 @@ const curatedSiteStyles = [
24304
24235
  compositionBudget: quietBudget,
24305
24236
  typography: fulcrumTypography,
24306
24237
  fontPairings: fulcrumFontPairings,
24307
- looks: withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles),
24238
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles), fulcrumRoles),
24308
24239
  contentTemplateDefaults: { event: "event-header" },
24309
24240
  themeOverrides: {
24310
24241
  accordions: {
@@ -24365,10 +24296,10 @@ const curatedSiteStyles = [
24365
24296
  compositionBudget: expressiveBudget,
24366
24297
  typography: posterTypography,
24367
24298
  fontPairings: posterFontPairings,
24368
- looks: withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
24299
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
24369
24300
  ...posterRoles,
24370
24301
  statement: "pop"
24371
- }),
24302
+ }), posterRoles, ["cta-text-in-panel", "faq-questions-in-panel"]),
24372
24303
  contentTemplateDefaults: { event: "event-header" },
24373
24304
  themeOverrides: {
24374
24305
  accordions: boldBorderedAccordionSystem,
@@ -24408,7 +24339,7 @@ const curatedSiteStyles = [
24408
24339
  compositionBudget: quietBudget,
24409
24340
  typography: lanternTypography,
24410
24341
  fontPairings: lanternFontPairings,
24411
- looks: withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles),
24342
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles), lanternRoles),
24412
24343
  contentTemplateDefaults: { event: "event-header" },
24413
24344
  themeOverrides: {
24414
24345
  accordions: warmInsetAccordionSystem,
@@ -24451,7 +24382,13 @@ const curatedSiteStyles = [
24451
24382
  compositionBudget: quietBudget,
24452
24383
  typography: measureTypography,
24453
24384
  fontPairings: measureFontPairings,
24454
- looks: withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles),
24385
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles), measureRoles, [
24386
+ "intro-large-photo-beside-text",
24387
+ "media-text-photo-to-edge",
24388
+ "image-gallery-moving-row",
24389
+ "cta-text-in-panel",
24390
+ "faq-questions-in-panel"
24391
+ ]),
24455
24392
  contentTemplateDefaults: { event: "event-header" },
24456
24393
  themeOverrides: {
24457
24394
  accordions: editorialDividedAccordionSystem,
@@ -24493,7 +24430,7 @@ const curatedSiteStyles = [
24493
24430
  typography: folioTypography,
24494
24431
  fontPairings: folioFontPairings,
24495
24432
  heroTypography: groundedSerifHeroTypography,
24496
- looks: withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles),
24433
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles), folioRoles, ["faq-questions-in-panel"]),
24497
24434
  contentTemplateDefaults: { event: "event-header" },
24498
24435
  themeOverrides: {
24499
24436
  accordions: editorialDividedAccordionSystem,
@@ -24565,7 +24502,7 @@ const curatedSiteStyles = [
24565
24502
  typography: loomTypography,
24566
24503
  fontPairings: loomFontPairings,
24567
24504
  heroTypography: groundedSerifHeroTypography,
24568
- looks: loomLooks,
24505
+ looks: withSharedLooks(loomLooks, loomRoles),
24569
24506
  contentTemplateDefaults: { event: "event-header" },
24570
24507
  themeOverrides: {
24571
24508
  accordions: editorialDividedAccordionSystem,
@@ -24633,7 +24570,7 @@ const curatedSiteStyles = [
24633
24570
  compositionBudget: balancedBudget,
24634
24571
  typography: poiseTypography,
24635
24572
  fontPairings: poiseFontPairings,
24636
- looks: poiseLooks,
24573
+ looks: withSharedLooks(poiseLooks, poiseRoles, ["faq-questions-in-panel"]),
24637
24574
  contentTemplateDefaults: { event: "event-header" },
24638
24575
  themeOverrides: {
24639
24576
  accordions: editorialDividedAccordionSystem,
@@ -24699,7 +24636,7 @@ const curatedSiteStyles = [
24699
24636
  },
24700
24637
  compositionBudget: balancedBudget,
24701
24638
  typography: havenTypography,
24702
- looks: havenLooks,
24639
+ looks: withSharedLooks(havenLooks, havenRoles, ["faq-questions-in-panel"]),
24703
24640
  contentTemplateDefaults: { event: "event-header" },
24704
24641
  themeOverrides: {
24705
24642
  accordions: editorialDividedAccordionSystem,
@@ -24759,7 +24696,10 @@ const curatedSiteStyles = [
24759
24696
  defineCuratedSiteStyle({
24760
24697
  id: "site-style:orbit",
24761
24698
  name: "Orbit",
24762
- offering: { kind: "lab" },
24699
+ offering: {
24700
+ kind: "client",
24701
+ siteSlugs: ["danu", "south-west-twerk-school"]
24702
+ },
24763
24703
  description: "Round photos with a ring around them, three dots above each heading, white rounded cards and pill buttons, with arcs where your bands of colour begin and end. For dance schools, movement classes and community studios.",
24764
24704
  generationBrief: "Use warm, lively words in sentence case for the text, and keep headings short, because they are set in capitals. Say plainly who a class is for and that beginners are welcome, give real times, prices and places, and avoid fitness slogans and promises about results.",
24765
24705
  headingDecoration: noHeadingDecoration,
@@ -24899,10 +24839,55 @@ function withTeamLooks(looks, roleMap) {
24899
24839
  treatment: "team-names",
24900
24840
  roleMap
24901
24841
  },
24842
+ {
24843
+ id: id("team-members-person-rows"),
24844
+ treatment: "team-person",
24845
+ roleMap
24846
+ },
24902
24847
  ...looks.offers
24903
24848
  ]
24904
24849
  };
24905
24850
  }
24851
+ function withSharedLooks(looks, roleMap, leaveOut = []) {
24852
+ const shared = [
24853
+ {
24854
+ id: id("intro-large-photo-beside-text"),
24855
+ treatment: "intro-photo-large",
24856
+ roleMap
24857
+ },
24858
+ {
24859
+ id: id("media-text-photo-to-edge"),
24860
+ treatment: "media-edge",
24861
+ roleMap
24862
+ },
24863
+ {
24864
+ id: id("form-beside-introduction-no-card"),
24865
+ treatment: "form-open",
24866
+ roleMap
24867
+ },
24868
+ {
24869
+ id: id("image-gallery-moving-row"),
24870
+ treatment: "gallery-moving",
24871
+ roleMap
24872
+ },
24873
+ {
24874
+ id: id("cta-text-in-panel"),
24875
+ treatment: "cta-panel",
24876
+ roleMap
24877
+ },
24878
+ {
24879
+ id: id("faq-questions-in-panel"),
24880
+ treatment: "faq-panel",
24881
+ itemRoles: { container: "highlight" },
24882
+ roleMap
24883
+ }
24884
+ ];
24885
+ const skipped = leaveOut.map(id);
24886
+ return {
24887
+ ...looks,
24888
+ offers: [...looks.offers, ...shared.filter((offer) => !skipped.includes(offer.id) && !looks.offers.some((own) => own.id === offer.id))]
24889
+ };
24890
+ }
24906
24891
  function withPriceLooks(looks, roleMap, featuredRoleMap = roleMap) {
24907
24892
  return {
24908
24893
  ...looks,
@@ -24960,28 +24945,28 @@ function isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) {
24960
24945
  switch (policy.kind) {
24961
24946
  case "open": return true;
24962
24947
  case "locked-look-and-layouts": return policy.allowedLayoutVariantKeys.includes(layoutVariantKey);
24963
- default: return assertNever$2(policy, "Unhandled site style block policy");
24948
+ default: return assertNever$1(policy, "Unhandled site style block policy");
24964
24949
  }
24965
24950
  }
24966
24951
  function normalizeLayoutVariantForPolicy(policy, layoutVariantKey) {
24967
24952
  switch (policy.kind) {
24968
24953
  case "open": return layoutVariantKey ?? null;
24969
24954
  case "locked-look-and-layouts": return layoutVariantKey && isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) ? layoutVariantKey : policy.defaultLayoutVariantKey;
24970
- default: return assertNever$2(policy, "Unhandled site style block policy");
24955
+ default: return assertNever$1(policy, "Unhandled site style block policy");
24971
24956
  }
24972
24957
  }
24973
24958
  function filterLayoutProfilesForPolicy(policy, layoutProfiles) {
24974
24959
  switch (policy.kind) {
24975
24960
  case "open": return layoutProfiles;
24976
24961
  case "locked-look-and-layouts": return layoutProfiles.filter((profile) => isLayoutVariantAllowedByPolicy(policy, profile.variantKey));
24977
- default: return assertNever$2(policy, "Unhandled site style block policy");
24962
+ default: return assertNever$1(policy, "Unhandled site style block policy");
24978
24963
  }
24979
24964
  }
24980
24965
  function filterLookIdsForPolicy(policy, looks) {
24981
24966
  switch (policy.kind) {
24982
24967
  case "open": return looks;
24983
24968
  case "locked-look-and-layouts": return looks.filter((look) => look.id === policy.lookId);
24984
- default: return assertNever$2(policy, "Unhandled site style block policy");
24969
+ default: return assertNever$1(policy, "Unhandled site style block policy");
24985
24970
  }
24986
24971
  }
24987
24972
  function requiredLookChoice(lookId) {
@@ -25012,7 +24997,7 @@ function applySiteStyleBlockPoliciesToPageDesignIntent(intent, blocks) {
25012
24997
  blockKind: block.blockKind,
25013
24998
  choice: requiredLookChoice(policy.lookId)
25014
24999
  }];
25015
- default: return assertNever$2(policy, "Unhandled site style block policy");
25000
+ default: return assertNever$1(policy, "Unhandled site style block policy");
25016
25001
  }
25017
25002
  });
25018
25003
  if (policyLookPins.length === 0) return intent;
@@ -25032,7 +25017,7 @@ function planBlockContentVariantPolicyUpdate(input) {
25032
25017
  variantKey: input.policy.defaultLayoutVariantKey
25033
25018
  };
25034
25019
  }
25035
- default: return assertNever$2(input.policy, "Unhandled site style block policy");
25020
+ default: return assertNever$1(input.policy, "Unhandled site style block policy");
25036
25021
  }
25037
25022
  }
25038
25023
  function applyBlockContentVariantPolicy(input) {
@@ -25043,7 +25028,7 @@ function applyBlockContentVariantPolicy(input) {
25043
25028
  ...input.content,
25044
25029
  variant: plan.variantKey
25045
25030
  };
25046
- default: return assertNever$2(plan, "Unhandled block content variant policy plan");
25031
+ default: return assertNever$1(plan, "Unhandled block content variant policy plan");
25047
25032
  }
25048
25033
  }
25049
25034
  //#endregion
@@ -25414,7 +25399,8 @@ const arrangementLookHooks = [
25414
25399
  "data-shape",
25415
25400
  "data-list-group",
25416
25401
  "data-section-spacing",
25417
- "data-video-provider"
25402
+ "data-video-provider",
25403
+ "data-portal"
25418
25404
  ];
25419
25405
  const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
25420
25406
  function arrangementStyleAvailability(style, preset, capabilities) {
@@ -25656,7 +25642,7 @@ function resolveBrandDisplay(mode, logoFacts) {
25656
25642
  case "logo-plus-title": return "logo-plus-title";
25657
25643
  case "title-only": return "title-only";
25658
25644
  case "auto": return resolveAutoBrandDisplay(logoFacts);
25659
- default: return assertNever$2(mode, "Unhandled brand display mode");
25645
+ default: return assertNever$1(mode, "Unhandled brand display mode");
25660
25646
  }
25661
25647
  }
25662
25648
  /** Evidence that the artwork already supplies the brand's readable identity. */
@@ -25880,7 +25866,7 @@ function logoFactsForHeaderContext(logo) {
25880
25866
  case "horizontal":
25881
25867
  case "square":
25882
25868
  case "tall": return deterministicLogoFactsForShape(logo.shape);
25883
- default: return assertNever$2(logo.shape, "Unhandled header logo shape");
25869
+ default: return assertNever$1(logo.shape, "Unhandled header logo shape");
25884
25870
  }
25885
25871
  }
25886
25872
  const headerLayoutCatalog = defineExactCatalog()([
@@ -27083,24 +27069,6 @@ const eventsReadiness = {
27083
27069
  }
27084
27070
  };
27085
27071
  //#endregion
27086
- //#region ../blocks/src/lib/typeGuards.ts
27087
- /**
27088
- * Strict record guard: excludes null, primitives, and arrays.
27089
- */
27090
- function isRecord$5(value) {
27091
- return typeof value === "object" && value !== null && !Array.isArray(value);
27092
- }
27093
- /**
27094
- * Non-null object guard: includes arrays for behavior parity with legacy helpers.
27095
- *
27096
- * NOTE: This intentionally narrows to UnknownRecord for compatibility with existing
27097
- * callsites even though arrays pass at runtime. Follow-up cleanup should replace
27098
- * this API with a more precise predicate type and migrate consumers.
27099
- */
27100
- function isObjectRecord$1(value) {
27101
- return typeof value === "object" && value !== null;
27102
- }
27103
- //#endregion
27104
27072
  //#region ../blocks/src/system/registryStore.ts
27105
27073
  const REGISTRY_SYMBOL$1 = Symbol.for("@riverbankcms/blocks/system/definitions");
27106
27074
  const isBlocksTestRuntime$1 = typeof process !== "undefined" && typeof process.env !== "undefined" && process.env.RIVERBANK_BLOCKS_TEST === "1";
@@ -34343,27 +34311,21 @@ function formatEventStartingPrice(pricing) {
34343
34311
  }
34344
34312
  }
34345
34313
  /**
34346
- * A short note on booking with a deposit, said next to the price so the
34347
- * option isn't first seen at checkout: "or a £40 deposit to book", or "with a
34348
- * £40 deposit to book" when paying in full isn't offered. Null when no option
34349
- * starts with a deposit (equal instalments have none).
34314
+ * A short note on how booking is paid, said next to the price so it isn't
34315
+ * first seen at checkout: "or a £40 deposit to book", or "with a £40 deposit
34316
+ * to book" when paying in full isn't offered, with the balance's due day when
34317
+ * there is one. Once it's too late for the deposit the event offers, "paid in
34318
+ * full when you book". Null when the event never offers a deposit.
34350
34319
  */
34351
- function formatEventDepositNote(pricing, paymentTerms, start) {
34352
- const currency = publicEventPricingCurrency(pricing);
34353
- if (!currency) return null;
34354
- const deposit = paymentTerms.allowedOptions.map((option) => {
34355
- switch (option.kind) {
34356
- case "flexible_balance": return option.config.upfrontAmountCents;
34357
- case "instalment_plan": return getBookingInstalmentProtectedDepositAmountCents(option.plan);
34358
- case "upfront":
34359
- case "deferred_manual": return null;
34320
+ function formatEventDepositNote(offer) {
34321
+ switch (offer.kind) {
34322
+ case "none": return null;
34323
+ case "paid_in_full": return "paid in full when you book";
34324
+ case "deposit": {
34325
+ const dueBy = offer.balanceDueDay ? `, the rest due by ${formatDueDay(offer.balanceDueDay)}` : "";
34326
+ return `${offer.payInFullOffered ? "or" : "with"} a ${formatEventPriceAmount(offer.amountCents, offer.currency)} deposit to book${dueBy}`;
34360
34327
  }
34361
- }).find((amount) => amount !== null && amount > 0);
34362
- if (deposit === void 0) return null;
34363
- const payInFull = paymentTerms.allowedOptions.some((option) => option.kind === "upfront");
34364
- const flexible = paymentTerms.allowedOptions.find((option) => option.kind === "flexible_balance");
34365
- const dueBy = flexible && start ? `, the rest due by ${formatDueDay(flexibleBalanceDueDay(flexible.config, start.startsAt, start.timeZone))}` : "";
34366
- return `${payInFull ? "or" : "with"} a ${formatEventPriceAmount(deposit, currency)} deposit to book${dueBy}`;
34328
+ }
34367
34329
  }
34368
34330
  /** A calendar day ("2026-11-12") as "12 Nov 2026"; it has no time zone to convert. */
34369
34331
  function formatDueDay(day) {
@@ -37568,7 +37530,7 @@ const headingClassFromAlignment = {
37568
37530
  summary: "Append text alignment class to a base heading class",
37569
37531
  run: (value, options) => {
37570
37532
  const alignClass = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-text-center" : "rb-text-left";
37571
- return `${options.base} ${alignClass}`.trim();
37533
+ return `${options.base ?? ""} ${alignClass}`.trim();
37572
37534
  }
37573
37535
  };
37574
37536
  const bodyClassFromAlignment = {
@@ -37577,7 +37539,7 @@ const bodyClassFromAlignment = {
37577
37539
  summary: "Append body alignment helper classes to a base class",
37578
37540
  run: (value, options) => {
37579
37541
  const extra = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-mx-auto rb-text-center" : "";
37580
- return `${options.base} ${extra}`.trim();
37542
+ return `${options.base ?? ""} ${extra}`.trim();
37581
37543
  }
37582
37544
  };
37583
37545
  const stackAlignFromAlignment = {
@@ -38039,7 +38001,7 @@ function planSiteChromePlacement(positioning) {
38039
38001
  headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
38040
38002
  standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
38041
38003
  };
38042
- default: return assertNever$2(positioning);
38004
+ default: return assertNever$1(positioning);
38043
38005
  }
38044
38006
  }
38045
38007
  function splitSiteChromePlacementClasses(className) {
@@ -38574,16 +38536,16 @@ const interpolateRichTextTokensOptionsSchema = z.object({ tokens: z.array(suppor
38574
38536
  const richTextTokenPattern = /\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g;
38575
38537
  function getSiteName(context) {
38576
38538
  const viewModel = context.viewModel;
38577
- if (!isRecord$5(viewModel)) return null;
38539
+ if (!isRecord$13(viewModel)) return null;
38578
38540
  const site = viewModel.site;
38579
- if (isRecord$5(site) && typeof site.title === "string") {
38541
+ if (isRecord$13(site) && typeof site.title === "string") {
38580
38542
  const title = site.title.trim();
38581
38543
  return title.length > 0 ? title : null;
38582
38544
  }
38583
38545
  const root = viewModel.$root;
38584
- if (isRecord$5(root)) {
38546
+ if (isRecord$13(root)) {
38585
38547
  const rootSite = root.site;
38586
- if (isRecord$5(rootSite) && typeof rootSite.title === "string") {
38548
+ if (isRecord$13(rootSite) && typeof rootSite.title === "string") {
38587
38549
  const title = rootSite.title.trim();
38588
38550
  if (title.length > 0) return title;
38589
38551
  }
@@ -38605,7 +38567,7 @@ function replaceTokenText(input, allowedTokens, tokenValues) {
38605
38567
  });
38606
38568
  }
38607
38569
  function visitRichTextNode(node, allowedTokens, tokenValues) {
38608
- if (!isRecord$5(node)) return node;
38570
+ if (!isRecord$13(node)) return node;
38609
38571
  let changed = false;
38610
38572
  const nextNode = { ...node };
38611
38573
  if (nextNode.type === "text" && typeof nextNode.text === "string") {
@@ -38626,7 +38588,7 @@ function visitRichTextNode(node, allowedTokens, tokenValues) {
38626
38588
  return changed ? nextNode : node;
38627
38589
  }
38628
38590
  function interpolateRichTextTokens(value, options, context) {
38629
- if (typeof value !== "string" && !isRecord$5(value)) return value;
38591
+ if (typeof value !== "string" && !isRecord$13(value)) return value;
38630
38592
  const allowedTokens = new Set(options.tokens);
38631
38593
  const tokenValues = {
38632
38594
  year: () => formatDate$2({
@@ -40242,9 +40204,11 @@ const carouselCardsLayout = (arrangement) => arrangementCardsLayout(el("carousel
40242
40204
  }]
40243
40205
  }]));
40244
40206
  const leadSupportLayout = arrangementCardsLayout(el("div", lookSlot("items"), [leadCard]));
40207
+ const comingUpCardHook = { "data-has-coming-up": { $bind: { from: "card.comingUp" } } };
40245
40208
  const indexRow = el("li", {
40246
40209
  ...lookSlot("item"),
40247
- ...featuredCardHook
40210
+ ...featuredCardHook,
40211
+ ...comingUpCardHook
40248
40212
  }, [
40249
40213
  el("div", {
40250
40214
  ...lookSlot("numeral"),
@@ -40379,6 +40343,21 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
40379
40343
  }
40380
40344
  }
40381
40345
  },
40346
+ {
40347
+ id: "comingUp",
40348
+ type: "boolean",
40349
+ label: "Coming up",
40350
+ description: "For something that hasn't happened yet. On a timeline, these come after a Now marker and are drawn in outline.",
40351
+ required: false,
40352
+ defaultValue: false,
40353
+ ui: {
40354
+ intent: "content",
40355
+ visibleWhen: {
40356
+ field: "$root.blockLook",
40357
+ equals: "feature-cards-timeline"
40358
+ }
40359
+ }
40360
+ },
40382
40361
  {
40383
40362
  id: "label",
40384
40363
  type: "text",
@@ -42686,10 +42665,6 @@ const blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.li
42686
42665
  businessName: z.string(),
42687
42666
  href: z.string().min(1).nullable()
42688
42667
  })]);
42689
- z.object({
42690
- versionId,
42691
- alreadyAgreed: z.boolean()
42692
- });
42693
42668
  //#endregion
42694
42669
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
42695
42670
  /** The name in a venue's place: its own, or the owner's word that the address follows the booking. */
@@ -42763,7 +42738,7 @@ function capacityPlacesLabel(source, display, wording) {
42763
42738
  case "low": return formatRemainingPlaces(source, wording);
42764
42739
  case "unlimited": return wording.unlimited ?? null;
42765
42740
  case "open": return wording.open ?? null;
42766
- default: return assertNever$1(remaining);
42741
+ default: return assertNever(remaining);
42767
42742
  }
42768
42743
  }
42769
42744
  function hybridPlacesLabel(event, display, wording) {
@@ -43334,6 +43309,13 @@ const BOOKING_DATE_PRESENTATIONS = {
43334
43309
  year: "omit"
43335
43310
  }
43336
43311
  },
43312
+ dayMonth: {
43313
+ kind: "date",
43314
+ options: {
43315
+ date: "short",
43316
+ year: "omit"
43317
+ }
43318
+ },
43337
43319
  dayLong: {
43338
43320
  kind: "date",
43339
43321
  options: {
@@ -43469,6 +43451,32 @@ function scheduleInput(event, occurrence) {
43469
43451
  };
43470
43452
  }
43471
43453
  //#endregion
43454
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationSelection.state.ts
43455
+ const SINGLE = { kind: "single" };
43456
+ function sameOffering(events) {
43457
+ const offerings = new Set(events.map((event) => event.registrationSubject.kind === "wholeSeries" ? event.registrationSubject.eventOfferingId : null));
43458
+ return offerings.size === 1 && !offerings.has(null);
43459
+ }
43460
+ function registrationSelectionMode(input) {
43461
+ const { events } = input;
43462
+ if (events.length < 2) return SINGLE;
43463
+ if (events.some((event) => event.rooms)) return SINGLE;
43464
+ if (!events.every((event) => event.allowsMultipleBooking)) return SINGLE;
43465
+ const firstSeriesId = events[0]?.seriesId;
43466
+ if (events.every((event) => event.registrationSubject.kind === "occurrence" && event.seriesId === firstSeriesId)) return {
43467
+ kind: "several",
43468
+ items: "dates"
43469
+ };
43470
+ return events.every((event) => event.registrationSubject.kind === "wholeSeries") && sameOffering(events) ? {
43471
+ kind: "several",
43472
+ items: "runs"
43473
+ } : SINGLE;
43474
+ }
43475
+ function selectionRowAvailability(event) {
43476
+ if (!isEventFull(event)) return "open";
43477
+ return canJoinEventWaitlistOnAnyMode(event) ? "waitlist" : "full";
43478
+ }
43479
+ //#endregion
43472
43480
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
43473
43481
  function toRegistrationEvent(event) {
43474
43482
  return {
@@ -43530,7 +43538,7 @@ function findPreSelectedEvent(input) {
43530
43538
  startsAt: occurrenceContext.startsAt,
43531
43539
  timeZone: occurrenceContext.timeZone
43532
43540
  }));
43533
- return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
43541
+ return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id)) ?? input.scopedEvents.find((event) => getBookingLocalDateKey(toScheduledBookingDateTime({
43534
43542
  startsAt: event.startsAt,
43535
43543
  timeZone: event.timeZone
43536
43544
  })) === contextDate) ?? null;
@@ -43541,6 +43549,181 @@ function resolveEventRequiresPayment(input) {
43541
43549
  if (!input.event) return false;
43542
43550
  return publicEventPricingType(input.event.pricing) === "paid";
43543
43551
  }
43552
+ const unsupportedEventRegistrationPageSurfaceSubjectSchema = z.object({
43553
+ kind: z.literal("unsupported"),
43554
+ reason: z.enum([
43555
+ "unsupportedSubject",
43556
+ "invalidAppointmentServiceId",
43557
+ "invalidEventSeriesId",
43558
+ "invalidEventSeriesBookingScope",
43559
+ "invalidEventOfferingId",
43560
+ "invalidEventOfferingBookingScope",
43561
+ "invalidEventOfferingCatalogue"
43562
+ ])
43563
+ });
43564
+ const eventRegistrationPageSurfaceSubjectSchema = z.unknown().transform((value, ctx) => {
43565
+ const unsupported = z.safeParse(unsupportedEventRegistrationPageSurfaceSubjectSchema, value);
43566
+ if (unsupported.success) return unsupported.data;
43567
+ const parsed = parsePageSurfaceSubject(value);
43568
+ if (parsed.ok) return parsed.value.kind === "appointmentService" ? {
43569
+ kind: "unsupported",
43570
+ reason: "unsupportedSubject"
43571
+ } : parsed.value;
43572
+ ctx.addIssue({
43573
+ code: z.ZodIssueCode.custom,
43574
+ message: `Invalid event page-surface subject (${parsed.error.kind})`
43575
+ });
43576
+ return z.NEVER;
43577
+ });
43578
+ function parseEventRegistrationPageSurfaceSubject(value) {
43579
+ const parsed = parsePageSurfaceSubject(value);
43580
+ if (!parsed.ok) return parsed;
43581
+ return parsed.value.kind === "appointmentService" ? err({
43582
+ kind: "unsupportedSubject",
43583
+ subjectKind: parsed.value.kind
43584
+ }) : ok$1(parsed.value);
43585
+ }
43586
+ function normalizeEventRegistrationPageSurfaceSubject(value) {
43587
+ const parsed = parseEventRegistrationPageSurfaceSubject(value);
43588
+ if (parsed.ok) return parsed.value;
43589
+ switch (parsed.error.kind) {
43590
+ case "notObject": return null;
43591
+ case "invalidAppointmentServiceId": return {
43592
+ kind: "unsupported",
43593
+ reason: "invalidAppointmentServiceId"
43594
+ };
43595
+ case "unsupportedSubject": return {
43596
+ kind: "unsupported",
43597
+ reason: "unsupportedSubject"
43598
+ };
43599
+ case "invalidEventSeriesId": return {
43600
+ kind: "unsupported",
43601
+ reason: "invalidEventSeriesId"
43602
+ };
43603
+ case "invalidEventSeriesBookingScope": return {
43604
+ kind: "unsupported",
43605
+ reason: "invalidEventSeriesBookingScope"
43606
+ };
43607
+ case "invalidEventOfferingId": return {
43608
+ kind: "unsupported",
43609
+ reason: "invalidEventOfferingId"
43610
+ };
43611
+ case "invalidEventOfferingBookingScope": return {
43612
+ kind: "unsupported",
43613
+ reason: "invalidEventOfferingBookingScope"
43614
+ };
43615
+ case "invalidEventOfferingCatalogue": return {
43616
+ kind: "unsupported",
43617
+ reason: "invalidEventOfferingCatalogue"
43618
+ };
43619
+ }
43620
+ }
43621
+ function resolveEventRegistrationScope(context) {
43622
+ const occurrenceSeriesId = context.occurrenceContext?.seriesId;
43623
+ if (occurrenceSeriesId) return {
43624
+ kind: "occurrenceSeries",
43625
+ seriesId: occurrenceSeriesId
43626
+ };
43627
+ const subject = context.subject;
43628
+ switch (subject?.kind) {
43629
+ case "eventSeries": return {
43630
+ kind: "pageSurfaceSeries",
43631
+ seriesId: subject.eventSeriesId
43632
+ };
43633
+ case "eventOffering": return {
43634
+ kind: "pageSurfaceOffering",
43635
+ offeringId: subject.eventOfferingId,
43636
+ seriesIds: subject.catalogueEventSeriesIds
43637
+ };
43638
+ case "unsupported": return {
43639
+ kind: "unsupportedPageSurfaceSubject",
43640
+ reason: subject.reason
43641
+ };
43642
+ case void 0: return { kind: "unscoped" };
43643
+ }
43644
+ }
43645
+ function resolveEventRegistrationScopedEvents(events, context) {
43646
+ const scope = resolveEventRegistrationScope(context);
43647
+ switch (scope.kind) {
43648
+ case "occurrenceSeries":
43649
+ case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
43650
+ case "pageSurfaceOffering": {
43651
+ const seriesIds = new Set(scope.seriesIds);
43652
+ return events.filter((event) => seriesIds.has(event.seriesId));
43653
+ }
43654
+ case "unsupportedPageSurfaceSubject": return [];
43655
+ case "unscoped": return [...events];
43656
+ }
43657
+ }
43658
+ /** Keep dated detail/recovery targets, but only invite bookings for future choices. */
43659
+ function resolveEventRegistrationChoices(events, context, now) {
43660
+ const scoped = resolveEventRegistrationScopedEvents(events, context);
43661
+ const runs = groupPublicEventsByRun(scoped);
43662
+ if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
43663
+ const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
43664
+ return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : isUpcomingDateChoice(event, now));
43665
+ }
43666
+ /** A date a new booking can still choose: it hasn't started and its bookings haven't closed. */
43667
+ function isUpcomingDateChoice(event, now) {
43668
+ return Date.parse(event.startsAt) > now.getTime() && !hasEventBookingClosedEarly(event, now);
43669
+ }
43670
+ //#endregion
43671
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEntry.ts
43672
+ function decideRegistrationEntry(input) {
43673
+ const event = findPreSelectedEvent({
43674
+ scopedEvents: input.events,
43675
+ occurrenceContext: input.occurrenceContext
43676
+ });
43677
+ if (!input.occurrenceContext && !event) return {
43678
+ kind: "chooseEvent",
43679
+ choices: input.events
43680
+ };
43681
+ if (input.offer === "eventsAsGiven") return {
43682
+ kind: "pageDate",
43683
+ event,
43684
+ choices: input.events
43685
+ };
43686
+ if (!event) return {
43687
+ kind: "pageDate",
43688
+ event,
43689
+ choices: input.events
43690
+ };
43691
+ const moreDates = input.occurrenceContext ? addableDates(event, input) : [];
43692
+ const [first, ...rest] = moreDates;
43693
+ return first ? {
43694
+ kind: "pageDateAndMore",
43695
+ event,
43696
+ moreDates: [first, ...rest],
43697
+ choices: [event, ...moreDates]
43698
+ } : {
43699
+ kind: "pageDate",
43700
+ event,
43701
+ choices: [event]
43702
+ };
43703
+ }
43704
+ /**
43705
+ * The class's other dates a visitor could add to the page's date, as the
43706
+ * class's own page lists them, or none when the page's date books on its own:
43707
+ * a return to finish a booking, a date that can't be ticked, a class that
43708
+ * doesn't book several dates or has rooms, or no other date open to book.
43709
+ */
43710
+ function addableDates(pageDate, input) {
43711
+ if (input.arrival !== "none") return [];
43712
+ if (pageDate.registrationSubject.kind !== "occurrence") return [];
43713
+ if (selectionRowAvailability(pageDate) !== "open" || !isUpcomingDateChoice(pageDate, input.now)) return [];
43714
+ const others = input.events.filter((event) => event.selectionId !== pageDate.selectionId && event.seriesId === pageDate.seriesId && isUpcomingDateChoice(event, input.now));
43715
+ const mode = registrationSelectionMode({ events: [pageDate, ...others] });
43716
+ if (mode.kind !== "several" || mode.items !== "dates") return [];
43717
+ return others.some((event) => selectionRowAvailability(event) === "open") ? others : [];
43718
+ }
43719
+ /** Whether the route starts by choosing (and so Back and "Change dates" lead there). */
43720
+ function entryChoosesEvent(entry) {
43721
+ return entry.kind !== "pageDate";
43722
+ }
43723
+ /** The date this page is about, if it names one the events include. */
43724
+ function entryPageEvent(entry) {
43725
+ return entry.kind === "chooseEvent" ? null : entry.event;
43726
+ }
43544
43727
  //#endregion
43545
43728
  //#region ../blocks/src/system/runtime/nodes/event-registration/wizardSteps.ts
43546
43729
  function registrationRoute(input) {
@@ -43566,6 +43749,7 @@ const REGISTRATION_STEP_LABELS = [
43566
43749
  "Dates",
43567
43750
  "Tickets",
43568
43751
  "Places",
43752
+ "Rooms",
43569
43753
  "Your details",
43570
43754
  "How you’ll pay",
43571
43755
  "Payment"
@@ -43586,7 +43770,8 @@ function registrationStepLabelContext(scopedEvents, bookedEvent) {
43586
43770
  const several = scopedEvents.every((event) => event.allowsMultipleBooking === true);
43587
43771
  return {
43588
43772
  eventSelection: mode === "date" && several ? "dates" : severalRuns(scopedEvents) ? "runs" : mode,
43589
- booksWholeSeries: bookedEvent?.registrationSubject.kind === "wholeSeries"
43773
+ booksWholeSeries: bookedEvent?.registrationSubject.kind === "wholeSeries",
43774
+ booksRooms: Boolean((bookedEvent ?? (scopedEvents.length === 1 ? scopedEvents[0] : null))?.rooms)
43590
43775
  };
43591
43776
  }
43592
43777
  /** One label owner for the live progress and the server placeholder. */
@@ -43598,7 +43783,9 @@ function registrationStepLabel(step, context) {
43598
43783
  case "runs": return "Choose what to book";
43599
43784
  case "event": return "Event";
43600
43785
  }
43601
- case "select-tickets": return context.booksWholeSeries ? "Places" : "Tickets";
43786
+ case "select-tickets":
43787
+ if (context.booksRooms) return "Rooms";
43788
+ return context.booksWholeSeries ? "Places" : "Tickets";
43602
43789
  case "enter-details": return "Your details";
43603
43790
  case "select-payment": return "How you’ll pay";
43604
43791
  case "payment": return "Payment";
@@ -43957,7 +44144,7 @@ function buildOfferingsPreviewListing(input) {
43957
44144
  ...load,
43958
44145
  items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
43959
44146
  };
43960
- default: return assertNever$1(load);
44147
+ default: return assertNever(load);
43961
44148
  }
43962
44149
  }));
43963
44150
  if (!groups) return loads.length > 0 ? {
@@ -43977,7 +44164,7 @@ function buildOfferingsPreviewListing(input) {
43977
44164
  }));
43978
44165
  case "empty":
43979
44166
  case "failed": return [];
43980
- default: return assertNever$1(load);
44167
+ default: return assertNever(load);
43981
44168
  }
43982
44169
  }).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
43983
44170
  return items ? {
@@ -44086,11 +44273,11 @@ function preferredPathsForSource(source) {
44086
44273
  case "workshop": return ["/workshops", "/workshop"];
44087
44274
  case "retreat": return ["/retreats", "/retreat"];
44088
44275
  case "performance": return ["/performances", "/performance"];
44089
- default: return assertNever$1(source.preset, "Unhandled offerings preview event preset");
44276
+ default: return assertNever(source.preset, "Unhandled offerings preview event preset");
44090
44277
  }
44091
44278
  case "wholeSeries": return ["/courses", "/course"];
44092
44279
  case "otherEvents": return ["/events", "/event"];
44093
- default: return assertNever$1(source, "Unhandled offerings preview source");
44280
+ default: return assertNever(source, "Unhandled offerings preview source");
44094
44281
  }
44095
44282
  }
44096
44283
  function normalizeRoutePath(value) {
@@ -44271,120 +44458,6 @@ function bookingCardDisplay(source, scopedSourceEvents, display) {
44271
44458
  buttonText: source.buttonText?.trim() ?? ""
44272
44459
  };
44273
44460
  }
44274
- const unsupportedEventRegistrationPageSurfaceSubjectSchema = z.object({
44275
- kind: z.literal("unsupported"),
44276
- reason: z.enum([
44277
- "unsupportedSubject",
44278
- "invalidAppointmentServiceId",
44279
- "invalidEventSeriesId",
44280
- "invalidEventSeriesBookingScope",
44281
- "invalidEventOfferingId",
44282
- "invalidEventOfferingBookingScope",
44283
- "invalidEventOfferingCatalogue"
44284
- ])
44285
- });
44286
- const eventRegistrationPageSurfaceSubjectSchema = z.unknown().transform((value, ctx) => {
44287
- const unsupported = z.safeParse(unsupportedEventRegistrationPageSurfaceSubjectSchema, value);
44288
- if (unsupported.success) return unsupported.data;
44289
- const parsed = parsePageSurfaceSubject(value);
44290
- if (parsed.ok) return parsed.value.kind === "appointmentService" ? {
44291
- kind: "unsupported",
44292
- reason: "unsupportedSubject"
44293
- } : parsed.value;
44294
- ctx.addIssue({
44295
- code: z.ZodIssueCode.custom,
44296
- message: `Invalid event page-surface subject (${parsed.error.kind})`
44297
- });
44298
- return z.NEVER;
44299
- });
44300
- function parseEventRegistrationPageSurfaceSubject(value) {
44301
- const parsed = parsePageSurfaceSubject(value);
44302
- if (!parsed.ok) return parsed;
44303
- return parsed.value.kind === "appointmentService" ? err({
44304
- kind: "unsupportedSubject",
44305
- subjectKind: parsed.value.kind
44306
- }) : ok$1(parsed.value);
44307
- }
44308
- function normalizeEventRegistrationPageSurfaceSubject(value) {
44309
- const parsed = parseEventRegistrationPageSurfaceSubject(value);
44310
- if (parsed.ok) return parsed.value;
44311
- switch (parsed.error.kind) {
44312
- case "notObject": return null;
44313
- case "invalidAppointmentServiceId": return {
44314
- kind: "unsupported",
44315
- reason: "invalidAppointmentServiceId"
44316
- };
44317
- case "unsupportedSubject": return {
44318
- kind: "unsupported",
44319
- reason: "unsupportedSubject"
44320
- };
44321
- case "invalidEventSeriesId": return {
44322
- kind: "unsupported",
44323
- reason: "invalidEventSeriesId"
44324
- };
44325
- case "invalidEventSeriesBookingScope": return {
44326
- kind: "unsupported",
44327
- reason: "invalidEventSeriesBookingScope"
44328
- };
44329
- case "invalidEventOfferingId": return {
44330
- kind: "unsupported",
44331
- reason: "invalidEventOfferingId"
44332
- };
44333
- case "invalidEventOfferingBookingScope": return {
44334
- kind: "unsupported",
44335
- reason: "invalidEventOfferingBookingScope"
44336
- };
44337
- case "invalidEventOfferingCatalogue": return {
44338
- kind: "unsupported",
44339
- reason: "invalidEventOfferingCatalogue"
44340
- };
44341
- }
44342
- }
44343
- function resolveEventRegistrationScope(context) {
44344
- const occurrenceSeriesId = context.occurrenceContext?.seriesId;
44345
- if (occurrenceSeriesId) return {
44346
- kind: "occurrenceSeries",
44347
- seriesId: occurrenceSeriesId
44348
- };
44349
- const subject = context.subject;
44350
- switch (subject?.kind) {
44351
- case "eventSeries": return {
44352
- kind: "pageSurfaceSeries",
44353
- seriesId: subject.eventSeriesId
44354
- };
44355
- case "eventOffering": return {
44356
- kind: "pageSurfaceOffering",
44357
- offeringId: subject.eventOfferingId,
44358
- seriesIds: subject.catalogueEventSeriesIds
44359
- };
44360
- case "unsupported": return {
44361
- kind: "unsupportedPageSurfaceSubject",
44362
- reason: subject.reason
44363
- };
44364
- case void 0: return { kind: "unscoped" };
44365
- }
44366
- }
44367
- function resolveEventRegistrationScopedEvents(events, context) {
44368
- const scope = resolveEventRegistrationScope(context);
44369
- switch (scope.kind) {
44370
- case "occurrenceSeries":
44371
- case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
44372
- case "pageSurfaceOffering": {
44373
- const seriesIds = new Set(scope.seriesIds);
44374
- return events.filter((event) => seriesIds.has(event.seriesId));
44375
- }
44376
- case "unsupportedPageSurfaceSubject": return [];
44377
- case "unscoped": return [...events];
44378
- }
44379
- }
44380
- /** Keep dated detail/recovery targets, but only invite bookings for future choices. */
44381
- function resolveEventRegistrationChoices(events, context, now) {
44382
- const scoped = resolveEventRegistrationScopedEvents(events, context);
44383
- const runs = groupPublicEventsByRun(scoped);
44384
- if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
44385
- const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
44386
- return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime() && !hasEventBookingClosedEarly(event, now));
44387
- }
44388
44461
  //#endregion
44389
44462
  //#region ../blocks/src/system/runtime/nodes/shared/contract-schemas.ts
44390
44463
  const bookingNowSchema = z.string().datetime({ offset: true }).transform(readRuntimeNow);
@@ -44599,20 +44672,23 @@ function buildEventRegistrationShellStepLabels(source, scopedSourceEvents) {
44599
44672
  }
44600
44673
  const scopedEvents = toScopedEventRegistrationEvents(scopedSourceEvents);
44601
44674
  if (scopedEvents.length === 0) return EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS;
44602
- const preSelectedEvent = findPreSelectedEvent({
44603
- scopedEvents,
44604
- occurrenceContext: source.occurrenceContext
44675
+ const entry = decideRegistrationEntry({
44676
+ events: scopedEvents,
44677
+ occurrenceContext: source.occurrenceContext,
44678
+ offer: "addMoreDates",
44679
+ arrival: "none",
44680
+ now: new Date(source.now)
44605
44681
  });
44606
- const hasPreSelectedContext = Boolean(source.occurrenceContext || preSelectedEvent);
44607
- const needsPaymentStep = hasPreSelectedContext && preSelectedEvent ? resolveEventRequiresPayment({
44682
+ const pageEvent = entryPageEvent(entry);
44683
+ const needsPaymentStep = pageEvent ? resolveEventRequiresPayment({
44608
44684
  eligibility: null,
44609
44685
  selectedTicketType: null,
44610
- event: preSelectedEvent
44686
+ event: pageEvent
44611
44687
  }) : false;
44612
44688
  return shellStepLabels(registrationRoute({
44613
- chooseEvent: !hasPreSelectedContext,
44689
+ chooseEvent: entryChoosesEvent(entry),
44614
44690
  payment: needsPaymentStep ? "optionsAndPayment" : "none"
44615
- }), registrationStepLabelContext(scopedEvents, preSelectedEvent));
44691
+ }), registrationStepLabelContext(entry.choices, pageEvent));
44616
44692
  }
44617
44693
  function scopeEventRegistrationSourceEvents(source, eventSource) {
44618
44694
  return resolveEventRegistrationScopedEvents(eventSource.kind === "loaded" ? eventSource.events : [], {
@@ -44633,7 +44709,7 @@ function shellStepLabels(route, context) {
44633
44709
  }
44634
44710
  function buildEventRegistrationShellBodyText(stepLabels) {
44635
44711
  if (stepLabels.includes("How you’ll pay")) return "Preparing tickets, details, and payment options.";
44636
- if (stepLabels[0] === "Tickets" || stepLabels[0] === "Places") return "Preparing tickets and booking details.";
44712
+ if (stepLabels[0] === "Tickets" || stepLabels[0] === "Places" || stepLabels[0] === "Rooms") return "Preparing tickets and booking details.";
44637
44713
  return "Preparing dates, tickets, and booking details.";
44638
44714
  }
44639
44715
  const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
@@ -50110,7 +50186,7 @@ function countListedOfferings(listing) {
50110
50186
  case "by-date": return listing.items.length;
50111
50187
  case "by-course":
50112
50188
  case "by-type": return listing.groups.reduce((count, load) => count + (load.kind === "items" ? load.items.length : 0), 0);
50113
- default: return assertNever$1(listing);
50189
+ default: return assertNever(listing);
50114
50190
  }
50115
50191
  }
50116
50192
  /**
@@ -50137,7 +50213,7 @@ function matchesGroup(group, event) {
50137
50213
  case "otherEvents": return false;
50138
50214
  case "eventPreset": return event.bookingScope === "single_occurrence" && event.eventPreset === source.preset;
50139
50215
  case "wholeSeries": return event.bookingScope === "whole_series";
50140
- default: return assertNever$1(source);
50216
+ default: return assertNever(source);
50141
50217
  }
50142
50218
  }
50143
50219
  //#endregion
@@ -52531,7 +52607,6 @@ const shopSourceSchema = z.object({
52531
52607
  membershipsHeading: z.string().optional(),
52532
52608
  buyButtonText: z.string().optional(),
52533
52609
  addButtonText: z.string().optional(),
52534
- passPurchaseMode: z.enum(["add_to_cart", "buy_now"]).optional(),
52535
52610
  subscribeButtonText: z.string().optional(),
52536
52611
  emptyStateText: z.string().optional(),
52537
52612
  checkoutButtonText: z.string().optional(),
@@ -52675,7 +52750,6 @@ const passesMembershipsHydrationSchema = z.object({
52675
52750
  presentation: z.object(cardListPresentationSchemaShape).optional(),
52676
52751
  featured: z.string().optional(),
52677
52752
  memberships: z.array(publicMembershipProductSchema),
52678
- passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
52679
52753
  buttonVariant: blockButtonRoleSchema,
52680
52754
  siteTerms: blockSiteTermsSchema.optional(),
52681
52755
  demoEmailSuppressed: z.boolean().optional()
@@ -52740,7 +52814,6 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52740
52814
  render: createZodCodec(passesMembershipsRenderSchema)
52741
52815
  },
52742
52816
  buildRender: (source) => {
52743
- const passPurchaseMode = source.passPurchaseMode ?? "add_to_cart";
52744
52817
  const subscribeButtonText = source.subscribeButtonText ?? "Subscribe";
52745
52818
  const products = decideShopDisplayedCatalogue(source);
52746
52819
  const dateContext = source.dateContext ?? resolveDateRuntimeContext(void 0);
@@ -52753,7 +52826,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52753
52826
  emptyMessage: source.emptyStateText,
52754
52827
  passesHeading: source.passesHeading,
52755
52828
  membershipsHeading: source.membershipsHeading,
52756
- passActionLabel: resolvePassBuyButtonText(source.buyButtonText, passPurchaseMode),
52829
+ passActionLabel: resolvePassBuyButtonText(source.buyButtonText),
52757
52830
  membershipActionLabel: subscribeButtonText,
52758
52831
  passes: products.passes,
52759
52832
  memberships: products.memberships,
@@ -52769,7 +52842,6 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52769
52842
  timeZone: dateContext.timeZone
52770
52843
  },
52771
52844
  memberships: products.memberships,
52772
- passPurchaseMode,
52773
52845
  buttonVariant: source.buttonVariant ?? "primary",
52774
52846
  siteTerms: source.siteTerms,
52775
52847
  demoEmailSuppressed: source.demoEmailSuppressed
@@ -52955,9 +53027,9 @@ function buildCheckoutInteractiveIslandProps(props) {
52955
53027
  }
52956
53028
  });
52957
53029
  }
52958
- function resolvePassBuyButtonText(buyButtonText, passPurchaseMode) {
52959
- if (buyButtonText && buyButtonText.trim().length > 0) return buyButtonText;
52960
- return passPurchaseMode === "add_to_cart" ? "Add to cart" : "Buy Now";
53030
+ const DEFAULT_PASS_BUY_BUTTON_TEXT = "Buy pass";
53031
+ function resolvePassBuyButtonText(buyButtonText) {
53032
+ return buyButtonText?.trim() ? buyButtonText : DEFAULT_PASS_BUY_BUTTON_TEXT;
52961
53033
  }
52962
53034
  function shopCardListPresentation(source) {
52963
53035
  return cardListPresentationKeys.reduce((presentation, key) => ({
@@ -53150,26 +53222,9 @@ const shopBlockDefinition = {
53150
53222
  description: "The text on the button to buy a pass.",
53151
53223
  required: false,
53152
53224
  multiline: false,
53153
- defaultValue: "Add to cart",
53225
+ defaultValue: DEFAULT_PASS_BUY_BUTTON_TEXT,
53154
53226
  maxLength: 40
53155
53227
  },
53156
- {
53157
- id: "passPurchaseMode",
53158
- type: "select",
53159
- label: "When someone buys a pass",
53160
- description: "Add the pass to their cart, or take them straight to checkout.",
53161
- required: false,
53162
- multiple: false,
53163
- defaultValue: "add_to_cart",
53164
- options: [{
53165
- value: "add_to_cart",
53166
- label: "Add to cart"
53167
- }, {
53168
- value: "buy_now",
53169
- label: "Buy now"
53170
- }],
53171
- ui: { intent: "behavior" }
53172
- },
53173
53228
  {
53174
53229
  id: "subscribeButtonText",
53175
53230
  type: "text",
@@ -53271,11 +53326,7 @@ const shopBlockDefinition = {
53271
53326
  } },
53272
53327
  buyButtonText: { $bind: {
53273
53328
  from: "content.buyButtonText",
53274
- fallback: "Add to cart"
53275
- } },
53276
- passPurchaseMode: { $bind: {
53277
- from: "content.passPurchaseMode",
53278
- fallback: "add_to_cart"
53329
+ fallback: DEFAULT_PASS_BUY_BUTTON_TEXT
53279
53330
  } },
53280
53331
  subscribeButtonText: { $bind: {
53281
53332
  from: "content.subscribeButtonText",
@@ -54145,7 +54196,7 @@ function newsletterPresetFields(fields) {
54145
54196
  placeholder: "Company name"
54146
54197
  }
54147
54198
  ];
54148
- default: return assertNever$1(fields);
54199
+ default: return assertNever(fields);
54149
54200
  }
54150
54201
  }
54151
54202
  function withOptionalPhone(fields, includePhone) {
@@ -54375,7 +54426,7 @@ function projectNewsletterFormHydrationTarget(source) {
54375
54426
  tag: "block-source",
54376
54427
  sourceRef: null
54377
54428
  };
54378
- default: return assertNever$1(source.newsletterBlockSubmission);
54429
+ default: return assertNever(source.newsletterBlockSubmission);
54379
54430
  }
54380
54431
  case "signed-hosted-booking":
54381
54432
  case "signed-footer": return {
@@ -54383,7 +54434,7 @@ function projectNewsletterFormHydrationTarget(source) {
54383
54434
  sourceRef: source.sourceRef
54384
54435
  };
54385
54436
  case "preview": return { tag: "preview" };
54386
- default: return assertNever$1(source);
54437
+ default: return assertNever(source);
54387
54438
  }
54388
54439
  }
54389
54440
  function resolveRuntimeChoices(assessment) {
@@ -54649,7 +54700,11 @@ const teamMemberDataSchema = z.object({
54649
54700
  photo: teamMemberPhotoSchema,
54650
54701
  profilePath: z.string().nullable(),
54651
54702
  specialties: z.array(z.string()).optional(),
54652
- profileBio: RichTextDocSchema.nullable().optional()
54703
+ profileBio: RichTextDocSchema.nullable().optional(),
54704
+ facts: z.array(z.object({
54705
+ label: z.string(),
54706
+ value: z.string()
54707
+ })).readonly().optional()
54653
54708
  });
54654
54709
  const teamMembersDataSchema = z.array(teamMemberDataSchema);
54655
54710
  const dynamicSourceWhen = { equals: "site_staff" };
@@ -54820,6 +54875,7 @@ const cardListVariant = styledSection({
54820
54875
  el("team-members", {
54821
54876
  ...cardListPresentationBindings,
54822
54877
  biographySource: { $bind: { from: "content._effectiveLook.look.structure.teamBiography" } },
54878
+ teamFacts: { $bind: { from: "content._effectiveLook.look.structure.teamFacts" } },
54823
54879
  onePerson: { $bind: { from: "content.onePerson" } },
54824
54880
  cardBiography: { $bind: { from: "content.cardBiography" } },
54825
54881
  source: { $bind: {
@@ -56546,7 +56602,7 @@ function ensureSystemBlockDefinitionsRegistered() {
56546
56602
  //#region ../blocks/src/system/registry.ts
56547
56603
  function normalizeBlockContent(definition, content) {
56548
56604
  const normalizer = definition?.contentNormalizer;
56549
- if (!normalizer || !isRecord$5(content)) return content;
56605
+ if (!normalizer || !isRecord$13(content)) return content;
56550
56606
  const normalized = normalizer.normalize(content);
56551
56607
  const owned = new Set(normalizer.fieldIds);
56552
56608
  return {
@@ -56585,4 +56641,4 @@ function listBlockDescriptors() {
56585
56641
  }));
56586
56642
  }
56587
56643
  //#endregion
56588
- export { resolveCardListSchedule as $, componentRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, validateManifestLookField as $o, singleButtonFragment as $r, parseLocalScheduleTime as $s, eventOnlinePlace as $t, membershipClassesLabel as A, headerRootIsTransparent as Aa, el as Ai, isOrdinaryPublicEvent as An, isDecorativeTransitionIntent as Ao, Grid as Ar, isRecord$6 as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, styleSectionBackgroundForColour as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, resolveSectionBackground as Bo, formatEventDepositNote as Br, sameMailingListPlacementTargeting as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, selectItemSurfacePresentation as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeForGround as Co, defineProgressiveBlockRuntime as Cr, linkSchema as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, readOpeningToneProjection as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryOptions as Do, lookListPresentationSchemaShape as Dr, loadedReadinessFact as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, effectiveHeaderNavLinkStyle as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryOptionForTransitionIntent as Eo, listLookSlot as Er, hiddenFromVisitors as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, automaticArrangementLook as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, anglePolygonCss as Fo, resolveDeclaredBlockDesignCapability as Fr, resolveWholeSeriesBookingPhase as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, resolvePublishedLook as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, appearancePresets as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, formatDateTimeRange as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, readStoredMode as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, defaultHeroImageSurfaceTreatment as Ho, formatEventPriceAmount as Hr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, compileArrangementLookRuntime as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, transitionCatalogueEntries as Io, classPricesCopySchema as Ir, buildMailingListSignupBlockSourceRef as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, buildInitialPolicyPageDesignIntent as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, DEFAULT_MEDIA_FIELD_KINDS as Jo, headingFragment as Jr, toScheduledBookingDateTime as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, applyBlockContentVariantPolicy as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, NodeSchema as Ko, getAnchorClasses as Kr, inferSiteDateLocale as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, getCompatibleBlockAppearancePresets as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, applyLookPhotoTreatment as Lo, classPricesDataSchema as Lr, parseMailingListRuntimeContext as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, arrangementAppearancePresets as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, softBoundaryOption as Mo, heroMorePhotoCount as Mr, CANCELLED_SESSION_STATUS as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, arrangementLookHooks as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, spaciousBoundaryOption as No, morePhotosField as Nr, nextLiveRunSessionStartMs as Ns, offeringsListingFor as Nt, shopProductPresentation as O, heroPhotoPaintsGround as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, boundaryRuntimeMetricsForDecorativeTransition as Oo, resolvedItemSurfaceProps as Or, pageTemplateFromEntry as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, arrangementStyleAvailability as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionIntentForTreatment as Po, blockDesignCapabilityMapFromDefinitions as Pr, orderedLiveRunSessions as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, componentRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, fieldSchema as Qo, blogFeaturedPostFragment as Qr, parseBookingLocalDate as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, resolveArrangementLookForBlock as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, deriveSectionGround as Ro, resolveClassPriceItems as Rr, parseMailingListProviderScope as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, resolveLookSurfacePresentation as Sa, defineFragment as Si, formatTime as Sn, pageDesignDecisionsV2Schema as So, defineClientOwnedBlockRuntime as Sr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, authoredHeaderLinkForeground as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, sectionShapeHook as To, listLookControl as Tr, admitReadinessFacts as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, resolveEffectiveArrangement as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, stripStaleTransitionStyleGroup as Uo, formatEventPriceDisplay as Ur, formatDate$2 as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, arrangementManifestFromVariants as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, sectionSurfaceBase as Vo, formatEventPrice as Vr, isCanonicalRichTextDoc as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, resolveModeArrangement as Wa, MinusIcon as Wi, getEventAvailability as Wn, themeV2CompilerOwnedFieldNames as Wo, formatEventStartingPrice as Wr, formatDateRange as Ws, buildEventListWeek as Wt, CardListContentPart as X, filterLayoutProfilesForPolicy as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, blockSectionDeclarationShape as Xo, faqAccordionFragment as Xr, getBookingLocalDateKey as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, deriveSiteStyleBlockPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, blockCategoryEnum as Yo, cardFragment as Yr, compareLocalScheduleDates as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, filterLookIdsForPolicy as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, builtInBlockKindsSchema as Zo, faqHeadingFragment as Zr, getLocalScheduleDate as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, parseThemeButtonVariantId as _a, TokenResolver as _c, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, generateInteractiveChildInheritanceCSS as _o, buildFormInteractiveIslandProps as _r, blockBookingPaymentTermsSchema as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessLoaderKey as aa, isPublicEventPricingOptionDisplayable as ac, heroCtaRowFragment as ai, closedDatesCopy as an, stripCompiledRuntimeStyleFields as ao, teamMemberCardBiography as ar, getLocalDateKey as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveHeaderRootForeground as ba, isSemanticSpacing as bi, formatEventTimeRange as bn, resolvePageDesignBlockLookChoice as bo, defineInteractiveIslandMetaKeys as br, beforeBookingQuestionsPresentationSchema as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventReadinessResultSchema as ca, publicEventPricingType as cc, heroCopyFragment as ci, buildCalendarViewport as cn, getGradientPreset as co, mediaTransforms as cr, formatDateKey as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventScopeQuery as da, formatCurrencyAmount as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateFooterCss as do, layoutTransforms as dr, getWeekCalendarDayTuple as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, toUtcIsoDateTimeString as ec, formEmbedFragment as ei, eventPlaceName as en, designRuntimeRulesForSiteStyle as eo, markEditableSurfaceForwarding as er, isAcceptedRepeaterGridSpan as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, eventScopeQueryKeys as fa, parseContentVersionId as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, buildTextContrastShadow as fo, staticHeaderChromeRuntime as fr, getWeekCalendarDays as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveEventCalendarReadPlan as ga, arrangementSlotNames as gc, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, resolveEffectPaint as go, formBlockDefinition as gr, publicEventsArraySchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, eventCalendarListGroupingDecision as ha, parseGradientPresetId as hc, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, resolveEffectApplications as ho, formatDate$1 as hr, projectRecurringSchedule as hs, EventQuickFacts as ht, systemBlockDefinitions as i, blockChecksForEvents as ia, formatBookingPriceDisplay as ic, ctaCopyFragment as ii, pageNavigationSchema as in, compilePageRuntimeFields as io, teamMemberBiography as ir, resolveRepeaterGridSpanFieldId as is, MediaPlaceholder as it, passCardListContent as j, headerRootPaint as ja, when as ji, planDropInPanel as jn, noneBoundaryOption as jo, clsx as jr, EVENT_PRESET_VALUES as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, headerNeedsPhotoShade as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, boundaryTreatmentForBoundaryOptionId as ko, itemRole as kr, unavailableReadinessFact as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, eventDiscoveryFilterKeys as la, resolveExactOrFreePriceDisplay as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, resolveCardRole as lo, headerRuntimeTransforms as lr, getDayOfWeek as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveCalendarReadProfile as ma, unsafeAsEventCategoryId$1 as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, generateEffectsCSS as mo, formattingTransforms as mr, isToday as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, isRecord$5 as na, toBookingTimeZone as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, getCuratedSiteStyle as no, contentTransforms as nr, resolveRepeaterGridColumnFieldId as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessQuery as oa, publicEventPricingCurrency as oc, ctaRowFragment as oi, closedRunCopy as on, surfaceResolutionContextFromTheme as oo, readRuntimeNow as or, getLocalMinuteOfDay as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, resolveEventScope as pa, unsafeAsContentEntryId as pc, parseBackgroundContent as pi, formatDate as pn, generateNavLinkCSS as po, uiTransforms as pr, isSameCalendarDay as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, applySiteStyleBlockPoliciesToPageDesignIntent as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, bindingSchema as qo, richTextFragment as qr, formatBookingCompactEnglishTime as qs, groupEventsByWeek as qt, normalizeBlockContent as r, chosenString as ra, offeringLabelForPageSurfaceSubject as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, requireCuratedSiteStyle as ro, parseTeamMemberSpecialties as rr, resolveRepeaterGridRowFieldId as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventReadinessQueryKeys as sa, publicEventPricingDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, gradientToCss as so, resolveDateRuntimeContext as sr, addDays as ss, resolveImageUrl as st, getBlockDefinition as t, isObjectRecord$1 as ta, resolveBookingBusinessTimeZone as tc, formCopyFragment as ti, eventVenuePlace as tn, designRuntimeRulesForTheme as to, splitPositioningClasses as tr, parseRepeaterGridInteger as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeLoaderParam as ua, resolvePricingOptionsPriceDisplay as uc, boxStyleClassNames as ui, eventDateOptions as un, generateDefaultCardSystem as uo, chromeLogoTransforms as ur, getOrderedDayNames as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, themeButtonSelector as va, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, parsePageDesignIntent as vo, buildInteractiveIslandProps as vr, blockBookingConsentSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, parseListLook as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, sectionShapeFromContent as wo, listItemPresentation as wr, calendarWindowQuerySchema as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, lookPresentationOnPalette as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, resolvePageDesignBoundaryChoice as xo, createZodCodec as xr, sanitizeHref as xs, bookingNowSchema as xt, cartBlockDefinition as y, AFFORDANCE_SUPPRESS_CLASS as ya, ctaButton as yi, formatEventRunDates as yn, rebasePageDesignIntentToSiteStyle as yo, createInteractiveIslandCodec as yr, bookingConsentCarrierSchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveLookForBlock as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, parseCanonicalRuntimeBackground as zo, formatCoursePrice as zr, parseMailingListPlacementTargeting as zs, ThemedButton as zt };
56644
+ export { resolveCardListSchedule as $, designRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, resolveRepeaterGridRowFieldId as $o, singleButtonFragment as $r, resolveBookingBusinessTimeZone as $s, eventOnlinePlace as $t, membershipClassesLabel as A, arrangementAppearancePresets as Aa, el as Ai, isOrdinaryPublicEvent as An, softBoundaryOption as Ao, Grid as Ar, resolveWholeSeriesBookingPhase as As, offeringRunLifecycle as At, eventListingBlockDefinition as B, readStoredMode as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, defaultHeroImageSurfaceTreatment as Bo, formatEventDepositNote as Br, formatDateRange as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, authoredHeaderLinkForeground as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeHook as Co, defineProgressiveBlockRuntime as Cr, pageTemplateFromEntry as Cs, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Ct, buildShopInteractiveIslandProps as D, headerNeedsPhotoShade as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryTreatmentForBoundaryOptionId as Do, lookListPresentationSchemaShape as Dr, CANCELLED_SESSION_STATUS as Ds, buildOfferingsPreviewListing as Dt, buildProductListInteractiveIslandProps as E, heroPhotoPaintsGround as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryRuntimeMetricsForDecorativeTransition as Eo, listLookSlot as Er, EVENT_PRESET_VALUES as Es, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Et, offeringsCatalogueShape as F, getCompatibleBlockAppearancePresets as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, applyLookPhotoTreatment as Fo, resolveDeclaredBlockDesignCapability as Fr, parseMailingListPlacementTargeting as Fs, resolveOfferingsRenderInput as Ft, eventCollectionDisplaySchemaShape as G, applySiteStyleBlockPoliciesToPageDesignIntent as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, blockCategoryEnum as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, addLocalScheduleDays as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, resolveModeArrangement as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, themeV2CompilerOwnedFieldNames as Ho, formatEventPriceAmount as Hr, inferSiteDateLocale as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, resolveArrangementLookForBlock as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, deriveSectionGround as Io, classPricesCopySchema as Ir, sameMailingListPlacementTargeting as Is, normalizeEventRegistrationPageSurfaceSubject as It, catalogueEventCardProps as J, filterLayoutProfilesForPolicy as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, fieldSchema as Jo, headingFragment as Jr, getBookingLocalDateKey as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, buildInitialPolicyPageDesignIntent as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, blockSectionDeclarationShape as Ko, getAnchorClasses as Kr, compareLocalScheduleDates as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, resolveLookForBlock as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, parseCanonicalRuntimeBackground as Lo, classPricesDataSchema as Lr, isCanonicalRichTextDoc as Ls, resolveEventRegistrationScopedEvents as Lt, offeringsPreviewBlockDefinition as M, arrangementStyleAvailability as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, transitionIntentForTreatment as Mo, heroMorePhotoCount as Mr, buildMailingListSignupBlockSourceRef as Ms, readOfferingsGrouping as Mt, publicRouteCandidatesSchema as N, automaticArrangementLook as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, anglePolygonCss as No, morePhotosField as Nr, parseMailingListRuntimeContext as Ns, resolveOfferingsPreviewGroupCta as Nt, shopProductPresentation as O, headerRootIsTransparent as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, isDecorativeTransitionIntent as Oo, resolvedItemSurfaceProps as Or, nextLiveRunSessionStartMs as Os, groupOfferingRunsByCourse as Ot, buildOfferingsCatalogueListing as P, compileArrangementLookRuntime as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionCatalogueEntries as Po, blockDesignCapabilityMapFromDefinitions as Pr, parseMailingListProviderScope as Ps, resolveOfferingsPreviewGroups as Pt, cardListPresentationSchemaShape as Q, designRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, resolveRepeaterGridColumnFieldId as Qo, blogFeaturedPostFragment as Qr, toUtcIsoDateTimeString as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, styleSectionBackgroundForColour as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, resolveSectionBackground as Ro, resolveClassPriceItems as Rr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, parseListLook as Sa, defineFragment as Si, formatTime as Sn, sectionShapeFromContent as So, defineClientOwnedBlockRuntime as Sr, loadedReadinessFact as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, readOpeningToneProjection as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, boundaryOptions as To, listLookControl as Tr, isRecord$5 as Ts, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Tt, buildEventCollectionHydration as U, resolvePublishedLook as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, appearancePresets as Uo, formatEventPriceDisplay as Ur, formatBookingCompactEnglishTime as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, resolveEffectiveArrangement as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, stripStaleTransitionStyleGroup as Vo, formatEventPrice as Vr, formatDateTimeRange as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, applyBlockContentVariantPolicy as Wa, MinusIcon as Wi, getEventAvailability as Wn, DEFAULT_MEDIA_FIELD_KINDS as Wo, formatEventStartingPrice as Wr, toScheduledBookingDateTime as Ws, buildEventListWeek as Wt, CardListContentPart as X, componentRuntimeRulesForSiteStyle as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, isAcceptedRepeaterGridSpan as Xo, faqAccordionFragment as Xr, parseBookingLocalDate as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, filterLookIdsForPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, validateManifestLookField as Yo, cardFragment as Yr, getLocalScheduleDate as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, componentRuntimeRulesForTheme as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, parseRepeaterGridInteger as Zo, faqHeadingFragment as Zr, parseLocalScheduleTime as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, AFFORDANCE_SUPPRESS_CLASS as _a, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, rebasePageDesignIntentToSiteStyle as _o, buildFormInteractiveIslandProps as _r, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessQueryKeys as aa, publicEventPricingDisplay as ac, heroCtaRowFragment as ai, closedDatesCopy as an, gradientToCss as ao, teamMemberCardBiography as ar, getDayOfWeek as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveLookSurfacePresentation as ba, isSemanticSpacing as bi, formatEventTimeRange as bn, pageDesignDecisionsV2Schema as bo, defineInteractiveIslandMetaKeys as br, admitReadinessFacts as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventScopeLoaderParam as ca, resolvePricingOptionsPriceDisplay as cc, heroCopyFragment as ci, buildCalendarViewport as cn, generateDefaultCardSystem as co, mediaTransforms as cr, getWeekCalendarDays as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, resolveEventScope as da, unsafeAsContentEntryId as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateNavLinkCSS as do, layoutTransforms as dr, projectRecurringSchedule as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, toBookingTimeZone as ec, formEmbedFragment as ei, eventPlaceName as en, getCuratedSiteStyle as eo, markEditableSurfaceForwarding as er, resolveRepeaterGridSpanFieldId as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, resolveCalendarReadProfile as fa, parseGradientPresetId as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, generateEffectsCSS as fo, staticHeaderChromeRuntime as fr, publicEventsArraySchema as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, themeButtonSelector as ga, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, parsePageDesignIntent as go, formBlockDefinition as gr, beforeBookingQuestionsPresentationSchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, parseThemeButtonVariantId as ha, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, generateInteractiveChildInheritanceCSS as ho, formatDate$1 as hr, bookingConsentCarrierSchema as hs, EventQuickFacts as ht, systemBlockDefinitions as i, eventReadinessQuery as ia, publicEventPricingCurrency as ic, ctaCopyFragment as ii, pageNavigationSchema as in, surfaceResolutionContextFromTheme as io, teamMemberBiography as ir, formatDateKey as is, MediaPlaceholder as it, passCardListContent as j, arrangementLookHooks as ja, when as ji, planDropInPanel as jn, spaciousBoundaryOption as jo, clsx as jr, resolveWholeSeriesPaymentDates as js, offeringsListingFor as jt, membershipCardListContent as k, headerRootPaint as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, noneBoundaryOption as ko, itemRole as kr, orderedLiveRunSessions as ks, normalizeOfferingsPreviewItemLimit as kt, parseLocationMapLoaderResult as l, eventScopeQuery as la, formatCurrencyAmount as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, generateFooterCss as lo, headerRuntimeTransforms as lr, isSameCalendarDay as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveEventCalendarReadPlan as ma, TokenResolver as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, resolveEffectPaint as mo, formattingTransforms as mr, blockBookingConsentSchema as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, blockChecksForEvents as na, formatBookingPriceDisplay as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, compilePageRuntimeFields as no, contentTransforms as nr, getLocalMinuteOfDay as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessResultSchema as oa, publicEventPricingType as oc, ctaRowFragment as oi, closedRunCopy as on, getGradientPreset as oo, readRuntimeNow as or, getOrderedDayNames as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, eventCalendarListGroupingDecision as pa, arrangementSlotNames as pc, parseBackgroundContent as pi, formatDate as pn, resolveEffectApplications as po, uiTransforms as pr, blockBookingPaymentTermsSchema as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, deriveSiteStyleBlockPolicy as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, builtInBlockKindsSchema as qo, richTextFragment as qr, formatLocalScheduleDate as qs, groupEventsByWeek as qt, normalizeBlockContent as r, eventReadinessLoaderKey as ra, isPublicEventPricingOptionDisplayable as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, stripCompiledRuntimeStyleFields as ro, parseTeamMemberSpecialties as rr, addDays as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventDiscoveryFilterKeys as sa, resolveExactOrFreePriceDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, resolveCardRole as so, resolveDateRuntimeContext as sr, getWeekCalendarDayTuple as ss, resolveImageUrl as st, getBlockDefinition as t, chosenString as ta, offeringLabelForPageSurfaceSubject as tc, formCopyFragment as ti, eventVenuePlace as tn, requireCuratedSiteStyle as to, splitPositioningClasses as tr, getLocalDateKey as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeQueryKeys as ua, parseContentVersionId as uc, boxStyleClassNames as ui, eventDateOptions as un, buildTextContrastShadow as uo, chromeLogoTransforms as ur, isToday as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, resolveHeaderRootForeground as va, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, resolvePageDesignBlockLookChoice as vo, buildInteractiveIslandProps as vr, linkSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, effectiveHeaderNavLinkStyle as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, boundaryOptionForTransitionIntent as wo, listItemPresentation as wr, unavailableReadinessFact as ws, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as wt, productListBlockDefinition as x, selectItemSurfacePresentation as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, sectionShapeForGround as xo, createZodCodec as xr, hiddenFromVisitors as xs, bookingNowSchema as xt, cartBlockDefinition as y, lookPresentationOnPalette as ya, ctaButton as yi, formatEventRunDates as yn, resolvePageDesignBoundaryChoice as yo, createInteractiveIslandCodec as yr, calendarWindowQuerySchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, arrangementManifestFromVariants as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, sectionSurfaceBase as zo, formatCoursePrice as zr, formatDate$2 as zs, ThemedButton as zt };