@riverbankcms/sdk 0.181.0 → 0.182.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 (196) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
  2. package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
  4. package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
  5. package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
  6. package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
  8. package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
  9. package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
  10. package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
  11. package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
  12. package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
  13. package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
  14. package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
  15. package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
  16. package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  28. package/dist/_dts/sdk/src/index.d.ts +7 -7
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  36. package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
  54. package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
  55. package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
  56. package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
  57. package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
  60. package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
  61. package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
  62. package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
  63. package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
  64. package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
  65. package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
  66. package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
  67. package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
  68. package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
  69. package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
  70. package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
  71. package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
  72. package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
  73. package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
  74. package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
  75. package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
  76. package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
  77. package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
  78. package/dist/client/bookings.mjs +5 -5
  79. package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
  80. package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
  81. package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
  82. package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
  83. package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
  84. package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
  85. package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
  86. package/dist/client/client.mjs +25 -6
  87. package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
  88. package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
  89. package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
  90. package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
  91. package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
  92. package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
  93. package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
  94. package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
  95. package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
  96. package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
  97. package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
  98. package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
  99. package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
  100. package/dist/client/gifting/client.mjs +7 -7
  101. package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
  102. package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
  103. package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
  104. package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
  105. package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
  106. package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
  107. package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
  108. package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
  109. package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
  110. package/dist/client/portal/client.mjs +269 -83
  111. package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
  112. package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
  113. package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
  114. package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
  115. package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
  116. package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
  117. package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
  118. package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
  119. package/dist/client/rendering/client.mjs +23 -23
  120. package/dist/client/rendering/islands.mjs +1 -1
  121. package/dist/client/rendering.mjs +5 -5
  122. package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
  123. package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
  124. package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
  126. package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
  127. package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
  128. package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
  129. package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
  130. package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
  131. package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
  132. package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
  133. package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
  134. package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
  135. package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
  136. package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
  137. package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
  138. package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
  139. package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
  140. package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
  141. package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
  142. package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
  143. package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
  144. package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
  145. package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
  146. package/dist/preview-next/client/runtime.mjs +3 -3
  147. package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
  148. package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
  149. package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
  150. package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
  151. package/dist/preview-next/keepAlive.mjs +1 -1
  152. package/dist/preview-next/middleware.mjs +1 -1
  153. package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
  154. package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
  155. package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
  156. package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
  157. package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
  158. package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
  159. package/dist/server/config-validation.mjs +1 -1
  160. package/dist/server/config.mjs +2 -2
  161. package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
  162. package/dist/server/data/resolveBlockData.mjs +1 -1
  163. package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
  164. package/dist/server/index.mjs +2 -2
  165. package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
  166. package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
  167. package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
  168. package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
  169. package/dist/server/navigation.mjs +1 -1
  170. package/dist/server/next.mjs +8 -8
  171. package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
  172. package/dist/server/page-converter.mjs +1 -1
  173. package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
  174. package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
  175. package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
  176. package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
  177. package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
  178. package/dist/server/portal.mjs +2 -2
  179. package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
  180. package/dist/server/prebuild.mjs +1 -1
  181. package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
  182. package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
  183. package/dist/server/rendering/components/pageShared.mjs +1 -1
  184. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  185. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  186. package/dist/server/rendering/server.mjs +4 -4
  187. package/dist/server/rendering.mjs +8 -8
  188. package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
  189. package/dist/server/server.mjs +3 -3
  190. package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
  191. package/dist/server/theme-bridge.mjs +33 -8
  192. package/dist/server/theme.mjs +1 -1
  193. package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
  194. package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
  195. package/dist/styles/index.css +86 -46
  196. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { f as parseUuidBrand, m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
- import { A as eventCalendarListGroupingDecision, At as publicMembershipProductSchema, Bn as parseEventSeriesId, Bt as publicEventLoaderQuerySchemaShape, Cn as toUtcIsoDateTimeString, I as isEventCalendarListLayout, Lt as eventScheduleScopeValues, M as eventCalendarVariantMeaning, Mt as publicProductSchema, N as eventListArrangementValues, Nt as purchasablePublicMembershipProductSchema, Pt as purchasablePublicPassProductSchema, R as resolveEventCalendarReadPlan, Rt as eventSurfacePresetValues, S as publicEventSchema, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, b as publicEventDestinationSchema, bn as parseBookingLocalDate, c as blockSiteTermsSchema, cn as formatTime, dn as inferSiteDateLocale, en as buildBookingUtcDateWindow, jt as publicPassProductSchema, m as calendarWindowPageSchema, nn as formatDate, rn as formatDateRange, t as assertNever, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, zt as eventSurfaceScopeValues } from "./src-ZSqRK3dD.mjs";
4
- import { $s as parseMailchimpAudienceId, $t as toWholeSeriesRegistrationEvents, Ao as eventDateLocale, At as resolveEventRequiresPayment, Ba as calendarTabViewsSchema, Br as placesLeftLabel, Do as RichText, Fa as createZodCodec, Ga as eventLayoutSchema, Gr as buildCartDisplay, Gs as resolveWholeSeriesBookingPhase, Ha as eventButtonVariantSchema, Hr as resolveRegistrationDisplay, Ia as defineClientOwnedBlockRuntime, Io as formatEventCompactDateRail, Ja as registrationButtonVariantSchema, Jo as computeMediaTransformStyle, Js as parseMailingListRuntimeContext, Ka as filterAutoShowSchema, Ko as ImagePresets, Kr as buildCheckoutDisplay, La as defineProgressiveBlockRuntime, Ma as buildInteractiveIslandProps, Mo as eventLocalDateKey, Na as createInteractiveIslandCodec, Ot as findPreSelectedEvent, Pa as defineInteractiveIslandMetaKeys, Qs as parseBrevoListId, Qt as toWholeSeriesRegistrationEvent, Ra as isDecodeSuccess, So as selectEventCapacitySource, Ss as resolveDateRuntimeContext, To as blockButtonRoleSchema, Ua as eventCalendarDefaultViewSchema, Ur as shownVenue, Us as nextLiveRunSessionStartMs, Va as columnOptionSchema, Vr as registrationDisplaySchema, Wa as eventCalendarDisplayModeSchema, Xa as browserReadAuthoritySchema, Xo as renderAudio, Xr as buildProductListDisplay, Xs as DEFAULT_MAILING_LIST_PRIVACY_NOTE, Ya as weekStartSchema, Yo as mediaImageHostProps, Yr as buildProductDetailDisplay, Zo as renderVideo, Zs as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Zt as toRegistrationEvents, _i as resolveEventRegistrationScopedEvents, ac as EVENT_PRESET_VOCABULARY, ao as bookingPresentation, bo as getRemainingPlaces, bt as entryPageEvent, c as registrationStepLabelContext, ec as parseMailchimpInterestId, f as isRegistrationLocked, fi as closedRunCopy, gi as resolveEventRegistrationChoices, go as formatRemainingPlaces, io as bookingPageKindSchema, ir as formatRegistrationSchedule, jo as eventDateOptions, ki as groupPublicEventsByRun, ko as eventCalendarWeekStart, mi as eventRegistrationPageSurfaceSubjectSchema, n as getEventSelectionMode, no as pageNavigationSchema, o as registrationRoute, oc as formatBookingPriceDisplay, oi as deriveCommerceCheckoutState, pr as withOccurrenceTitle, qa as previewStageSchema, qo as MediaPlaceholder, qr as buildPassesMembershipsDisplay, qs as resolveWholeSeriesRunLifecycle, s as registrationStepLabel, sc as formatEventPricing, t as REGISTRATION_STEP_LABELS, tc as parseNewsletterListId, tr as formatBookingWhen, ts as resolveMediaNodeResponsiveImage, uc as publicEventPricingDisplay, ui as resolveSelectedProduct, uo as resolveRuntimeEventDestination, vt as decideRegistrationEntry, yt as entryChoosesEvent, za as bookingNowSchema } from "./wizardSteps-BliJOzEX.mjs";
3
+ import { A as eventCalendarListGroupingDecision, At as publicMembershipProductSchema, Bn as parseEventSeriesId, Bt as publicEventLoaderQuerySchemaShape, Cn as toUtcIsoDateTimeString, I as isEventCalendarListLayout, Lt as eventScheduleScopeValues, M as eventCalendarVariantMeaning, Mt as publicProductSchema, N as eventListArrangementValues, Nt as purchasablePublicMembershipProductSchema, Pt as purchasablePublicPassProductSchema, R as resolveEventCalendarReadPlan, Rt as eventSurfacePresetValues, S as publicEventSchema, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Ut as WHOLE_SERIES_EVENT_PRESET_VALUES, b as publicEventDestinationSchema, bn as parseBookingLocalDate, c as blockSiteTermsSchema, cn as formatTime, dn as inferSiteDateLocale, en as buildBookingUtcDateWindow, jt as publicPassProductSchema, m as calendarWindowPageSchema, nn as formatDate, rn as formatDateRange, t as assertNever, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, zt as eventSurfaceScopeValues } from "./src-CmXh3JWs.mjs";
4
+ import { $a as weekStartSchema, $s as resolveWholeSeriesBookingPhase, $t as toWholeSeriesRegistrationEvents, At as resolveEventRequiresPayment, Ba as defineClientOwnedBlockRuntime, Bo as eventDateOptions, Br as placesLeftLabel, Ga as columnOptionSchema, Go as formatEventCompactDateRail, Gr as buildCartDisplay, Ha as isDecodeSuccess, Hr as resolveRegistrationDisplay, Ia as buildInteractiveIslandProps, Io as RichText, Ja as eventCalendarDisplayModeSchema, Ka as eventButtonVariantSchema, Kr as buildCheckoutDisplay, La as createInteractiveIslandCodec, Ni as groupPublicEventsByRun, Ot as findPreSelectedEvent, Po as blockButtonRoleSchema, Qa as registrationButtonVariantSchema, Qt as toWholeSeriesRegistrationEvent, Ra as defineInteractiveIslandMetaKeys, Ro as eventCalendarWeekStart, To as formatRemainingPlaces, Ua as bookingNowSchema, Ur as shownVenue, Va as defineProgressiveBlockRuntime, Vo as eventLocalDateKey, Vr as registrationDisplaySchema, Wa as calendarTabViewsSchema, Xa as filterAutoShowSchema, Xr as buildProductListDisplay, Ya as eventLayoutSchema, Yr as buildProductDetailDisplay, Za as previewStageSchema, Zs as nextLiveRunSessionStartMs, Zt as toRegistrationEvents, _i as eventRegistrationPageSurfaceSubjectSchema, ac as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, as as renderAudio, bi as resolveEventRegistrationScopedEvents, bt as entryPageEvent, c as registrationStepLabelContext, cc as parseMailchimpInterestId, co as bookingPageKindSchema, eo as browserReadAuthoritySchema, f as isRegistrationLocked, hc as formatEventPricing, ic as DEFAULT_MAILING_LIST_PRIVACY_NOTE, ir as formatRegistrationSchedule, is as mediaImageHostProps, jo as selectEventCapacitySource, js as resolveDateRuntimeContext, ko as getRemainingPlaces, lc as parseNewsletterListId, lo as bookingPresentation, mc as formatBookingPriceDisplay, n as getEventSelectionMode, nc as parseMailingListRuntimeContext, ns as MediaPlaceholder, o as registrationRoute, oc as parseBrevoListId, oi as deriveCommerceCheckoutState, oo as pageNavigationSchema, os as renderVideo, pc as EVENT_PRESET_VOCABULARY, pi as closedRunCopy, pr as withOccurrenceTitle, qa as eventCalendarDefaultViewSchema, qr as buildPassesMembershipsDisplay, rs as computeMediaTransformStyle, s as registrationStepLabel, sc as parseMailchimpAudienceId, t as REGISTRATION_STEP_LABELS, tc as resolveWholeSeriesRunLifecycle, tr as formatBookingWhen, ts as ImagePresets, ui as resolveSelectedProduct, us as resolveMediaNodeResponsiveImage, vc as publicEventPricingDisplay, vt as decideRegistrationEntry, yi as resolveEventRegistrationChoices, yo as resolveRuntimeEventDestination, yt as entryChoosesEvent, za as createZodCodec, zo as eventDateLocale } from "./wizardSteps-B952ify5.mjs";
5
5
  import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
6
- import { C as resolveModeArrangement, Ft as assertNever$2, a as lookListPresentationSchemaShape, dn as cardRoleSchema, i as listLookSlot, n as listItemPresentation, qt as toNonEmptyReadonlyArray } from "./noop-Dl4mZ-rr.mjs";
6
+ import { C as resolveModeArrangement, Ft as assertNever$2, a as lookListPresentationSchemaShape, dn as cardRoleSchema, i as listLookSlot, n as listItemPresentation, qt as toNonEmptyReadonlyArray } from "./noop-jesvJXEE.mjs";
7
7
  import { p as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
8
8
  import { n as getCurrentResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
9
9
  import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-uwCpbHXG.mjs";
@@ -702,6 +702,14 @@ function recurrenceKey(event) {
702
702
  if (!recurrence) return "none";
703
703
  return recurrence.kind === "other" ? recurrence.kind : `${recurrence.kind}:${recurrence.interval}:${recurrence.weekdays.join(",")}`;
704
704
  }
705
+ /**
706
+ * Whether a series' recurrence rule fits the weekly schedule: every week,
707
+ * not every other week or monthly. A series with no rule can still be
708
+ * projected from the spacing of its dates.
709
+ */
710
+ function isWeeklyScheduleRecurrence(recurrence) {
711
+ return recurrence.kind === "weekly" && recurrence.interval === 1;
712
+ }
705
713
  function recurrenceRuleEvidence(seriesId, events, schedule) {
706
714
  if (new Set(events.map(recurrenceKey)).size > 1) return {
707
715
  seriesId,
@@ -709,7 +717,7 @@ function recurrenceRuleEvidence(seriesId, events, schedule) {
709
717
  };
710
718
  const recurrence = events[0]?.recurrence;
711
719
  if (!recurrence) return null;
712
- if (recurrence.kind !== "weekly" || recurrence.interval !== 1) return {
720
+ if (recurrence.kind !== "weekly" || !isWeeklyScheduleRecurrence(recurrence)) return {
713
721
  seriesId,
714
722
  reason: "unsupported_weekly_cadence"
715
723
  };
@@ -817,131 +825,6 @@ function projectRecurringSchedule(events) {
817
825
  };
818
826
  }
819
827
  //#endregion
820
- //#region ../blocks/src/system/helpers/normalizeIds.ts
821
- function normalizeIdList(parts) {
822
- const seen = /* @__PURE__ */ new Set();
823
- const normalized = [];
824
- for (const part of parts) {
825
- const trimmed = part.trim();
826
- if (!trimmed || seen.has(trimmed)) continue;
827
- seen.add(trimmed);
828
- normalized.push(trimmed);
829
- }
830
- return normalized.sort();
831
- }
832
- //#endregion
833
- //#region ../blocks/src/system/runtime/hooks/utils/normalize.ts
834
- function normalizeOptionalId(value) {
835
- const trimmed = typeof value === "string" ? value.trim() : void 0;
836
- return trimmed ? trimmed : void 0;
837
- }
838
- function normalizeCsvIds(value) {
839
- if (!value) return [];
840
- return normalizeIdList(Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : typeof value === "string" ? value.split(",") : []);
841
- }
842
- function normalizeCsvString(value) {
843
- const ids = normalizeCsvIds(value);
844
- return ids.length > 0 ? ids.join(",") : void 0;
845
- }
846
- const eventPageSizeValues = [
847
- 1,
848
- 2,
849
- 3,
850
- 4,
851
- 5,
852
- 6,
853
- 10,
854
- 12,
855
- 20,
856
- 24,
857
- 30,
858
- 100
859
- ];
860
- const eventPageSizeSchema = z.union([
861
- z.literal(1),
862
- z.literal(2),
863
- z.literal(3),
864
- z.literal(4),
865
- z.literal(5),
866
- z.literal(6),
867
- z.literal(10),
868
- z.literal(12),
869
- z.literal(20),
870
- z.literal(24),
871
- z.literal(30),
872
- z.literal(100)
873
- ]);
874
- const eventPageSizeSet = new Set(eventPageSizeValues);
875
- function resolveEventPageSize(value, fallback = 12) {
876
- const candidate = typeof value === "number" ? value : typeof value === "string" && value.trim() !== "" ? Number(value.trim()) : null;
877
- return candidate != null && Number.isInteger(candidate) && eventPageSizeSet.has(candidate) ? candidate : fallback;
878
- }
879
- function resolveEventCalendarListPageSize(input) {
880
- return resolveEventPageSize(input.eventsPerPage);
881
- }
882
- const eventListPaginationActionSchema = z.discriminatedUnion("kind", [
883
- z.object({ kind: z.literal("none") }),
884
- z.object({
885
- kind: z.literal("loadMore"),
886
- label: z.string()
887
- }),
888
- z.object({
889
- kind: z.literal("seeAllLink"),
890
- label: z.string(),
891
- href: z.string()
892
- })
893
- ]);
894
- function resolveEventListPaginationAction(input) {
895
- if (input.paginationMode === "none") return { kind: "none" };
896
- const label = input.loadMoreText?.trim() || input.defaultLabel || "Load more events";
897
- const href = input.seeAllUrl?.trim();
898
- if (input.paginationMode === "seeAllLink" && href) return {
899
- kind: "seeAllLink",
900
- label,
901
- href
902
- };
903
- return {
904
- kind: "loadMore",
905
- label
906
- };
907
- }
908
- function normalizeFilterId(value) {
909
- const id = normalizeOptionalId(value);
910
- return id === "all" ? void 0 : id;
911
- }
912
- function buildEventRuntimeFilters(input) {
913
- if (input.seriesIds != null) return { seriesIds: input.seriesIds };
914
- const params = {};
915
- if (input.eventSurface && input.eventSurface !== "all") params.eventSurface = input.eventSurface;
916
- const eventPresets = normalizeCsvString(input.filterEventPresets);
917
- if (eventPresets) params.eventPresets = eventPresets;
918
- if (input.scheduleScope && input.scheduleScope !== "any") params.scheduleScope = input.scheduleScope;
919
- const venueId = normalizeFilterId(input.filterVenueId);
920
- const staffMemberId = normalizeFilterId(input.filterStaffMemberId);
921
- const categoryIds = normalizeCsvString(input.filterCategoryIds);
922
- if (categoryIds) params.categoryIds = categoryIds;
923
- if (venueId) params.venueId = venueId;
924
- if (staffMemberId) params.staffMemberId = staffMemberId;
925
- return params;
926
- }
927
- function getEventRuntimeFiltersKey(filters) {
928
- const scope = filters ?? {};
929
- return JSON.stringify({
930
- ...scope.from === void 0 ? {} : { from: scope.from },
931
- ...scope.to === void 0 ? {} : { to: scope.to },
932
- seriesIds: canonicalEventSeriesScope(scope.seriesIds),
933
- categoryIds: normalizeCsvString(scope.categoryIds),
934
- staffMemberId: normalizeOptionalId(scope.staffMemberId),
935
- venueId: normalizeOptionalId(scope.venueId),
936
- eventSurface: scope.eventSurface ?? null,
937
- eventPresets: normalizeCsvString(scope.eventPresets),
938
- scheduleScope: scope.scheduleScope ?? null
939
- });
940
- }
941
- function canonicalEventSeriesScope(seriesIds) {
942
- return seriesIds == null ? null : [...new Set(seriesIds.split(",").filter(Boolean))].sort().join(",");
943
- }
944
- //#endregion
945
828
  //#region ../blocks/src/system/blocks/events/shared/eventSelection.ts
946
829
  /** Invalid saved selections fail closed rather than widening discovery. */
947
830
  function resolveEventSelection(mode, value) {
@@ -1426,6 +1309,10 @@ const partRenderers = {
1426
1309
  }),
1427
1310
  "date-stamp": (props) => CardListLeadDate(props)
1428
1311
  };
1312
+ /** Each link says it opens a new tab from its own target, never from another link on the card. */
1313
+ function opensNewTab(link) {
1314
+ return link.target === "_blank";
1315
+ }
1429
1316
  /** Title and photo share the same destination and external-link behavior. */
1430
1317
  function cardListItemLink(item) {
1431
1318
  return item.titleLink ?? (item.href ? { href: item.href } : null);
@@ -1444,7 +1331,7 @@ function CardListTitle({ item, presentation, Title = "h3" }) {
1444
1331
  ...link,
1445
1332
  children: /* @__PURE__ */ jsx(LinkedLabel, {
1446
1333
  label: item.title,
1447
- newTabHint: item.newTabHint
1334
+ newTabHint: opensNewTab(link)
1448
1335
  })
1449
1336
  }) : item.title
1450
1337
  }),
@@ -1472,7 +1359,7 @@ function CardListMedia({ item, presentation }) {
1472
1359
  children: link ? /* @__PURE__ */ jsx("a", {
1473
1360
  ...link,
1474
1361
  className: "rb-block rb-h-full",
1475
- "aria-label": `${item.title}${item.newTabHint ? " (opens in a new tab)" : ""}`,
1362
+ "aria-label": `${item.title}${opensNewTab(link) ? " (opens in a new tab)" : ""}`,
1476
1363
  children: photo
1477
1364
  }) : photo
1478
1365
  });
@@ -1514,9 +1401,9 @@ function CardListAction({ item, presentation }) {
1514
1401
  className: "rb-item-text-link",
1515
1402
  children: /* @__PURE__ */ jsx(LinkedLabel, {
1516
1403
  label: action.label,
1517
- newTabHint: item.newTabHint
1404
+ newTabHint: action.external
1518
1405
  })
1519
- }) : item.newTabHint ? /* @__PURE__ */ jsx(ThemedAuthoredButton, {
1406
+ }) : action.external ? /* @__PURE__ */ jsx(ThemedAuthoredButton, {
1520
1407
  ...link,
1521
1408
  variant: presentation.buttonVariant ?? "primary",
1522
1409
  size: presentation.actionSize ?? "sm",
@@ -1772,6 +1659,19 @@ function hasMoreEventPages(events, pageSize) {
1772
1659
  return events.length >= pageSize;
1773
1660
  }
1774
1661
  //#endregion
1662
+ //#region ../blocks/src/system/helpers/normalizeIds.ts
1663
+ function normalizeIdList(parts) {
1664
+ const seen = /* @__PURE__ */ new Set();
1665
+ const normalized = [];
1666
+ for (const part of parts) {
1667
+ const trimmed = part.trim();
1668
+ if (!trimmed || seen.has(trimmed)) continue;
1669
+ seen.add(trimmed);
1670
+ normalized.push(trimmed);
1671
+ }
1672
+ return normalized.sort();
1673
+ }
1674
+ //#endregion
1775
1675
  //#region ../blocks/src/system/blocks/events/shared/filtering.ts
1776
1676
  const unsafeAsEventCategoryId = (value) => value;
1777
1677
  const unsafeAsVenueId = (value) => value;
@@ -1812,6 +1712,118 @@ function normalizeEventStaffMemberId(value) {
1812
1712
  return trimmed ? trimmed : null;
1813
1713
  }
1814
1714
  //#endregion
1715
+ //#region ../blocks/src/system/runtime/hooks/utils/normalize.ts
1716
+ function normalizeOptionalId(value) {
1717
+ const trimmed = typeof value === "string" ? value.trim() : void 0;
1718
+ return trimmed ? trimmed : void 0;
1719
+ }
1720
+ function normalizeCsvIds(value) {
1721
+ if (!value) return [];
1722
+ return normalizeIdList(Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : typeof value === "string" ? value.split(",") : []);
1723
+ }
1724
+ function normalizeCsvString(value) {
1725
+ const ids = normalizeCsvIds(value);
1726
+ return ids.length > 0 ? ids.join(",") : void 0;
1727
+ }
1728
+ const eventPageSizeValues = [
1729
+ 1,
1730
+ 2,
1731
+ 3,
1732
+ 4,
1733
+ 5,
1734
+ 6,
1735
+ 10,
1736
+ 12,
1737
+ 20,
1738
+ 24,
1739
+ 30,
1740
+ 100
1741
+ ];
1742
+ const eventPageSizeSchema = z.union([
1743
+ z.literal(1),
1744
+ z.literal(2),
1745
+ z.literal(3),
1746
+ z.literal(4),
1747
+ z.literal(5),
1748
+ z.literal(6),
1749
+ z.literal(10),
1750
+ z.literal(12),
1751
+ z.literal(20),
1752
+ z.literal(24),
1753
+ z.literal(30),
1754
+ z.literal(100)
1755
+ ]);
1756
+ const eventPageSizeSet = new Set(eventPageSizeValues);
1757
+ function resolveEventPageSize(value, fallback = 12) {
1758
+ const candidate = typeof value === "number" ? value : typeof value === "string" && value.trim() !== "" ? Number(value.trim()) : null;
1759
+ return candidate != null && Number.isInteger(candidate) && eventPageSizeSet.has(candidate) ? candidate : fallback;
1760
+ }
1761
+ function resolveEventCalendarListPageSize(input) {
1762
+ return resolveEventPageSize(input.eventsPerPage);
1763
+ }
1764
+ const eventListPaginationActionSchema = z.discriminatedUnion("kind", [
1765
+ z.object({ kind: z.literal("none") }),
1766
+ z.object({
1767
+ kind: z.literal("loadMore"),
1768
+ label: z.string()
1769
+ }),
1770
+ z.object({
1771
+ kind: z.literal("seeAllLink"),
1772
+ label: z.string(),
1773
+ href: z.string()
1774
+ })
1775
+ ]);
1776
+ function resolveEventListPaginationAction(input) {
1777
+ if (input.paginationMode === "none") return { kind: "none" };
1778
+ const label = input.loadMoreText?.trim() || input.defaultLabel || "Load more events";
1779
+ const href = input.seeAllUrl?.trim();
1780
+ if (input.paginationMode === "seeAllLink" && href) return {
1781
+ kind: "seeAllLink",
1782
+ label,
1783
+ href
1784
+ };
1785
+ return {
1786
+ kind: "loadMore",
1787
+ label
1788
+ };
1789
+ }
1790
+ function normalizeFilterId(value) {
1791
+ const id = normalizeOptionalId(value);
1792
+ return id === "all" ? void 0 : id;
1793
+ }
1794
+ function buildEventRuntimeFilters(input) {
1795
+ if (input.seriesIds != null) return { seriesIds: input.seriesIds };
1796
+ const params = {};
1797
+ if (input.eventSurface && input.eventSurface !== "all") params.eventSurface = input.eventSurface;
1798
+ const eventPresets = normalizeCsvString(input.filterEventPresets);
1799
+ if (eventPresets) params.eventPresets = eventPresets;
1800
+ if (input.scheduleScope && input.scheduleScope !== "any") params.scheduleScope = input.scheduleScope;
1801
+ const venueId = normalizeFilterId(input.filterVenueId);
1802
+ const staffMemberId = normalizeFilterId(input.filterStaffMemberId);
1803
+ const categoryIds = normalizeCsvString(input.filterCategoryIds);
1804
+ if (categoryIds) params.categoryIds = categoryIds;
1805
+ if (venueId) params.venueId = venueId;
1806
+ if (staffMemberId) params.staffMemberId = staffMemberId;
1807
+ return params;
1808
+ }
1809
+ function getEventRuntimeFiltersKey(filters) {
1810
+ const scope = filters ?? {};
1811
+ return JSON.stringify({
1812
+ ...scope.from === void 0 ? {} : { from: scope.from },
1813
+ ...scope.to === void 0 ? {} : { to: scope.to },
1814
+ seriesIds: canonicalEventSeriesScope(scope.seriesIds),
1815
+ categoryIds: normalizeCsvString(scope.categoryIds),
1816
+ staffMemberId: normalizeOptionalId(scope.staffMemberId),
1817
+ venueId: normalizeOptionalId(scope.venueId),
1818
+ eventSurface: scope.eventSurface ?? null,
1819
+ eventPresets: normalizeCsvString(scope.eventPresets),
1820
+ scheduleScope: scope.scheduleScope ?? null
1821
+ });
1822
+ }
1823
+ function canonicalEventSeriesScope(seriesIds) {
1824
+ return seriesIds == null ? null : [...new Set(seriesIds.split(",").filter(Boolean))].sort().join(",");
1825
+ }
1826
+ //#endregion
1815
1827
  //#region ../blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.ts
1816
1828
  const eventSurfaceScopeSchema$1 = z.enum(eventSurfaceScopeValues);
1817
1829
  const eventScheduleScopeSchema$1 = z.enum(eventScheduleScopeValues);
@@ -2168,6 +2180,21 @@ Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) =
2168
2180
  function isOfferingsPreviewSourceKey(value) {
2169
2181
  return typeof value === "string" && OFFERINGS_PREVIEW_SOURCE_KEYS.includes(value);
2170
2182
  }
2183
+ /** The groups a preview shows; an author can hide one. */
2184
+ function visibleOfferingsPreviewGroups(groups) {
2185
+ return groups.filter((group) => !group.hidden);
2186
+ }
2187
+ /**
2188
+ * The public event query a preview group's loader sends. Both whole-series
2189
+ * presets share one read, since the block shows them as a single run group.
2190
+ */
2191
+ function offeringsPreviewGroupQuery(source) {
2192
+ switch (source.kind) {
2193
+ case "eventPreset": return { eventPresets: source.preset };
2194
+ case "wholeSeries": return { eventPresets: WHOLE_SERIES_EVENT_PRESET_VALUES.join(",") };
2195
+ default: return assertNever$1(source);
2196
+ }
2197
+ }
2171
2198
  function sourceKeyForEventPreset(preset) {
2172
2199
  return `eventPreset:${preset}`;
2173
2200
  }
@@ -2302,7 +2329,7 @@ function resolveOfferingsPreviewGroupCta(input) {
2302
2329
  }
2303
2330
  function buildOfferingsPreviewRenderStates(input) {
2304
2331
  const now = input.now;
2305
- return input.groups.filter((group) => !group.hidden).map((group) => {
2332
+ return visibleOfferingsPreviewGroups(input.groups).map((group) => {
2306
2333
  const data = input.itemsBySourceKey.get(group.sourceKey);
2307
2334
  if (!data || data.kind === "failed") return {
2308
2335
  kind: "failed",
@@ -4907,4 +4934,4 @@ function newsletterPrivacyNote(source, privacyNote) {
4907
4934
  return source !== "signed-hosted-booking" || /unsubscribe/i.test(privacyNote ?? "") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
4908
4935
  }
4909
4936
  //#endregion
4910
- export { productListInteractiveIslandPropsCodec as $, buildEventListWeek as $t, bookingPanelHeading as A, sameMailingListPlacementTargeting as An, normalizeEventSurfacePresets as At, buildCartInteractiveIslandProps as B, toError as Bt, resolveEventRegistrationEventSource as C, formatEventPriceDisplay as Cn, buildEventCombinedInteractiveIslandProps as Ct, bookingCardEntry as D, parseMailingListPlacementTargeting as Dn, normalizeEventCategoryIds as Dt, bookingBarPlacement as E, assessMailingListTargeting as En, eventCombinedInteractiveIslandPropsCodec as Et, buildGiftingInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, cartBlockRuntime as G, CardListLeadDate as Gt, buildProductDetailInteractiveIslandProps as H, getContainerClass as Ht, giftingBlockRuntime as I, getEventIdentity as It, checkoutInteractiveIslandPropsCodec as J, selectCardListPresentation as Jt, cartInteractiveIslandPropsCodec as K, cardListPresentationSchemaShape as Kt, giftingInteractiveIslandPropsCodec as L, getEventPaginationView as Lt, cancelledDateCopy as M, unsafeAsContentEntryId as Mn, normalizeEventVenueId as Mt, hasCancelledRegistrationDate as N, createInitialEventPaginationLoadState as Nt, bookingEntry as O, parseMailingListVisitorSelection as On, normalizeEventScheduleScope as Ot, occurrenceContextSchema as P, eventPageOperationQuery as Pt, productListBlockRuntime as Q, Grid as Qt, publicGiftingOffersResponseSchema as R, planEventPageOperation as Rt, eventRegistrationInteractiveIslandPropsCodec as S, formatEventPriceAmount as Sn, listingEventCardProps as St, DEFAULT_BOOKING_BUTTON_TEXT as T, buildMailingListSignupBlockSourceRef as Tn, eventCombinedBlockRuntime as Tt, buildProductListInteractiveIslandProps as U, formatBookingSchedulePresentation as Ut, buildCheckoutInteractiveIslandProps as V, getCardOrientation as Vt, buildShopInteractiveIslandProps as W, CardListContentPart as Wt, productDetailBlockRuntime as X, quickFactSlots as Xt, getShopDisplayForItems as Y, EventQuickFacts as Yt, productDetailInteractiveIslandPropsCodec as Z, MediaNodeServer as Zt, formInteractiveIslandPropsCodec as _, planSiteChromePlacement as _n, readOfferingsGrouping as _t, newsletterFormInteractiveIslandPropsCodec as a, buildEventRuntimeFilters as an, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as at, displayButtonText as b, formatEventDepositNote as bn, resolveOfferingsRenderInput as bt, eventListingInteractiveIslandPropsCodec as c, normalizeCsvString as cn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as ct, buildEventCalendarListingRender as d, recurringScheduleProjectionSchema as dn, groupOfferingRunsByCourse as dt, eventListWeekDays as en, shopBlockRuntime as et, eventCalendarBlockRuntime as f, headerChromeRuntimeContractSchema as fn, isOfferingsPreviewSourceKey as ft, formBlockRuntime as g, parseHeaderPositioning as gn, offeringsListingFor as gt, buildFormInteractiveIslandProps as h, staticHeaderChromeRuntime as hn, offeringRunLifecycle as ht, newsletterFormBlockRuntime as i, resolveEventSelection as in, DEFAULT_GROUP_CTA as it, courseTitleOf as j, parseContentVersionId as jn, normalizeEventSurfaceScope as jt, bookingEntryProgress as k, DEFAULT_MAILING_LIST_TARGETING as kn, normalizeEventStaffMemberId as kt, buildEventCalendarInteractiveIslandProps as l, normalizeOptionalId as ln, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as lt, combinedLookSchema as m, resolveHeaderChromeRuntimeContract as mn, normalizeOfferingsPreviewItemLimit as mt, buildNewsletterFormInteractiveIslandProps as n, groupEventsByWeek as nn, shopProductPresentation as nt, buildEventListingInteractiveIslandProps as o, getEventRuntimeFiltersKey as on, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as ot, eventCalendarInteractiveIslandPropsCodec as p, isHeaderScrollRuntimeEnabled as pn, normalizeOfferingsPreviewContentForWrite as pt, checkoutBlockRuntime as q, resolveCardListSchedule as qt, newsletterBlockSubmissionMessage as r, weekColumnDays as rn, publicProductsResponseSchema as rt, eventListingBlockRuntime as s, normalizeCsvIds as sn, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as st, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as t, eventWeekGroupingContext as tn, shopInteractiveIslandPropsCodec as tt, buildEventCalendarListingDisplay as u, projectRecurringSchedule as un, buildOfferingsPreviewListing as ut, buildEventRegistrationDisplayFromScopedEvents as v, splitSiteChromePlacementClasses as vn, resolveOfferingsPreviewGroupCta as vt, offeringNounForEvent as w, formatEventStartingPrice as wn, buildEventCombinedListingDisplay as wt, eventRegistrationBlockRuntime as x, formatEventPrice as xn, catalogueEventCardProps as xt, buildEventRegistrationInteractiveIslandProps as y, formatCoursePrice as yn, resolveOfferingsPreviewGroups as yt, DEFAULT_PASS_BUY_BUTTON_TEXT as z, toEventPaginationLoadError as zt };
4937
+ export { productListInteractiveIslandPropsCodec as $, resolveCardListSchedule as $t, bookingPanelHeading as A, DEFAULT_MAILING_LIST_TARGETING as An, normalizeCsvIds as At, buildCartInteractiveIslandProps as B, eventPageOperationQuery as Bt, resolveEventRegistrationEventSource as C, formatEventPriceAmount as Cn, listingEventCardProps as Ct, bookingCardEntry as D, assessMailingListTargeting as Dn, eventCombinedInteractiveIslandPropsCodec as Dt, bookingBarPlacement as E, buildMailingListSignupBlockSourceRef as En, eventCombinedBlockRuntime as Et, buildGiftingInteractiveIslandProps as F, normalizeEventStaffMemberId as Ft, cartBlockRuntime as G, toEventPaginationLoadError as Gt, buildProductDetailInteractiveIslandProps as H, getEventIdentity as Ht, giftingBlockRuntime as I, normalizeEventSurfacePresets as It, checkoutInteractiveIslandPropsCodec as J, getContainerClass as Jt, cartInteractiveIslandPropsCodec as K, toError as Kt, giftingInteractiveIslandPropsCodec as L, normalizeEventSurfaceScope as Lt, cancelledDateCopy as M, parseContentVersionId as Mn, normalizeOptionalId as Mt, hasCancelledRegistrationDate as N, unsafeAsContentEntryId as Nn, normalizeEventCategoryIds as Nt, bookingEntry as O, parseMailingListPlacementTargeting as On, buildEventRuntimeFilters as Ot, occurrenceContextSchema as P, normalizeEventScheduleScope as Pt, productListBlockRuntime as Q, cardListPresentationSchemaShape as Qt, publicGiftingOffersResponseSchema as R, normalizeEventVenueId as Rt, eventRegistrationInteractiveIslandPropsCodec as S, formatEventPrice as Sn, catalogueEventCardProps as St, DEFAULT_BOOKING_BUTTON_TEXT as T, formatEventStartingPrice as Tn, buildEventCombinedListingDisplay as Tt, buildProductListInteractiveIslandProps as U, getEventPaginationView as Ut, buildCheckoutInteractiveIslandProps as V, eventPaginationLoadReducer as Vt, buildShopInteractiveIslandProps as W, planEventPageOperation as Wt, productDetailBlockRuntime as X, CardListContentPart as Xt, getShopDisplayForItems as Y, formatBookingSchedulePresentation as Yt, productDetailInteractiveIslandPropsCodec as Z, CardListLeadDate as Zt, formInteractiveIslandPropsCodec as _, parseHeaderPositioning as _n, offeringsPreviewGroupQuery as _t, newsletterFormInteractiveIslandPropsCodec as a, buildEventListWeek as an, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as at, displayButtonText as b, formatCoursePrice as bn, resolveOfferingsPreviewGroups as bt, eventListingInteractiveIslandPropsCodec as c, groupEventsByWeek as cn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as ct, buildEventCalendarListingRender as d, projectRecurringSchedule as dn, groupOfferingRunsByCourse as dt, selectCardListPresentation as en, shopBlockRuntime as et, eventCalendarBlockRuntime as f, recurringScheduleProjectionSchema as fn, isOfferingsPreviewSourceKey as ft, formBlockRuntime as g, staticHeaderChromeRuntime as gn, offeringsListingFor as gt, buildFormInteractiveIslandProps as h, resolveHeaderChromeRuntimeContract as hn, offeringRunLifecycle as ht, newsletterFormBlockRuntime as i, Grid as in, DEFAULT_GROUP_CTA as it, courseTitleOf as j, sameMailingListPlacementTargeting as jn, normalizeCsvString as jt, bookingEntryProgress as k, parseMailingListVisitorSelection as kn, getEventRuntimeFiltersKey as kt, buildEventCalendarInteractiveIslandProps as l, weekColumnDays as ln, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as lt, combinedLookSchema as m, isHeaderScrollRuntimeEnabled as mn, normalizeOfferingsPreviewItemLimit as mt, buildNewsletterFormInteractiveIslandProps as n, quickFactSlots as nn, shopProductPresentation as nt, buildEventListingInteractiveIslandProps as o, eventListWeekDays as on, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as ot, eventCalendarInteractiveIslandPropsCodec as p, headerChromeRuntimeContractSchema as pn, normalizeOfferingsPreviewContentForWrite as pt, checkoutBlockRuntime as q, getCardOrientation as qt, newsletterBlockSubmissionMessage as r, MediaNodeServer as rn, publicProductsResponseSchema as rt, eventListingBlockRuntime as s, eventWeekGroupingContext as sn, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as st, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as t, EventQuickFacts as tn, shopInteractiveIslandPropsCodec as tt, buildEventCalendarListingDisplay as u, resolveEventSelection as un, buildOfferingsPreviewListing as ut, buildEventRegistrationDisplayFromScopedEvents as v, planSiteChromePlacement as vn, readOfferingsGrouping as vt, offeringNounForEvent as w, formatEventPriceDisplay as wn, buildEventCombinedInteractiveIslandProps as wt, eventRegistrationBlockRuntime as x, formatEventDepositNote as xn, resolveOfferingsRenderInput as xt, buildEventRegistrationInteractiveIslandProps as y, splitSiteChromePlacementClasses as yn, resolveOfferingsPreviewGroupCta as yt, DEFAULT_PASS_BUY_BUTTON_TEXT as z, createInitialEventPaginationLoadState as zt };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as listLookSlot } from "./noop-Dl4mZ-rr.mjs";
2
+ import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
3
3
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
4
4
  import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-BNnKuir8.mjs";
5
5
  import "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-CRhn9qzS.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder--uHW4tFM.mjs";
4
- import { t as NewsletterFormClient } from "./newsletter-form.client-WYja9-WN.mjs";
2
+ import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
4
+ import { t as NewsletterFormClient } from "./newsletter-form.client-rIYPziZC.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
7
7
  import "react";