@riverbankcms/sdk 0.172.0 → 0.174.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 (215) hide show
  1. package/README.md +6 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
  3. package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
  4. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
  5. package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
  6. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
  7. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
  8. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
  12. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
  13. package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
  15. package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
  16. package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
  17. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
  18. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
  19. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +9 -9
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
  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 +13 -8
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
  55. package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
  56. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
  57. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
  60. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
  63. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
  64. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
  65. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
  66. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
  67. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
  68. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
  69. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
  70. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
  71. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
  73. package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
  74. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
  75. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
  76. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
  77. package/dist/client/bookability-CE637yDE.mjs +17 -0
  78. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
  79. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
  80. package/dist/client/bookings.mjs +6 -6
  81. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
  82. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
  83. package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
  84. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
  85. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
  86. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
  88. package/dist/client/client.mjs +206 -7
  89. package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
  90. package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
  91. package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
  92. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
  93. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
  94. package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
  95. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
  96. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
  97. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
  98. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
  99. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
  100. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
  101. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
  102. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
  103. package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
  104. package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
  105. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
  106. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
  110. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
  111. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
  112. package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
  113. package/dist/client/portal/client.mjs +346 -272
  114. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
  115. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
  116. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
  117. package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
  118. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
  119. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
  120. package/dist/client/rendering/client.mjs +26 -26
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +34 -61
  123. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
  126. package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
  127. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
  128. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
  129. package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
  130. package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
  131. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
  132. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
  133. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
  134. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  135. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
  136. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
  137. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
  138. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
  139. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
  140. package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
  141. package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
  142. package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
  143. package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
  144. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
  145. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
  146. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
  147. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
  149. package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
  150. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
  151. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
  154. package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
  155. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
  156. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
  157. package/dist/preview-next/container-responsive.css +117 -32
  158. package/dist/preview-next/keepAlive.mjs +1 -1
  159. package/dist/preview-next/middleware.mjs +1 -1
  160. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
  161. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
  162. package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
  163. package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
  164. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
  165. package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/customCss-BGB8gMVb.mjs +210 -0
  169. package/dist/server/data/resolveBlockData.mjs +1 -1
  170. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  171. package/dist/server/index.mjs +3 -3
  172. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
  173. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
  174. package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
  175. package/dist/server/manifest.mjs +2 -2
  176. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  177. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  178. package/dist/server/navigation.mjs +1 -1
  179. package/dist/server/next.mjs +9 -8
  180. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
  181. package/dist/server/page-converter.mjs +2 -2
  182. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
  183. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
  184. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
  185. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
  186. package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
  187. package/dist/server/portal.mjs +1 -1
  188. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
  189. package/dist/server/prebuild.mjs +1 -1
  190. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
  191. package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
  192. package/dist/server/rendering/components/pageShared.mjs +1 -1
  193. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  194. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
  195. package/dist/server/rendering/server.mjs +3 -3
  196. package/dist/server/rendering.mjs +8 -8
  197. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
  198. package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
  199. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  200. package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
  203. package/dist/server/theme-bridge.mjs +21 -15
  204. package/dist/server/theme.mjs +2 -2
  205. package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
  206. package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
  207. package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
  208. package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
  209. package/dist/styles/index.css +1038 -200
  210. package/package.json +1 -1
  211. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  212. package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
  213. package/dist/server/customCss-QymcmOZ-.mjs +0 -97
  214. package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
  215. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,18 +1,18 @@
