@riverbankcms/sdk 0.178.0 → 0.179.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 (210) hide show
  1. package/README.md +15 -8
  2. package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
  3. package/dist/_dts/{Page-C9i27wZA.d.ts → Page-lWenra5i.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
  5. package/dist/_dts/{client-BnYN6XsH.d.ts → client-qWn7xAwJ.d.ts} +47 -17
  6. package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
  7. package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
  8. package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
  9. package/dist/_dts/{index-DCa-8TEY.d.ts → index-7CDBZGb-.d.ts} +1 -1
  10. package/dist/_dts/{index-CKDRr54L.d.ts → index-BU9uAkHB.d.ts} +4 -4
  11. package/dist/_dts/{index-D9-N1d9v.d.ts → index-BYnG_vF5.d.ts} +1 -1
  12. package/dist/_dts/{index-nnEdgc3Z.d.ts → index-CZgJrhzT.d.ts} +4 -2
  13. package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CaCum9mM.d.ts} +2 -2
  14. package/dist/_dts/{index-0HFgCnGz.d.ts → index-DCiSHd-C.d.ts} +1 -1
  15. package/dist/_dts/{index-BE9dWIsr.d.ts → index-DVSipdrT.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
  17. package/dist/_dts/{request-B20VRWHH.d.ts → request-BjKBCS7t.d.ts} +1201 -335
  18. package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
  19. package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +3 -3
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +7 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  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 +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +16 -8
  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 +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
  55. package/dist/_dts/{types-rm2M4LGx.d.ts → types-B7e6Lmo5.d.ts} +3 -3
  56. package/dist/_dts/{types-CYcd15BQ.d.ts → types-BOxSq-Bq.d.ts} +8 -7
  57. package/dist/_dts/{types-CMZ5mkpv.d.ts → types-CT-KOxl_.d.ts} +5 -39
  58. package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-Dz6qccue.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
  60. package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
  61. package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
  62. package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +42 -9
  63. package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
  65. package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-yoSI77ov.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-HeCNlliq.mjs} +10 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
  68. package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-Duhk1vnF.mjs} +247 -7
  69. package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
  70. package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
  72. package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +189 -111
  73. package/dist/client/{Page-DqETUt-U.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
  74. package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
  76. package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-2Dl9zon2.mjs} +6 -6
  77. package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
  78. package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
  79. package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
  80. package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
  81. package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-B6SqU49k.mjs} +1 -1
  82. package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
  83. package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-drZBwEZW.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
  86. package/dist/client/{carousel-B3UhbFu7.mjs → carousel-C-YJliD-.mjs} +2 -2
  87. package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
  88. package/dist/client/{cart-DzOJfYOR.mjs → cart-acGFWK9R.mjs} +3 -3
  89. package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-BzlOGP2j.mjs} +1 -1
  90. package/dist/client/{checkout-LmePoEgM.mjs → checkout-SEontwhy.mjs} +3 -3
  91. package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
  93. package/dist/client/client.mjs +414 -319
  94. package/dist/client/{context-CJIz4FdL.mjs → context-DTrwaQtg.mjs} +2 -1
  95. package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +1 -1
  97. package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
  98. package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-RLZQWi2V.mjs} +13 -13
  99. package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-CphYnImh.mjs} +4 -4
  100. package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-BvqjASB_.mjs} +4 -4
  101. package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-BaNAoC_M.mjs} +4 -4
  102. package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
  103. package/dist/client/events-9LPvwbWp.mjs +28 -0
  104. package/dist/client/{form-BBBtRwvy.mjs → form-DyH2juYT.mjs} +3 -3
  105. package/dist/client/{form.client-CZeRQLGF.mjs → form.client-DBwzkB0M.mjs} +5 -5
  106. package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CY4kX3mh.mjs} +3 -3
  107. package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-CTEN7gxW.mjs} +1 -1
  108. package/dist/client/gifting/client.mjs +6 -6
  109. package/dist/client/{gifting-Di9-SpwW.mjs → gifting-CIx4V378.mjs} +4 -4
  110. package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
  111. package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
  112. package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-DGcJfRS8.mjs} +2 -2
  113. package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
  114. package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
  115. package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3975 -3975
  116. package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
  117. package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
  118. package/dist/client/portal/client.mjs +9 -9
  119. package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
  120. package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
  121. package/dist/client/{productDetail-gxF5whea.mjs → productDetail-DjuFvkey.mjs} +3 -3
  122. package/dist/client/{productList-B9t0XJrN.mjs → productList-DE9GEFoZ.mjs} +3 -3
  123. package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
  124. package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-BPwV-0Pp.mjs} +10420 -9108
  125. package/dist/client/rendering/client.mjs +41 -27
  126. package/dist/client/rendering/islands.mjs +1 -1
  127. package/dist/client/rendering.mjs +23 -2836
  128. package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
  129. package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
  130. package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
  131. package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
  132. package/dist/client/{shop-D1oTPDxm.mjs → shop-C3wM0Hr4.mjs} +3 -3
  133. package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
  134. package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
  135. package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
  136. package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-C0v88nLd.mjs} +14 -14
  137. package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-Ct-BRNez.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/{noop-D11X-B6n.mjs → src-CCtanNlD.mjs} +317 -342
  140. package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-lhE29TNT.mjs} +65 -11
  141. package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
  142. package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
  143. package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
  144. package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
  145. package/dist/client/{view-bGU1ws-m.mjs → view-LJVHVqsy.mjs} +4 -4
  146. package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CNDsxeJH.mjs} +8935 -8913
  147. package/dist/preview-next/before-render.mjs +4 -3
  148. package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +5 -5
  150. package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
  151. package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
  152. package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
  153. package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-aqpU34WI.mjs} +627 -498
  154. package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
  157. package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
  158. package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
  159. package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
  160. package/dist/preview-next/keepAlive.mjs +1 -1
  161. package/dist/preview-next/middleware.mjs +1 -1
  162. package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-DnL-FgSV.mjs} +28 -10
  163. package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-BEbq6EwO.mjs} +4 -4
  164. package/dist/server/{bindings-DrbJuftt.mjs → bindings-Bly0dRs7.mjs} +36 -5
  165. package/dist/server/{client-Bf06n9oj.mjs → client-CGJ2ztYp.mjs} +1449 -1600
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
  169. package/dist/server/data/dataLoaderContext.mjs +1 -1
  170. package/dist/server/data/resolveBlockData.mjs +1 -1
  171. package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
  172. package/dist/server/error-f4g44bKx.mjs +387 -0
  173. package/dist/server/index.mjs +3 -2
  174. package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
  175. package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-DTLe0FEs.mjs} +22 -4
  176. package/dist/server/next.mjs +54 -94
  177. package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
  178. package/dist/server/page-converter.mjs +1 -1
  179. package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-JzxBnqfV.mjs} +7 -2
  180. package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
  181. package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-DU4ETFPS.mjs} +8 -50
  182. package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-8jNtDXmS.mjs} +5 -4
  183. package/dist/server/prebuild.mjs +1 -1
  184. package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
  185. package/dist/server/{registry-D12XF_h1.mjs → registry-DH1VrsCl.mjs} +122 -19
  186. package/dist/server/rendering/components/pageShared.mjs +1 -1
  187. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  188. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  189. package/dist/server/rendering/server.mjs +5 -4
  190. package/dist/server/rendering.mjs +9 -8
  191. package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
  192. package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
  193. package/dist/server/routing.mjs +271 -57
  194. package/dist/server/server.mjs +3 -3
  195. package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
  196. package/dist/server/{validation-CLq5cw6M.mjs → validation-3jOzYdPL.mjs} +3 -3
  197. package/dist/server/{version-oPbhAx8E.mjs → version-8t0o6_jd.mjs} +1 -1
  198. package/package.json +1 -1
  199. package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
  200. package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
  201. package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
  202. package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
  203. package/dist/client/course-DBEU9IA9.mjs +0 -244
  204. package/dist/client/duration-Q6_QNgiv.mjs +0 -37
  205. package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
  206. package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
  207. package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
  208. package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
  209. package/dist/client/view-DNX59QwM.mjs +0 -1372
  210. package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
