@riverbankcms/sdk 0.179.0 → 0.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,32 +1,32 @@
1
1
  "use client";
2
- import { $ as shopBlockRuntime, $t as eventListWeekDays, At as normalizeEventSurfaceScope, B as buildCheckoutInteractiveIslandProps, Bt as getCardOrientation, Cn as formatEventStartingPrice, Ct as buildEventCombinedListingDisplay, Dt as normalizeEventScheduleScope, En as parseMailingListPlacementTargeting, Et as normalizeEventCategoryIds, F as buildGiftingInteractiveIslandProps, H as buildProductListInteractiveIslandProps, Ht as formatBookingSchedulePresentation, I as giftingBlockRuntime, Jt as EventQuickFacts, K as checkoutBlockRuntime, On as DEFAULT_MAILING_LIST_TARGETING, Ot as normalizeEventStaffMemberId, P as occurrenceContextSchema, Qt as buildEventListWeek, R as publicGiftingOffersResponseSchema, Sn as formatEventPriceDisplay, St as buildEventCombinedInteractiveIslandProps, Tn as assessMailingListTargeting, U as buildShopInteractiveIslandProps, Ut as CardListContentPart, V as buildProductDetailInteractiveIslandProps, Vt as getContainerClass, W as cartBlockRuntime, Xt as MediaNodeServer, Y as productDetailBlockRuntime, Z as productListBlockRuntime, Zt as Grid, _n as splitSiteChromePlacementClasses, _t as resolveOfferingsPreviewGroupCta, bn as formatEventPrice, bt as catalogueEventCardProps, ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, en as eventWeekGroupingContext, f as eventCalendarBlockRuntime, g as formBlockRuntime, gt as readOfferingsGrouping, h as buildFormInteractiveIslandProps, ht as offeringsListingFor, i as newsletterFormBlockRuntime, jt as normalizeEventVenueId, kt as normalizeEventSurfacePresets, l as buildEventCalendarInteractiveIslandProps, lt as buildOfferingsPreviewListing, mn as staticHeaderChromeRuntime, mt as offeringRunLifecycle, n as buildNewsletterFormInteractiveIslandProps, nt as publicProductsResponseSchema, o as buildEventListingInteractiveIslandProps, pt as normalizeOfferingsPreviewItemLimit, r as newsletterBlockSubmissionMessage, rn as resolveEventSelection, rt as DEFAULT_GROUP_CTA, s as eventListingBlockRuntime, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, tt as shopProductPresentation, u as buildEventCalendarListingDisplay, un as recurringScheduleProjectionSchema, ut as groupOfferingRunsByCourse, vn as formatCoursePrice, vt as resolveOfferingsPreviewGroups, wt as eventCombinedBlockRuntime, x as eventRegistrationBlockRuntime, xn as formatEventPriceAmount, xt as listingEventCardProps, y as buildEventRegistrationInteractiveIslandProps, yn as formatEventDepositNote, yt as resolveOfferingsRenderInput, z as buildCartInteractiveIslandProps } from "./newsletter-form.interactive-DCO1lErD.mjs";
3
- import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { $a as formatEventTimeRange, Aa as getEventAvailability, Ar as resolveEventRegistrationScopedEvents, Ba as buildCalendarViewport, Co as asPartialObject, Da as formatEventRemainingPlaces, Fo as sanitizeHref, Ga as formatCalendarTitle, Go as CANCELLED_SESSION_STATUS, Hr as groupPublicEventsByRun, Ia as BLOCK_BUTTON_ROLE_OPTIONS, Io as parseAspectRatioValue, Ja as formatEventCompactDateRail, Jo as resolveWholeSeriesBookingPhase, Ko as nextLiveRunSessionStartMs, Na as isEventFull, Or as normalizeEventRegistrationPageSurfaceSubject, Qa as formatEventRunDates, Ra as isBlockButtonRole, Sa as resolveRuntimeEventDestination, Tr as closedRunCopy, Ua as eventDateOptions, Wr as buildBookingFormInteractiveIslandProps, Xa as formatEventHourLabel, Ya as formatEventDateParts, _a as bookingPresentation, ba as eventVenuePlace, ds as publicEventPricingDisplay, hs as resolvePricingOptionsPriceDisplay, io as ImagePresets, is as EVENT_ADDRESS_AFTER_BOOKING_LABEL, ja as getEventAvailabilityStatus, ka as formatTotalCapacity, ls as isPublicEventPricingOptionDisplayable, mo as resolvePublicMediaUrl, ms as resolveExactOrFreePriceDisplay, no as groupEventsByDate, ps as publicEventPricingType, qo as orderedLiveRunSessions, ss as formatBookingPriceDisplay, to as formatTime, us as publicEventPricingCurrency, va as eventOnlinePlace, wa as isBookableEvent, xa as formatEventLocation, za as RichText } from "./wizardSteps-CNDsxeJH.mjs";
5
- import { $ as PUBLIC_FILE_FIELD_KINDS, B as normalizeEventCalendarDisplayMode$1, Bt as toLocationCoordinates, F as eventCalendarVariantMeaning, H as RichTextDocSchema, Ht as trimmedStringOrNull, It as normalizeLocationAddressText, Kt as formatDate, L as isEventCalendarDefaultView, Lt as parseLocationValue, P as eventCalendarListLayoutOptions, R as isEventCalendarDisplayMode, Rt as projectPublicLocation, T as publicEventsArraySchema, V as resolveEventCalendarReadPlan, Yt as formatDateTimeRange, Z as runtimeMediaSchema, at as arrangementModes, b as publicPassProductCollectionSchema, cn as getBookingLocalDateKey, et as isDisplayMediaKind, g as calendarWindowPageSchema, gn as toBookingTimeZone, in as toScheduledBookingDateTime, ln as getLocalScheduleDate, mn as resolveBookingBusinessTimeZone, on as compareLocalScheduleDates, pn as toUtcIsoDateTimeString, qt as formatDateRange, tt as mediaTypeDiscriminants, y as publicMembershipProductCollectionSchema, z as isEventCalendarListLayout, zt as publicLocationSchema } from "./src-CCtanNlD.mjs";
6
- import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
7
- import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-Bbqij1XQ.mjs";
2
+ import { $t as buildEventListWeek, At as normalizeEventSurfacePresets, B as buildCartInteractiveIslandProps, Cn as formatEventPriceDisplay, Ct as buildEventCombinedInteractiveIslandProps, Dn as parseMailingListPlacementTargeting, Dt as normalizeEventCategoryIds, En as assessMailingListTargeting, F as buildGiftingInteractiveIslandProps, G as cartBlockRuntime, H as buildProductDetailInteractiveIslandProps, Ht as getContainerClass, I as giftingBlockRuntime, Mt as normalizeEventVenueId, Ot as normalizeEventScheduleScope, P as occurrenceContextSchema, Q as productListBlockRuntime, Qt as Grid, R as publicGiftingOffersResponseSchema, Sn as formatEventPriceAmount, St as listingEventCardProps, Tt as eventCombinedBlockRuntime, U as buildProductListInteractiveIslandProps, Ut as formatBookingSchedulePresentation, V as buildCheckoutInteractiveIslandProps, Vt as getCardOrientation, W as buildShopInteractiveIslandProps, Wt as CardListContentPart, X as productDetailBlockRuntime, Yt as EventQuickFacts, Zt as MediaNodeServer, _t as readOfferingsGrouping, bn as formatEventDepositNote, bt as resolveOfferingsRenderInput, dn as recurringScheduleProjectionSchema, dt as groupOfferingRunsByCourse, en as eventListWeekDays, et as shopBlockRuntime, f as eventCalendarBlockRuntime, g as formBlockRuntime, gt as offeringsListingFor, h as buildFormInteractiveIslandProps, hn as staticHeaderChromeRuntime, ht as offeringRunLifecycle, i as newsletterFormBlockRuntime, in as resolveEventSelection, it as DEFAULT_GROUP_CTA, jt as normalizeEventSurfaceScope, kn as DEFAULT_MAILING_LIST_TARGETING, kt as normalizeEventStaffMemberId, l as buildEventCalendarInteractiveIslandProps, lt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, mt as normalizeOfferingsPreviewItemLimit, n as buildNewsletterFormInteractiveIslandProps, nt as shopProductPresentation, o as buildEventListingInteractiveIslandProps, q as checkoutBlockRuntime, r as newsletterBlockSubmissionMessage, rt as publicProductsResponseSchema, s as eventListingBlockRuntime, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, tn as eventWeekGroupingContext, u as buildEventCalendarListingDisplay, ut as buildOfferingsPreviewListing, vn as splitSiteChromePlacementClasses, vt as resolveOfferingsPreviewGroupCta, wn as formatEventStartingPrice, wt as buildEventCombinedListingDisplay, x as eventRegistrationBlockRuntime, xn as formatEventPrice, xt as catalogueEventCardProps, y as buildEventRegistrationInteractiveIslandProps, yn as formatCoursePrice, yt as resolveOfferingsPreviewGroups, z as DEFAULT_PASS_BUY_BUTTON_TEXT } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
4
+ import { C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, En as toBookingTimeZone, F as isEventCalendarDisplayMode, Gt as normalizeLocationAddressText, I as isEventCalendarListLayout, J as runtimeMediaSchema, Jt as publicLocationSchema, Kt as parseLocationValue, L as normalizeEventCalendarDisplayMode$1, M as eventCalendarVariantMeaning, P as isEventCalendarDefaultView, Q as mediaTypeDiscriminants, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, X as PUBLIC_FILE_FIELD_KINDS, Yt as toLocationCoordinates, Z as isDisplayMediaKind, _ as publicMembershipProductCollectionSchema, an as formatDateTimeRange, gn as compareLocalScheduleDates, j as eventCalendarListLayoutOptions, m as calendarWindowPageSchema, mn as toScheduledBookingDateTime, nn as formatDate, nt as arrangementModes, qt as projectPublicLocation, rn as formatDateRange, v as publicPassProductCollectionSchema, vn as getBookingLocalDateKey, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-ZSqRK3dD.mjs";
5
+ import { Bo as formatEventRunDates, Cs as sanitizeHref, Do as RichText, Eo as isBlockButtonRole, Gs as resolveWholeSeriesBookingPhase, Hs as CANCELLED_SESSION_STATUS, Io as formatEventCompactDateRail, Ko as ImagePresets, Lo as formatEventDateParts, No as formatCalendarTitle, Oo as buildCalendarViewport, Ro as formatEventHourLabel, Uo as formatTime, Us as nextLiveRunSessionStartMs, Vo as formatEventTimeRange, Wo as groupEventsByDate, Ws as orderedLiveRunSessions, _i as resolveEventRegistrationScopedEvents, _o as formatTotalCapacity, ao as bookingPresentation, cc as isPublicEventPricingOptionDisplayable, co as eventVenuePlace, ds as asPartialObject, fc as publicEventPricingType, fi as closedRunCopy, fo as isBookableEvent, hi as normalizeEventRegistrationPageSurfaceSubject, ho as formatEventRemainingPlaces, ji as buildBookingFormInteractiveIslandProps, jo as eventDateOptions, ki as groupPublicEventsByRun, lc as publicEventPricingCurrency, lo as formatEventLocation, mc as resolvePricingOptionsPriceDisplay, nc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, ns as resolvePublicMediaUrl, oc as formatBookingPriceDisplay, oo as eventOnlinePlace, pc as resolveExactOrFreePriceDisplay, uc as publicEventPricingDisplay, uo as resolveRuntimeEventDestination, vo as getEventAvailability, wo as BLOCK_BUTTON_ROLE_OPTIONS, ws as parseAspectRatioValue, xo as isEventFull, yo as getEventAvailabilityStatus } from "./wizardSteps-BliJOzEX.mjs";
6
+ import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-BGCX3zwG.mjs";
7
+ import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
8
8
  import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
9
- import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as LocationMapActions, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-lhE29TNT.mjs";
10
- import { L as compiledRuntimeStyleFieldNames, Zt as arrangementSlotNames, dn as cardVariantRoleValues, i as lookListPresentationSchemaShape, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-IqT_SVnX.mjs";
9
+ import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as MapDrawingSvg, i as buildWeekBoardViewProps, l as RichTextNode, m as LocationMapActions, n as WeekBoardView, o as RecurringSchedule, p as SvgNode, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-BQJrSK0K.mjs";
10
+ import { Qt as arrangementSlotNames, R as compiledRuntimeStyleFieldNames, a as lookListPresentationSchemaShape, fn as cardVariantRoleValues, i as listLookSlot, n as listItemPresentation } from "./noop-Dl4mZ-rr.mjs";
11
11
  import { D as SYSTEM_BLOCK_KINDS } from "./types-BEaKfam_.mjs";
12
- import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
13
- import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-DEh45w16.mjs";
14
- import { S as clsx, _ as FileSpreadsheetIcon, a as ThemedDownloadLink, b as PlusIcon, c as isSemanticIconId, d as CircleMinusIcon, f as CirclePlusIcon, g as FileAudioIcon, h as FileArchiveIcon, i as ThemedButtonLink, l as ArrowDownIcon, r as ThemedButton, s as getIconComponent, u as ChevronDownIcon, v as FileTextIcon, x as SpinnerNode, y as MinusIcon } from "./ThemedButton-CnSa7o-I.mjs";
12
+ import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-n6kS6Hct.mjs";
13
+ import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-BpGVdLFD.mjs";
14
+ import { _ as FileTextIcon, b as SpinnerNode, c as ArrowDownIcon, d as CirclePlusIcon, g as FileSpreadsheetIcon, h as FileAudioIcon, i as ThemedDownloadLink, l as ChevronDownIcon, m as FileArchiveIcon, n as ThemedButton, o as getIconComponent, r as ThemedButtonLink, s as isSemanticIconId, u as CircleMinusIcon, v as MinusIcon, x as clsx, y as PlusIcon } from "./ThemedButton-PFOhXktM.mjs";
15
15
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
16
16
  import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
17
- import { t as coerceRichTextDoc } from "./richText-coerce-NrRqDeOg.mjs";
18
- import { a as EventCard, i as EventCompactRow, l as SvgNode, r as EmptyState, s as MapDrawingSvg, t as EventListingFrameView } from "./EventListing.view-hUDhNtMv.mjs";
19
- import { _ as resolveEventLinkProps, f as formatCourseSessions, g as resolveEventCta, h as resolveEventCardBooking, l as eventDisplayTitle, n as CardListItems, p as formatMoreDates, r as EventItem, u as eventDisplayTitleText } from "./EventItem-Duhk1vnF.mjs";
17
+ import { t as coerceRichTextDoc } from "./richText-coerce-CQGE_wHV.mjs";
18
+ import { _ as resolveEventLinkProps, f as formatCourseSessions, g as resolveEventCta, h as resolveEventCardBooking, l as eventDisplayTitle, n as CardListItems, p as formatMoreDates, r as EventItem, u as eventDisplayTitleText } from "./EventItem-CwzrjcRw.mjs";
19
+ import { i as resolvePublicEventDepositOffer, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-CoOkvw__.mjs";
20
20
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
21
- import { n as BookingPanelArrangement } from "./StepIndicator-JQA-VuEH.mjs";
22
- import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
21
+ import { n as BookingPanelArrangement } from "./StepIndicator-Dn_DY4oY.mjs";
22
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DZ0qMFF4.mjs";
23
23
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
24
- import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-LJVHVqsy.mjs";
25
- import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-VnORjnZK.mjs";
26
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-BiutEqPK.mjs";
27
- import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-2Dl9zon2.mjs";
28
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-CY4kX3mh.mjs";
29
- import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BIy4IUT3.mjs";
24
+ import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CC_yQLSA.mjs";
25
+ import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CedLgwa_.mjs";
26
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-ChvcnPma.mjs";
27
+ import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-atfDU82W.mjs";
28
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Ctljy1a3.mjs";
29
+ import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-2petDnWv.mjs";
30
30
  import React, { forwardRef } from "react";
31
31
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
32
32
  import { z } from "zod";
@@ -940,6 +940,13 @@ const dataScopeSchema = z.object({
940
940
  from: bindingSchema
941
941
  });
942
942
  const nodePropsSchema = z.record(z.string(), z.unknown()).default({});
943
+ /**
944
+ * A plain `z.object`, so a key it does not list is stripped from the parsed
945
+ * node. For custom-block layouts that strip is part of the protection (issue
946
+ * 1185): the renderer treats unknown top-level keys as props, and only the
947
+ * parsed value has been through the layout gate. Store and render the parsed
948
+ * value, never the raw manifest.
949
+ */
943
950
  const nodeSchema = z.object({
944
951
  type: z.string().min(1, "Node type is required"),
945
952
  key: z.string().optional(),
@@ -950,6 +957,58 @@ const nodeSchema = z.object({
950
957
  $when: conditionSchema.optional(),
951
958
  $scopes: dataScopeSchema.array().optional()
952
959
  });
960
+ const MAX_CUSTOM_LAYOUT_NODES = 1e3;
961
+ const NODE_KEYS = /* @__PURE__ */ new Set([
962
+ "type",
963
+ "key",
964
+ "props",
965
+ "children",
966
+ "$bind",
967
+ "$repeat",
968
+ "$when",
969
+ "$scopes"
970
+ ]);
971
+ const isRawNode = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
972
+ const rawChildren = (node) => isRawNode(node) && Array.isArray(node.children) ? node.children : [];
973
+ /** Whether the tree nests deeper than `levels`, looking no further down than that. */
974
+ const nestsDeeperThan = (node, levels) => levels === 0 ? isRawNode(node) : rawChildren(node).some((child) => nestsDeeperThan(child, levels - 1));
975
+ /** Nodes in a tree already known to be no deeper than the limit. */
976
+ const countNodes = (node) => rawChildren(node).reduce((total, child) => total + countNodes(child), 1);
977
+ /** Why a custom-block layout is too large to check or render, or null. Safe to call on any value. */
978
+ function customLayoutSizeProblem(layout) {
979
+ if (nestsDeeperThan(layout, 24)) return `The layout nests more than 24 levels deep. Flatten it.`;
980
+ const count = countNodes(layout);
981
+ return count > 1e3 ? `The layout has ${count} nodes, and a custom block takes at most ${MAX_CUSTOM_LAYOUT_NODES}. Use a repeater for repeated items.` : null;
982
+ }
983
+ /** Keys on a node (or any node below it) that `nodeSchema` would strip. */
984
+ function unknownNodeKeys(node, path) {
985
+ if (!isRawNode(node)) return [];
986
+ return [...Object.keys(node).filter((key) => !NODE_KEYS.has(key)).map((key) => ({
987
+ path: [...path, key],
988
+ key
989
+ })), ...rawChildren(node).flatMap((child, index) => unknownNodeKeys(child, [
990
+ ...path,
991
+ "children",
992
+ index
993
+ ]))];
994
+ }
995
+ function reportRawLayoutShape(layout, ctx) {
996
+ const sizeProblem = customLayoutSizeProblem(layout);
997
+ if (sizeProblem !== null) {
998
+ ctx.addIssue({
999
+ code: "custom",
1000
+ message: sizeProblem,
1001
+ continue: false
1002
+ });
1003
+ return;
1004
+ }
1005
+ unknownNodeKeys(layout, []).forEach(({ path, key }) => ctx.addIssue({
1006
+ code: "custom",
1007
+ path: [...path],
1008
+ message: `"${key}" is not part of a node, so it would be dropped. A node has type, key, props, children, $bind, $repeat, $when and $scopes; put "${key}" under props.`
1009
+ }));
1010
+ }
1011
+ z.unknown().superRefine(reportRawLayoutShape).pipe(nodeSchema);
953
1012
  const nodeTreeSchema = z.union([z.array(nodeSchema), nodeSchema]);
954
1013
  const NodeSchema = nodeSchema;
955
1014
  const NodeTreeSchema = nodeTreeSchema;
@@ -1023,6 +1082,168 @@ const ACCORDION_OPEN_ACCENT_THICKNESS = {
1023
1082
  thick: "4px"
1024
1083
  };
1025
1084
  //#endregion
1085
+ //#region ../blocks/src/lib/video.ts
1086
+ /**
1087
+ * Parse a video URL and extract provider and video ID.
1088
+ * Uses URL constructor for safe parsing.
1089
+ *
1090
+ * @param url - Video URL to parse
1091
+ * @returns VideoInfo if valid, null otherwise
1092
+ *
1093
+ * Supported formats:
1094
+ * - YouTube: youtube.com/watch?v=ID, youtu.be/ID, youtube.com/embed/ID
1095
+ * - Vimeo: vimeo.com/ID, player.vimeo.com/video/ID
1096
+ * - Instagram: instagram.com/p/SHORTCODE, instagram.com/reel/SHORTCODE, instagram.com/tv/SHORTCODE
1097
+ */
1098
+ function parseVideoUrl(url) {
1099
+ if (!url || typeof url !== "string") return null;
1100
+ try {
1101
+ const parsed = new URL(url);
1102
+ const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
1103
+ if (hostname === "youtube.com" || hostname === "m.youtube.com" || hostname === "youtu.be" || hostname === "youtube-nocookie.com") {
1104
+ const id = extractYouTubeId(parsed);
1105
+ if (id) return {
1106
+ provider: "youtube",
1107
+ id,
1108
+ url
1109
+ };
1110
+ }
1111
+ if (hostname === "vimeo.com" || hostname === "player.vimeo.com") {
1112
+ const id = extractVimeoId(parsed);
1113
+ if (id) return {
1114
+ provider: "vimeo",
1115
+ id,
1116
+ url
1117
+ };
1118
+ }
1119
+ if (hostname === "instagram.com" || hostname === "m.instagram.com" || hostname === "instagr.am") {
1120
+ const instagram = extractInstagramShortcode(parsed);
1121
+ if (instagram) return {
1122
+ provider: "instagram",
1123
+ id: instagram.shortcode,
1124
+ kind: instagram.kind,
1125
+ url
1126
+ };
1127
+ }
1128
+ return null;
1129
+ } catch {
1130
+ return null;
1131
+ }
1132
+ }
1133
+ /**
1134
+ * Extract YouTube video ID from parsed URL.
1135
+ */
1136
+ function extractYouTubeId(url) {
1137
+ if (url.hostname.toLowerCase().replace(/^www\./, "") === "youtu.be") {
1138
+ const id = url.pathname.slice(1).split("/")[0] ?? "";
1139
+ return isValidYouTubeId(id) ? id : null;
1140
+ }
1141
+ const vParam = url.searchParams.get("v");
1142
+ if (vParam && isValidYouTubeId(vParam)) return vParam;
1143
+ const shortsId = url.pathname.match(/^\/shorts\/([^/?]+)/)?.[1];
1144
+ if (shortsId && isValidYouTubeId(shortsId)) return shortsId;
1145
+ const embedId = url.pathname.match(/^\/embed\/([^/?]+)/)?.[1];
1146
+ if (embedId && isValidYouTubeId(embedId)) return embedId;
1147
+ const vId = url.pathname.match(/^\/v\/([^/?]+)/)?.[1];
1148
+ if (vId && isValidYouTubeId(vId)) return vId;
1149
+ return null;
1150
+ }
1151
+ /**
1152
+ * Validate YouTube video ID format.
1153
+ * YouTube IDs are 11 characters, alphanumeric plus - and _
1154
+ */
1155
+ function isValidYouTubeId(id) {
1156
+ return /^[a-zA-Z0-9_-]{11}$/.test(id);
1157
+ }
1158
+ /**
1159
+ * Extract Vimeo video ID from parsed URL.
1160
+ */
1161
+ function extractVimeoId(url) {
1162
+ const playerId = url.pathname.match(/^\/video\/(\d+)/)?.[1];
1163
+ if (playerId) return playerId;
1164
+ const pathId = url.pathname.match(/^\/(\d+)/)?.[1];
1165
+ if (pathId) return pathId;
1166
+ return null;
1167
+ }
1168
+ function extractInstagramShortcode(url) {
1169
+ const match = url.pathname.match(/^\/(p|reel|reels|tv)\/([^/?#]+)/);
1170
+ const rawKind = match?.[1];
1171
+ const shortcode = match?.[2];
1172
+ if (!rawKind || !shortcode) return null;
1173
+ const normalizedKind = rawKind === "reels" ? "reel" : rawKind;
1174
+ if (normalizedKind !== "p" && normalizedKind !== "reel" && normalizedKind !== "tv") return null;
1175
+ const kind = normalizedKind;
1176
+ if (!isValidInstagramShortcode(shortcode)) return null;
1177
+ return {
1178
+ kind,
1179
+ shortcode
1180
+ };
1181
+ }
1182
+ function isValidInstagramShortcode(shortcode) {
1183
+ return /^[a-zA-Z0-9_-]{5,}$/.test(shortcode);
1184
+ }
1185
+ /**
1186
+ * Generate privacy-enhanced embed URL for a video.
1187
+ *
1188
+ * @param info - VideoInfo from parseVideoUrl
1189
+ * @returns Embed URL suitable for iframe src
1190
+ */
1191
+ function getEmbedUrl(info) {
1192
+ switch (info.provider) {
1193
+ case "youtube": return `https://www.youtube-nocookie.com/embed/${info.id}`;
1194
+ case "vimeo": return `https://player.vimeo.com/video/${info.id}`;
1195
+ case "instagram": return `https://www.instagram.com/${info.kind ?? "p"}/${info.id}/embed`;
1196
+ }
1197
+ return info.provider;
1198
+ }
1199
+ /**
1200
+ * Generate thumbnail URL for a video.
1201
+ *
1202
+ * @param info - VideoInfo from parseVideoUrl
1203
+ * @returns Thumbnail image URL
1204
+ *
1205
+ * Note: YouTube maxresdefault.jpg may 404 for some videos.
1206
+ * Consider using hqdefault.jpg as a more reliable fallback.
1207
+ */
1208
+ function getThumbnailUrl(info) {
1209
+ switch (info.provider) {
1210
+ case "youtube": return `https://img.youtube.com/vi/${info.id}/maxresdefault.jpg`;
1211
+ case "vimeo": return `https://vumbnail.com/${info.id}.jpg`;
1212
+ case "instagram": return "";
1213
+ }
1214
+ return info.provider;
1215
+ }
1216
+ function getVideoEmbedLoadingStrategy(provider) {
1217
+ switch (provider) {
1218
+ case "youtube":
1219
+ case "vimeo": return "native-lazy";
1220
+ case "instagram": return "defer-until-near-viewport";
1221
+ }
1222
+ return provider;
1223
+ }
1224
+ /**
1225
+ * Parse URL and get complete embed information.
1226
+ * Convenience function that combines parseVideoUrl with embed/thumbnail URLs.
1227
+ *
1228
+ * @param url - Video URL to parse
1229
+ * @returns EmbedInfo if valid, null otherwise
1230
+ */
1231
+ function getVideoEmbed(url) {
1232
+ const info = parseVideoUrl(url);
1233
+ if (!info) return null;
1234
+ return {
1235
+ ...info,
1236
+ embedUrl: getEmbedUrl(info),
1237
+ thumbnailUrl: getThumbnailUrl(info)
1238
+ };
1239
+ }
1240
+ /**
1241
+ * A video frame's aspect ratio: `16/9`, `4 / 3`, `1.5` or `auto`. The video
1242
+ * node writes the value into a style attribute, so anything else is dropped at
1243
+ * render and refused in a custom-block layout (issue 1185).
1244
+ */
1245
+ const VIDEO_ASPECT_RATIO_PATTERN = /^(?:auto|\d+(?:\.\d+)?(?:\s*\/\s*\d+(?:\.\d+)?)?)$/;
1246
+ //#endregion
1026
1247
  //#region ../blocks/src/system/customize/testimonialCount.ts
1027
1248
  /** The loader consumes the content-stage plan; it never selects a Look. */
1028
1249
  function testimonialLoaderLimit(content) {
@@ -2217,162 +2438,6 @@ function FileDownloadNode({ value, title, description, buttonLabel, buttonVarian
2217
2438
  });
2218
2439
  }
2219
2440
  //#endregion
2220
- //#region ../blocks/src/lib/video.ts
2221
- /**
2222
- * Parse a video URL and extract provider and video ID.
2223
- * Uses URL constructor for safe parsing.
2224
- *
2225
- * @param url - Video URL to parse
2226
- * @returns VideoInfo if valid, null otherwise
2227
- *
2228
- * Supported formats:
2229
- * - YouTube: youtube.com/watch?v=ID, youtu.be/ID, youtube.com/embed/ID
2230
- * - Vimeo: vimeo.com/ID, player.vimeo.com/video/ID
2231
- * - Instagram: instagram.com/p/SHORTCODE, instagram.com/reel/SHORTCODE, instagram.com/tv/SHORTCODE
2232
- */
2233
- function parseVideoUrl(url) {
2234
- if (!url || typeof url !== "string") return null;
2235
- try {
2236
- const parsed = new URL(url);
2237
- const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
2238
- if (hostname === "youtube.com" || hostname === "m.youtube.com" || hostname === "youtu.be" || hostname === "youtube-nocookie.com") {
2239
- const id = extractYouTubeId(parsed);
2240
- if (id) return {
2241
- provider: "youtube",
2242
- id,
2243
- url
2244
- };
2245
- }
2246
- if (hostname === "vimeo.com" || hostname === "player.vimeo.com") {
2247
- const id = extractVimeoId(parsed);
2248
- if (id) return {
2249
- provider: "vimeo",
2250
- id,
2251
- url
2252
- };
2253
- }
2254
- if (hostname === "instagram.com" || hostname === "m.instagram.com" || hostname === "instagr.am") {
2255
- const instagram = extractInstagramShortcode(parsed);
2256
- if (instagram) return {
2257
- provider: "instagram",
2258
- id: instagram.shortcode,
2259
- kind: instagram.kind,
2260
- url
2261
- };
2262
- }
2263
- return null;
2264
- } catch {
2265
- return null;
2266
- }
2267
- }
2268
- /**
2269
- * Extract YouTube video ID from parsed URL.
2270
- */
2271
- function extractYouTubeId(url) {
2272
- if (url.hostname.toLowerCase().replace(/^www\./, "") === "youtu.be") {
2273
- const id = url.pathname.slice(1).split("/")[0] ?? "";
2274
- return isValidYouTubeId(id) ? id : null;
2275
- }
2276
- const vParam = url.searchParams.get("v");
2277
- if (vParam && isValidYouTubeId(vParam)) return vParam;
2278
- const shortsId = url.pathname.match(/^\/shorts\/([^/?]+)/)?.[1];
2279
- if (shortsId && isValidYouTubeId(shortsId)) return shortsId;
2280
- const embedId = url.pathname.match(/^\/embed\/([^/?]+)/)?.[1];
2281
- if (embedId && isValidYouTubeId(embedId)) return embedId;
2282
- const vId = url.pathname.match(/^\/v\/([^/?]+)/)?.[1];
2283
- if (vId && isValidYouTubeId(vId)) return vId;
2284
- return null;
2285
- }
2286
- /**
2287
- * Validate YouTube video ID format.
2288
- * YouTube IDs are 11 characters, alphanumeric plus - and _
2289
- */
2290
- function isValidYouTubeId(id) {
2291
- return /^[a-zA-Z0-9_-]{11}$/.test(id);
2292
- }
2293
- /**
2294
- * Extract Vimeo video ID from parsed URL.
2295
- */
2296
- function extractVimeoId(url) {
2297
- const playerId = url.pathname.match(/^\/video\/(\d+)/)?.[1];
2298
- if (playerId) return playerId;
2299
- const pathId = url.pathname.match(/^\/(\d+)/)?.[1];
2300
- if (pathId) return pathId;
2301
- return null;
2302
- }
2303
- function extractInstagramShortcode(url) {
2304
- const match = url.pathname.match(/^\/(p|reel|reels|tv)\/([^/?#]+)/);
2305
- const rawKind = match?.[1];
2306
- const shortcode = match?.[2];
2307
- if (!rawKind || !shortcode) return null;
2308
- const normalizedKind = rawKind === "reels" ? "reel" : rawKind;
2309
- if (normalizedKind !== "p" && normalizedKind !== "reel" && normalizedKind !== "tv") return null;
2310
- const kind = normalizedKind;
2311
- if (!isValidInstagramShortcode(shortcode)) return null;
2312
- return {
2313
- kind,
2314
- shortcode
2315
- };
2316
- }
2317
- function isValidInstagramShortcode(shortcode) {
2318
- return /^[a-zA-Z0-9_-]{5,}$/.test(shortcode);
2319
- }
2320
- /**
2321
- * Generate privacy-enhanced embed URL for a video.
2322
- *
2323
- * @param info - VideoInfo from parseVideoUrl
2324
- * @returns Embed URL suitable for iframe src
2325
- */
2326
- function getEmbedUrl(info) {
2327
- switch (info.provider) {
2328
- case "youtube": return `https://www.youtube-nocookie.com/embed/${info.id}`;
2329
- case "vimeo": return `https://player.vimeo.com/video/${info.id}`;
2330
- case "instagram": return `https://www.instagram.com/${info.kind ?? "p"}/${info.id}/embed`;
2331
- }
2332
- return info.provider;
2333
- }
2334
- /**
2335
- * Generate thumbnail URL for a video.
2336
- *
2337
- * @param info - VideoInfo from parseVideoUrl
2338
- * @returns Thumbnail image URL
2339
- *
2340
- * Note: YouTube maxresdefault.jpg may 404 for some videos.
2341
- * Consider using hqdefault.jpg as a more reliable fallback.
2342
- */
2343
- function getThumbnailUrl(info) {
2344
- switch (info.provider) {
2345
- case "youtube": return `https://img.youtube.com/vi/${info.id}/maxresdefault.jpg`;
2346
- case "vimeo": return `https://vumbnail.com/${info.id}.jpg`;
2347
- case "instagram": return "";
2348
- }
2349
- return info.provider;
2350
- }
2351
- function getVideoEmbedLoadingStrategy(provider) {
2352
- switch (provider) {
2353
- case "youtube":
2354
- case "vimeo": return "native-lazy";
2355
- case "instagram": return "defer-until-near-viewport";
2356
- }
2357
- return provider;
2358
- }
2359
- /**
2360
- * Parse URL and get complete embed information.
2361
- * Convenience function that combines parseVideoUrl with embed/thumbnail URLs.
2362
- *
2363
- * @param url - Video URL to parse
2364
- * @returns EmbedInfo if valid, null otherwise
2365
- */
2366
- function getVideoEmbed(url) {
2367
- const info = parseVideoUrl(url);
2368
- if (!info) return null;
2369
- return {
2370
- ...info,
2371
- embedUrl: getEmbedUrl(info),
2372
- thumbnailUrl: getThumbnailUrl(info)
2373
- };
2374
- }
2375
- //#endregion
2376
2441
  //#region ../blocks/src/system/runtime/nodes/video-embed.tsx
2377
2442
  /**
2378
2443
  * Video embed node component.
@@ -2453,10 +2518,10 @@ function getAspectRatio(propAspectRatio, style) {
2453
2518
  return normalizeAspectRatio(propAspectRatio) ?? normalizeAspectRatio(styleAspectRatio) ?? "16/9";
2454
2519
  }
2455
2520
  function normalizeAspectRatio(value) {
2456
- if (typeof value === "number") return value;
2521
+ if (typeof value === "number") return Number.isFinite(value) && value > 0 ? value : void 0;
2457
2522
  if (typeof value === "string") {
2458
2523
  const trimmed = value.trim();
2459
- return trimmed.length > 0 ? trimmed : void 0;
2524
+ return VIDEO_ASPECT_RATIO_PATTERN.test(trimmed) ? trimmed : void 0;
2460
2525
  }
2461
2526
  if (value && typeof value === "object" && "value" in value) return normalizeAspectRatio(value.value);
2462
2527
  }
@@ -3344,21 +3409,55 @@ const teamMemberCardSchema = z.object({
3344
3409
  photo: runtimeMediaSchema.refine((value) => value.type === "image").nullish(),
3345
3410
  summary: z.string().nullish(),
3346
3411
  profilePath: z.string().nullish(),
3347
- specialties: z.unknown().transform(parseTeamMemberSpecialties)
3412
+ specialties: z.unknown().transform(parseTeamMemberSpecialties),
3413
+ facts: z.array(z.object({
3414
+ label: z.string(),
3415
+ value: z.string()
3416
+ })).nullish()
3348
3417
  });
3349
- /** Staff and manual members meet at one boundary; Look data chooses biography length. */
3350
- function teamMemberCardContent(member, index, biographySource, cardBiography) {
3351
- const biography = cardBiography === "any" ? cardText(teamMemberCardBiography(member)) : biographySource === "profile" && member.profileBio ? member.profileBio : member.bio;
3352
- const href = sanitizeHref(member.profilePath);
3418
+ /**
3419
+ * Staff and manual members meet at one boundary, and this is the one place
3420
+ * that decides what a person's card says and where. Look data chooses the bio's
3421
+ * length, and whether the facts are the person's own quick facts (with the role
3422
+ * above the name, after the bio, and no link to a profile) or the role on its own.
3423
+ */
3424
+ function teamMemberCards(members, choices = {}) {
3353
3425
  return {
3426
+ items: members.map((member, index) => teamMemberCardContent(member, index, choices)),
3427
+ bodyParts: choices.teamFacts === "person" ? [
3428
+ "title",
3429
+ "text",
3430
+ "facts"
3431
+ ] : [
3432
+ "title",
3433
+ "facts",
3434
+ "text",
3435
+ "chips",
3436
+ "action"
3437
+ ]
3438
+ };
3439
+ }
3440
+ function teamMemberCardContent(member, index, choices) {
3441
+ const biography = cardBiographyFor(member, choices);
3442
+ const role = member.role ? [{
3443
+ label: "Role",
3444
+ value: member.role
3445
+ }] : [];
3446
+ const card = {
3354
3447
  id: member.id ?? `member-${index}`,
3355
3448
  title: member.name,
3356
3449
  media: member.photo,
3357
- ...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 },
3358
- facts: member.role ? [{
3359
- label: "Role",
3360
- value: member.role
3361
- }] : [],
3450
+ ...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 }
3451
+ };
3452
+ if (choices.teamFacts === "person") return {
3453
+ ...card,
3454
+ eyebrowFacts: role,
3455
+ facts: member.facts ?? []
3456
+ };
3457
+ const href = sanitizeHref(member.profilePath);
3458
+ return {
3459
+ ...card,
3460
+ facts: role,
3362
3461
  chips: member.specialties,
3363
3462
  ...href ? { action: {
3364
3463
  label: `About ${member.name}`,
@@ -3366,6 +3465,10 @@ function teamMemberCardContent(member, index, biographySource, cardBiography) {
3366
3465
  } } : {}
3367
3466
  };
3368
3467
  }
3468
+ function cardBiographyFor(member, choices) {
3469
+ if (choices.cardBiography === "any") return cardText(teamMemberCardBiography(member));
3470
+ return choices.biographySource === "profile" && member.profileBio ? member.profileBio : member.bio;
3471
+ }
3369
3472
  function cardText(biography) {
3370
3473
  if (!biography) return null;
3371
3474
  return biography.kind === "document" ? biography.document : biography.paragraphs.join("\n\n");
@@ -3440,18 +3543,13 @@ function TeamMembersNode(props) {
3440
3543
  ...about,
3441
3544
  props
3442
3545
  });
3546
+ const cards = teamMemberCards(parsed.data, props);
3443
3547
  return /* @__PURE__ */ jsx(CardListItems, {
3444
3548
  Carousel: props.Carousel,
3445
- items: parsed.data.map((member, index) => teamMemberCardContent(member, index, props.biographySource, props.cardBiography)),
3549
+ items: cards.items,
3446
3550
  presentation: {
3447
3551
  ...props,
3448
- bodyParts: [
3449
- "title",
3450
- "facts",
3451
- "text",
3452
- "chips",
3453
- "action"
3454
- ]
3552
+ bodyParts: cards.bodyParts
3455
3553
  },
3456
3554
  Title: props.sectionHeading?.trim() ? "h3" : "h2",
3457
3555
  carouselLabels: {
@@ -3719,7 +3817,11 @@ function selectEventDetails(args) {
3719
3817
  selected,
3720
3818
  run,
3721
3819
  sessions: run.sessions,
3722
- timeZone
3820
+ timeZone,
3821
+ depositOffer: resolvePublicEventDepositOffer(selected, {
3822
+ nowIso: args.nowIso,
3823
+ sessions: run.sessions
3824
+ })
3723
3825
  };
3724
3826
  }
3725
3827
  if (!isOrdinaryEvent(selected)) return emptySelection(timeZone);
@@ -3728,7 +3830,8 @@ function selectEventDetails(args) {
3728
3830
  mode: mode === "selected" ? "selected" : "next",
3729
3831
  selected,
3730
3832
  otherDates: otherDates.filter(isOrdinaryEvent),
3731
- timeZone
3833
+ timeZone,
3834
+ depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso })
3732
3835
  };
3733
3836
  }
3734
3837
  //#endregion
@@ -4108,7 +4211,7 @@ function eventHeaderContent(selection, show) {
4108
4211
  label: "Time",
4109
4212
  value: timeRange
4110
4213
  },
4111
- ...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, event)) : [],
4214
+ ...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, selection)) : [],
4112
4215
  ...groupSize === null ? [] : [{
4113
4216
  label: "Group size",
4114
4217
  value: groupSize
@@ -4117,9 +4220,9 @@ function eventHeaderContent(selection, show) {
4117
4220
  action: headerAction(selection, item.action)
4118
4221
  };
4119
4222
  }
4120
- /** The page states a deposit option beside the price, so it isn't first seen at checkout. */
4121
- function withDepositNote(fact, event) {
4122
- const note = formatEventDepositNote(event.pricing, event.paymentTerms, event);
4223
+ /** The page says how booking is paid beside the price, so a deposit isn't first seen (or missed) at checkout. */
4224
+ function withDepositNote(fact, selection) {
4225
+ const note = formatEventDepositNote(selection.depositOffer);
4123
4226
  return note ? {
4124
4227
  ...fact,
4125
4228
  value: `${fact.value}, ${note}`
@@ -4346,7 +4449,8 @@ function formatTicketTypePrice(ticketType, currency) {
4346
4449
  return formatBookingPriceDisplay(resolveExactOrFreePriceDisplay(ticketType.priceAmount, currency), { decimals: "auto" });
4347
4450
  }
4348
4451
  function getDisplayablePricingOptions(event) {
4349
- return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).sort((left, right) => left.sortOrder - right.sortOrder) : [];
4452
+ const roomPriceIds = event.rooms?.linkedOptionIds ?? [];
4453
+ return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).filter((option) => !roomPriceIds.includes(option.id)).sort((left, right) => left.sortOrder - right.sortOrder) : [];
4350
4454
  }
4351
4455
  function TicketTypePriceList({ ticketTypes, currency }) {
4352
4456
  if (ticketTypes.length === 0) return null;
@@ -4666,7 +4770,8 @@ function EventVenueMap({ venue, drawing, showMap, mapHeight, mapClassName }) {
4666
4770
  });
4667
4771
  }
4668
4772
  /** One pricing projection governs the selected panel, including drop-in and whole-series behavior. */
4669
- function selectedEventPricing(event, showCost) {
4773
+ function selectedEventPricing(selection, showCost) {
4774
+ const event = selection.selected;
4670
4775
  const isDropIn = isDropInEvent(event);
4671
4776
  const wholeSeriesPricing = wholeSeriesPricingOf(event);
4672
4777
  const showEventCost = showCost && !isDropIn && wholeSeriesPricing === null;
@@ -4674,7 +4779,7 @@ function selectedEventPricing(event, showCost) {
4674
4779
  isDropIn,
4675
4780
  wholeSeriesPricingDisplay: showCost ? wholeSeriesPricing : null,
4676
4781
  eventCostLabel: showEventCost ? formatEventPrice(event) : null,
4677
- depositNote: showCost && !isDropIn ? paidDepositNote(event) : null,
4782
+ depositNote: showCost && !isDropIn && isPaid(event) ? formatEventDepositNote(selection.depositOffer) : null,
4678
4783
  eventPricingCurrency: publicEventPricingCurrency(event.pricing),
4679
4784
  ticketTypes: showEventCost && isPaid(event) ? getDisplayablePricingOptions(event) : []
4680
4785
  };
@@ -4682,14 +4787,13 @@ function selectedEventPricing(event, showCost) {
4682
4787
  const isDropInEvent = (event) => event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
4683
4788
  const wholeSeriesPricingOf = (event) => event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
4684
4789
  const isPaid = (event) => publicEventPricingType(event.pricing) !== "free";
4685
- const paidDepositNote = (event) => isPaid(event) ? formatEventDepositNote(event.pricing, event.paymentTerms, event) : null;
4686
4790
  function SelectedEventDetailsView(props) {
4687
4791
  const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
4688
4792
  const selected = selection.selected;
4689
4793
  const venue = showVenue ? selected.venue : void 0;
4690
4794
  const online = eventOnlinePlaceShown(selected, showVenue);
4691
4795
  const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
4692
- const pricing = selectedEventPricing(selected, props.showCost);
4796
+ const pricing = selectedEventPricing(selection, props.showCost);
4693
4797
  return /* @__PURE__ */ jsxs("div", {
4694
4798
  className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
4695
4799
  children: [
@@ -4820,7 +4924,7 @@ function headerPanelContent(props) {
4820
4924
  const venue = props.showVenue ? selection.selected.venue : void 0;
4821
4925
  const online = eventOnlinePlaceShown(selection.selected, props.showVenue);
4822
4926
  const teamMembers = selection.selected.teamMembers ?? [];
4823
- const pricing = headerPanelPricing(props, selection.selected);
4927
+ const pricing = headerPanelPricing(props, selection);
4824
4928
  const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
4825
4929
  return {
4826
4930
  venue,
@@ -4838,8 +4942,8 @@ function headerPanelContent(props) {
4838
4942
  * discount, or passes that also admit. Decided from the same projection
4839
4943
  * `EventPricingDetails` renders, so a panel is only drawn when it will show something.
4840
4944
  */
4841
- function headerPanelPricing(props, event) {
4842
- const pricing = selectedEventPricing(event, props.showCost ?? true);
4945
+ function headerPanelPricing(props, selection) {
4946
+ const pricing = selectedEventPricing(selection, props.showCost ?? true);
4843
4947
  if (pricing.isDropIn) return null;
4844
4948
  const detail = {
4845
4949
  ...pricing,
@@ -11898,26 +12002,9 @@ const shopBlockDefinition = {
11898
12002
  description: "The text on the button to buy a pass.",
11899
12003
  required: false,
11900
12004
  multiline: false,
11901
- defaultValue: "Add to cart",
12005
+ defaultValue: DEFAULT_PASS_BUY_BUTTON_TEXT,
11902
12006
  maxLength: 40
11903
12007
  },
11904
- {
11905
- id: "passPurchaseMode",
11906
- type: "select",
11907
- label: "When someone buys a pass",
11908
- description: "Add the pass to their cart, or take them straight to checkout.",
11909
- required: false,
11910
- multiple: false,
11911
- defaultValue: "add_to_cart",
11912
- options: [{
11913
- value: "add_to_cart",
11914
- label: "Add to cart"
11915
- }, {
11916
- value: "buy_now",
11917
- label: "Buy now"
11918
- }],
11919
- ui: { intent: "behavior" }
11920
- },
11921
12008
  {
11922
12009
  id: "subscribeButtonText",
11923
12010
  type: "text",
@@ -12019,11 +12106,7 @@ const shopBlockDefinition = {
12019
12106
  } },
12020
12107
  buyButtonText: { $bind: {
12021
12108
  from: "content.buyButtonText",
12022
- fallback: "Add to cart"
12023
- } },
12024
- passPurchaseMode: { $bind: {
12025
- from: "content.passPurchaseMode",
12026
- fallback: "add_to_cart"
12109
+ fallback: DEFAULT_PASS_BUY_BUTTON_TEXT
12027
12110
  } },
12028
12111
  subscribeButtonText: { $bind: {
12029
12112
  from: "content.subscribeButtonText",