1
- import { Dt as parseThemeColorToken, G as hexToRgb, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, dt as cssVarValue, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as mergeStyles, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, lt as backgroundColorStyle, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as rgbColorValue, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
2
- import { A as offeringDatesBySeries, B as CalendarIcon, D as EventListingFrameView, E as MonthLookView, F as EmptyState, G as selectQuickDateEvents, H as buildMonthDay, I as CardListCollection, J as resolveEventCardBooking, K as formatEventTeacherLine, L as CardListItems, M as derivePreviewRunSchedule, N as createEditorPresentationPageReader, O as OfferingCourseCards, P as createPresentationPageReader, Q as parseStoredVariant, R as EventItem, S as lookPartShown, T as EVENT_REGISTRATION_ANCHOR_ID, U as resolveMonthSelectedDay, V as MapPinIcon, W as formatEventQuickDate, X as resolveEventLinkProps, Y as resolveEventCta, Z as isBookableEvent, _ as publicAppointmentPricingSchema, a as joinSlotKey, b as resolvePageRouteTarget, c as buildLinkedContentEditTarget, f as defaultTransforms, g as publicAppointmentLocationSchema, h as formatAppointmentPrice, i as composePageJoins, j as deriveEventScheduleSummary, k as eventCardListContent, m as formatAppointmentLocation, n as createPageRenderPlanReader, nt as buildThemeTokens, o as renderedJoinLayout, p as formatAppointmentDuration, q as formatEventDuration, rt as defaultThemeTokens, s as retargetJoinsAcrossOmissions, u as resolveLinkedEntryInlineFieldEligibility, w as EventHeader, x as resolveRouteTarget, y as resolveEntryRouteTarget, z as eventCategoryBadge } from "./pageRenderPlan-BR4t1rOw.mjs";
3
- import { $ as RichText, $a as generateNavLinkCSS, $n as listLookControl, $t as formatEventNextDateFact, A as publicRouteCandidatesSchema, Ai as eventReadinessLoaderKey, An as parseTeamMemberSpecialties, Ar as formCopyFragment, At as resolveOfferingsPreviewGroups, B as buildEventCollectionHydration, Br as normalizeBoxStylesBorder, Bs as toUtcIsoDateTimeString, Bt as eventWeekGroupingContext, C as buildProductListInteractiveIslandProps, Ca as arrangementLookHooks, Ci as parseInlineTextFromUnknown, Cn as shouldReserveFeatureCardIconZone, Cr as headingFragment, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as membershipClassesLabel, Di as parseFieldDefinitions, Dn as markEditableSurfaceForwarding, Dr as blogFeaturedPostFragment, Ds as formatDate$1, Dt as offeringRunLifecycle, E as membershipCardListContent, En as composeHeaderSectionWrapperClassName, Er as faqHeadingFragment, Es as mapDrawingSchema, Et as normalizeOfferingsPreviewItemLimit, F as buildEventCalendarListingDisplay, Fo as introCompositionTreatmentValues, Fr as ctaRowFragment, Ft as ThemedDownloadLink, G as catalogueEventCardProps, Gi as addDays, Gn as buildFormInteractiveIslandProps, Gs as publicEventPricingDisplay, Gt as eventDateOptions, H as eventCollectionDisplaySchemaShape, Hs as formatBookingPriceDisplay, Io as offeringsPreviewCompositionTreatmentValues, Ir as isBlockButtonRole, It as getIconComponent, Ji as getOrderedDayNames, Jn as defineInteractiveIslandMetaKeys, Jr as ctaButton, Jt as formatDate, K as listingEventCardProps, Ki as formatDateKey, Kn as buildInteractiveIslandProps, Ks as publicEventPricingType, L as eventListingBlockDefinition, Lr as heroCopyFragment, Ls as parseLocalScheduleTime, Lt as SpinnerNode, M as offeringsCatalogueShape, Mn as teamMemberCardBiography, Mr as testimonialsHeadingFragment, Ms as toScheduledBookingDateTime, Mt as ThemedAuthoredButton, N as eventCalendarBlockDefinition, Na as resolveEffectiveArrangement, Ni as eventReadinessResultSchema, Nn as readRuntimeNow, Nr as ctaCopyFragment, Nt as ThemedButton, O as passCardListContent, Oi as PUBLIC_DOWNLOAD_MEDIA_TYPES, On as splitPositioningClasses, Or as singleButtonFragment, Ot as offeringsListingFor, P as buildEventCalendarInteractiveIslandProps, Pn as resolveDateRuntimeContext, Po as featureCardCompositionTreatmentValues, Pr as heroCtaRowFragment, Ps as getBookingLocalDateKey, Pt as ThemedButtonLink, Q as MediaNodeServer, Qa as buildTextContrastShadow, Qi as isToday, Qn as listItemPresentation, Qt as formatEventHourLabel, R as buildEventListingInteractiveIslandProps, Rs as resolveBookingBusinessTimeZone, Rt as buildEventListWeek, S as buildProductDetailInteractiveIslandProps, Si as isInlineTextEmpty, Sn as resolveFeatureCardGeneratedIconSizePx, Sr as richTextFragment, Ss as normalizeLocationAddressText, T as shopProductPresentation, Tr as faqAccordionFragment, Tt as groupOfferingRunsByCourse, U as eventCollectionHydrationSchema, Ua as requireCuratedSiteStyle, Ui as getLocalDateKey, Us as isPublicEventPricingOptionDisplayable, Ut as buildCalendarViewport, V as buildEventCollectionListingDisplay, Vr as resolveCardRoleForBoxStyles, W as eventCollectionSourceSchemaShape, Wi as getLocalMinuteOfDay, Wn as formBlockDefinition, Wo as bindingSchema, Ws as publicEventPricingCurrency, Xa as generateDefaultCardSystem, Xi as getWeekCalendarDays, Xn as defineClientOwnedBlockRuntime, Xr as bodyCopyFragment, Xt as formatEventCompactDateRail, Y as cardListPresentationSchemaShape, Ya as resolveCardRole, Yi as getWeekCalendarDayTuple, Yn as createZodCodec, Ys as formatCurrencyAmount, Yt as formatEventClockLabel, Za as generateFooterCss, Zi as isSameCalendarDay, Zn as defineProgressiveBlockRuntime, Zr as defineFragment, Zt as formatEventDateParts, _ as productDetailBlockDefinition, _a as selectItemSurfacePresentation, _i as FileSpreadsheetIcon, _n as pageNavigationSchema, _r as formatEventPriceDisplay, _t as previewStageSchema, a as normalizeLocationMapProps, aa as sanitizeHref, ai as el, an as resolveEventTimeZone, ao as headerNeedsPhotoShade, ar as Grid, as as loadedReadinessFact, b as buildCartInteractiveIslandProps, ba as readOpeningToneProjection, bi as PlusIcon, bn as groupPublicEventsByRun, bo as transitionCatalogueEntries, bs as decideLocationSourcePermission, c as newsletterSignupBlockDefinition, ci as parseBlockIconValue, cn as bookingPresentation, ct as getCurrentResolveImageUrlContext, d as buildNewsletterFormInteractiveIslandProps, da as isRecord$4, di as ChevronDownIcon, dn as formatEventRemainingPlaces, ds as firstLiveRunSessionStartMs, dt as getCardOrientation, ea as publicEventsArraySchema, eo as generateEffectsCSS, er as listLookSlot, et as ImagePresets, f as newsletterBlockSubmissionMessage, fa as parseThemeButtonVariantId, fi as CircleMinusIcon, fn as formatTotalCapacity, fo as boundaryRuntimeMetricsForDecorativeTransition, ft as getContainerClass, g as cartBlockDefinition, gi as FileAudioIcon, gn as blockSiteTermsSchema, gr as formatEventPriceAmount, gs as parseMailingListRuntimeContext, gt as bookingNowSchema, h as checkoutBlockDefinition, hi as FileArchiveIcon, hn as isEventFull, hr as formatEventPrice, hs as buildMailingListSignupBlockSourceRef, ht as resolveEventRegistrationEventSource, ia as beforeBookingQuestionsPresentationSchema, ii as runTransforms, in as groupEventsByDate, is as hiddenFromVisitors, j as buildOfferingsCatalogueListing, ja as arrangementManifestFromVariants, jn as teamMemberBiography, jr as testimonialsCarouselFragment, js as formatBookingCompactEnglishTime, jt as resolveOfferingsRenderInput, k as offeringsPreviewBlockDefinition, kr as formEmbedFragment, kt as resolveOfferingsPreviewGroupCta, li as resolveBlockIconRenderValue, ln as browserReadAuthoritySchema, lt as setContextResolveImageUrlContext, m as buildGiftingInteractiveIslandProps, ma as AFFORDANCE_SUPPRESS_CLASS, mi as ClockIcon, mn as getEventAvailabilityStatus, ms as resolveWholeSeriesBookingPhase, mt as buildEventRegistrationInteractiveIslandProps, na as blockBookingConsentSchema, nr as resolvedItemSurfaceProps, ns as chosenString, o as normalizeLocationMapSource, oi as when, on as resolveRuntimeEventDestination, oo as headerRootPaint, or as clsx, os as pageTemplateFromEntry, ot as resolvePublicMediaUrl, p as giftingBlockDefinition, pa as themeButtonSelector, pi as CirclePlusIcon, ps as orderedLiveRunSessions, pt as eventRegistrationBlockDefinition, q as CardListContentPart, qi as getDayOfWeek, qn as createInteractiveIslandCodec, qr as resolveBackgroundColorValue, qt as formatCalendarTitle, r as normalizeBlockContent, ra as bookingConsentCarrierSchema, rn as formatTime, rr as itemRole, rs as admitReadinessFacts, s as resolveLocationMapLocation, si as buildGeneratedBlockIconRenderAssetLookupFromUnknown, ss as unavailableReadinessFact, st as buildResolveImageUrlContext, t as getBlockDefinition, ta as blockBookingPaymentTermsSchema, tc as TokenResolver, tn as formatEventTimeRange, to as generateInteractiveChildInheritanceCSS, tr as lookListPresentationSchemaShape, tt as MediaPlaceholder, u as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ua as isObjectRecord, ui as ArrowDownIcon, us as CANCELLED_SESSION_STATUS, ut as EventQuickFacts, v as productListBlockDefinition, vi as FileTextIcon, vn as closedRunCopy, vs as parseMailingListPlacementTargeting, vt as normalizeEventRegistrationPageSurfaceSubject, w as buildShopInteractiveIslandProps, wr as cardFragment, wt as buildOfferingsPreviewListing, x as buildCheckoutInteractiveIslandProps, xi as inlineTextToPlainText, xn as FEATURE_CARD_ICON_TREATMENTS, y as shopBlockDefinition, ya as effectiveHeaderNavLinkStyle, yi as MinusIcon, yn as bookingPageKindSchema, yo as anglePolygonCss, ys as sameMailingListPlacementTargeting, yt as resolveEventRegistrationScopedEvents, z as buildEventCollectionDisplay, zn as staticHeaderChromeRuntime, zo as testimonialsCompositionTreatmentValues, zr as boxStyleClassNames, zs as toBookingTimeZone, zt as eventListWeekDays } from "./registry-wYH0LH5f.mjs";
4
- import { B as certifyPaint, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, H as inkReference, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, V as contrastThresholdByPolicy, W as resolveConcreteColorHex, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius, z as HOVER_TEXT_THRESHOLD } from "./accessibleSurfaces-Dbd2__Le.mjs";
5
- import { h as surfaceCardRoleValues, s as boxBackgroundSchema, x as siteChromeBackgroundOverrideOwner } from "./schema-BFOqYIMQ.mjs";
6
- import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
1
+ import { Dt as parseThemeColorToken, Et as parseColorTokenParts, G as hexToRgb, R as contrastRatio, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as cssVarValue, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, mt as rgbColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as mergeStyles, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
+ import { $ as resolveEventCta, A as offeringDatesBySeries, B as CalendarIcon, D as EventListingFrameView, E as MonthLookView, F as EmptyState, G as formatCourseSessions, H as eventDisplayTitle, I as CardListCollection, J as formatEventQuickDate, K as buildMonthDay, L as CardListItems, M as derivePreviewRunSchedule, N as createEditorPresentationPageReader, O as OfferingCourseCards, P as createPresentationPageReader, Q as resolveEventCardBooking, R as EventItem, S as lookPartShown, T as EVENT_REGISTRATION_ANCHOR_ID, U as eventDisplayTitleText, V as MapPinIcon, W as formatCourseDatesAfter, X as formatEventTeacherLine, Y as selectQuickDateEvents, Z as formatEventDuration, _ as publicAppointmentPricingSchema, a as joinSlotKey, b as resolvePageRouteTarget, c as buildLinkedContentEditTarget, et as resolveEventLinkProps, f as defaultTransforms, g as publicAppointmentLocationSchema, h as formatAppointmentPrice, i as composePageJoins, j as deriveEventScheduleSummary, k as eventCardListContent, m as formatAppointmentLocation, n as createPageRenderPlanReader, nt as parseStoredVariant, o as renderedJoinLayout, ot as buildThemeTokens, p as formatAppointmentDuration, q as resolveMonthSelectedDay, s as retargetJoinsAcrossOmissions, st as defaultThemeTokens, tt as isBookableEvent, u as resolveLinkedEntryInlineFieldEligibility, w as EventHeader, x as resolveRouteTarget, y as resolveEntryRouteTarget, z as eventCategoryBadge } from "./pageRenderPlan-CkFTsxkd.mjs";
3
+ import { $ as RichText, $i as isSameCalendarDay, $n as listItemPresentation, $r as defineFragment, $t as formatEventHourLabel, A as publicRouteCandidatesSchema, Aa as arrangementLookHooks, Ai as PUBLIC_DOWNLOAD_MEDIA_TYPES, Ar as singleButtonFragment, As as resolveBookingBusinessTimeZone, At as resolveOfferingsPreviewGroupCta, B as buildEventCollectionHydration, Ba as resolveEffectiveArrangement, Bn as staticHeaderChromeRuntime, Bt as eventListWeekDays, C as buildProductListInteractiveIslandProps, Ca as effectiveHeaderNavLinkStyle, Ci as inlineTextToPlainText, Cn as resolveFeatureCardGeneratedIconSizePx, Cs as formatBookingCompactEnglishTime, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as membershipClassesLabel, Da as headerRootIsTransparent, Dn as composeHeaderSectionWrapperClassName, Dr as faqAccordionFragment, Dt as offeringRunLifecycle, E as membershipCardListContent, Ea as headerNeedsPhotoShade, Er as cardFragment, Es as getBookingLocalDateKey, Et as normalizeOfferingsPreviewItemLimit, F as buildEventCalendarListingDisplay, Fi as eventReadinessResultSchema, Fn as resolveDateRuntimeContext, Fo as bindingSchema, Fr as ctaCopyFragment, Fs as isPublicEventPricingOptionDisplayable, Ft as ThemedButtonLink, G as catalogueEventCardProps, Gi as getLocalDateKey, Gn as formBlockDefinition, H as eventCollectionDisplaySchemaShape, Hr as normalizeBoxStylesBorder, Ir as heroCtaRowFragment, Is as publicEventPricingCurrency, It as ThemedDownloadLink, Ji as formatDateKey, Jn as createInteractiveIslandCodec, Jo as admitReadinessFacts, Jt as formatCalendarTitle, K as listingEventCardProps, Ki as getLocalMinuteOfDay, Kn as buildFormInteractiveIslandProps, Kt as eventDateOptions, L as eventListingBlockDefinition, Lr as ctaRowFragment, Ls as publicEventPricingDisplay, Lt as getIconComponent, M as offeringsCatalogueShape, Mi as eventReadinessLoaderKey, Mn as teamMemberBiography, Mr as formCopyFragment, Ms as toUtcIsoDateTimeString, Mt as resolveOfferingsRenderInput, N as eventCalendarBlockDefinition, Nn as teamMemberCardBiography, Nr as testimonialsCarouselFragment, Nt as ThemedAuthoredButton, O as passCardListContent, Oa as headerRootPaint, On as markEditableSurfaceForwarding, Or as faqHeadingFragment, Ot as offeringsListingFor, P as buildEventCalendarInteractiveIslandProps, Pn as readRuntimeNow, Pr as testimonialsHeadingFragment, Ps as formatBookingPriceDisplay, Pt as ThemedButton, Q as MediaNodeServer, Qi as getWeekCalendarDays, Qn as defineProgressiveBlockRuntime, Qo as unavailableReadinessFact, Qr as bodyCopyFragment, Qt as formatEventDateParts, R as buildEventListingInteractiveIslandProps, Ra as arrangementManifestFromVariants, Rr as isBlockButtonRole, Rs as publicEventPricingType, Rt as SpinnerNode, S as buildProductDetailInteractiveIslandProps, Sa as authoredHeaderLinkForeground, Si as PlusIcon, Sn as FEATURE_CARD_ICON_TREATMENTS, T as shopProductPresentation, Ti as parseInlineTextFromUnknown, To as transitionCatalogueEntries, Tr as headingFragment, Tt as groupOfferingRunsByCourse, U as eventCollectionHydrationSchema, Ur as resolveCardRoleForBoxStyles, V as buildEventCollectionListingDisplay, Vr as boxStyleClassNames, Vs as formatCurrencyAmount, Vt as eventWeekGroupingContext, W as eventCollectionSourceSchemaShape, Wt as buildCalendarViewport, Xa as requireCuratedSiteStyle, Xi as getOrderedDayNames, Xn as createZodCodec, Xo as loadedReadinessFact, Xr as ctaButton, Xt as formatEventClockLabel, Y as cardListPresentationSchemaShape, Yi as getDayOfWeek, Yn as defineInteractiveIslandMetaKeys, Yo as hiddenFromVisitors, Yr as resolveBackgroundColorValue, Yt as formatDate, Zi as getWeekCalendarDayTuple, Zn as defineClientOwnedBlockRuntime, Zo as pageTemplateFromEntry, Zt as formatEventCompactDateRail, _ as productDetailBlockDefinition, _a as resolveHeaderRootForeground, _i as FileArchiveIcon, _n as formatTotalCapacity, _o as boundaryRuntimeMetricsForDecorativeTransition, _r as formatEventPrice, _t as previewStageSchema, a as normalizeLocationMapProps, aa as bookingConsentCarrierSchema, an as groupEventsByDate, ao as buildTextContrastShadow, as as resolveWholeSeriesBookingPhase, b as buildCartInteractiveIslandProps, ba as selectItemSurfacePresentation, bi as FileTextIcon, bn as isEventFull, c as newsletterSignupBlockDefinition, ci as when, co as generateInteractiveChildInheritanceCSS, ct as getCurrentResolveImageUrlContext, d as buildNewsletterFormInteractiveIslandProps, di as resolveBlockIconRenderValue, dn as blockSiteTermsSchema, dt as getCardOrientation, ea as isToday, en as formatEventNextDateFact, er as listLookControl, et as ImagePresets, f as newsletterBlockSubmissionMessage, fa as isObjectRecord, fi as ArrowDownIcon, fn as pageNavigationSchema, fs as decideLocationSourcePermission, ft as getContainerClass, g as cartBlockDefinition, ga as AFFORDANCE_SUPPRESS_CLASS, gi as ClockIcon, gn as formatEventRemainingPlaces, gr as formatCoursePrice, gt as bookingNowSchema, h as checkoutBlockDefinition, ha as themeButtonSelector, hi as CirclePlusIcon, ht as resolveEventRegistrationEventSource, ia as blockBookingConsentSchema, in as formatTime, io as generateFooterCss, ir as itemRole, is as orderedLiveRunSessions, j as buildOfferingsCatalogueListing, jn as parseTeamMemberSpecialties, jr as formEmbedFragment, js as toBookingTimeZone, jt as resolveOfferingsPreviewGroups, k as offeringsPreviewBlockDefinition, ki as parseFieldDefinitions, kn as splitPositioningClasses, kr as blogFeaturedPostFragment, ks as parseLocalScheduleTime, kt as readOfferingsGrouping, li as buildGeneratedBlockIconRenderAssetLookupFromUnknown, ln as bookingPresentation, ls as parseMailingListPlacementTargeting, lt as setContextResolveImageUrlContext, m as buildGiftingInteractiveIslandProps, ma as parseThemeButtonVariantId, mi as CircleMinusIcon, mn as bookingPageKindSchema, ms as normalizeLocationAddressText, mt as buildEventRegistrationInteractiveIslandProps, na as publicEventsArraySchema, nn as formatEventTimeRange, no as resolveCardRole, nr as lookListPresentationSchemaShape, ns as firstLiveRunSessionStartMs, o as normalizeLocationMapSource, oa as beforeBookingQuestionsPresentationSchema, oi as runTransforms, on as resolveEventTimeZone, oo as generateNavLinkCSS, or as Grid, os as buildMailingListSignupBlockSourceRef, ot as resolvePublicMediaUrl, p as giftingBlockDefinition, pa as isRecord$4, pi as ChevronDownIcon, pn as closedRunCopy, pt as eventRegistrationBlockDefinition, q as CardListContentPart, qi as addDays, qn as buildInteractiveIslandProps, qo as chosenString, qs as TokenResolver, r as normalizeBlockContent, ra as blockBookingPaymentTermsSchema, ro as generateDefaultCardSystem, rr as resolvedItemSurfaceProps, s as resolveLocationMapLocation, sa as sanitizeHref, si as el, sn as resolveRuntimeEventDestination, so as generateEffectsCSS, sr as clsx, ss as parseMailingListRuntimeContext, st as buildResolveImageUrlContext, t as getBlockDefinition, tr as listLookSlot, ts as CANCELLED_SESSION_STATUS, tt as MediaPlaceholder, u as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ui as parseBlockIconValue, un as browserReadAuthoritySchema, us as sameMailingListPlacementTargeting, ut as EventQuickFacts, v as productListBlockDefinition, vi as FileAudioIcon, vr as formatEventPriceAmount, vs as mapDrawingSchema, vt as normalizeEventRegistrationPageSurfaceSubject, w as buildShopInteractiveIslandProps, wa as readOpeningToneProjection, wi as isInlineTextEmpty, wn as shouldReserveFeatureCardIconZone, wo as anglePolygonCss, wr as richTextFragment, ws as toScheduledBookingDateTime, wt as buildOfferingsPreviewListing, x as buildCheckoutInteractiveIslandProps, xi as MinusIcon, xn as groupPublicEventsByRun, y as shopBlockDefinition, yi as FileSpreadsheetIcon, yn as getEventAvailabilityStatus, ys as formatDate$1, yt as resolveEventRegistrationScopedEvents, z as buildEventCollectionDisplay, zr as heroCopyFragment, zt as buildEventListWeek } from "./registry-34rkAfaU.mjs";
4
+ import { B as HOVER_TEXT_THRESHOLD, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, U as inkReference, V as certifyPaint, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius } from "./accessibleSurfaces-CM3QANtw.mjs";
5
+ import { h as surfaceCardRoleValues, s as boxBackgroundSchema, x as siteChromeBackgroundOverrideOwner } from "./schema-CUDHMirj.mjs";
6
+ import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
7
7
  import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
8
- import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-BKo6XVK-.mjs";
8
+ import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-CpAtzNxD.mjs";
9
9
  import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
10
- import { n as opaqueSurfaceDeclarations, t as opaqueSurfaceContextFromTheme } from "./opaqueSurface-COEKXVwk.mjs";
11
- import { A as cardDecorationPseudoRules, C as generateOpaquePanelCss, D as generateShadowCssVars, E as resolvedButtonFocusDeclarations, O as renderCssDeclarations, S as generateCheckableCss, T as resolvedButtonColourDeclarations, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, k as cardBorderDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as RESOLVED_BUTTON_DISABLED_DECLARATIONS, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-D1NTXZdX.mjs";
12
- import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-Bp6OnR3n.mjs";
13
- import { t as parseThemeForPersistence } from "./parseThemeForPersistence-B18KDEue.mjs";
10
+ import { D as testimonialsCompositionTreatmentValues, N as opaqueSurfaceContextFromTheme, P as opaqueSurfaceDeclarations, S as offeringsPreviewCompositionTreatmentValues, b as introCompositionTreatmentValues, v as featureCardCompositionTreatmentValues } from "./lookMediaFrame-CQtkvlDn.mjs";
11
+ import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-DFvjDVzi.mjs";
12
+ import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-CQg2lzZn.mjs";
13
+ import { t as parseThemeForPersistence } from "./parseThemeForPersistence-Cwqb5pZx.mjs";
14
14
  import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
15
- import { t as getAtPath } from "./src-Cxucn-1P.mjs";
15
+ import { t as getAtPath } from "./src-DHK4JUlp.mjs";
16
16
  import * as React$1 from "react";
17
17
  import React, { forwardRef } from "react";
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -116,6 +116,15 @@ const openingHoursWeekdayLabels = {
116
116
  saturday: "Saturday",
117
117
  sunday: "Sunday"
118
118
  };
119
+ const shortWeekdayLabels = {
120
+ monday: "Mon",
121
+ tuesday: "Tue",
122
+ wednesday: "Wed",
123
+ thursday: "Thu",
124
+ friday: "Fri",
125
+ saturday: "Sat",
126
+ sunday: "Sun"
127
+ };
119
128
  function formatOpeningHoursTime(value) {
120
129
  const time = parseLocalScheduleTime(value);
121
130
  return formatBookingCompactEnglishTime(toScheduledBookingDateTime({
@@ -127,14 +136,15 @@ function formatOpeningHoursTime(value) {
127
136
  function formatDayHours(day) {
128
137
  return day.kind === "closed" ? "Closed" : day.intervals.map((interval) => `${formatOpeningHoursTime(interval.opensAt)} to ${formatOpeningHoursTime(interval.closesAt)}`).join(", ");
129
138
  }
130
- function weekdayRangeLabel(weekdays) {
139
+ function weekdayRangeLabel(weekdays, style) {
131
140
  const first = weekdays[0];
132
141
  const last = weekdays[weekdays.length - 1];
133
142
  if (!first || !last) return "";
134
- return first === last ? openingHoursWeekdayLabels[first] : `${openingHoursWeekdayLabels[first]} to ${openingHoursWeekdayLabels[last]}`;
143
+ const labels = style === "short" ? shortWeekdayLabels : openingHoursWeekdayLabels;
144
+ return first === last ? labels[first] : `${labels[first]}${style === "short" ? "–" : " to "}${labels[last]}`;
135
145
  }
136
146
  /** Monday-first table rows; only adjacent days with identical ranges are grouped. */
137
- function formatOpeningHoursRows(hours) {
147
+ function formatOpeningHoursRows(hours, options = {}) {
138
148
  return (hours?.days ?? []).reduce((rows, day) => {
139
149
  const text = formatDayHours(day);
140
150
  const previous = rows[rows.length - 1];
@@ -142,7 +152,7 @@ function formatOpeningHoursRows(hours) {
142
152
  const row = {
143
153
  kind: day.kind,
144
154
  weekdays,
145
- label: weekdayRangeLabel(weekdays),
155
+ label: weekdayRangeLabel(weekdays, options.labels ?? "full"),
146
156
  hours: text
147
157
  };
148
158
  return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
@@ -1655,10 +1665,12 @@ function generateInputCss({ themeId, theme, inputSystem }) {
1655
1665
  baseInputRules.push(`color: ${rgbColorValue(inputSystem.base.textColorToken)}`);
1656
1666
  const borderPx = parseBorderWidth(inputSystem.base.border.widthClass);
1657
1667
  const borderStyle = inputSystem.base.border.style ?? "all";
1668
+ baseInputRules.push(`${INPUT_EDGE_COLOR_VAR}: ${inputEdgeColorValue(inputSystem.base.border.colorToken)}`);
1669
+ baseInputRules.push(`${INPUT_ERROR_BORDER_COLOR_VAR}: ${rgbColorValue(inputSystem.error.borderColorToken)}`);
1658
1670
  if (borderStyle === "underline") {
1659
1671
  baseInputRules.push("border: none");
1660
- baseInputRules.push(`border-bottom: ${borderPx} solid ${rgbColorValue(inputSystem.base.border.colorToken)}`);
1661
- } else baseInputRules.push(`border: ${borderPx} solid ${rgbColorValue(inputSystem.base.border.colorToken)}`);
1672
+ baseInputRules.push(`border-bottom: ${borderPx} solid var(${INPUT_EDGE_COLOR_VAR})`);
1673
+ } else baseInputRules.push(`border: ${borderPx} solid var(${INPUT_EDGE_COLOR_VAR})`);
1662
1674
  if (borderStyle === "underline") baseInputRules.push("border-radius: 0");
1663
1675
  else {
1664
1676
  const borderRadius = CORNER_MAP[inputSystem.base.corners ?? theme.corners];
@@ -1721,7 +1733,7 @@ function generateInputCss({ themeId, theme, inputSystem }) {
1721
1733
  `${rootSelector} ${INPUT_GROUP_ERROR_SELECTOR}`
1722
1734
  ];
1723
1735
  const errorRules = [];
1724
- errorRules.push(`border-color: ${rgbColorValue(inputSystem.error.borderColorToken)}`);
1736
+ errorRules.push(`border-color: var(${INPUT_ERROR_BORDER_COLOR_VAR})`);
1725
1737
  errorRules.push(`color: ${rgbColorValue(inputSystem.error.textColorToken)}`);
1726
1738
  const disabledSelectors = [
1727
1739
  `${inputSelector}:disabled`,
@@ -1736,7 +1748,7 @@ function generateInputCss({ themeId, theme, inputSystem }) {
1736
1748
  const checkableCss = generateCheckableCss({
1737
1749
  root: rootSelector,
1738
1750
  borderWidth: borderPx,
1739
- borderColor: rgbColorValue(inputSystem.base.border.colorToken),
1751
+ borderColor: inputEdgeColorValue(inputSystem.base.border.colorToken),
1740
1752
  background: inputBackgroundValue(inputSystem.base.background),
1741
1753
  corners: inputSystem.base.corners ?? theme.corners,
1742
1754
  accentToken: inputSystem.focus.borderColorToken ?? inputSystem.focus.ringColorToken,
@@ -2142,6 +2154,239 @@ function buildHeaderSurfaceRules(header, tokens) {
2142
2154
  };
2143
2155
  }
2144
2156
  //#endregion
2157
+ //#region ../theme-core/src/navigation/effectContrast.ts
2158
+ /** Only a known solid ground and known ink can justify a runtime correction. */
2159
+ function decideNavEffectContrast(paint, ink, request) {
2160
+ if (paint === null || ink === null) return { kind: "unchanged" };
2161
+ return request.effect === "gradient-text" ? decideGradient(paint, ink, request) : decideOpacity(paint, ink, request.option);
2162
+ }
2163
+ function decideGradient(paint, ink, request) {
2164
+ if (request.option.length === 0 || request.option.some((stop) => stop === null)) return { kind: "unchanged" };
2165
+ const threshold = request.state === "hover" ? HOVER_TEXT_THRESHOLD : contrastThresholdByPolicy["body-aa"];
2166
+ if (request.option.every((stop) => stop !== null && contrastRatio(stop, paint) >= threshold)) return { kind: "gradient" };
2167
+ return { kind: inkContrast(ink, 1, paint) >= threshold ? "plain" : "unchanged" };
2168
+ }
2169
+ function decideOpacity(paint, ink, authored) {
2170
+ const passes = (opacity) => inkContrast(ink, opacity, paint) >= HOVER_TEXT_THRESHOLD;
2171
+ if (!passes(1)) return { kind: "unchanged" };
2172
+ return {
2173
+ kind: "opacity",
2174
+ opacity: passes(authored) ? authored : opacityFloor(passes, 0, 1, 24)
2175
+ };
2176
+ }
2177
+ function inkContrast(ink, opacity, paint) {
2178
+ return contrastRatio(compositeHex(ink.hex, ink.opacity * opacity, paint), paint);
2179
+ }
2180
+ /** Keep the passing end of the search so rounding never lowers the floor. */
2181
+ function opacityFloor(passes, low, high, steps) {
2182
+ if (steps === 0) return high;
2183
+ const midpoint = (low + high) / 2;
2184
+ return passes(midpoint) ? opacityFloor(passes, low, midpoint, steps - 1) : opacityFloor(passes, midpoint, high, steps - 1);
2185
+ }
2186
+ //#endregion
2187
+ //#region ../theme-core/src/navigation/renderedNavEffects.ts
2188
+ const NAV_RENDERED_STATES = [
2189
+ "rest",
2190
+ "hover",
2191
+ "current",
2192
+ "current-hover"
2193
+ ];
2194
+ function isNavHover(state) {
2195
+ return state === "hover" || state === "current-hover";
2196
+ }
2197
+ function isCurrent(state) {
2198
+ return state === "current" || state === "current-hover";
2199
+ }
2200
+ /** Mirrors the historical emitters: every group writes a base gradient and hover opacity;
2201
+ * active groups additionally write the more specific current-page selector. */
2202
+ function resolveRenderedNavEffects(effects, state) {
2203
+ const applications = [
2204
+ "base",
2205
+ "hover",
2206
+ "active",
2207
+ "focus"
2208
+ ].flatMap((group) => (effects?.[group] ?? []).map((effect) => ({
2209
+ effect,
2210
+ group
2211
+ })));
2212
+ const opacity = winner(applications.filter(({ effect }) => effect.effectId === "fade-background" || effect.effectId === "opacity-reduce").flatMap((app) => opacityCandidates(app, state)));
2213
+ return {
2214
+ text: winner(applications.filter(({ effect }) => effect.effectId === "gradient-text").flatMap((app) => textCandidates(app, state))),
2215
+ opacity: opacity ? authoredOpacity(opacity) : null
2216
+ };
2217
+ }
2218
+ function authoredOpacity(effect) {
2219
+ const options = effect.options ?? {};
2220
+ const opacity = effect.effectId === "fade-background" ? Number(options.opacity || 80) / 100 : 1 - Number(options.reduction || 15) / 100;
2221
+ return Number.isFinite(opacity) && opacity >= 0 && opacity <= 1 ? opacity : null;
2222
+ }
2223
+ function textCandidates(app, state) {
2224
+ const gradient = {
2225
+ effect: app.effect,
2226
+ fill: "gradient"
2227
+ };
2228
+ const solid = {
2229
+ effect: app.effect,
2230
+ fill: "solid"
2231
+ };
2232
+ const solidOnHover = app.effect.options?.solidOnHover === true || app.effect.options?.solidOnHover === "true";
2233
+ const hover = isNavHover(state) && solidOnHover ? [{
2234
+ value: solid,
2235
+ specificity: 2
2236
+ }] : [];
2237
+ const currentHover = isNavHover(state) && solidOnHover ? [{
2238
+ value: solid,
2239
+ specificity: 3
2240
+ }] : [];
2241
+ const current = isCurrent(state) && app.group === "active" ? [{
2242
+ value: gradient,
2243
+ specificity: 2
2244
+ }, ...currentHover] : [];
2245
+ return [
2246
+ {
2247
+ value: gradient,
2248
+ specificity: 1
2249
+ },
2250
+ ...hover,
2251
+ ...current
2252
+ ];
2253
+ }
2254
+ function opacityCandidates(app, state) {
2255
+ if (!isNavHover(state)) return [];
2256
+ const current = isCurrent(state) && app.group === "active" ? [{
2257
+ value: app.effect,
2258
+ specificity: 3
2259
+ }] : [];
2260
+ return [{
2261
+ value: app.effect,
2262
+ specificity: 2
2263
+ }, ...current];
2264
+ }
2265
+ /** Later declarations win equal specificity, just as they do in the emitted CSS. */
2266
+ function winner(candidates) {
2267
+ return candidates.reduce((chosen, candidate) => chosen === null || candidate.specificity >= chosen.specificity ? candidate : chosen, null)?.value ?? null;
2268
+ }
2269
+ //#endregion
2270
+ //#region ../theme-core/src/header/navEffectPaint.ts
2271
+ const TEXT_ONLY_EFFECTS = /* @__PURE__ */ new Set([
2272
+ "gradient-text",
2273
+ "fade-background",
2274
+ "opacity-reduce",
2275
+ "text-color-change",
2276
+ "nav-underline",
2277
+ "border-bottom-grow",
2278
+ "border-color-change",
2279
+ "scale-up",
2280
+ "scale-down",
2281
+ "lift",
2282
+ "press-down",
2283
+ "pop"
2284
+ ]);
2285
+ /** No backdrop sampling or compositing: only an explicitly opaque, image-free paint. */
2286
+ function resolveCorrectableNavPaint(header, style, palette) {
2287
+ if (header.background.type !== "color" || header.scrollTreatment) return null;
2288
+ if (Object.values(style.effects ?? {}).flatMap((group) => group ?? []).some((effect) => !TEXT_ONLY_EFFECTS.has(effect.effectId))) return null;
2289
+ const reference = solidPaintReference(header);
2290
+ return reference ? resolveConcreteColorHex(reference, palette) : null;
2291
+ }
2292
+ function solidPaintReference(header) {
2293
+ const nav = header.navContainer;
2294
+ if (nav?.type === "glass") return null;
2295
+ if (nav?.type === "pill") return nav.tint ? opaqueTint(nav.tint, nav.opacity) : "surface";
2296
+ if (header.variant !== "floating") return header.background.color || "surface";
2297
+ const frame = header.container;
2298
+ return frame ? opaqueTint(frame.tint ?? "raw:#ffffff", frame.opacity) : null;
2299
+ }
2300
+ function opaqueTint(tint, opacity) {
2301
+ return typeof opacity === "number" && opacity >= 1 ? tint : null;
2302
+ }
2303
+ //#endregion
2304
+ //#region ../theme-core/src/header/navEffectContrast.ts
2305
+ /** The only effects changed are the winners in four disjoint rendered states. */
2306
+ function generateHeaderNavEffectContrastCss(header, style, theme, themeId) {
2307
+ const palette = expandPalette(theme.palette);
2308
+ const paint = resolveCorrectableNavPaint(header, style, palette);
2309
+ if (paint === null) return "";
2310
+ const foreground = resolveHeaderRootForeground(header, palette, headerRootIsTransparent(header));
2311
+ const context = {
2312
+ paint,
2313
+ palette,
2314
+ links: foreground.kind === "known" ? foreground.roles : authoredHeaderLinkForeground(header, palette)
2315
+ };
2316
+ const selector = `:where([data-theme-scope="${themeId}"]) .header-root .header-nav-row .header-nav-link`;
2317
+ return NAV_RENDERED_STATES.map((state) => stateCorrection(style, state, context, selector)).join("");
2318
+ }
2319
+ function stateCorrection(style, state, context, selector) {
2320
+ const winners = resolveRenderedNavEffects(style.effects, state);
2321
+ const plainInk = resolveInk(state === "rest" ? context.links.link : context.links.linkHover, context.palette);
2322
+ const text = planText(winners.text, plainInk, state, context);
2323
+ const rules = [...text.rules, ...opacityRules(winners.opacity, text.inks, context.paint)];
2324
+ return rules.length ? `\n${stateSelector(selector, state)} {\n ${rules.join("\n ")}\n}\n` : "";
2325
+ }
2326
+ function planText(text, plainInk, state, context) {
2327
+ if (!text) return {
2328
+ rules: [],
2329
+ inks: [plainInk]
2330
+ };
2331
+ const stops = renderedTextStops(text, context.palette);
2332
+ if (decideNavEffectContrast(context.paint, plainInk, {
2333
+ effect: "gradient-text",
2334
+ option: stops,
2335
+ state: isNavHover(state) ? "hover" : "rest"
2336
+ }).kind === "plain") return {
2337
+ rules: [
2338
+ "background-image: none;",
2339
+ "-webkit-background-clip: border-box;",
2340
+ "background-clip: border-box;",
2341
+ "-webkit-text-fill-color: currentColor;"
2342
+ ],
2343
+ inks: [plainInk]
2344
+ };
2345
+ return {
2346
+ rules: [],
2347
+ inks: stops.map((hex) => hex ? {
2348
+ hex,
2349
+ opacity: 1
2350
+ } : null)
2351
+ };
2352
+ }
2353
+ function renderedTextStops(text, palette) {
2354
+ if (text.fill === "solid") return [resolveConcreteColorHex("neutral-50", palette)];
2355
+ const colors = text.effect.options?.gradientColors;
2356
+ return (typeof colors === "string" && colors ? colors.split(",").map((token) => token.trim()) : [
2357
+ "primary-400",
2358
+ "secondary-400",
2359
+ "accent-400"
2360
+ ]).map((token) => resolveConcreteColorHex(token, palette));
2361
+ }
2362
+ function opacityRules(authored, inks, paint) {
2363
+ if (authored === null || inks.length === 0 || inks.some((ink) => ink === null)) return [];
2364
+ const decisions = inks.map((ink) => decideNavEffectContrast(paint, ink, {
2365
+ effect: "fade-background",
2366
+ option: authored
2367
+ }));
2368
+ if (decisions.some((decision) => decision.kind !== "opacity")) return [];
2369
+ const effective = Math.max(...decisions.map((decision) => decision.kind === "opacity" ? decision.opacity : authored));
2370
+ return effective === authored ? [] : [`opacity: ${effective};`];
2371
+ }
2372
+ function stateSelector(selector, state) {
2373
+ switch (state) {
2374
+ case "rest": return `${selector}:not([data-active="true"]):not(:hover):not(:active)`;
2375
+ case "hover": return `${selector}:not([data-active="true"]):hover`;
2376
+ case "current": return `${selector}[data-active="true"]:not(:hover)`;
2377
+ case "current-hover": return `${selector}[data-active="true"]:hover`;
2378
+ }
2379
+ }
2380
+ function resolveInk(reference, palette) {
2381
+ const parts = parseColorTokenParts(reference);
2382
+ const hex = resolveConcreteColorHex(parts.kind === "token" ? parts.token : reference, palette);
2383
+ const opacity = parts.kind === "token" && parts.opacityPercent !== null ? parts.opacityPercent / 100 : 1;
2384
+ return hex ? {
2385
+ hex,
2386
+ opacity
2387
+ } : null;
2388
+ }
2389
+ //#endregion
2145
2390
  //#region ../theme-core/src/header/generateHeaderNavLinkStyles.ts
2146
2391
  function generateHeaderNavLinkStyles(header, themeId, tokens, theme, contrastTreatment, navTextSize) {
2147
2392
  const style = effectiveHeaderNavLinkStyle(header, contrastTreatment, navTextSize);
@@ -2149,19 +2394,20 @@ function generateHeaderNavLinkStyles(header, themeId, tokens, theme, contrastTre
2149
2394
  console.warn(`[generateHeaderCss] Nav link preset not found: ${header.navStyle}`);
2150
2395
  return "";
2151
2396
  }
2397
+ const renderedStyle = mergeHeaderNavTypographyPreference(style, {
2398
+ typography: header.navFontRole ?? "inherit",
2399
+ fontSize: readHeaderNavFontSizePreference(header.navTextSize),
2400
+ interactionPalette: header.interactionPalette ?? "recommended"
2401
+ });
2152
2402
  return generateNavLinkCSS({
2153
2403
  themeId,
2154
2404
  tokens,
2155
2405
  theme,
2156
- style: mergeHeaderNavTypographyPreference(style, {
2157
- typography: header.navFontRole ?? "inherit",
2158
- fontSize: readHeaderNavFontSizePreference(header.navTextSize),
2159
- interactionPalette: header.interactionPalette ?? "recommended"
2160
- }),
2406
+ style: renderedStyle,
2161
2407
  className: "header-nav-link",
2162
2408
  surfaceDependent: true,
2163
2409
  surfaceRestingColor: header.background?.contentOwner === siteChromeBackgroundOverrideOwner
2164
- });
2410
+ }) + generateHeaderNavEffectContrastCss(header, renderedStyle, theme, themeId);
2165
2411
  }
2166
2412
  //#endregion
2167
2413
  //#region ../theme-core/src/header/generateHeaderLogoStyles.ts
@@ -2728,6 +2974,11 @@ const placementRules = {
2728
2974
  band: null
2729
2975
  }
2730
2976
  };
2977
+ /**
2978
+ * A block's own section, whatever skin slot it carries, so a reserve reaches
2979
+ * the schedule and shop sections too.
2980
+ */
2981
+ const blockSection = ":where([data-slot='section'], [data-slot='schedule-section'], [data-slot='shop-section'])";
2731
2982
  function generateBoundaryCss(selector) {
2732
2983
  const boundary = `${selector} [data-block-boundary]`;
2733
2984
  return [
@@ -2737,8 +2988,8 @@ function generateBoundaryCss(selector) {
2737
2988
  "height: 0;",
2738
2989
  "pointer-events: none;"
2739
2990
  ]),
2740
- rule(`${selector} [data-block][data-site-style-boundary-before] > :where([data-slot='section'])`, ["padding-top: calc(var(--rb-section-pad-y, 0rem) + var(--site-style-boundary-before-reserve, 0rem));"]),
2741
- rule(`${selector} [data-block][data-site-style-boundary-after] > :where([data-slot='section'])`, ["padding-bottom: calc(var(--rb-section-pad-y, 0rem) + var(--site-style-boundary-after-reserve, 0rem));"]),
2991
+ rule(`${selector} [data-block][data-site-style-boundary-before] > ${blockSection}`, ["padding-top: calc(var(--rb-section-pad-y, 0rem) + var(--site-style-boundary-before-reserve, 0rem));"]),
2992
+ rule(`${selector} [data-block][data-site-style-boundary-after] > ${blockSection}`, ["padding-bottom: calc(var(--rb-section-pad-y, 0rem) + var(--site-style-boundary-after-reserve, 0rem));"]),
2742
2993
  rule(`${boundary}::before,\n${boundary}::after`, [
2743
2994
  "content: '';",
2744
2995
  "position: absolute;",
@@ -2750,9 +3001,28 @@ function generateBoundaryCss(selector) {
2750
3001
  rule(`${boundary}::before`, ["z-index: 0;", "background: var(--boundary-band-paint, transparent);"]),
2751
3002
  rule(`${boundary}::after`, ["z-index: 1;"]),
2752
3003
  ...placementCss(boundary),
2753
- ...transitionCatalogueEntries.flatMap((entry) => treatmentCss(boundary, entry))
3004
+ ...transitionCatalogueEntries.flatMap((entry) => treatmentCss(boundary, entry)),
3005
+ ...transitionCatalogueEntries.flatMap((entry) => footerEdgeReserveCss(selector, entry))
2754
3006
  ].join("\n\n");
2755
3007
  }
3008
+ /**
3009
+ * The footer's edge rises into the last section of the page flow, which can't
3010
+ * see the footer, so the reserve is keyed on the edge being on the page. The
3011
+ * page renderer marks that section's block as the page ending. When custom
3012
+ * footer blocks intervene, document adapters mark their region so only their
3013
+ * ending receives the reserve (and an empty region falls back to the page).
3014
+ *
3015
+ * Pages that don't come from the page renderer (privacy, terms, checkout, the
3016
+ * portal, a not-found page) have no block ending. The site document's content
3017
+ * area takes the reserve for them instead, but only when nothing inside it is
3018
+ * a page ending, so a rendered page is never padded twice.
3019
+ */
3020
+ function footerEdgeReserveCss(selector, entry) {
3021
+ const metrics = boundaryRuntimeMetricsForDecorativeTransition(entry.intent);
3022
+ const withEdge = `${selector}:has([data-footer-edge][data-boundary-treatment='${entry.intent}'])`;
3023
+ const pageEnds = `${withEdge}:not(:has([data-footer-blocks] [data-page-ending]))`;
3024
+ return [rule(`${pageEnds} [data-block][data-page-ending] > ${blockSection}, ${withEdge} [data-footer-blocks] [data-block][data-page-ending] > ${blockSection}`, [`padding-bottom: calc(var(--rb-section-pad-y, 0rem) + ${metrics.heightCss});`]), rule(`${pageEnds} [data-site-document-content]:not(:has([data-page-ending]))`, [`padding-bottom: ${metrics.heightCss};`])];
3025
+ }
2756
3026
  function placementCss(boundary) {
2757
3027
  return Object.keys(placementRules).flatMap((placement) => {
2758
3028
  const placed = `${boundary}[data-boundary-placement='${placement}']`;
@@ -4240,10 +4510,18 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
4240
4510
  * booking.
4241
4511
  */
4242
4512
  function planWholeSeriesParentBooking(eligibleRuns) {
4243
- const [first, ...rest] = eligibleRuns;
4244
- return rest.length === 0 ? {
4513
+ const [first, second, ...rest] = eligibleRuns;
4514
+ if (!second) return {
4245
4515
  kind: "single",
4246
4516
  run: first
4517
+ };
4518
+ return eligibleRuns.every((group) => group.representative.allowsMultipleBooking) ? {
4519
+ kind: "bookTogether",
4520
+ runs: [
4521
+ first,
4522
+ second,
4523
+ ...rest
4524
+ ]
4247
4525
  } : {
4248
4526
  kind: "choice",
4249
4527
  runs: eligibleRuns
@@ -4253,6 +4531,45 @@ function isOrdinaryPublicEvent(event) {
4253
4531
  return event.bookingScope === "single_occurrence";
4254
4532
  }
4255
4533
  /**
4534
+ * What a series' own page shows when its URL names no date.
4535
+ *
4536
+ * Two or more dates a visitor can book make a choice: the page lists every
4537
+ * date whose booking is open and lets the visitor pick, so a full date still
4538
+ * shows as full rather than vanishing. One bookable date isn't a choice, so the
4539
+ * page books that date. With none, the first date speaks for the page and shows
4540
+ * its own full or closed state.
4541
+ *
4542
+ * The caller passes every date it read for the series, not the cards a listing
4543
+ * happened to show, so the one-date shortcut is decided on the complete set.
4544
+ * "Has places" isn't enough on its own: only a date whose booking is open
4545
+ * counts, and a drop-in date never does.
4546
+ */
4547
+ function planOrdinarySeriesSelection(events) {
4548
+ const ordinary = events.filter(isOrdinaryPublicEvent);
4549
+ const firstSeriesId = ordinary[0]?.seriesId;
4550
+ if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
4551
+ const [first, second] = ordinary.filter(isBookableEvent);
4552
+ if (first && second) {
4553
+ const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
4554
+ if (a && b) return {
4555
+ kind: "dateChoice",
4556
+ dates: [
4557
+ a,
4558
+ b,
4559
+ ...rest
4560
+ ]
4561
+ };
4562
+ }
4563
+ const event = first ?? ordinary[0];
4564
+ return event ? {
4565
+ kind: "occurrence",
4566
+ event
4567
+ } : null;
4568
+ }
4569
+ function isOpenForBooking(event) {
4570
+ return event.requiresRegistration && event.bookingAvailability.kind === "open";
4571
+ }
4572
+ /**
4256
4573
  * Whether a parent Event page advertises this run.
4257
4574
  *
4258
4575
  * Visibility admission belongs to the scoped public read. Active, still-open
@@ -4365,6 +4682,7 @@ function planWholeSeriesRunSelection(input) {
4365
4682
  function selectionRepresentativeEvent(selection) {
4366
4683
  switch (selection.kind) {
4367
4684
  case "occurrence": return selection.event;
4685
+ case "dateChoice": return selection.dates[0];
4368
4686
  case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
4369
4687
  case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
4370
4688
  case "wholeSeriesRun": return selection.run.representative;
@@ -4380,6 +4698,7 @@ function resolveSelectionBookingClosedDetail(selection) {
4380
4698
  switch (selection.kind) {
4381
4699
  case "occurrence": return selection.event.bookingClosedDetail ?? null;
4382
4700
  case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
4701
+ case "dateChoice":
4383
4702
  case "wholeSeriesParent": return null;
4384
4703
  case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
4385
4704
  }
@@ -4402,7 +4721,8 @@ function eventOccurrenceContext(event) {
4402
4721
  seriesId: event.seriesId,
4403
4722
  startsAt: event.startsAt,
4404
4723
  endsAt: event.endsAt,
4405
- timeZone: event.timeZone
4724
+ timeZone: event.timeZone,
4725
+ ...event.occurrenceTitle ? { overrides: { title: event.occurrenceTitle } } : {}
4406
4726
  };
4407
4727
  }
4408
4728
  //#endregion
@@ -4862,7 +5182,7 @@ function cropHeightStyle(height, heightAs) {
4862
5182
  * This component is server-safe (uses no client APIs like Intl).
4863
5183
  */
4864
5184
  const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, now }) => {
4865
- const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
5185
+ const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, runName, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
4866
5186
  event,
4867
5187
  presentation,
4868
5188
  headingLevel,
@@ -4914,7 +5234,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
4914
5234
  showVenue,
4915
5235
  summary,
4916
5236
  teacherLine,
4917
- title
5237
+ title,
5238
+ runName
4918
5239
  })]
4919
5240
  });
4920
5241
  };
@@ -4967,6 +5288,8 @@ function EventCardMedia(props) {
4967
5288
  }
4968
5289
  function EventCardContent(props) {
4969
5290
  const { event } = props;
5291
+ const courseSessions = formatCourseSessions(event);
5292
+ const moreDates = formatCourseDatesAfter(event);
4970
5293
  const Heading = props.headingLevel === 4 ? "h4" : "h3";
4971
5294
  return /* @__PURE__ */ jsxs("div", {
4972
5295
  ...listLookSlot(props, "item-body"),
@@ -4987,6 +5310,10 @@ function EventCardContent(props) {
4987
5310
  children: props.title
4988
5311
  })
4989
5312
  }),
5313
+ props.runName ? /* @__PURE__ */ jsx("p", {
5314
+ className: "event-card-run-name rb-caption rb-mb-3",
5315
+ children: props.runName
5316
+ }) : null,
4990
5317
  /* @__PURE__ */ jsx(EventQuickFacts, {
4991
5318
  facts: event.facts,
4992
5319
  context: "card"
@@ -4996,10 +5323,21 @@ function EventCardContent(props) {
4996
5323
  className: "rb-mb-2 rb-caption",
4997
5324
  children: /* @__PURE__ */ jsxs("div", {
4998
5325
  className: "rb-flex rb-items-center rb-gap-2",
4999
- children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("time", { children: props.formattedDate }), /* @__PURE__ */ jsx("p", {
5000
- className: "rb-pl-6",
5001
- children: props.formattedTime
5002
- })] })]
5326
+ children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
5327
+ /* @__PURE__ */ jsx("time", { children: props.formattedDate }),
5328
+ moreDates ? /* @__PURE__ */ jsxs("span", {
5329
+ className: "event-card-more-dates",
5330
+ children: [" ", moreDates]
5331
+ }) : null,
5332
+ /* @__PURE__ */ jsx("p", {
5333
+ className: "rb-pl-6",
5334
+ children: props.formattedTime
5335
+ }),
5336
+ courseSessions ? /* @__PURE__ */ jsx("p", {
5337
+ className: "event-card-course-sessions rb-pl-6",
5338
+ children: courseSessions
5339
+ }) : null
5340
+ ] })]
5003
5341
  })
5004
5342
  }),
5005
5343
  /* @__PURE__ */ jsx(EventCardVenue, {
@@ -5133,7 +5471,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
5133
5471
  const booking = eventCardBooking(event, presentation, buttonText, now);
5134
5472
  const { cta } = booking;
5135
5473
  const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
5136
- const title = event.title;
5474
+ const { title, runName } = eventDisplayTitle(event);
5137
5475
  const summary = event.presentation?.summary ?? event.description;
5138
5476
  const image = event.presentation?.image ?? null;
5139
5477
  const category = event.eventCategory;
@@ -5145,6 +5483,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
5145
5483
  cta,
5146
5484
  cardClass,
5147
5485
  title,
5486
+ runName,
5148
5487
  summary,
5149
5488
  image,
5150
5489
  category,
@@ -5218,9 +5557,13 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
5218
5557
  children: /* @__PURE__ */ jsx("a", {
5219
5558
  className: "event-title-link",
5220
5559
  ...resolveEventLinkProps(event),
5221
- children: event.title
5560
+ children: eventDisplayTitle(event).title
5222
5561
  })
5223
5562
  }),
5563
+ eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
5564
+ className: "event-compact-row-run-name rb-caption",
5565
+ children: eventDisplayTitle(event).runName
5566
+ }) : null,
5224
5567
  /* @__PURE__ */ jsx(EventQuickFacts, {
5225
5568
  facts: event.facts,
5226
5569
  context: "card"
@@ -5413,15 +5756,18 @@ function CalendarDayHeaders({ dayNames }) {
5413
5756
  * exists so a sold-out or closed offering stays reachable (issue 1372); the
5414
5757
  * `.event-title-link` rule lives in theme-core's event-list.css.
5415
5758
  */
5416
- function OfferingTitle({ className, path, title }) {
5417
- return /* @__PURE__ */ jsx("h3", {
5759
+ function OfferingTitle({ className, path, title, runName }) {
5760
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h3", {
5418
5761
  className,
5419
5762
  children: path ? /* @__PURE__ */ jsx("a", {
5420
5763
  className: "event-title-link",
5421
5764
  href: path,
5422
5765
  children: title
5423
5766
  }) : title
5424
- });
5767
+ }), runName ? /* @__PURE__ */ jsx("p", {
5768
+ className: "offering-run-name rb-caption",
5769
+ children: runName
5770
+ }) : null] });
5425
5771
  }
5426
5772
  //#endregion
5427
5773
  //#region ../blocks/src/system/data/readinessFacts.ts
@@ -5579,7 +5925,7 @@ function carouselContents(props) {
5579
5925
  }
5580
5926
  //#endregion
5581
5927
  //#region ../blocks/src/primitives/layout/Section.tsx
5582
- const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-surface": dataSurface }, ref) {
5928
+ const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-look": dataLook, "data-surface": dataSurface }, ref) {
5583
5929
  return /* @__PURE__ */ jsx(Comp, {
5584
5930
  ref,
5585
5931
  className: clsx("rb-relative rb-isolate rb-overflow-visible", className),
@@ -5587,6 +5933,7 @@ const Section = forwardRef(function Section({ as: Comp = "section", children, ba
5587
5933
  "data-slot": dataSlot ?? "section",
5588
5934
  "data-surface": dataSurface,
5589
5935
  "data-arrangement": dataArrangement,
5936
+ "data-look": dataLook,
5590
5937
  children
5591
5938
  });
5592
5939
  });
@@ -7096,6 +7443,7 @@ function AppointmentServiceRows({ rows, RowTitle }) {
7096
7443
  }),
7097
7444
  row.description ? /* @__PURE__ */ jsx("p", {
7098
7445
  className: "appointment-services-row-description rb-text-sm rb-leading-6 status-muted",
7446
+ style: { whiteSpace: "pre-line" },
7099
7447
  children: row.description
7100
7448
  }) : null,
7101
7449
  /* @__PURE__ */ jsxs("p", {
@@ -7274,9 +7622,9 @@ function AppointmentCardLists({ Carousel, view, presentation, hasSectionHeading,
7274
7622
  }, group.key))
7275
7623
  });
7276
7624
  }
7277
- /** Undated services merge in category order for the same arrangements as offerings. */
7625
+ /** Undated carousel services merge in category order. */
7278
7626
  function appointmentServicesListing(view, arrangement) {
7279
- return view.kind === "groups" && offeringsListingFor(arrangement ?? "legacy") === "by-date" ? {
7627
+ return view.kind === "groups" && (arrangement === "slides" || arrangement === "track") ? {
7280
7628
  kind: "items",
7281
7629
  rows: view.groups.flatMap((group) => group.rows)
7282
7630
  } : view;
@@ -7694,6 +8042,11 @@ const bookingMailingListContextSchema = z.unknown().transform((value) => {
7694
8042
  const parsed = parseMailingListRuntimeContext(value);
7695
8043
  return parsed.ok ? parsed.value : void 0;
7696
8044
  });
8045
+ /** Missing on older payloads and SDK sites, which then word things without a noun. */
8046
+ const businessPersonSchema = z.object({
8047
+ singular: z.string(),
8048
+ plural: z.string()
8049
+ }).nullable().optional();
7697
8050
  const bookingDateContextSchema = z.object({
7698
8051
  locale: z.string(),
7699
8052
  timeZone: z.string().transform(resolveBookingBusinessTimeZone)
@@ -7707,6 +8060,7 @@ const bookingSourceSchema = z.object({
7707
8060
  siteTerms: blockSiteTermsSchema.optional(),
7708
8061
  pageNavigation: pageNavigationSchema.optional(),
7709
8062
  siteName: z.string().optional(),
8063
+ businessPerson: businessPersonSchema,
7710
8064
  siteId: z.string().optional(),
7711
8065
  apiBaseUrl: z.string().optional(),
7712
8066
  portalToken: z.string().nullable().optional(),
@@ -7743,6 +8097,7 @@ const bookingHydrationSchema = z.object({
7743
8097
  siteTerms: blockSiteTermsSchema.optional(),
7744
8098
  pageNavigation: pageNavigationSchema.optional(),
7745
8099
  siteName: z.string().optional(),
8100
+ businessPerson: businessPersonSchema,
7746
8101
  formId: z.string().nullable(),
7747
8102
  serviceId: z.string().nullable(),
7748
8103
  resourceId: z.string().nullable(),
@@ -7797,6 +8152,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
7797
8152
  siteTerms: source.siteTerms,
7798
8153
  pageNavigation: source.pageNavigation,
7799
8154
  siteName: source.siteName,
8155
+ businessPerson: source.businessPerson,
7800
8156
  formId: form?.id ?? source.formId ?? null,
7801
8157
  serviceId: source.serviceId ?? form?.settings?.serviceId ?? null,
7802
8158
  resourceId: source.resourceId ?? form?.settings?.resourceId ?? null,
@@ -8411,9 +8767,11 @@ function OtherEventDates({ selection }) {
8411
8767
  }
8412
8768
  function EventIdentity({ event, showTitle, showDescription }) {
8413
8769
  if (!showTitle && !showDescription) return null;
8414
- return /* @__PURE__ */ jsxs("div", { children: [showTitle ? /* @__PURE__ */ jsx("h3", { children: event.title }) : null, showDescription && event.description ? /* @__PURE__ */ jsx("p", {
8770
+ const description = event.occurrenceDescription ?? event.description;
8771
+ return /* @__PURE__ */ jsxs("div", { children: [showTitle ? /* @__PURE__ */ jsx("h3", { children: event.occurrenceTitle ?? event.title }) : null, showDescription && description ? /* @__PURE__ */ jsx("p", {
8415
8772
  className: "rb-mt-2",
8416
- children: event.description
8773
+ style: { whiteSpace: "pre-line" },
8774
+ children: description
8417
8775
  }) : null] });
8418
8776
  }
8419
8777
  function acceptedProductNames(props) {
@@ -8954,7 +9312,7 @@ function OfferingsCatalogue(props) {
8954
9312
  const now = input.now;
8955
9313
  const state = input.kind === "prepared" ? input.listing : buildOfferingsCatalogueListing({
8956
9314
  now,
8957
- listingMode: offeringsListingFor(props.cardArrangement ?? "legacy"),
9315
+ listingMode: offeringsListingFor(readOfferingsGrouping(props.offeringsGrouping), props.cardArrangement),
8958
9316
  presets: props.bookingOfferingPresets,
8959
9317
  events: props.catalogueEvents
8960
9318
  });
@@ -9219,7 +9577,7 @@ function OfferingsPreviewNode(authored) {
9219
9577
  const listing = input.kind === "prepared" ? input.listing : buildLoadedOfferingsPreviewListing({
9220
9578
  ...props,
9221
9579
  presets: props.bookingOfferingPresets,
9222
- listingMode: offeringsListingFor(props.cardArrangement ?? "legacy"),
9580
+ listingMode: offeringsListingFor(readOfferingsGrouping(props.offeringsGrouping), props.cardArrangement),
9223
9581
  now
9224
9582
  });
9225
9583
  if (listing.kind === "no-groups" && listing.reason === "empty-hidden") return props.showHiddenPlaceholder || props.previewStage === "preview" ? /* @__PURE__ */ jsxs(Fragment, { children: [props.children, /* @__PURE__ */ jsx(EmptyState, { message: "Visitors won't see this section at the moment, because none of its cards has anything coming up." })] }) : null;
@@ -9479,7 +9837,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
9479
9837
  });
9480
9838
  const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
9481
9839
  const timeRange = formatRunScheduleTime(schedule, options);
9482
- const price = formatEventPriceDisplay(group.representative.pricing);
9840
+ const price = formatCoursePrice(group.representative.pricing);
9483
9841
  const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
9484
9842
  return /* @__PURE__ */ jsxs("article", {
9485
9843
  className: "event-compact-row offerings-preview-whole-series-row",
@@ -9509,7 +9867,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
9509
9867
  /* @__PURE__ */ jsx(OfferingTitle, {
9510
9868
  className: "event-compact-row-title",
9511
9869
  path,
9512
- title: group.representative.title
9870
+ ...eventDisplayTitle(group.representative)
9513
9871
  }),
9514
9872
  /* @__PURE__ */ jsx(EventQuickFacts, {
9515
9873
  facts: group.representative.facts,
@@ -9526,13 +9884,9 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
9526
9884
  className: "event-compact-row-price",
9527
9885
  children: price
9528
9886
  }),
9529
- /* @__PURE__ */ jsxs("span", {
9887
+ /* @__PURE__ */ jsx("span", {
9530
9888
  className: "event-compact-row-price",
9531
- children: [
9532
- sessionsCount,
9533
- " session",
9534
- sessionsCount === 1 ? "" : "s"
9535
- ]
9889
+ children: formatCourseSessions(group.representative) ?? `${sessionsCount} session${sessionsCount === 1 ? "" : "s"}`
9536
9890
  })
9537
9891
  ]
9538
9892
  })
@@ -9572,7 +9926,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
9572
9926
  });
9573
9927
  const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
9574
9928
  const timeRange = formatRunScheduleTime(schedule, options);
9575
- const price = formatEventPriceDisplay(group.representative.pricing);
9929
+ const price = formatCoursePrice(group.representative.pricing);
9576
9930
  const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
9577
9931
  const description = group.representative.description;
9578
9932
  return /* @__PURE__ */ jsx("article", {
@@ -9583,7 +9937,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
9583
9937
  /* @__PURE__ */ jsx(OfferingTitle, {
9584
9938
  className: "card-title rb-mb-3",
9585
9939
  path,
9586
- title: group.representative.title
9940
+ ...eventDisplayTitle(group.representative)
9587
9941
  }),
9588
9942
  /* @__PURE__ */ jsx(EventQuickFacts, {
9589
9943
  facts: group.representative.facts,
@@ -9681,7 +10035,7 @@ function RunWithoutLiveDates({ group, path }) {
9681
10035
  /* @__PURE__ */ jsx(OfferingTitle, {
9682
10036
  className: "rb-heading-xs",
9683
10037
  path,
9684
- title: group.representative.title
10038
+ ...eventDisplayTitle(group.representative)
9685
10039
  }),
9686
10040
  /* @__PURE__ */ jsx(EventQuickFacts, {
9687
10041
  facts: group.representative.facts,
@@ -10815,7 +11169,7 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
10815
11169
  }))
10816
11170
  }), /* @__PURE__ */ jsx("span", {
10817
11171
  className: "event-agenda-card-title",
10818
- children: event.title
11172
+ children: eventDisplayTitleText(event)
10819
11173
  })]
10820
11174
  }), /* @__PURE__ */ jsxs("div", {
10821
11175
  className: "event-agenda-card-details status-muted",
@@ -10869,33 +11223,40 @@ function AgendaLinkCard({ event, showCapacity, showVenue, buttonVariant, buttonT
10869
11223
  }),
10870
11224
  /* @__PURE__ */ jsxs("div", {
10871
11225
  className: "event-agenda-card-content",
10872
- children: [/* @__PURE__ */ jsx("h5", {
10873
- className: "event-agenda-card-title",
10874
- children: /* @__PURE__ */ jsx("a", {
10875
- ...eventLinkProps,
10876
- children: event.title
10877
- })
10878
- }), /* @__PURE__ */ jsxs("div", {
10879
- className: "event-agenda-card-details status-muted",
10880
- children: [
10881
- showVenue ? /* @__PURE__ */ jsxs("span", {
10882
- className: "event-agenda-card-location",
10883
- children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
10884
- }) : null,
10885
- /* @__PURE__ */ jsx("span", {
10886
- className: "event-agenda-card-duration",
10887
- children: duration
10888
- }),
10889
- teacherLine && /* @__PURE__ */ jsx("span", {
10890
- className: "event-agenda-card-teacher",
10891
- children: teacherLine
10892
- }),
10893
- capacity && /* @__PURE__ */ jsx("span", {
10894
- className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
10895
- children: capacity
11226
+ children: [
11227
+ /* @__PURE__ */ jsx("h5", {
11228
+ className: "event-agenda-card-title",
11229
+ children: /* @__PURE__ */ jsx("a", {
11230
+ ...eventLinkProps,
11231
+ children: eventDisplayTitle(event).title
10896
11232
  })
10897
- ]
10898
- })]
11233
+ }),
11234
+ eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
11235
+ className: "event-agenda-card-run-name rb-caption",
11236
+ children: eventDisplayTitle(event).runName
11237
+ }) : null,
11238
+ /* @__PURE__ */ jsxs("div", {
11239
+ className: "event-agenda-card-details status-muted",
11240
+ children: [
11241
+ showVenue ? /* @__PURE__ */ jsxs("span", {
11242
+ className: "event-agenda-card-location",
11243
+ children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
11244
+ }) : null,
11245
+ /* @__PURE__ */ jsx("span", {
11246
+ className: "event-agenda-card-duration",
11247
+ children: duration
11248
+ }),
11249
+ teacherLine && /* @__PURE__ */ jsx("span", {
11250
+ className: "event-agenda-card-teacher",
11251
+ children: teacherLine
11252
+ }),
11253
+ capacity && /* @__PURE__ */ jsx("span", {
11254
+ className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
11255
+ children: capacity
11256
+ })
11257
+ ]
11258
+ })
11259
+ ]
10899
11260
  }),
10900
11261
  /* @__PURE__ */ jsxs("div", {
10901
11262
  className: "event-agenda-card-action",
@@ -11082,7 +11443,7 @@ const WeekBoardCard = ({ event, showCapacity, calendarTimeZone }) => {
11082
11443
  children: [
11083
11444
  /* @__PURE__ */ jsx("span", {
11084
11445
  className: "event-week-board-card-title",
11085
- children: event.title
11446
+ children: eventDisplayTitleText(event)
11086
11447
  }),
11087
11448
  /* @__PURE__ */ jsx("span", {
11088
11449
  className: "event-week-board-card-time",
@@ -11511,7 +11872,7 @@ function renderCalendarSsr(display, hydration) {
11511
11872
  children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("a", {
11512
11873
  ...resolveEventLinkProps(event),
11513
11874
  className: "event-calendar-event",
11514
- title: `${event.title} at ${formatTime(event.startsAt, eventDateOptions({
11875
+ title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
11515
11876
  ...event,
11516
11877
  timeZone
11517
11878
  }))}`,
@@ -11526,7 +11887,7 @@ function renderCalendarSsr(display, hydration) {
11526
11887
  " ",
11527
11888
  /* @__PURE__ */ jsx("span", {
11528
11889
  className: "event-calendar-event-title",
11529
- children: event.title
11890
+ children: eventDisplayTitleText(event)
11530
11891
  })
11531
11892
  ]
11532
11893
  }, event.occurrenceId || event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("div", {
@@ -11617,7 +11978,7 @@ function renderTimetableSsr(display, hydration) {
11617
11978
  }) : day.events.map((cell) => /* @__PURE__ */ jsxs("a", {
11618
11979
  ...resolveEventLinkProps(cell.event),
11619
11980
  className: "event-timetable-event",
11620
- title: `${cell.event.title}, ${cell.timeLabel}`,
11981
+ title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
11621
11982
  style: {
11622
11983
  top: `${cell.topPercent}%`,
11623
11984
  height: `${cell.heightPercent}%`,
@@ -11632,7 +11993,7 @@ function renderTimetableSsr(display, hydration) {
11632
11993
  }),
11633
11994
  /* @__PURE__ */ jsx("span", {
11634
11995
  className: "event-timetable-event-title",
11635
- children: cell.event.title
11996
+ children: eventDisplayTitleText(cell.event)
11636
11997
  }),
11637
11998
  cell.teacherLine ? /* @__PURE__ */ jsx("span", {
11638
11999
  className: "event-timetable-event-teacher",
@@ -11940,6 +12301,7 @@ function selectPagePanel(source, events) {
11940
12301
  eventSeriesId: source.subject.eventSeriesId,
11941
12302
  events
11942
12303
  });
12304
+ if (!source.occurrenceContext && source.subject?.kind === "eventSeries") return planOrdinarySeriesSelection(events);
11943
12305
  return selectOccurrenceForPanel(events, source.occurrenceContext?.id);
11944
12306
  }
11945
12307
  /** The decided target is also retained for recovery when fresh booking is closed. */
@@ -11963,6 +12325,7 @@ function planEventBookingPanel({ selection, subject }, now) {
11963
12325
  const nonBookingPanel = planNonBookingPanel(selection);
11964
12326
  switch (selection.kind) {
11965
12327
  case "occurrence":
12328
+ case "dateChoice":
11966
12329
  case "wholeSeriesRun": {
11967
12330
  const registration = selectionRegistrationTarget(selection, subject);
11968
12331
  if (nonBookingPanel) return {
@@ -11979,10 +12342,24 @@ function planEventBookingPanel({ selection, subject }, now) {
11979
12342
  registration
11980
12343
  };
11981
12344
  }
11982
- case "wholeSeriesParent": return {
11983
- ...nonBookingPanel ?? planWholeSeriesParentBooking(selection.eligibleRuns),
11984
- registration: null
11985
- };
12345
+ case "wholeSeriesParent": {
12346
+ if (nonBookingPanel) return {
12347
+ ...nonBookingPanel,
12348
+ registration: null
12349
+ };
12350
+ const panel = planWholeSeriesParentBooking(selection.eligibleRuns);
12351
+ return panel.kind === "bookTogether" ? {
12352
+ kind: "registration",
12353
+ registration: {
12354
+ events: panel.runs.map((run) => run.representative),
12355
+ subject,
12356
+ occurrenceContext: null
12357
+ }
12358
+ } : {
12359
+ ...panel,
12360
+ registration: null
12361
+ };
12362
+ }
11986
12363
  case "wholeSeriesParentUnavailable": return {
11987
12364
  ...nonBookingPanel ?? { kind: "unavailable" },
11988
12365
  registration: null
@@ -12008,6 +12385,11 @@ function selectionRegistrationTarget(selection, subject) {
12008
12385
  occurrenceContext: eventOccurrenceContext(selection.event),
12009
12386
  subject
12010
12387
  };
12388
+ case "dateChoice": return {
12389
+ events: [...selection.dates],
12390
+ occurrenceContext: null,
12391
+ subject
12392
+ };
12011
12393
  case "wholeSeriesRun": return {
12012
12394
  events: [selection.run.representative],
12013
12395
  occurrenceContext: null,
@@ -14624,7 +15006,14 @@ function promote(tree, heading) {
14624
15006
  return children === tree.props.children ? tree : React.cloneElement(tree, {}, children);
14625
15007
  }
14626
15008
  /** One page-wide choice; callers receive the final trees and do not recompute heading rules. */
14627
- function applyPageHeadingSemantics(trees, eventDetailsComponent) {
15009
+ function applyPageHeadingSemantics(trees, eventDetailsComponent, facts = {
15010
+ scope: "page",
15011
+ overrideOwnsPageHeading: false
15012
+ }) {
15013
+ if (facts.scope === "region" || facts.overrideOwnsPageHeading) return {
15014
+ trees,
15015
+ needsPageTitle: false
15016
+ };
14628
15017
  const nodes = [...trees.values()].flatMap(elements);
14629
15018
  if (nodes.some((node) => ownsH1(node, eventDetailsComponent))) return {
14630
15019
  trees,
@@ -14886,11 +15275,12 @@ function pageDateRuntimeContext(dataContext) {
14886
15275
  }
14887
15276
  /** Booking context keeps its defaults together across SSR and authoring. */
14888
15277
  function pageBookingRuntime(context) {
14889
- const { bookingTimeZone, bookingOfferingPresets = [], appointmentServicePathPrefix = null } = context ?? {};
15278
+ const { bookingTimeZone, bookingOfferingPresets = [], appointmentServicePathPrefix = null, businessPerson = null } = context ?? {};
14890
15279
  return {
14891
15280
  bookingTimeZone,
14892
15281
  bookingOfferingPresets,
14893
- appointmentServicePathPrefix
15282
+ appointmentServicePathPrefix,
15283
+ businessPerson
14894
15284
  };
14895
15285
  }
14896
15286
  //#endregion
@@ -15060,7 +15450,7 @@ function offeringArrangementContent(content, data, context, audience) {
15060
15450
  const now = new Date(readRuntimeNow(context?.now));
15061
15451
  const listing = buildLoadedOfferingsPreviewListing({
15062
15452
  now,
15063
- listingMode: offeringsListingFor(cardListArrangementForContent(content) ?? "legacy"),
15453
+ listingMode: offeringsListingFor(readOfferingsGrouping(effectiveOfferingsGrouping(content)), cardListArrangementForContent(content)),
15064
15454
  routeCandidates: publicRouteCandidatesSchema.safeParse(data.routeCandidates).data,
15065
15455
  ...normalized,
15066
15456
  presets: context?.bookingOfferingPresets,
@@ -15082,6 +15472,12 @@ function offeringArrangementContent(content, data, context, audience) {
15082
15472
  publicVisibility: listing.kind === "no-groups" && listing.reason === "empty-hidden" ? "omitted" : "shown"
15083
15473
  };
15084
15474
  }
15475
+ function effectiveOfferingsGrouping(content) {
15476
+ const knobs = content._effectiveKnobs;
15477
+ if (typeof knobs !== "object" || knobs === null || !("grouping" in knobs)) return void 0;
15478
+ const grouping = knobs.grouping;
15479
+ return typeof grouping === "object" && grouping !== null && "value" in grouping ? grouping.value : void 0;
15480
+ }
15085
15481
  /** Older blocks opt into preparation only when public visibility needs their listing. */
15086
15482
  function needsOfferingListing(content, normalized) {
15087
15483
  return content._effectiveLook !== void 0 || normalized.groupOverrides?.some((group) => group.hideWhenEmpty === true) === true;
@@ -15655,24 +16051,29 @@ function PageRendererCore(props) {
15655
16051
  setContextResolveImageUrlContext(imageResolveContext);
15656
16052
  const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
15657
16053
  const readSystemTrees = React$1.useMemo(createPageSystemTreeReader, []);
16054
+ const headingScope = props.headingScope ?? "page";
15658
16055
  const headingPresentation = React$1.useMemo(() => applyPageHeadingSemantics(readSystemTrees({
15659
16056
  preparation,
15660
16057
  dataContext,
15661
16058
  registry: resolvedRegistry,
15662
16059
  previewAuthoring: props.previewAuthoring,
15663
16060
  imageResolveContext
15664
- }), resolvedRegistry["event-details"]), [
16061
+ }), resolvedRegistry["event-details"], {
16062
+ scope: headingScope,
16063
+ overrideOwnsPageHeading: overrideOwnsPageHeading(preparation)
16064
+ }), [
15665
16065
  preparation,
15666
16066
  dataContext,
15667
16067
  resolvedRegistry,
15668
16068
  props.previewAuthoring,
15669
16069
  imageResolveContext,
15670
- readSystemTrees
16070
+ readSystemTrees,
16071
+ headingScope
15671
16072
  ]);
15672
- return wrapRenderedPage(props, plan, !page || preparation.entries.length === 0 ? renderEmptyPage(page, audience) : renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation));
16073
+ return wrapRenderedPage(props, plan, !page || preparation.entries.length === 0 ? renderEmptyPage(page, audience, headingScope) : renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation));
15673
16074
  }
15674
- function renderEmptyPage(page, audience) {
15675
- return /* @__PURE__ */ jsxs(Fragment, { children: [page ? /* @__PURE__ */ jsx(PageTitleFallback, { name: page.name }) : null, presentEmptyPage(audience)] });
16075
+ function renderEmptyPage(page, audience, headingScope) {
16076
+ return /* @__PURE__ */ jsxs(Fragment, { children: [page && headingScope === "page" ? /* @__PURE__ */ jsx(PageTitleFallback, { name: page.name }) : null, presentEmptyPage(audience)] });
15676
16077
  }
15677
16078
  function wrapRenderedPage(props, plan, rendered) {
15678
16079
  return props.wrapPage ? props.wrapPage(plan, rendered) : rendered;
@@ -15680,7 +16081,7 @@ function wrapRenderedPage(props, plan, rendered) {
15680
16081
  function renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation) {
15681
16082
  const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
15682
16083
  const joinSlots = joinSlotsByPair(preparation.joins);
15683
- const renderRegion = (entries, joins) => entries.map((entry, index) => renderGuardedPlanEntry({
16084
+ const renderRegion = (entries, joins, flow) => entries.map((entry, index) => renderGuardedPlanEntry({
15684
16085
  entry,
15685
16086
  index,
15686
16087
  entries,
@@ -15690,12 +16091,13 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
15690
16091
  resolvedRegistry,
15691
16092
  systemTrees: headingPresentation.trees,
15692
16093
  joinSlots: joins,
16094
+ flow,
15693
16095
  wrapBlock: props.wrapBlock,
15694
16096
  renderJoin: props.renderJoin
15695
16097
  }));
15696
16098
  const { main, aside } = preparation.regions;
15697
16099
  const title = headingPresentation.needsPageTitle ? /* @__PURE__ */ jsx(PageTitleFallback, { name: props.page?.name ?? "" }) : null;
15698
- if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots)] });
16100
+ if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "main")] });
15699
16101
  return /* @__PURE__ */ jsxs("div", {
15700
16102
  className: "rb-page-layout",
15701
16103
  "data-page-layout": "main-aside",
@@ -15704,12 +16106,12 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
15704
16106
  /* @__PURE__ */ jsx("div", {
15705
16107
  className: "rb-page-layout__main",
15706
16108
  "data-page-region": "main",
15707
- children: renderRegion(main, joinSlots)
16109
+ children: renderRegion(main, joinSlots, "main")
15708
16110
  }),
15709
16111
  /* @__PURE__ */ jsx("aside", {
15710
16112
  className: "rb-page-layout__aside rb-sticky-below-site-chrome",
15711
16113
  "data-page-region": "aside",
15712
- children: renderRegion(aside, /* @__PURE__ */ new Map())
16114
+ children: renderRegion(aside, /* @__PURE__ */ new Map(), "aside")
15713
16115
  })
15714
16116
  ]
15715
16117
  });
@@ -15798,6 +16200,10 @@ function requireEntryBlockOverride(entry, themeResources) {
15798
16200
  }
15799
16201
  requireBlockOverride(themeResources, entry.override, entry.block.kind);
15800
16202
  }
16203
+ /** The footer meets the main flow's last block, which marks itself for the footer edge's reserve. */
16204
+ function pageEndingAttribute(flow, position) {
16205
+ return flow === "main" && (position === "last" || position === "only") ? "" : void 0;
16206
+ }
15801
16207
  /**
15802
16208
  * Renders one planned block: its wrapper, style-group data attributes,
15803
16209
  * boundary reserve space and the join markup that follows it.
@@ -15858,6 +16264,7 @@ function renderPlanEntry(input) {
15858
16264
  "data-block-composition": blockComposition?.treatment,
15859
16265
  "data-block-composition-kind": blockComposition?.kind,
15860
16266
  "data-page-block-position": blockPosition,
16267
+ "data-page-ending": pageEndingAttribute(input.flow, blockPosition),
15861
16268
  "data-site-style-boundary-before": reserves.topPlacement,
15862
16269
  "data-site-style-boundary-after": reserves.bottomPlacement,
15863
16270
  "data-site-style-field-seam": reserves.fieldSeam,
@@ -15952,6 +16359,9 @@ function resolveSystemBlockTree(input) {
15952
16359
  return /* @__PURE__ */ jsx(FailedSystemBlockTree, { error });
15953
16360
  }
15954
16361
  }
16362
+ function overrideOwnsPageHeading(preparation) {
16363
+ return [...preparation.regions.main, ...preparation.regions.aside].some(({ entry }) => (entry.kind === "renderable" || entry.kind === "override-only") && entry.override?.ownsPageHeading === true);
16364
+ }
15955
16365
  /** Preserve the block memo's reuse rules while resolving page-wide heading facts. */
15956
16366
  function createPageSystemTreeReader() {
15957
16367
  const memo = {};
@@ -16272,15 +16682,17 @@ function normalizeSdkCustomBlocks(customBlocks) {
16272
16682
  }
16273
16683
  function toBlocksBlockOverrides(overrides) {
16274
16684
  if (!overrides) return void 0;
16275
- const result = {};
16276
- for (const [key, OverrideComponent] of Object.entries(overrides)) result[key] = function BlocksOverrideAdapter(props) {
16277
- const sdkOverride = OverrideComponent;
16278
- return React$1.createElement(sdkOverride, {
16685
+ return Object.fromEntries(Object.entries(overrides).map(([key, registration]) => {
16686
+ const entry = typeof registration === "object" && "component" in registration ? registration : {
16687
+ component: registration,
16688
+ ownsPageHeading: false
16689
+ };
16690
+ const adapter = (props) => React$1.createElement(entry.component, {
16279
16691
  ...props,
16280
16692
  entrySubrouteContext: props.entrySubrouteContext
16281
16693
  });
16282
- };
16283
- return result;
16694
+ return [key, Object.assign(adapter, { ownsPageHeading: entry.ownsPageHeading })];
16695
+ }));
16284
16696
  }
16285
16697
  function toBlocksPageRendererDataContext(dataContext) {
16286
16698
  return {
@@ -16303,7 +16715,8 @@ function toBlocksCommonProps(props) {
16303
16715
  registry: props.registry,
16304
16716
  blockOverrides: toBlocksBlockOverrides(props.blockOverrides),
16305
16717
  sdkConfig: props.sdkConfig ? { customBlocks: normalizeSdkCustomBlocks(props.sdkConfig.customBlocks) } : props.sdkConfig,
16306
- customBlocks: normalizeSdkCustomBlocks(props.customBlocks)
16718
+ customBlocks: normalizeSdkCustomBlocks(props.customBlocks),
16719
+ headingScope: props.headingScope
16307
16720
  };
16308
16721
  }
16309
16722
  function PageRenderer(props) {
@@ -16452,6 +16865,7 @@ function buildPageIdentityRenderContext(dataContext) {
16452
16865
  demoEmailSuppressed: dataContext.demoEmailSuppressed,
16453
16866
  now: dataContext.now,
16454
16867
  siteName: dataContext.siteName,
16868
+ businessPerson: dataContext.businessPerson ?? null,
16455
16869
  businessLocationPermission: dataContext.businessLocationPermission,
16456
16870
  businessAddressVisibility: dataContext.businessAddressVisibility,
16457
16871
  businessLocation: dataContext.businessLocation,