@@ -1,5 +1,5 @@
1
- import { at as defaultThemeTokens, f as defaultTransforms, l as coerceLinkedContentEntriesPayload, r as planArrangementContent, tt as selectBlockContent } from "./pageRenderPlan-GmPXForc.mjs";
2
- import { Bo as bindingSchema, Oi as runTransforms, _s as calendarWindowQuerySchema, ar as readRuntimeNow, cs as projectRecurringSchedule, ea as isObjectRecord, or as resolveDateRuntimeContext, qs as toUtcIsoDateTimeString, t as getBlockDefinition } from "./registry-D12XF_h1.mjs";
1
+ import { it as selectBlockContent, lt as defaultThemeTokens, p as defaultTransforms, r as planArrangementContent, u as coerceLinkedContentEntriesPayload } from "./pageRenderPlan-JzxBnqfV.mjs";
2
+ import { ec as toUtcIsoDateTimeString, hs as projectRecurringSchedule, ki as runTransforms, or as readRuntimeNow, qo as bindingSchema, sr as resolveDateRuntimeContext, t as getBlockDefinition, ta as isObjectRecord, ws as calendarWindowQuerySchema } from "./registry-DH1VrsCl.mjs";
3
3
  import { a as SUPPORTED_LOADER_ENDPOINTS$1, i as parsePublicProductCategorySelector, n as materializeLoaderMedia } from "./responseMedia-F-ElH2Rd.mjs";
4
4
  import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
5
5
  import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
@@ -741,6 +741,7 @@ function sdkPrefetchOptions(normalize, context, client, options) {
741
741
  const { customBlocks } = options ?? {};
742
742
  const customBlockMap = new Map((customBlocks ?? []).map((block) => [block.id, block]));
743
743
  return {
744
+ shouldLoad: options?.shouldLoad,
744
745
  apiClient: async ({ endpoint, params }) => {
745
746
  if (!isSupportedLoaderEndpoint(endpoint)) throw new Error(`Unsupported loader endpoint: ${endpoint}. SDK only supports: ${SUPPORTED_LOADER_ENDPOINTS.join(", ")}`);
746
747
  const resolvedParams = normalize(endpoint, params, context);
@@ -5766,6 +5766,16 @@ function parseSchemaVersionedJson(input) {
5766
5766
  };
5767
5767
  }
5768
5768
  asBoundaryOptionId("break:unknown");
5769
+ /**
5770
+ * Site style is site-owned authority. Page design snapshots retain pins and
5771
+ * flow choices, but must not keep resolving against a superseded site style.
5772
+ */
5773
+ function rebasePageDesignIntentToSiteStyle(intent, siteStyleId) {
5774
+ return intent.siteStyleId === siteStyleId ? intent : {
5775
+ ...intent,
5776
+ siteStyleId
5777
+ };
5778
+ }
5769
5779
  z.object({
5770
5780
  kind: z.literal("user-pinned"),
5771
5781
  value: z.string().min(1).transform(asBoundaryOptionId)
@@ -24839,9 +24849,19 @@ function requireCuratedSiteStyle(id) {
24839
24849
  function designRuntimeRulesForSiteStyle(siteStyle) {
24840
24850
  return siteStyle?.designRuntimeRules ?? defaultDesignRuntimeRules;
24841
24851
  }
24852
+ function designRuntimeRulesForTheme(theme) {
24853
+ const siteStyleId = theme?.siteStyleId;
24854
+ if (!siteStyleId) return defaultDesignRuntimeRules;
24855
+ return designRuntimeRulesForSiteStyle(requireCuratedSiteStyle(asSiteStyleId(siteStyleId)));
24856
+ }
24842
24857
  function componentRuntimeRulesForSiteStyle(siteStyle) {
24843
24858
  return siteStyle?.componentRuntimeRules ?? defaultComponentRuntimeRules;
24844
24859
  }
24860
+ function componentRuntimeRulesForTheme(theme) {
24861
+ const siteStyleId = theme?.siteStyleId;
24862
+ if (!siteStyleId) return defaultComponentRuntimeRules;
24863
+ return componentRuntimeRulesForSiteStyle(requireCuratedSiteStyle(asSiteStyleId(siteStyleId)));
24864
+ }
24845
24865
  function curatedStyleTemplate(input) {
24846
24866
  return {
24847
24867
  id: asDesignSystemTemplateId(`template:${input.id.replace("site-style:", "")}`),
@@ -24964,6 +24984,68 @@ function filterLookIdsForPolicy(policy, looks) {
24964
24984
  default: return assertNever$2(policy, "Unhandled site style block policy");
24965
24985
  }
24966
24986
  }
24987
+ function requiredLookChoice(lookId) {
24988
+ return {
24989
+ kind: "user-pinned",
24990
+ value: lookId
24991
+ };
24992
+ }
24993
+ /**
24994
+ * Writes the look pins a locked-look site style requires.
24995
+ *
24996
+ * Boundary pins are never written: a site style's join rules
24997
+ * are resolved at read time by `resolvePageJoins`, so it shows as a default
24998
+ * and follows later changes to the style (issue 1422). Pins already stored,
24999
+ * including ones an earlier version wrote on the style's behalf, are left as
25000
+ * they are.
25001
+ */
25002
+ function applySiteStyleBlockPoliciesToPageDesignIntent(intent, blocks) {
25003
+ const policyLookPins = blocks.flatMap((block) => {
25004
+ const policy = deriveSiteStyleBlockPolicy({
25005
+ siteStyleId: intent.siteStyleId,
25006
+ blockKind: block.blockKind
25007
+ });
25008
+ switch (policy.kind) {
25009
+ case "open": return [];
25010
+ case "locked-look-and-layouts": return [{
25011
+ blockId: block.blockId,
25012
+ blockKind: block.blockKind,
25013
+ choice: requiredLookChoice(policy.lookId)
25014
+ }];
25015
+ default: return assertNever$2(policy, "Unhandled site style block policy");
25016
+ }
25017
+ });
25018
+ if (policyLookPins.length === 0) return intent;
25019
+ const policyPinBlockIds = new Set(policyLookPins.map((pin) => pin.blockId));
25020
+ return {
25021
+ ...intent,
25022
+ blockLookPins: [...intent.blockLookPins.filter((pin) => !policyPinBlockIds.has(pin.blockId)), ...policyLookPins]
25023
+ };
25024
+ }
25025
+ function planBlockContentVariantPolicyUpdate(input) {
25026
+ switch (input.policy.kind) {
25027
+ case "open": return { kind: "unchanged" };
25028
+ case "locked-look-and-layouts": {
25029
+ const currentVariant = typeof input.content.variant === "string" ? asLayoutVariantKey(input.content.variant) : null;
25030
+ return currentVariant && isLayoutVariantAllowedByPolicy(input.policy, currentVariant) ? { kind: "unchanged" } : {
25031
+ kind: "set-variant",
25032
+ variantKey: input.policy.defaultLayoutVariantKey
25033
+ };
25034
+ }
25035
+ default: return assertNever$2(input.policy, "Unhandled site style block policy");
25036
+ }
25037
+ }
25038
+ function applyBlockContentVariantPolicy(input) {
25039
+ const plan = planBlockContentVariantPolicyUpdate(input);
25040
+ switch (plan.kind) {
25041
+ case "unchanged": return input.content;
25042
+ case "set-variant": return {
25043
+ ...input.content,
25044
+ variant: plan.variantKey
25045
+ };
25046
+ default: return assertNever$2(plan, "Unhandled block content variant policy plan");
25047
+ }
25048
+ }
24967
25049
  //#endregion
24968
25050
  //#region ../theme-core/src/site-styles/effectiveArrangement.ts
24969
25051
  /** Content stage: legacy Looks leave arrangement to stored intent and defaults. */
@@ -42002,24 +42084,6 @@ function hasEventBookingClosedEarly(event, now) {
42002
42084
  }
42003
42085
  //#endregion
42004
42086
  //#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
42005
- /**
42006
- * What a system-managed Event URL actually selected.
42007
- *
42008
- * The resolver used to assume that one returned `PublicEvent` meant one
42009
- * occurrence. A whole-series Event breaks that assumption in two directions: a
42010
- * parent Event path selects nothing concrete until a run is chosen, and a run
42011
- * path selects a run whose identity spans every one of its sessions. This
42012
- * module parses those cases once, so the renderer switches over a closed set of
42013
- * page states instead of probing booking scopes at render time.
42014
- *
42015
- * Everything here is pure. Loading events and resolving run slugs is the
42016
- * resolver's job; deciding what the page is and which runs the chooser
42017
- * advertises happens here. When a run is open to join, and where it sits in its
42018
- * own life, come from `@riverbankcms/core`: the same authority the
42019
- * public read projection and the write-side run-facts loader use, so a run
42020
- * cannot report itself open on the storefront and closed at the point of
42021
- * booking.
42022
- */
42023
42087
  function planWholeSeriesParentBooking(eligibleRuns) {
42024
42088
  const [first, second, ...rest] = eligibleRuns;
42025
42089
  if (!second) return {
@@ -42236,6 +42300,45 @@ function eventOccurrenceContext(event) {
42236
42300
  ...event.occurrenceTitle ? { overrides: { title: event.occurrenceTitle } } : {}
42237
42301
  };
42238
42302
  }
42303
+ /** Loaded records and their real page subject, handed to the registration block through its normal input. */
42304
+ function registrationDataForEventSelection(selection) {
42305
+ switch (selection.kind) {
42306
+ case "occurrence": return {
42307
+ events: [selection.event],
42308
+ occurrenceContext: eventOccurrenceContext(selection.event),
42309
+ subject: null
42310
+ };
42311
+ case "dateChoice": return {
42312
+ events: [...selection.dates],
42313
+ occurrenceContext: null,
42314
+ subject: {
42315
+ kind: "eventSeries",
42316
+ eventSeriesId: selection.dates[0].seriesId,
42317
+ bookingScope: "single_occurrence"
42318
+ }
42319
+ };
42320
+ case "wholeSeriesRun": return {
42321
+ wholeSeriesRunEvents: [selection.run.representative],
42322
+ subject: {
42323
+ kind: "eventSeries",
42324
+ eventSeriesId: selection.run.eventSeriesId,
42325
+ bookingScope: "whole_series",
42326
+ isWholeSeriesBooking: true
42327
+ }
42328
+ };
42329
+ case "wholeSeriesParent":
42330
+ case "wholeSeriesParentUnavailable": return {
42331
+ wholeSeriesRunEvents: selection.admittedRuns.map((run) => run.representative),
42332
+ subject: {
42333
+ kind: "eventOffering",
42334
+ eventOfferingId: selection.offeringId,
42335
+ catalogueEventSeriesIds: selection.admittedRuns.map((run) => run.eventSeriesId),
42336
+ bookingScope: "whole_series",
42337
+ isWholeSeriesBooking: true
42338
+ }
42339
+ };
42340
+ }
42341
+ }
42239
42342
  //#endregion
42240
42343
  //#region ../blocks/src/system/blocks/event-registration.shared.ts
42241
42344
  /**
@@ -56482,4 +56585,4 @@ function listBlockDescriptors() {
56482
56585
  }));
56483
56586
  }
56484
56587
  //#endregion
56485
- export { resolveCardListSchedule as $, compilePageRuntimeFields as $a, augmentManifest as $i, markEditableSurfaceForwarding as $n, getLocalMinuteOfDay as $o, formEmbedFragment as $r, publicEventPricingCurrency as $s, eventOnlinePlace as $t, membershipClassesLabel as A, headerRootPaint as Aa, when as Ai, isOrdinaryPublicEvent as An, applyLookPhotoTreatment as Ao, clsx as Ar, parseMailingListRuntimeContext as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, arrangementManifestFromVariants as Ba, FileAudioIcon as Bi, canJoinEventWaitlistOnAnyMode as Bn, bindingSchema as Bo, formatEventPrice as Br, formatBookingCompactEnglishTime as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, parseListLook as Ca, lookLeadSlotTransform as Ci, groupEventsByDate as Cn, isDecorativeTransitionIntent as Co, listItemPresentation as Cr, isRecord$6 as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, heroPhotoPaintsGround as Da, createTransformRegistry as Di, hasCancelledRegistrationDate as Dn, transitionIntentForTreatment as Do, resolvedItemSurfaceProps as Dr, orderedLiveRunSessions as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, readOpeningToneProjection as Ea, asPartialObject as Ei, cancelledDateCopy as En, spaciousBoundaryOption as Eo, lookListPresentationSchemaShape as Er, nextLiveRunSessionStartMs as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, compileArrangementLookRuntime as Fa, ChevronDownIcon as Fi, planWholeSeriesRunSelection as Fn, defaultHeroImageSurfaceTreatment as Fo, classPricesCopySchema as Fr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, buildInitialPolicyPageDesignIntent as Ga, inlineTextToPlainText as Gi, isEventFull as Gn, fieldSchema as Go, getAnchorClasses as Gr, parseBookingLocalDate as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, resolveEffectiveArrangement as Ha, FileTextIcon as Hi, formatTotalCapacity as Hn, blockCategoryEnum as Ho, formatEventPriceDisplay as Hr, compareLocalScheduleDates as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, getCompatibleBlockAppearancePresets as Ia, CircleMinusIcon as Ii, resolveSelectionBookingClosedDetail as In, stripStaleTransitionStyleGroup as Io, classPricesDataSchema as Ir, formatDate$2 as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, filterLookIdsForPolicy as Ja, plainTextToInlineText as Ji, resolveFeatureCardGeneratedIconSizePx as Jn, parseRepeaterGridInteger as Jo, cardFragment as Jr, resolveBookingBusinessTimeZone as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, deriveSiteStyleBlockPolicy as Ka, isInlineTextEmpty as Ki, groupPublicEventsByRun as Kn, validateManifestLookField as Ko, richTextFragment as Kr, parseLocalScheduleTime as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, resolveArrangementLookForBlock as La, CirclePlusIcon as Li, selectionRepresentativeEvent as Ln, themeV2CompilerOwnedFieldNames as Lo, resolveClassPriceItems as Lr, formatDateRange as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, arrangementLookHooks as Ma, parseBlockIconValue as Mi, planOrdinarySeriesSelection as Mn, parseCanonicalRuntimeBackground as Mo, morePhotosField as Mr, parseMailingListPlacementTargeting as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, arrangementStyleAvailability as Na, resolveBlockIconRenderValue as Ni, planWholeSeriesParentBooking as Nn, resolveSectionBackground as No, blockDesignCapabilityMapFromDefinitions as Nr, sameMailingListPlacementTargeting as Ns, offeringsListingFor as Nt, shopProductPresentation as O, headerNeedsPhotoShade as Oa, runTransforms as Oi, eventOccurrenceContext as On, anglePolygonCss as Oo, itemRole as Or, resolveWholeSeriesBookingPhase as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, automaticArrangementLook as Pa, ArrowDownIcon as Pi, planWholeSeriesParentSelection as Pn, sectionSurfaceBase as Po, resolveDeclaredBlockDesignCapability as Pr, isCanonicalRichTextDoc as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, requireCuratedSiteStyle as Qa, PUBLIC_DOWNLOAD_MEDIA_TYPES as Qi, composeHeaderSectionWrapperClassName as Qn, getLocalDateKey as Qo, singleButtonFragment as Qr, isPublicEventPricingOptionDisplayable as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, resolveLookForBlock as Ra, ClockIcon as Ri, hasEventBookingClosedEarly as Rn, appearancePresets as Ro, formatCoursePrice as Rr, formatDateTimeRange as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, selectItemSurfacePresentation as Sa, lookCarouselRegionTransform as Si, formatTime as Sn, boundaryTreatmentForBoundaryOptionId as So, defineProgressiveBlockRuntime as Sr, unavailableReadinessFact as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, effectiveHeaderNavLinkStyle as Ta, lookSkinSlotTransform as Ti, bookingPageKindSchema as Tn, softBoundaryOption as To, listLookSlot as Tr, CANCELLED_SESSION_STATUS as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, resolveModeArrangement as Ua, MinusIcon as Ui, getEventAvailability as Un, blockSectionDeclarationShape as Uo, formatEventStartingPrice as Ur, getBookingLocalDateKey as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, readStoredMode as Va, FileSpreadsheetIcon as Vi, formatEventRemainingPlaces as Vn, DEFAULT_MEDIA_FIELD_KINDS as Vo, formatEventPriceAmount as Vr, toScheduledBookingDateTime as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, resolvePublishedLook as Wa, PlusIcon as Wi, getEventAvailabilityStatus as Wn, builtInBlockKindsSchema as Wo, BACKGROUND_POSITION_PRESET_VALUES as Wr, getLocalScheduleDate as Ws, buildEventListWeek as Wt, CardListContentPart as X, designRuntimeRulesForSiteStyle as Xa, parseFieldDefinition as Xi, siteFooterManifest as Xn, resolveRepeaterGridRowFieldId as Xo, faqHeadingFragment as Xr, offeringLabelForPageSurfaceSubject as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, componentRuntimeRulesForSiteStyle as Ya, normalizeSelectSource as Yi, shouldReserveFeatureCardIconZone as Yn, resolveRepeaterGridColumnFieldId as Yo, faqAccordionFragment as Yr, toBookingTimeZone as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, getCuratedSiteStyle as Za, parseFieldDefinitions as Zi, siteHeaderManifest as Zn, resolveRepeaterGridSpanFieldId as Zo, blogFeaturedPostFragment as Zr, formatBookingPriceDisplay as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, themeButtonSelector as _a, resolveBackgroundColorValue as _i, formatEventHourLabel as _n, sectionShapeFromContent as _o, buildInteractiveIslandProps as _r, calendarWindowQuerySchema as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessQuery as aa, parseContentVersionId as ac, ctaRowFragment as ai, closedDatesCopy as an, generateDefaultCardSystem as ao, readRuntimeNow as ar, getWeekCalendarDays as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, lookPresentationOnPalette as ba, bodyCopyFragment as bi, formatEventTimeRange as bn, boundaryOptions as bo, createZodCodec as br, loadedReadinessFact as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventDiscoveryFilterKeys as ca, parseGradientPresetId as cc, boxStylesTransforms as ci, buildCalendarViewport as cn, generateNavLinkCSS as co, headerRuntimeTransforms as cr, projectRecurringSchedule as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventScopeQueryKeys as da, resolveCardRoleForBoxStyles as di, eventLocalDateKey as dn, resolveEffectPaint as do, staticHeaderChromeRuntime as dr, blockBookingConsentSchema as ds, systemCustomizeFacetDefinitionsForBlock as dt, isObjectRecord$1 as ea, publicEventPricingDisplay as ec, formCopyFragment as ei, eventPlaceName as en, stripCompiledRuntimeStyleFields as eo, splitPositioningClasses as er, addDays as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, resolveEventScope as fa, parseBackgroundContent as fi, formatCalendarTitle as fn, generateInteractiveChildInheritanceCSS as fo, uiTransforms as fr, bookingConsentCarrierSchema as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, parseThemeButtonVariantId as ga, resolveSurfaceForegroundStyles as gi, formatEventDateParts as gn, sectionShapeForGround as go, buildFormInteractiveIslandProps as gr, linkSchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, resolveEventCalendarReadPlan as ha, resolveSectionSurfaceForeground as hi, formatEventCompactDateRail as hn, resolvePageDesignBoundaryChoice as ho, formBlockDefinition as hr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as hs, EventQuickFacts as ht, systemBlockDefinitions as i, eventReadinessLoaderKey as ia, formatCurrencyAmount as ic, heroCtaRowFragment as ii, pageNavigationSchema as in, resolveCardRole as io, teamMemberCardBiography as ir, getWeekCalendarDayTuple as is, MediaPlaceholder as it, passCardListContent as j, arrangementAppearancePresets as ja, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ji, planDropInPanel as jn, deriveSectionGround as jo, heroMorePhotoCount as jr, parseMailingListProviderScope as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, headerRootIsTransparent as ka, el as ki, getPublicEventCanonicalPath as kn, transitionCatalogueEntries as ko, Grid as kr, buildMailingListSignupBlockSourceRef as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, eventScopeLoaderParam as la, arrangementSlotNames as lc, boxStyleClassNames as li, eventCalendarWeekStart as ln, generateEffectsCSS as lo, chromeLogoTransforms as lr, publicEventsArraySchema as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, eventCalendarListGroupingDecision as ma, parseRuntimeBackgroundContent as mi, formatEventClockLabel as mn, resolvePageDesignBlockLookChoice as mo, formatDate$1 as mr, sanitizeHref as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, chosenString as na, resolveExactOrFreePriceDisplay as nc, testimonialsHeadingFragment as ni, formatEventLocation as nn, gradientToCss as no, parseTeamMemberSpecialties as nr, getDayOfWeek as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessQueryKeys as oa, unsafeAsContentEntryId as oc, isBlockButtonRole as oi, closedRunCopy as on, generateFooterCss as oo, resolveDateRuntimeContext as or, isSameCalendarDay as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, resolveCalendarReadProfile as pa, parseBackgroundOverlay as pi, formatDate as pn, parsePageDesignIntent as po, formattingTransforms as pr, beforeBookingQuestionsPresentationSchema as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, filterLayoutProfilesForPolicy as qa, parseInlineTextFromUnknown as qi, FEATURE_CARD_ICON_TREATMENTS as qn, isAcceptedRepeaterGridSpan as qo, headingFragment as qr, toUtcIsoDateTimeString as qs, groupEventsByWeek as qt, normalizeBlockContent as r, blockChecksForEvents as ra, resolvePricingOptionsPriceDisplay as rc, ctaCopyFragment as ri, blockSiteTermsSchema as rn, getGradientPreset as ro, teamMemberBiography as rr, getOrderedDayNames as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventReadinessResultSchema as sa, unsafeAsEventCategoryId$1 as sc, heroCopyFragment as si, closedDateCopy as sn, buildTextContrastShadow as so, mediaTransforms as sr, isToday as ss, resolveImageUrl as st, getBlockDefinition as t, isRecord$5 as ta, publicEventPricingType as tc, testimonialsCarouselFragment as ti, eventVenuePlace as tn, surfaceResolutionContextFromTheme as to, contentTransforms as tr, formatDateKey as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeQuery as ua, TokenResolver as uc, normalizeBoxStylesBorder as ui, eventDateOptions as un, resolveEffectApplications as uo, layoutTransforms as ur, blockBookingPaymentTermsSchema as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, AFFORDANCE_SUPPRESS_CLASS as va, ctaButton as vi, formatEventNextDateFact as vn, sectionShapeHook as vo, createInteractiveIslandCodec as vr, admitReadinessFacts as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, authoredHeaderLinkForeground as wa, lookQuoteLimitTransform as wi, resolveEventTimeZone as wn, noneBoundaryOption as wo, listLookControl as wr, EVENT_PRESET_VALUES as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, resolveLookSurfacePresentation as xa, defineFragment as xi, formatEventWeekdayTime as xn, boundaryRuntimeMetricsForDecorativeTransition as xo, defineClientOwnedBlockRuntime as xr, pageTemplateFromEntry as xs, bookingNowSchema as xt, cartBlockDefinition as y, resolveHeaderRootForeground as ya, isSemanticSpacing as yi, formatEventRunDates as yn, boundaryOptionForTransitionIntent as yo, defineInteractiveIslandMetaKeys as yr, hiddenFromVisitors as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, styleSectionBackgroundForColour as za, FileArchiveIcon as zi, isBookableEvent as zn, NodeSchema as zo, formatEventDepositNote as zr, inferSiteDateLocale as zs, ThemedButton as zt };
56588
+ export { resolveCardListSchedule as $, componentRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, validateManifestLookField as $o, singleButtonFragment as $r, parseLocalScheduleTime as $s, eventOnlinePlace as $t, membershipClassesLabel as A, headerRootIsTransparent as Aa, el as Ai, isOrdinaryPublicEvent as An, isDecorativeTransitionIntent as Ao, Grid as Ar, isRecord$6 as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, styleSectionBackgroundForColour as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, resolveSectionBackground as Bo, formatEventDepositNote as Br, sameMailingListPlacementTargeting as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, selectItemSurfacePresentation as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeForGround as Co, defineProgressiveBlockRuntime as Cr, linkSchema as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, readOpeningToneProjection as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryOptions as Do, lookListPresentationSchemaShape as Dr, loadedReadinessFact as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, effectiveHeaderNavLinkStyle as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryOptionForTransitionIntent as Eo, listLookSlot as Er, hiddenFromVisitors as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, automaticArrangementLook as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, anglePolygonCss as Fo, resolveDeclaredBlockDesignCapability as Fr, resolveWholeSeriesBookingPhase as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, resolvePublishedLook as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, appearancePresets as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, formatDateTimeRange as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, readStoredMode as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, defaultHeroImageSurfaceTreatment as Ho, formatEventPriceAmount as Hr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, compileArrangementLookRuntime as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, transitionCatalogueEntries as Io, classPricesCopySchema as Ir, buildMailingListSignupBlockSourceRef as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, buildInitialPolicyPageDesignIntent as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, DEFAULT_MEDIA_FIELD_KINDS as Jo, headingFragment as Jr, toScheduledBookingDateTime as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, applyBlockContentVariantPolicy as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, NodeSchema as Ko, getAnchorClasses as Kr, inferSiteDateLocale as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, getCompatibleBlockAppearancePresets as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, applyLookPhotoTreatment as Lo, classPricesDataSchema as Lr, parseMailingListRuntimeContext as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, arrangementAppearancePresets as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, softBoundaryOption as Mo, heroMorePhotoCount as Mr, CANCELLED_SESSION_STATUS as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, arrangementLookHooks as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, spaciousBoundaryOption as No, morePhotosField as Nr, nextLiveRunSessionStartMs as Ns, offeringsListingFor as Nt, shopProductPresentation as O, heroPhotoPaintsGround as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, boundaryRuntimeMetricsForDecorativeTransition as Oo, resolvedItemSurfaceProps as Or, pageTemplateFromEntry as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, arrangementStyleAvailability as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionIntentForTreatment as Po, blockDesignCapabilityMapFromDefinitions as Pr, orderedLiveRunSessions as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, componentRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, fieldSchema as Qo, blogFeaturedPostFragment as Qr, parseBookingLocalDate as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, resolveArrangementLookForBlock as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, deriveSectionGround as Ro, resolveClassPriceItems as Rr, parseMailingListProviderScope as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, resolveLookSurfacePresentation as Sa, defineFragment as Si, formatTime as Sn, pageDesignDecisionsV2Schema as So, defineClientOwnedBlockRuntime as Sr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, authoredHeaderLinkForeground as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, sectionShapeHook as To, listLookControl as Tr, admitReadinessFacts as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, resolveEffectiveArrangement as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, stripStaleTransitionStyleGroup as Uo, formatEventPriceDisplay as Ur, formatDate$2 as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, arrangementManifestFromVariants as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, sectionSurfaceBase as Vo, formatEventPrice as Vr, isCanonicalRichTextDoc as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, resolveModeArrangement as Wa, MinusIcon as Wi, getEventAvailability as Wn, themeV2CompilerOwnedFieldNames as Wo, formatEventStartingPrice as Wr, formatDateRange as Ws, buildEventListWeek as Wt, CardListContentPart as X, filterLayoutProfilesForPolicy as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, blockSectionDeclarationShape as Xo, faqAccordionFragment as Xr, getBookingLocalDateKey as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, deriveSiteStyleBlockPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, blockCategoryEnum as Yo, cardFragment as Yr, compareLocalScheduleDates as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, filterLookIdsForPolicy as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, builtInBlockKindsSchema as Zo, faqHeadingFragment as Zr, getLocalScheduleDate as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, parseThemeButtonVariantId as _a, TokenResolver as _c, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, generateInteractiveChildInheritanceCSS as _o, buildFormInteractiveIslandProps as _r, blockBookingPaymentTermsSchema as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessLoaderKey as aa, isPublicEventPricingOptionDisplayable as ac, heroCtaRowFragment as ai, closedDatesCopy as an, stripCompiledRuntimeStyleFields as ao, teamMemberCardBiography as ar, getLocalDateKey as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveHeaderRootForeground as ba, isSemanticSpacing as bi, formatEventTimeRange as bn, resolvePageDesignBlockLookChoice as bo, defineInteractiveIslandMetaKeys as br, beforeBookingQuestionsPresentationSchema as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventReadinessResultSchema as ca, publicEventPricingType as cc, heroCopyFragment as ci, buildCalendarViewport as cn, getGradientPreset as co, mediaTransforms as cr, formatDateKey as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventScopeQuery as da, formatCurrencyAmount as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateFooterCss as do, layoutTransforms as dr, getWeekCalendarDayTuple as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, toUtcIsoDateTimeString as ec, formEmbedFragment as ei, eventPlaceName as en, designRuntimeRulesForSiteStyle as eo, markEditableSurfaceForwarding as er, isAcceptedRepeaterGridSpan as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, eventScopeQueryKeys as fa, parseContentVersionId as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, buildTextContrastShadow as fo, staticHeaderChromeRuntime as fr, getWeekCalendarDays as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveEventCalendarReadPlan as ga, arrangementSlotNames as gc, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, resolveEffectPaint as go, formBlockDefinition as gr, publicEventsArraySchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, eventCalendarListGroupingDecision as ha, parseGradientPresetId as hc, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, resolveEffectApplications as ho, formatDate$1 as hr, projectRecurringSchedule as hs, EventQuickFacts as ht, systemBlockDefinitions as i, blockChecksForEvents as ia, formatBookingPriceDisplay as ic, ctaCopyFragment as ii, pageNavigationSchema as in, compilePageRuntimeFields as io, teamMemberBiography as ir, resolveRepeaterGridSpanFieldId as is, MediaPlaceholder as it, passCardListContent as j, headerRootPaint as ja, when as ji, planDropInPanel as jn, noneBoundaryOption as jo, clsx as jr, EVENT_PRESET_VALUES as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, headerNeedsPhotoShade as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, boundaryTreatmentForBoundaryOptionId as ko, itemRole as kr, unavailableReadinessFact as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, eventDiscoveryFilterKeys as la, resolveExactOrFreePriceDisplay as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, resolveCardRole as lo, headerRuntimeTransforms as lr, getDayOfWeek as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveCalendarReadProfile as ma, unsafeAsEventCategoryId$1 as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, generateEffectsCSS as mo, formattingTransforms as mr, isToday as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, isRecord$5 as na, toBookingTimeZone as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, getCuratedSiteStyle as no, contentTransforms as nr, resolveRepeaterGridColumnFieldId as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessQuery as oa, publicEventPricingCurrency as oc, ctaRowFragment as oi, closedRunCopy as on, surfaceResolutionContextFromTheme as oo, readRuntimeNow as or, getLocalMinuteOfDay as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, resolveEventScope as pa, unsafeAsContentEntryId as pc, parseBackgroundContent as pi, formatDate as pn, generateNavLinkCSS as po, uiTransforms as pr, isSameCalendarDay as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, applySiteStyleBlockPoliciesToPageDesignIntent as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, bindingSchema as qo, richTextFragment as qr, formatBookingCompactEnglishTime as qs, groupEventsByWeek as qt, normalizeBlockContent as r, chosenString as ra, offeringLabelForPageSurfaceSubject as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, requireCuratedSiteStyle as ro, parseTeamMemberSpecialties as rr, resolveRepeaterGridRowFieldId as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventReadinessQueryKeys as sa, publicEventPricingDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, gradientToCss as so, resolveDateRuntimeContext as sr, addDays as ss, resolveImageUrl as st, getBlockDefinition as t, isObjectRecord$1 as ta, resolveBookingBusinessTimeZone as tc, formCopyFragment as ti, eventVenuePlace as tn, designRuntimeRulesForTheme as to, splitPositioningClasses as tr, parseRepeaterGridInteger as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeLoaderParam as ua, resolvePricingOptionsPriceDisplay as uc, boxStyleClassNames as ui, eventDateOptions as un, generateDefaultCardSystem as uo, chromeLogoTransforms as ur, getOrderedDayNames as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, themeButtonSelector as va, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, parsePageDesignIntent as vo, buildInteractiveIslandProps as vr, blockBookingConsentSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, parseListLook as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, sectionShapeFromContent as wo, listItemPresentation as wr, calendarWindowQuerySchema as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, lookPresentationOnPalette as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, resolvePageDesignBoundaryChoice as xo, createZodCodec as xr, sanitizeHref as xs, bookingNowSchema as xt, cartBlockDefinition as y, AFFORDANCE_SUPPRESS_CLASS as ya, ctaButton as yi, formatEventRunDates as yn, rebasePageDesignIntentToSiteStyle as yo, createInteractiveIslandCodec as yr, bookingConsentCarrierSchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveLookForBlock as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, parseCanonicalRuntimeBackground as zo, formatCoursePrice as zr, parseMailingListPlacementTargeting as zs, ThemedButton as zt };
@@ -1,2 +1,2 @@
1
- import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-tz-GVWft.mjs";
1
+ import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-DU4ETFPS.mjs";
2
2
  export { PageContent, toPageHydrationBootstrapConfig };
@@ -1,2 +1,2 @@
1
- import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-5iZefzDd.mjs";
1
+ import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-DTLe0FEs.mjs";
2
2
  export { loadPage, loadPageWithDeps };
@@ -1,2 +1,2 @@
1
- import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-Dd8LFzfa.mjs";
1
+ import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-DyNSd2Yj.mjs";
2
2
  export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteBlockRenderContext };
@@ -1,8 +1,9 @@
1
- import { d as MissingBlockOverrideError } from "../pageShared-tz-GVWft.mjs";
1
+ import { d as MissingBlockOverrideError } from "../pageShared-DU4ETFPS.mjs";
2
+ import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "../servicePageContent-B-FezJmH.mjs";
2
3
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
3
4
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
4
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-Bp3OlOjj.mjs";
5
- import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-CUHtm7tW.mjs";
5
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-BEbq6EwO.mjs";
6
+ import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-Uy9Zp2Ks.mjs";
6
7
  import { jsx } from "react/jsx-runtime";
7
8
  //#region src/rendering/components/Block.server.tsx
8
9
  /**
@@ -15,4 +16,4 @@ function Block(props) {
15
16
  return /* @__PURE__ */ jsx(BlockContent, { ...props });
16
17
  }
17
18
  //#endregion
18
- export { Block, Layout, MISSING_SDK_THEME_ERROR_CODE, MissingBlockOverrideError, MissingSdkThemeError, Page, UnsupportedOverrideOnlyLayoutChromeError, buildFooterRenderablePageOutline, buildPageBlockKindIndex, collectUsedBlockKindsFromPageOutline, defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, prefetchFooterBlockData, resolveBlockOverridesForPage };
19
+ export { BOOKING_PAGE_BLOCK_IDS, Block, Layout, MISSING_SDK_THEME_ERROR_CODE, MissingBlockOverrideError, MissingSdkThemeError, Page, SERVICE_BOOKING_BLOCK_IDS, UnsupportedOverrideOnlyLayoutChromeError, bookingDescription, bookingDetailEvents, bookingHero, bookingPageDesign, bookingPageFacts, bookingPageIdentity, bookingPageSeedData, bookingSectionBlocks, buildBookingPageOutline, buildCodeOwnedPageBlocks, buildFooterRenderablePageOutline, buildPageBlockKindIndex, buildServiceBookingOutline, collectUsedBlockKindsFromPageOutline, createPublicBlockContentContractResolver, defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, parseServicePageContent, plainTextDoc, prefetchFooterBlockData, resolveBlockOverridesForPage };
@@ -1,13 +1,14 @@
1
- import { v as resolveAuthoredLinkHref } from "./pageRenderPlan-GmPXForc.mjs";
2
- import { Xi as parseFieldDefinition, at as computeMediaTransformStyle, ct as resolveImageUrlWithContext$1, ft as buildResolveImageUrlContext, ms as sanitizeHref, nt as RichText$2, ot as resolveImageSourceSetWithContext$1, st as resolveImageUrl$1 } from "./registry-D12XF_h1.mjs";
1
+ import { x as resolveAuthoredLinkHref } from "./pageRenderPlan-JzxBnqfV.mjs";
2
+ import { Zi as parseFieldDefinition, at as computeMediaTransformStyle, ct as resolveImageUrlWithContext$1, ft as buildResolveImageUrlContext, nt as RichText$2, ot as resolveImageSourceSetWithContext$1, st as resolveImageUrl$1, xs as sanitizeHref } from "./registry-DH1VrsCl.mjs";
3
3
  import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
4
- import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-tz-GVWft.mjs";
5
- import { _ as admitLayoutGridForPlan, b as projectRepeaterGridLayout$1, v as deriveFieldValidationPlan, x as projectRepeaterGridLayoutForRendering$1 } from "./pageRuntimeSupport-Dd8LFzfa.mjs";
6
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-eaTY7RPg.mjs";
4
+ import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-DU4ETFPS.mjs";
5
+ import { C as projectRepeaterGridLayout$1, b as admitLayoutGridForPlan, w as projectRepeaterGridLayoutForRendering$1, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-DyNSd2Yj.mjs";
6
+ import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "./servicePageContent-B-FezJmH.mjs";
7
7
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
8
- import { t as loadPage } from "./loadPage-5iZefzDd.mjs";
8
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BkK1w3QQ.mjs";
9
+ import { t as loadPage } from "./loadPage-DTLe0FEs.mjs";
9
10
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
10
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-Bp3OlOjj.mjs";
11
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-BEbq6EwO.mjs";
11
12
  import "react";
12
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
14
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -158,4 +159,4 @@ function projectRepeaterGridLayoutForRendering(layout, columns = layout.columns)
158
159
  return projectRepeaterGridLayoutForRendering$1(layout, columns);
159
160
  }
160
161
  //#endregion
161
- export { Block, EditorPageRenderer, ImagePresets, Layout, MISSING_SDK_THEME_ERROR_CODE, MissingBlockOverrideError, MissingSdkThemeError, Page, PageRenderer, RichText, ThemeScope, UnsupportedOverrideOnlyLayoutChromeError, buildFooterRenderablePageOutline, buildRenderableMediaAssetIndex, buildRepeaterGridLayoutForRendering, buildThemeRuntime, defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage, mediaIdentifierSchema, mediaSchema, parseCanonicalMediaIdentifier, parseMediaIdentifier, persistableMediaSchema, projectRepeaterGridLayout, projectRepeaterGridLayoutForRendering, renderableMediaAssetSchema, resolveImageRenderProps, resolveImageSourceSetWithContext, resolveImageUrl, resolveImageUrlWithContext, resolveLinkHref, resolveManagedMediaReference, runtimeMediaSchema, toBlocksImageResolveContextInput, toBlocksMediaAssets, toBlocksPageRendererDataContext };
162
+ export { BOOKING_PAGE_BLOCK_IDS, Block, EditorPageRenderer, ImagePresets, Layout, MISSING_SDK_THEME_ERROR_CODE, MissingBlockOverrideError, MissingSdkThemeError, Page, PageRenderer, RichText, SERVICE_BOOKING_BLOCK_IDS, ThemeScope, UnsupportedOverrideOnlyLayoutChromeError, bookingDescription, bookingDetailEvents, bookingHero, bookingPageDesign, bookingPageFacts, bookingPageIdentity, bookingPageSeedData, bookingSectionBlocks, buildBookingPageOutline, buildCodeOwnedPageBlocks, buildFooterRenderablePageOutline, buildRenderableMediaAssetIndex, buildRepeaterGridLayoutForRendering, buildServiceBookingOutline, buildThemeRuntime, createPublicBlockContentContractResolver, defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage, mediaIdentifierSchema, mediaSchema, parseCanonicalMediaIdentifier, parseMediaIdentifier, parseServicePageContent, persistableMediaSchema, plainTextDoc, projectRepeaterGridLayout, projectRepeaterGridLayoutForRendering, renderableMediaAssetSchema, resolveImageRenderProps, resolveImageSourceSetWithContext, resolveImageUrl, resolveImageUrlWithContext, resolveLinkHref, resolveManagedMediaReference, runtimeMediaSchema, toBlocksImageResolveContextInput, toBlocksMediaAssets, toBlocksPageRendererDataContext };
@@ -1,7 +1,8 @@
1
1
  import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
2
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-Ce9DDwON.mjs";
2
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-xeMG42aw.mjs";
3
+ import { c as toEntrySubrouteContext } from "./resolvePageContent-DnM16_f9.mjs";
3
4
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
4
- import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-B3fXA54R.mjs";
5
+ import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-lMRTfG5Z.mjs";
5
6
  //#region src/data/dataLoaderValue.ts
6
7
  const MAX_DATA_LOADER_VALUE_NODES = 1e4;
7
8
  const MAX_DATA_LOADER_VALUE_DEPTH = 100;
@@ -396,6 +397,11 @@ function configLoaderRoot(renderTarget, bookingTimeZone, now) {
396
397
  switch (renderTarget.kind) {
397
398
  case "page":
398
399
  case "entry-template": return Object.keys(zone).length ? zone : void 0;
400
+ case "system-page": return {
401
+ ...zone,
402
+ subject: renderTarget.subject,
403
+ occurrenceContext: renderTarget.occurrenceContext
404
+ };
399
405
  case "page-surface-template": return {
400
406
  ...zone,
401
407
  subject: renderTarget.subject
@@ -407,13 +413,26 @@ async function resolveBlockData(input) {
407
413
  return (await resolveBlockDataWithDeps(DEFAULT_RESOLVE_BLOCK_DATA_DEPS, input)).resolvedData;
408
414
  }
409
415
  async function resolveBlockDataWithDeps(deps, input) {
410
- const root = configLoaderRoot(input.renderTarget, input.bookingTimeZone, input.now);
411
- const configData = await deps.prefetchBlockData(input.page, {
416
+ const entrySubrouteContext = toEntrySubrouteContext(input.entrySubrouteData ?? null);
417
+ const baseRoot = configLoaderRoot(input.renderTarget, input.bookingTimeZone, input.now);
418
+ const root = entrySubrouteContext ? {
419
+ ...baseRoot,
420
+ entrySubrouteContext,
421
+ ...entrySubrouteContext.kind === "event-occurrence" ? { occurrenceContext: entrySubrouteContext.occurrence } : {}
422
+ } : baseRoot;
423
+ const prefetched = await deps.prefetchBlockData(input.page, {
412
424
  siteId: input.siteId,
413
425
  pageId: getDataLoaderOwnerPageId(input.renderTarget),
414
426
  previewStage: input.previewStage,
415
427
  ...root ? { root } : {}
416
- }, input.client, { customBlocks: input.customBlocks });
428
+ }, input.client, {
429
+ customBlocks: input.customBlocks,
430
+ ...input.seededData ? { shouldLoad: ({ blockId, loaderKey }) => !Object.prototype.hasOwnProperty.call(input.seededData?.[blockId] ?? {}, loaderKey) } : {}
431
+ });
432
+ const configData = input.seededData ? {
433
+ ...prefetched,
434
+ resolvedData: deps.mergeLoaderResults(input.seededData, prefetched.resolvedData)
435
+ } : prefetched;
417
436
  if (input.policy.kind === "config-only" || !hasRegisteredDataLoaders(input.policy.overrides)) return configData;
418
437
  const hostResult = await deps.executeCodeLoaders(input.page, {
419
438
  siteId: input.siteId,
@@ -0,0 +1,89 @@
1
+ import { a as ApiEnvelopeError, i as ApiRequestError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
2
+ //#region src/routing/resolvePageContent.ts
3
+ /** The public 404 tag is metadata, independent of error wording. */
4
+ function pageReadMissReason(tag) {
5
+ return tag === "page_read:invalid_subroute" ? "invalid_subroute" : tag === "page_read:withheld_subject" ? "withheld_subject" : "not_found";
6
+ }
7
+ /** Only a typed HTTP miss can enter route absence/redirect handling. */
8
+ function pageReadMissReasonFromError(error) {
9
+ return (error instanceof RiverbankApiError || error instanceof ApiRequestError || error instanceof ApiEnvelopeError) && error.status === 404 ? pageReadMissReason(error.tag) : null;
10
+ }
11
+ var RiverbankContentLoadError = class RiverbankContentLoadError extends Error {
12
+ constructor(message, options) {
13
+ super(message);
14
+ this.name = "RiverbankContentLoadError";
15
+ this.surface = options.surface;
16
+ this.reason = options.reason ?? null;
17
+ this.path = options.path ?? null;
18
+ this.cause = options.cause;
19
+ Object.setPrototypeOf(this, RiverbankContentLoadError.prototype);
20
+ }
21
+ };
22
+ function contentFound(content) {
23
+ return {
24
+ kind: "found",
25
+ content
26
+ };
27
+ }
28
+ function contentNotFound(reason = "not_found") {
29
+ return {
30
+ kind: "not_found",
31
+ reason
32
+ };
33
+ }
34
+ function contentLoadFailed(error) {
35
+ return {
36
+ kind: "failed",
37
+ error
38
+ };
39
+ }
40
+ /** The dashboard admits the complete path. Routing performs exactly one read. */
41
+ async function resolvePageContent(options) {
42
+ const read = await options.loadContent(options.path);
43
+ switch (read.kind) {
44
+ case "found": return {
45
+ found: true,
46
+ content: read.content,
47
+ entrySubrouteData: null,
48
+ resolvedPath: options.path
49
+ };
50
+ case "not_found": return {
51
+ found: false,
52
+ reason: read.reason === "invalid_subroute" ? "invalid-subroute" : read.reason === "withheld_subject" ? "withheld-subject" : "not-found"
53
+ };
54
+ case "failed": return {
55
+ found: false,
56
+ reason: "load-failed",
57
+ failedPath: options.path,
58
+ error: read.error
59
+ };
60
+ }
61
+ }
62
+ function toOccurrenceContextFromEntrySubroute(entrySubrouteData) {
63
+ if (!entrySubrouteData || entrySubrouteData.kind !== "event-occurrence") return null;
64
+ return {
65
+ id: entrySubrouteData.occurrence.id,
66
+ seriesId: entrySubrouteData.occurrence.seriesId,
67
+ startsAt: entrySubrouteData.occurrence.startsAt,
68
+ endsAt: entrySubrouteData.occurrence.endsAt,
69
+ timeZone: entrySubrouteData.occurrence.timeZone,
70
+ capacityOverride: entrySubrouteData.occurrence.capacityOverride,
71
+ overrides: entrySubrouteData.occurrence.overridesJson
72
+ };
73
+ }
74
+ function toEntrySubrouteContext(entrySubrouteData) {
75
+ if (entrySubrouteData?.kind === "event-run") return {
76
+ kind: "event-run",
77
+ run: {
78
+ ...entrySubrouteData.run,
79
+ name: null
80
+ }
81
+ };
82
+ const occurrence = toOccurrenceContextFromEntrySubroute(entrySubrouteData);
83
+ return occurrence ? {
84
+ kind: "event-occurrence",
85
+ occurrence
86
+ } : null;
87
+ }
88
+ //#endregion
89
+ export { pageReadMissReason as a, toEntrySubrouteContext as c, contentNotFound as i, contentFound as n, pageReadMissReasonFromError as o, contentLoadFailed as r, resolvePageContent as s, RiverbankContentLoadError as t };