@riverbankcms/sdk 0.158.0 → 0.160.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/README.md +25 -6
  2. package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-CoqeotCL.d.ts} +1 -1
  3. package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-C0ENVLCF.d.ts} +13 -6
  4. package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-jZK0A49V.d.ts} +54 -126
  5. package/dist/_dts/{client-B960v2gW.d.ts → client-uMMuPq9V.d.ts} +23 -1
  6. package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-D6nXGqdQ.d.ts} +18 -18
  7. package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-Bnmj1nxu.d.ts} +6 -5
  8. package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-CeLjFX8b.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-nyU8q02J.d.ts} +5 -2
  10. package/dist/_dts/{index-DPfI2t5A.d.ts → index-BaaGBY1v.d.ts} +2 -2
  11. package/dist/_dts/{index-DCNu_8it.d.ts → index-Bg64CkV-.d.ts} +4 -4
  12. package/dist/_dts/index-Blwl7yl6.d.ts +13 -0
  13. package/dist/_dts/{index-DaS_z6ir.d.ts → index-C5xslEBn.d.ts} +2 -2
  14. package/dist/_dts/{index-DpgkhY-a.d.ts → index-CEaKil7G.d.ts} +2 -2
  15. package/dist/_dts/{index-Ba6RmuxX.d.ts → index-DahMwisK.d.ts} +3 -3
  16. package/dist/_dts/index-lkpjIg5i.d.ts +66 -0
  17. package/dist/_dts/{index-DfkFWUxt.d.ts → index-nVoi_74l.d.ts} +2 -2
  18. package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-CYLmzvLq.d.ts} +16 -7
  19. package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-DqnxChOs.d.ts} +2 -2
  20. package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
  21. package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → schema-D0bNcPWK.d.ts} +6921 -6768
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +12 -6
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/index.d.ts +8 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  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 +10 -28
  35. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  36. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  37. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  40. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  41. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  42. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  44. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  45. package/dist/_dts/sdk/src/server.d.ts +5 -5
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-BJrRUaY7.d.ts → types-CFrYuXYP.d.ts} +2 -2
  48. package/dist/_dts/{navigation-n-eTVTIQ.d.ts → types-D8czmbQF.d.ts} +15430 -16836
  49. package/dist/_dts/{types-BY7PgnDi.d.ts → types-DSgmJ15W.d.ts} +7 -7
  50. package/dist/_dts/{types-maEnXL6Z.d.ts → types-Dm-KW7nj.d.ts} +10 -13
  51. package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Bmb4WnHg.d.ts} +4 -4
  52. package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs} +17 -17
  53. package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-C00sLLdL.mjs} +2 -2
  54. package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-CHSi9b3E.mjs} +6 -6
  55. package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-Bhm6RAUL.mjs} +1 -1
  56. package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs} +6 -6
  57. package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-ClxN5_xZ.mjs} +1 -1
  58. package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BncvSa1n.mjs} +10 -9
  59. package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DluBxVVu.mjs} +8 -8
  60. package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-BiJrMtfp.mjs} +1 -1
  61. package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-CXhnT9pF.mjs} +11 -6
  62. package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-V-dtoDlD.mjs} +1 -1
  63. package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-DPO6SZbx.mjs} +3 -3
  64. package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-B-Yi5JZS.mjs} +7 -7
  65. package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-Dc3Fnlnw.mjs} +189 -176
  66. package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-ClZCCzAm.mjs} +1 -1
  67. package/dist/client/{Page-BmpeAwID.mjs → Page-7PkzO04N.mjs} +1949 -2074
  68. package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-DiD6euZ8.mjs} +3 -3
  69. package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-BHd8GN8y.mjs} +1 -1
  70. package/dist/client/{ThemedButton-DVBC_pS9.mjs → ThemedButton-C22C9cCF.mjs} +174 -93
  71. package/dist/client/{accordion-DeObOasQ.mjs → accordion-2m27DsIk.mjs} +1 -1
  72. package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BddWV5w1.mjs} +12 -12
  73. package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-bcdXQjmw.mjs} +4 -4
  74. package/dist/client/bookings.mjs +6 -6
  75. package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-D7nj9I0y.mjs} +2 -2
  76. package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-AffDJo_s.mjs} +1 -1
  77. package/dist/client/{cart-BAXNbFux.mjs → cart-PN6yCw1H.mjs} +3 -3
  78. package/dist/client/{cart.client-BczxUF70.mjs → cart.client-D4t1f0cJ.mjs} +1 -1
  79. package/dist/client/{checkout-C5NRhPeP.mjs → checkout-CsTwXVSb.mjs} +3 -3
  80. package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-BhQE3zY7.mjs} +1 -1
  81. package/dist/client/client.mjs +25 -13
  82. package/dist/client/{context-CVsgML69.mjs → context-BLAvalAa.mjs} +1 -1
  83. package/dist/client/{cta-BWnUuJce.mjs → cta-CUXhX_D7.mjs} +2 -1
  84. package/dist/client/dateFormatting-BHIHxNuo.mjs +61 -0
  85. package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-R-awbk_0.mjs} +1 -1
  86. package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-9Q93uvTo.mjs} +3 -3
  87. package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-BS1WtG-a.mjs} +2 -2
  88. package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-BXndwsET.mjs} +35 -21
  89. package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-HyoOt1Qz.mjs} +4 -4
  90. package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-sdG5oEaH.mjs} +4 -4
  91. package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-FFAknE4w.mjs} +2 -2
  92. package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-CGK6urk3.mjs} +4 -4
  93. package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-VhrvCs4l.mjs} +4 -4
  94. package/dist/client/{form-DVu3ZMjx.mjs → form-C-B5O_ko.mjs} +3 -3
  95. package/dist/client/{form.client-QZUyABIY.mjs → form.client-DoZVcl8d.mjs} +5 -5
  96. package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-mttKpgif.mjs} +3 -3
  97. package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-xUSCknEO.mjs} +1 -1
  98. package/dist/client/gifting/client.mjs +3 -3
  99. package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-BHUEXsaI.mjs} +2 -2
  100. package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-Cylb_MHw.mjs} +2 -2
  101. package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-Cx4Bl7ij.mjs} +69 -6
  102. package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-QnKJi-nZ.mjs} +2 -2
  103. package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-D_n0rftg.mjs} +8 -8
  104. package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-DKHye4IE.mjs} +2 -2
  105. package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-tEaYelzx.mjs} +3 -3
  106. package/dist/client/{noop-DMFt3KdC.mjs → noop-B610YKEx.mjs} +12 -5
  107. package/dist/client/portal/client.mjs +4562 -174
  108. package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-DUf5x5Jt.mjs} +1 -1
  109. package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-Cqp1BPTV.mjs} +1 -1
  110. package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-B8bBiogP.mjs} +3 -3
  111. package/dist/client/{productList-DZH9_brv.mjs → productList-BKN4D-1z.mjs} +3 -3
  112. package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-2nNZh2Oe.mjs} +3 -3
  113. package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BAm4RPNJ.mjs} +856 -872
  114. package/dist/client/rendering/client.mjs +27 -26
  115. package/dist/client/rendering/islands.mjs +1 -1
  116. package/dist/client/rendering.mjs +47 -28
  117. package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cv-qomNB.mjs} +1 -1
  118. package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-C5u8MbAA.mjs} +1 -1
  119. package/dist/client/{shop-C7eL3B37.mjs → shop-DZNC0VKk.mjs} +3 -3
  120. package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-DdX4LSa3.mjs} +12 -12
  121. package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store-BJtrZov9.mjs} +1 -1
  122. package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-DmDd-igg.mjs} +16 -15
  123. package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-5SnnDHz3.mjs} +402 -35
  124. package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-CPqUlAh9.mjs} +2 -2
  125. package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
  126. package/dist/client/timetableModel-C19rcHEw.mjs +960 -0
  127. package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-BjbJXotk.mjs} +3 -3
  128. package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-CMgfL7YJ.mjs} +1 -1
  129. package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-KG8jB7WC.mjs} +2 -2
  130. package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DK2w_i0a.mjs} +1 -1
  131. package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DW6MCirb.mjs} +11 -10
  132. package/dist/client/uuid-BETKW8rS.mjs +12 -0
  133. package/dist/client/{view-hJr_L4QC2.mjs → view-CkUn3Y0Y.mjs} +4 -4
  134. package/dist/client/{view-BPEa6Okm.mjs → view-CseyBW07.mjs} +15 -70
  135. package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-zgq10lN1.mjs} +262 -65
  136. package/dist/preview-next/before-render.mjs +1 -1
  137. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-lUHBrzHv.mjs} +1 -1
  138. package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DWyUGCAG.mjs} +1217 -107
  139. package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-Wq0b3Daw.mjs} +52 -79
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-BtZPcwYV.mjs} +1 -1
  141. package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-wSI_R361.mjs} +720 -2035
  142. package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-Hc4pYnNe.mjs} +14365 -8155
  143. package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-DzeycIlD.mjs} +204 -93
  144. package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-Corq4AG7.mjs} +3 -8
  145. package/dist/preview-next/client/runtime.mjs +3 -3
  146. package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-CWymRWhK.mjs} +1 -1
  147. package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +1359 -0
  148. package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-C4If5Y-O.mjs} +1 -1
  149. package/dist/preview-next/editor-base.css +62 -0
  150. package/dist/preview-next/editor-chrome.css +85 -0
  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-DM22uOXM.mjs → route-contract-8csADeIT.mjs} +149 -112
  154. package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-D1_gonwM.mjs} +6 -6
  155. package/dist/server/{bindings-C7DKLVx_.mjs → bindings-CFmJg5lm.mjs} +2 -2
  156. package/dist/server/{client-CU4wlMLE.mjs → client-DPsi0Dai.mjs} +9 -7
  157. package/dist/server/config-template-validation.mjs +50 -10
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
  161. package/dist/server/index.mjs +2 -2
  162. package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-RMCcuVU_.mjs} +33 -20
  163. package/dist/server/loadPage-DUPP51C-.mjs +2 -0
  164. package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-DhDGzj7t.mjs} +8 -5
  165. package/dist/server/manifest.mjs +1 -1
  166. package/dist/server/metadata.mjs +2 -2
  167. package/dist/server/next.mjs +13 -12
  168. package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-OxY5FMuy.mjs} +1 -1
  169. package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-Bz_A6sB9.mjs} +586 -518
  170. package/dist/server/page-converter.mjs +8 -10
  171. package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-B_1vrSru.mjs} +1 -1
  172. package/dist/server/prebuild.mjs +1 -1
  173. package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-B7ukYXXR.mjs} +841 -887
  174. package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-Djbpc81A.mjs} +166 -129
  175. package/dist/server/{blocks-jlIm0PWc.mjs → registry-eFjKtEhF.mjs} +2349 -1716
  176. package/dist/server/rendering/server.mjs +4 -4
  177. package/dist/server/rendering.mjs +7 -7
  178. package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-DYvEa9c5.mjs} +6 -3
  179. package/dist/server/routing.mjs +1 -1
  180. package/dist/server/{schema-Bs735S27.mjs → schema-C3dJ5UkL.mjs} +148 -88
  181. package/dist/server/server.mjs +3 -3
  182. package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → siteChromeOverlayClearance-DALIAMwo.mjs} +108 -11
  183. package/dist/server/{src-B935_bzN.mjs → src-C5Mu-z0F.mjs} +268 -189
  184. package/dist/server/theme-bridge.mjs +1 -1
  185. package/dist/server/theme.mjs +1 -1
  186. package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-ruoyXb_0.mjs} +9 -7
  187. package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
  188. package/dist/server/{validation-Cm41pDUB.mjs → validation-B-Xar8QS.mjs} +22 -63
  189. package/dist/server/{version-Bo9C3McI.mjs → version-Bg7VHK3i.mjs} +1 -1
  190. package/dist/styles/index.css +78 -0
  191. package/package.json +8 -3
  192. package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
  193. package/dist/_dts/index-cnymEAZY.d.ts +0 -1
  194. package/dist/client/timetableModel-D7PwpaBY.mjs +0 -480
  195. package/dist/preview-next/client/siteStyleAccess-CRXaC2oL.mjs +0 -1326
  196. package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
@@ -1,18 +1,13 @@
1
1
  "use client";
2
2
  import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
3
3
  import { C as unsafeAsStoragePath, S as unsafeAsStorageBucketName, T as ok$1, d as parseEventSeriesId, i as resolveManagedMediaReference, o as parseCanonicalMediaIdentifier, u as parseEventOfferingId, w as err, y as unsafeAsMediaAssetId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
4
- import { $t as asDesignEntryId, A as planFlexibleBalanceCreditFirst, At as navLinkOwnsHoverForeground, Bn as expandPalette, Ct as generateInteractiveChildInheritanceCSS, D as getStripeMinimumChargeRequirement, Dt as NAV_LINK_PADDING_X_MAP, E as checkoutCopy, Er as runtimeMediaSchema, Et as NAV_LINK_PADDING_MAP, F as getBookingLaterInstalments, Fn as unsafeAsOpaqueButtonColourToken, Ft as runtimeBoxBackgroundSchema, Gn as hexColorSchema, Hn as planForegroundHover, Jn as paletteValueKey, Jt as asBlockContentVersionId, Kn as paletteColorsSchema, Kt as normalizeCardRole, L as headerPositioningValues, Ln as surfaceToneFromForegroundToken, Lt as siteChromeBackgroundOverrideOwner, M as repriceBookingCollectionOptions, Mr as formatCurrencyAmount, Mt as navEffectPolicy, N as resolveAvailableBookingCollectionOptions, On as opaqueSurfaceDeclarations, Ot as NAV_LINK_TEXT_SIZE_MAP, P as resolveBookingCollectionOptionFacts, Pn as PUBLIC_BUTTON_ROLES, Qn as backgroundColorStyle, Qt as asDesignBoundaryId, Rn as resolveSurfaceForeground, S as clsx, St as generateBaseInteractiveCSS, Tn as resolveSurface, Tt as NAV_LINK_LETTER_SPACING_MAP, Un as resolveConcreteColorHex, Ut as cardRoleSchema, Wt as cardRoleValues, Xn as requirePaletteColorsFromEntries, Xt as asBoundaryOptionId, Yn as paletteValueKeySchema, Yt as asBlockOrderIndex, Zn as TokenResolver, Zt as asDesignBlockId, _t as brandDisplayModeValues, an as assertNever$1, ar as parseThemeColorToken, bn as requireNonEmptyReadonlyArray, bt as buttonStyleSelectionSchema, dr as contrastRatio, en as asDesignPageId, fn as flushPanelFrame, fr as relativeLuminance, gn as noHeadingDecoration, gt as headerInteractionQuietPalette, hn as makeBoundaryId, hr as rgbToHex, ht as headerInteractionPaletteValues, in as asSiteStyleId, j as isBookingCollectionEquivalentToUpfront, jt as navLinkOwnsUnderline, k as planCheckoutPaymentFlow, kr as getBookingInstalmentPlanIntervalCount, kt as navLinkHoverColorCandidate, mr as hexToRgb, nn as asLayoutVariantKey, nr as rgbColorValue, or as themeColorShadeSteps, pr as featuresFromHex, qn as paletteModeSchema, qt as asAppearancePresetId, rn as asPageFlowPresetId, rr as textColorStyle, sn as defineExactCatalog, tn as asDesignSystemTemplateId, tr as mergeStyles, vn as panelFrame, vt as logoSizePolicyValues, wt as NAV_LINK_BORDER_RADIUS_MAP, xr as surfaceForegroundValue, xt as generateEffectsCSS, yn as plainFrame, yr as surfaceForegroundInputFromResolved, yt as defaultButtonStyleSelectionFor, zt as themeV2RuntimeStyleFieldNames } from "./ThemedButton-DVBC_pS9.mjs";
5
- import { Ct as toUtcIsoDateTimeString, G as blockBookingConsentSchema, J as toBookingRequirementConsentField, S as eventCalendarListLayoutValues, St as toScheduledBookingDateTime, Y as blockBookingPaymentTermsSchema, _ as eventCalendarDefaultViewValues, at as formatTime$2, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, n as blockSiteTermsSchema, nt as formatDateRange, ot as formatTimeRange, rt as formatDateTime, st as inferSiteDateLocale, tt as formatDate$2, v as eventCalendarDisplayModeValues, vt as parseUtcIsoDateTimeString, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
6
- import { t as assertNever$2 } from "./src-7cXhT0G_.mjs";
4
+ import { $n as backgroundColorStyle, $t as asDesignBoundaryId, A as planCheckoutPaymentFlow, Ar as getBookingInstalmentPlanIntervalCount, At as navLinkHoverColorCandidate, Bt as themeV2RuntimeStyleFieldNames, C as clsx, Ct as generateBaseInteractiveCSS, D as checkoutCopy, Dr as runtimeMediaSchema, Dt as NAV_LINK_PADDING_MAP, En as resolveSurface, Et as NAV_LINK_LETTER_SPACING_MAP, F as resolveBookingCollectionOptionFacts, Fn as PUBLIC_BUTTON_ROLES, Gt as cardRoleValues, I as getBookingLaterInstalments, In as unsafeAsOpaqueButtonColourToken, It as runtimeBoxBackgroundSchema, Jn as paletteModeSchema, Jt as asAppearancePresetId, Kn as hexColorSchema, M as isBookingCollectionEquivalentToUpfront, Mt as navLinkOwnsUnderline, N as repriceBookingCollectionOptions, Nr as formatCurrencyAmount, Nt as navEffectPolicy, O as getStripeMinimumChargeRequirement, Ot as NAV_LINK_PADDING_X_MAP, P as resolveAvailableBookingCollectionOptions, Qn as TokenResolver, Qt as asDesignBlockId, R as headerPositioningValues, Rn as surfaceToneFromForegroundToken, Rt as siteChromeBackgroundOverrideOwner, Sr as surfaceForegroundValue, St as generateEffectsCSS, Tt as NAV_LINK_BORDER_RADIUS_MAP, Un as planForegroundHover, Vn as expandPalette, Wn as resolveConcreteColorHex, Wt as cardRoleSchema, Xn as paletteValueKeySchema, Xt as asBlockOrderIndex, Yn as paletteValueKey, Yt as asBlockContentVersionId, Zn as requirePaletteColorsFromEntries, Zt as asBoundaryOptionId, _n as noHeadingDecoration, _t as headerInteractionQuietPalette, an as asSiteStyleId, bn as plainFrame, br as surfaceForegroundInputFromResolved, bt as defaultButtonStyleSelectionFor, cn as defineExactCatalog, en as asDesignEntryId, fr as contrastRatio, gn as makeBoundaryId, gr as rgbToHex, gt as headerInteractionPaletteValues, hr as hexToRgb, in as asPageFlowPresetId, ir as textColorStyle, j as planFlexibleBalanceCreditFirst, jt as navLinkOwnsHoverForeground, kn as opaqueSurfaceDeclarations, kt as NAV_LINK_TEXT_SIZE_MAP, mr as featuresFromHex, nn as asDesignSystemTemplateId, nr as mergeStyles, on as assertNever, or as parseThemeColorToken, pn as flushPanelFrame, pr as relativeLuminance, qn as paletteColorsSchema, qt as normalizeCardRole, rn as asLayoutVariantKey, rr as rgbColorValue, sr as themeColorShadeSteps, tn as asDesignPageId, vt as brandDisplayModeValues, wt as generateInteractiveChildInheritanceCSS, xn as requireNonEmptyReadonlyArray, xt as buttonStyleSelectionSchema, yn as panelFrame, yt as logoSizePolicyValues, zn as resolveSurfaceForeground } from "./ThemedButton-C22C9cCF.mjs";
5
+ import { c as assertNever$1, t as assertNever$2 } from "./src-VIsPY-kw.mjs";
6
+ import { Ct as toUtcIsoDateTimeString, G as blockBookingConsentSchema, J as toBookingRequirementConsentField, S as eventCalendarListLayoutValues, St as toScheduledBookingDateTime, Y as blockBookingPaymentTermsSchema, _ as eventCalendarDefaultViewValues, _t as parseLocalScheduleTime, at as formatTime$2, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, n as blockSiteTermsSchema, nt as formatDateRange, ot as formatTimeRange, rt as formatDateTime, st as inferSiteDateLocale, tt as formatDate$2, v as eventCalendarDisplayModeValues, vt as parseUtcIsoDateTimeString, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-B610YKEx.mjs";
7
7
  import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DThoeEBU.mjs";
8
8
  import React from "react";
9
9
  import { z } from "zod";
10
10
  import { Fragment, jsx } from "react/jsx-runtime";
11
- //#region ../core/src/assert-never.ts
12
- function assertNever(value, message = "Unexpected variant") {
13
- throw new Error(`${message}: ${String(value)}`);
14
- }
15
- //#endregion
16
11
  //#region ../core/src/planner.ts
17
12
  /** Default clock for production callers that do not inject time explicitly. */
18
13
  const systemPlanningClock = { now: () => Date.now() };
@@ -35,7 +30,7 @@ function isPublicEventPricingOptionDisplayable(option) {
35
30
  case "not_on_sale_yet":
36
31
  case "sale_ended":
37
32
  case "attendance_mode_unavailable": return false;
38
- default: return assertNever(reason);
33
+ default: return assertNever$1(reason);
39
34
  }
40
35
  }
41
36
  function publicEventPricingDisplay(pricing) {
@@ -176,7 +171,7 @@ function canonicalEventPricingDisplay(pricing) {
176
171
  currency: pricing.currency,
177
172
  purpose: "configured"
178
173
  });
179
- default: return assertNever(pricing);
174
+ default: return assertNever$1(pricing);
180
175
  }
181
176
  }
182
177
  /**
@@ -195,7 +190,7 @@ function formatBookingPriceDisplay(display, options = {}) {
195
190
  case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)} - ${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
196
191
  case "unavailable": return "Pricing unavailable";
197
192
  case "external": return display.label;
198
- default: return assertNever(display);
193
+ default: return assertNever$1(display);
199
194
  }
200
195
  }
201
196
  /** Render an event's price directly from its pricing value. */
@@ -250,14 +245,14 @@ function parseEventPageSurfaceDestinationMode(value) {
250
245
  }
251
246
  function parseEventPageSurfaceSubject(value) {
252
247
  if (!isRecord$7(value)) return err({ kind: "notObject" });
253
- switch (value.kind) {
254
- case "eventSeries": return parseEventSeriesPageSurfaceSubject(value);
255
- case "eventOffering": return parseEventOfferingPageSurfaceSubject(value);
256
- default: return err({
257
- kind: "unsupportedSubject",
258
- subjectKind: value.kind
259
- });
260
- }
248
+ const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err({
249
+ kind: "unsupportedSubject",
250
+ subjectKind: value.kind
251
+ });
252
+ return parsed.ok && value.noindex === true ? ok$1({
253
+ ...parsed.value,
254
+ noindex: true
255
+ }) : parsed;
261
256
  }
262
257
  function parseEventSeriesPageSurfaceSubject(value) {
263
258
  const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
@@ -1066,7 +1061,7 @@ const lookKnobBlocks = {
1066
1061
  smallCaption: "block.hero",
1067
1062
  candleGlow: "block.hero",
1068
1063
  columnGuides: "block.hero",
1069
- showPhotos: cardListFamilyBlocks,
1064
+ showPhotos: cardListKnobBlocks,
1070
1065
  cardMarker: cardListFamilyBlocks,
1071
1066
  dates: "block.offerings-preview",
1072
1067
  showCapacity: "block.event-calendar",
@@ -2107,7 +2102,7 @@ const appearancePresets = [
2107
2102
  }),
2108
2103
  defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"]),
2109
2104
  defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], { styleFallback: [id$1("event-calendar-ruled-rows")] }),
2110
- defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity"], {
2105
+ defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity", "showPhotos"], {
2111
2106
  itemRoles: { items: "card" },
2112
2107
  slotRoles: { date: "highlight" },
2113
2108
  styleFallback: [id$1("event-calendar-ruled-rows")]
@@ -2116,6 +2111,22 @@ const appearancePresets = [
2116
2111
  itemRoles: { container: "card" },
2117
2112
  styleFallback: [id$1("event-calendar-ruled-rows")]
2118
2113
  }),
2114
+ defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", ["showCapacity", "showPhotos"], {
2115
+ itemRoles: { items: "card" },
2116
+ slotRoles: { date: "highlight" },
2117
+ styleFallback: [id$1("event-calendar-session-cards")]
2118
+ }),
2119
+ {
2120
+ ...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", []),
2121
+ structure: {
2122
+ kind: "arrangement",
2123
+ byMode: { week: "ledger" },
2124
+ knobs: [],
2125
+ itemRoles: {},
2126
+ whenMissing: [],
2127
+ styleFallback: []
2128
+ }
2129
+ },
2119
2130
  defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-copy-over-gallery")] }),
2120
2131
  defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], { knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." } }),
2121
2132
  defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
@@ -2979,10 +2990,16 @@ const sectionTransitionFamilies = [{
2979
2990
  label: family.label,
2980
2991
  variants: requireNonEmptyReadonlyArray(transitionCatalogueEntries.filter((entry) => entry.family === family.id).map(transitionVariantForEntry), `Transition family ${family.id} has no catalogue entries.`)
2981
2992
  }))];
2982
- new Map(boundaryOptions.map((option) => [option.id, option]));
2993
+ const boundaryOptionById = new Map(boundaryOptions.map((option) => [option.id, option]));
2983
2994
  new Map(boundaryOptions.map((option) => [stableTreatmentKey(option.treatment), option]));
2984
2995
  new Map(sectionTransitionFamilies.flatMap((family) => family.variants.map((variant) => [variant.boundaryOption.id, variant])));
2985
2996
  new Map(sectionTransitionFamilies.map((family) => [family.id, family]));
2997
+ function boundaryTreatmentForBoundaryOptionId(boundaryOptionId) {
2998
+ return boundaryOptionById.get(boundaryOptionId)?.treatment ?? {
2999
+ kind: "legacy-unsupported",
3000
+ boundaryOptionId
3001
+ };
3002
+ }
2986
3003
  function stableTreatmentKey(treatment) {
2987
3004
  switch (treatment.kind) {
2988
3005
  case "none": return "none";
@@ -3044,7 +3061,7 @@ function boundaryEndpointForSectionContent(content) {
3044
3061
  kind: "unpainted",
3045
3062
  reason: "media"
3046
3063
  };
3047
- default: return assertNever$1(effective, "Unhandled section background type");
3064
+ default: return assertNever(effective, "Unhandled section background type");
3048
3065
  }
3049
3066
  }
3050
3067
  /**
@@ -3145,7 +3162,7 @@ function boundaryLayout(intent, composition) {
3145
3162
  shape: composition.from
3146
3163
  }
3147
3164
  };
3148
- default: return assertNever$1(composition, "Unhandled boundary composition");
3165
+ default: return assertNever(composition, "Unhandled boundary composition");
3149
3166
  }
3150
3167
  }
3151
3168
  function requireThemeColorToken$1(value) {
@@ -3275,31 +3292,56 @@ const pageDesignBlockLookPinSchema = z.object({
3275
3292
  choice: pageDesignUserPinnedAppearanceChoiceSchema
3276
3293
  }).strict();
3277
3294
  const pageDesignBoundaryPinSchema = z.object({
3278
- boundaryId: z.string().min(1).transform(asDesignBoundaryId),
3295
+ boundaryId: z.string().min(1).startsWith("boundary:", { error: "DesignBoundaryId must start with \"boundary:\"." }).transform(asDesignBoundaryId),
3279
3296
  previousBlockId: z.string().min(1).transform(asDesignBlockId),
3280
3297
  nextBlockId: z.string().min(1).transform(asDesignBlockId),
3281
3298
  choice: pageDesignUserPinnedBoundaryTreatmentChoiceSchema
3282
3299
  }).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
3283
3300
  const legacyPageDesignBoundaryPinSchema = z.object({
3284
- boundaryId: z.string().min(1).transform(asDesignBoundaryId),
3301
+ boundaryId: z.string().min(1).startsWith("boundary:", { error: "DesignBoundaryId must start with \"boundary:\"." }).transform(asDesignBoundaryId),
3285
3302
  previousBlockId: z.string().min(1).transform(asDesignBlockId),
3286
3303
  nextBlockId: z.string().min(1).transform(asDesignBlockId),
3287
3304
  choice: pageDesignUserPinnedBoundaryChoiceSchema
3288
3305
  }).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
3289
- z.object({
3306
+ /**
3307
+ * Persisted editor intent stores only user-pinned block Looks and boundary choices.
3308
+ * Missing pins mean `auto`; block-kind/preset compatibility is enforced by resolution,
3309
+ * not by this JSON parse boundary.
3310
+ */
3311
+ const pageDesignIntentV1Schema = z.object({
3290
3312
  schemaVersion: z.literal(1),
3291
- siteStyleId: z.string().min(1).transform(asSiteStyleId),
3313
+ siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId),
3292
3314
  pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
3293
3315
  blockLookPins: z.array(pageDesignBlockLookPinSchema),
3294
3316
  boundaryPins: z.array(legacyPageDesignBoundaryPinSchema)
3295
3317
  }).strict().superRefine(validateUniquePageDesignPins);
3296
- z.object({
3318
+ const pageDesignDecisionsV2Schema = z.object({
3297
3319
  schemaVersion: z.literal(2),
3298
- siteStyleId: z.string().min(1).transform(asSiteStyleId),
3299
3320
  pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
3300
3321
  blockLookPins: z.array(pageDesignBlockLookPinSchema),
3301
3322
  boundaryPins: z.array(pageDesignBoundaryPinSchema)
3302
3323
  }).strict().superRefine(validateUniquePageDesignPins);
3324
+ const pageDesignIntentV2Schema = pageDesignDecisionsV2Schema.safeExtend({ siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId) });
3325
+ function normalizeLegacyPageDesignIntent(intent) {
3326
+ return {
3327
+ schemaVersion: 2,
3328
+ siteStyleId: intent.siteStyleId,
3329
+ pageFlowPresetId: intent.pageFlowPresetId,
3330
+ blockLookPins: intent.blockLookPins,
3331
+ boundaryPins: intent.boundaryPins.map((pin) => ({
3332
+ boundaryId: pin.boundaryId,
3333
+ previousBlockId: pin.previousBlockId,
3334
+ nextBlockId: pin.nextBlockId,
3335
+ choice: userPinnedDesignChoice(boundaryTreatmentForBoundaryOptionId(pin.choice.value))
3336
+ }))
3337
+ };
3338
+ }
3339
+ function userPinnedDesignChoice(value) {
3340
+ return {
3341
+ kind: "user-pinned",
3342
+ value
3343
+ };
3344
+ }
3303
3345
  function addDuplicateStringIssues(ctx, input) {
3304
3346
  const seen = /* @__PURE__ */ new Set();
3305
3347
  const duplicates = /* @__PURE__ */ new Set();
@@ -7613,14 +7655,14 @@ function isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) {
7613
7655
  switch (policy.kind) {
7614
7656
  case "open": return true;
7615
7657
  case "locked-look-and-layouts": return policy.allowedLayoutVariantKeys.includes(layoutVariantKey);
7616
- default: return assertNever$1(policy, "Unhandled site style block policy");
7658
+ default: return assertNever(policy, "Unhandled site style block policy");
7617
7659
  }
7618
7660
  }
7619
7661
  function normalizeLayoutVariantForPolicy(policy, layoutVariantKey) {
7620
7662
  switch (policy.kind) {
7621
7663
  case "open": return layoutVariantKey ?? null;
7622
7664
  case "locked-look-and-layouts": return layoutVariantKey && isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) ? layoutVariantKey : policy.defaultLayoutVariantKey;
7623
- default: return assertNever$1(policy, "Unhandled site style block policy");
7665
+ default: return assertNever(policy, "Unhandled site style block policy");
7624
7666
  }
7625
7667
  }
7626
7668
  /**
@@ -8570,6 +8612,16 @@ const folioLooks = {
8570
8612
  treatment: "calendar-compact",
8571
8613
  roleMap: folioRoles
8572
8614
  },
8615
+ {
8616
+ id: id("events-spotlight"),
8617
+ treatment: "calendar-spotlight",
8618
+ roleMap: folioRoles
8619
+ },
8620
+ {
8621
+ id: id("events-recurring-week"),
8622
+ treatment: "calendar-recurring-week",
8623
+ roleMap: folioRoles
8624
+ },
8573
8625
  {
8574
8626
  id: id("event-calendar-month-grid"),
8575
8627
  treatment: "calendar-month",
@@ -8874,6 +8926,16 @@ const fulcrumLooks = {
8874
8926
  treatment: "compact",
8875
8927
  roleMap: fulcrumRoles
8876
8928
  },
8929
+ {
8930
+ id: id("events-spotlight"),
8931
+ treatment: "calendar-spotlight",
8932
+ roleMap: fulcrumRoles
8933
+ },
8934
+ {
8935
+ id: id("events-recurring-week"),
8936
+ treatment: "calendar-recurring-week",
8937
+ roleMap: fulcrumRoles
8938
+ },
8877
8939
  {
8878
8940
  id: id("event-calendar-month-grid"),
8879
8941
  treatment: "sheet",
@@ -9133,6 +9195,16 @@ const posterOffers = [
9133
9195
  treatment: "compact",
9134
9196
  roleMap: posterRoles
9135
9197
  },
9198
+ {
9199
+ id: id("events-spotlight"),
9200
+ treatment: "calendar-spotlight",
9201
+ roleMap: posterRoles
9202
+ },
9203
+ {
9204
+ id: id("events-recurring-week"),
9205
+ treatment: "calendar-recurring-week",
9206
+ roleMap: posterRoles
9207
+ },
9136
9208
  {
9137
9209
  id: id("event-calendar-month-grid"),
9138
9210
  treatment: "heavy",
@@ -9594,6 +9666,16 @@ const lanternLooks = {
9594
9666
  treatment: "compact",
9595
9667
  roleMap: lanternRoles
9596
9668
  },
9669
+ {
9670
+ id: id("events-spotlight"),
9671
+ treatment: "calendar-spotlight",
9672
+ roleMap: lanternRoles
9673
+ },
9674
+ {
9675
+ id: id("events-recurring-week"),
9676
+ treatment: "calendar-recurring-week",
9677
+ roleMap: lanternRoles
9678
+ },
9597
9679
  {
9598
9680
  id: id("event-calendar-month-grid"),
9599
9681
  treatment: "lit",
@@ -9880,6 +9962,16 @@ const measureLooks = {
9880
9962
  treatment: "compact",
9881
9963
  roleMap: measureRuledPanelRoles
9882
9964
  },
9965
+ {
9966
+ id: id("events-spotlight"),
9967
+ treatment: "calendar-spotlight",
9968
+ roleMap: measureRoles
9969
+ },
9970
+ {
9971
+ id: id("events-recurring-week"),
9972
+ treatment: "calendar-recurring-week",
9973
+ roleMap: measureRoles
9974
+ },
9883
9975
  {
9884
9976
  id: id("event-calendar-month-grid"),
9885
9977
  treatment: "fill",
@@ -11469,6 +11561,46 @@ z.object({
11469
11561
  spacing: z.enum(themeTokenRecipeOptions.spacing),
11470
11562
  motion: z.enum(themeTokenRecipeOptions.motion)
11471
11563
  });
11564
+ z.number().int().nonnegative().brand();
11565
+ z.discriminatedUnion("kind", [
11566
+ z.object({
11567
+ kind: z.literal("legacy"),
11568
+ pauseAnnouncedAt: z.string().datetime({ offset: true }).optional()
11569
+ }).strict(),
11570
+ z.object({
11571
+ kind: z.literal("paused"),
11572
+ authority: z.enum(["legacy", "document"]),
11573
+ checkpointId: z.string().uuid(),
11574
+ pausedAt: z.string().datetime({ offset: true })
11575
+ }).strict(),
11576
+ z.object({
11577
+ kind: z.literal("document"),
11578
+ checkpointId: z.string().uuid(),
11579
+ activatedAt: z.string().datetime({ offset: true })
11580
+ }).strict()
11581
+ ]);
11582
+ //#endregion
11583
+ //#region ../theme-core/src/site-styles/pageDesignVersionIntent.ts
11584
+ function taggedStyledIntent(intent) {
11585
+ const { siteStyleId, ...decisions } = intent;
11586
+ return {
11587
+ kind: "legacy-styled",
11588
+ siteStyleId,
11589
+ decisions
11590
+ };
11591
+ }
11592
+ z.union([
11593
+ z.nullish(z.never()).transform(() => ({ kind: "automatic" })),
11594
+ pageDesignDecisionsV2Schema.transform((decisions) => ({
11595
+ kind: "decisions",
11596
+ decisions
11597
+ })),
11598
+ pageDesignIntentV2Schema.transform(taggedStyledIntent),
11599
+ pageDesignIntentV1Schema.transform((intent) => taggedStyledIntent(normalizeLegacyPageDesignIntent(intent)))
11600
+ ], { error: (issue) => {
11601
+ const value = issue.input;
11602
+ return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 1 && value.schemaVersion !== 2 ? "Unsupported Theme V2 page design intent schemaVersion." : "Invalid Theme V2 page design intent shape.";
11603
+ } });
11472
11604
  //#endregion
11473
11605
  //#region ../blocks/src/system/runtime/lookSurfaces.ts
11474
11606
  const isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
@@ -12790,6 +12922,10 @@ function getEventAvailability(event) {
12790
12922
  available: null,
12791
12923
  isFull: false
12792
12924
  };
12925
+ if (event.registeredCount === null) return {
12926
+ available: 0,
12927
+ isFull: true
12928
+ };
12793
12929
  const available = event.availableSpots ?? event.capacity - event.registeredCount;
12794
12930
  if (available <= 0) return {
12795
12931
  available: 0,
@@ -12843,12 +12979,12 @@ function lowCapacityThreshold(capacity) {
12843
12979
  }
12844
12980
  function getRemainingPlaces(source) {
12845
12981
  const { available, isFull } = getEventAvailability(source);
12846
- if (available === null || source.capacity === null) return { kind: "unlimited" };
12982
+ if (available === null) return { kind: "unlimited" };
12847
12983
  if (isFull) return {
12848
12984
  kind: "full",
12849
12985
  waitlist: canJoinEventWaitlist(source)
12850
12986
  };
12851
- if (available <= lowCapacityThreshold(source.capacity)) return {
12987
+ if (source.capacity !== null && available <= lowCapacityThreshold(source.capacity)) return {
12852
12988
  kind: "low",
12853
12989
  remaining: available
12854
12990
  };
@@ -13153,8 +13289,13 @@ function buildCalendarViewport(input) {
13153
13289
  }
13154
13290
  /** Tick digits are civil clock values, not session instants. */
13155
13291
  function formatEventHourLabel(hour, timeZone) {
13156
- return formatTime$2(toUtcIsoDateTimeString(`2000-01-01T${String(hour % 24).padStart(2, "0")}:00:00Z`), {
13157
- locale: eventDateLocale(timeZone),
13292
+ return formatEventClockLabel(`${String(hour % 24).padStart(2, "0")}:00`, eventDateLocale(timeZone));
13293
+ }
13294
+ /** Weekly cadence and tick clocks are civil values; UTC only carries their components. */
13295
+ function formatEventClockLabel(value, locale) {
13296
+ const clock = parseLocalScheduleTime(value);
13297
+ return formatTime$2(toUtcIsoDateTimeString(new Date(Date.UTC(2e3, 0, 1, clock.hour, clock.minute)).toISOString()), {
13298
+ locale,
13158
13299
  timeZone: resolveBookingBusinessTimeZone("UTC")
13159
13300
  }, { zone: "omit" });
13160
13301
  }
@@ -14548,7 +14689,7 @@ function capacityPlacesLabel(source, display, wording) {
14548
14689
  case "low": return formatRemainingPlaces(source, wording);
14549
14690
  case "unlimited": return wording.unlimited ?? null;
14550
14691
  case "open": return wording.open ?? null;
14551
- default: return assertNever(remaining);
14692
+ default: return assertNever$1(remaining);
14552
14693
  }
14553
14694
  }
14554
14695
  function hybridPlacesLabel(event, display, wording) {
@@ -14711,9 +14852,9 @@ function findBookedEvent(events, identity) {
14711
14852
  }
14712
14853
  //#endregion
14713
14854
  //#region ../blocks/src/system/runtime/nodes/event-registration/ticketSelectionLines.ts
14714
- /** Ticket selection requests a quote; only the server admits a booking. */
14715
- function canRequestTicketOption(availability) {
14716
- return availability.kind === "available" || availability.reason === "sold_out" || availability.reason === "overallCapacityUnavailable";
14855
+ /** Waitlists request places; bookings can only request currently available capacity. */
14856
+ function canRequestTicketOption(availability, purpose) {
14857
+ return availability.kind === "available" || purpose === "waitlist" && (availability.reason === "sold_out" || availability.reason === "overallCapacityUnavailable");
14717
14858
  }
14718
14859
  function normalizeTicketSelectionLines(lines) {
14719
14860
  const quantitiesByTicketType = /* @__PURE__ */ new Map();
@@ -14741,8 +14882,20 @@ function getSingleSelectedPricingOptionId(lines) {
14741
14882
  function hasValidPricingOptionSelection(input) {
14742
14883
  if (!input.selectionRequired) return true;
14743
14884
  if (input.lines.length === 0) return false;
14744
- const availableOptionIds = new Set(input.visibleOptions.filter((option) => canRequestTicketOption(option.availability)).map((option) => option.pricingOptionId));
14745
- return input.lines.every((line) => line.pricingOptionId !== null && availableOptionIds.has(line.pricingOptionId));
14885
+ const totalSelectedQuantity = getTicketSelectionTotal(input.lines);
14886
+ return input.lines.every((line) => {
14887
+ const option = input.visibleOptions.find((option) => option.pricingOptionId === line.pricingOptionId);
14888
+ return option !== void 0 && line.quantity <= getTicketTypeLineMax({
14889
+ currentQuantity: line.quantity,
14890
+ totalSelectedQuantity,
14891
+ maxTickets: input.maxTickets,
14892
+ purpose: input.purpose,
14893
+ pricingOptionId: option.pricingOptionId,
14894
+ availability: option.availability,
14895
+ heldPlacesBySelection: input.heldPlacesBySelection,
14896
+ overallRemainingPlaces: input.overallRemainingPlaces
14897
+ });
14898
+ });
14746
14899
  }
14747
14900
  function setTicketLineQuantity(input) {
14748
14901
  const nextQuantity = Math.max(0, Math.floor(input.quantity));
@@ -14754,9 +14907,19 @@ function setTicketLineQuantity(input) {
14754
14907
  }];
14755
14908
  }
14756
14909
  function getTicketTypeLineMax(input) {
14910
+ if (!canRequestTicketOption(input.availability, "waitlist")) return 0;
14757
14911
  const otherSelectedQuantity = input.totalSelectedQuantity - input.currentQuantity;
14758
14912
  const maxByBlock = input.maxTickets - otherSelectedQuantity;
14759
- return Math.max(0, maxByBlock);
14913
+ if (input.purpose === "waitlist") return Math.max(0, maxByBlock);
14914
+ const heldPlaces = input.heldPlacesBySelection ?? [];
14915
+ const heldForType = getTicketLineQuantity(heldPlaces, input.pricingOptionId);
14916
+ const publicRemaining = canRequestTicketOption(input.availability, input.purpose) ? input.availability.remainingPlaces ?? Infinity : 0;
14917
+ const maxByOverall = (input.overallRemainingPlaces ?? Infinity) + getTicketSelectionTotal(heldPlaces) - otherSelectedQuantity;
14918
+ return Math.max(0, Math.min(maxByBlock, publicRemaining + heldForType, maxByOverall));
14919
+ }
14920
+ /** Holds belong to the original event, mode and ticket types, not the edited draft. */
14921
+ function getHeldPlacesBySelection(current, held) {
14922
+ return held?.selectionId === current.selectionId && held?.attendanceMode === current.attendanceMode ? held.lines : [];
14760
14923
  }
14761
14924
  //#endregion
14762
14925
  //#region ../blocks/src/system/runtime/shared/utils/formatting.ts
@@ -14807,20 +14970,6 @@ function formatTime(isoTimestamp, options) {
14807
14970
  const { context, zone } = bookingContext(options);
14808
14971
  return instant.ok ? formatTime$2(instant.value, context, { zone }) : isoTimestamp;
14809
14972
  }
14810
- function bookingDateLocale(siteTimeZone) {
14811
- return inferSiteDateLocale(resolveBookingBusinessTimeZone(siteTimeZone));
14812
- }
14813
- /** A stored local clock has no date or DST offset; UTC preserves its digits. */
14814
- function formatBookingScheduleSummary(event) {
14815
- const summary = event.scheduleSummary;
14816
- if (!summary) return null;
14817
- const start = summary.startTime ? parseUtcIsoDateTimeString(`1970-01-01T${summary.startTime}:00Z`) : null;
14818
- const time = start?.ok ? formatTime$2(start.value, {
14819
- timeZone: resolveBookingTimeZoneId("UTC"),
14820
- locale: bookingDateLocale(event.siteTimeZone)
14821
- }, { zone: "omit" }) : null;
14822
- return [summary.recurrenceDescription, time].filter(Boolean).join(", ");
14823
- }
14824
14973
  /** Variant meaning is closed here; core owns the resulting typography. */
14825
14974
  const BOOKING_DATE_PRESENTATIONS = {
14826
14975
  day: {
@@ -15057,10 +15206,35 @@ function getVisibleTicketTypes(input) {
15057
15206
  ...option,
15058
15207
  pricingOptionId: id
15059
15208
  })) : [];
15060
- return (input.eligibility?.ticketTypes ?? eventTicketTypes).filter((ticketType) => ticketType.isActive && (!input.selectedAttendanceMode || (ticketType.attendanceScope ?? "both") === "both" || (ticketType.attendanceScope ?? "both") === input.selectedAttendanceMode));
15209
+ const source = input.eligibility?.ticketTypes ?? eventTicketTypes;
15210
+ const selectedIds = new Set(input.ticketSelections?.map((line) => line.pricingOptionId));
15211
+ return source.map((ticketType) => ticketTypeForSelectionMode(ticketType, input.selectedAttendanceMode)).filter((ticketType) => selectedIds.has(ticketType.pricingOptionId) || ticketType.isActive && ticketTypeMatchesMode(ticketType, input.selectedAttendanceMode));
15212
+ }
15213
+ function ticketTypeForSelectionMode(ticketType, mode) {
15214
+ if (!ticketType.isActive) return {
15215
+ ...ticketType,
15216
+ availability: {
15217
+ kind: "unavailable",
15218
+ reason: "inactive",
15219
+ remainingPlaces: ticketType.availability.remainingPlaces
15220
+ }
15221
+ };
15222
+ if (!ticketTypeMatchesMode(ticketType, mode)) return {
15223
+ ...ticketType,
15224
+ availability: {
15225
+ kind: "unavailable",
15226
+ reason: "attendance_mode_unavailable",
15227
+ remainingPlaces: ticketType.availability.remainingPlaces
15228
+ }
15229
+ };
15230
+ return ticketType;
15231
+ }
15232
+ function ticketTypeMatchesMode(ticketType, mode) {
15233
+ const scope = ticketType.attendanceScope ?? "both";
15234
+ return !mode || scope === "both" || scope === mode;
15061
15235
  }
15062
- function getImplicitSingleTicketType(ticketTypes) {
15063
- return ticketTypes.length === 1 && ticketTypes[0] && canRequestTicketOption(ticketTypes[0].availability) ? ticketTypes[0] : null;
15236
+ function getImplicitSingleTicketType(ticketTypes, purpose = "book") {
15237
+ return ticketTypes.length === 1 && ticketTypes[0] && canRequestTicketOption(ticketTypes[0].availability, purpose) ? ticketTypes[0] : null;
15064
15238
  }
15065
15239
  function findSelectedTicketType(input) {
15066
15240
  if (!input.selectedPricingOptionId) return null;
@@ -15086,7 +15260,7 @@ function confirmationPaymentRows(payment) {
15086
15260
  case "none": return [];
15087
15261
  case "settled": return payment.rows;
15088
15262
  case "due": return [...payment.paidRows, payment.amountDueRow];
15089
- default: return assertNever(payment);
15263
+ default: return assertNever$1(payment);
15090
15264
  }
15091
15265
  }
15092
15266
  function row(label, value) {
@@ -15134,7 +15308,7 @@ function presentConfirmationPayment(payment) {
15134
15308
  rows: paidRows
15135
15309
  } : duePayment(payment.balance, payment.currency, paidRows, payment.kind === "monetary" && payment.paymentMethod === "manual" ? OFFLINE_BOOKING_PAYMENT_INSTRUCTIONS : null);
15136
15310
  }
15137
- default: return assertNever(payment);
15311
+ default: return assertNever$1(payment);
15138
15312
  }
15139
15313
  }
15140
15314
  /** Places and payment, only when the outcome carries the booking's details. */
@@ -15153,7 +15327,7 @@ function outcomeFacts(outcome) {
15153
15327
  payment: presentConfirmationPayment(outcome.payment)
15154
15328
  };
15155
15329
  }
15156
- default: return assertNever(outcome);
15330
+ default: return assertNever$1(outcome);
15157
15331
  }
15158
15332
  }
15159
15333
  function scheduleRows(event, when, where, display) {
@@ -15240,7 +15414,7 @@ function resolveFinishedPresentation(presentation, context) {
15240
15414
  case "paymentStatus":
15241
15415
  case "paymentFailed":
15242
15416
  case "error": return presentation;
15243
- default: return assertNever(presentation);
15417
+ default: return assertNever$1(presentation);
15244
15418
  }
15245
15419
  }
15246
15420
  //#endregion
@@ -15310,6 +15484,26 @@ function getEligibilityFlowFlags(input) {
15310
15484
  isMembershipFastTrack: input.portalAuthState === "authenticated" && hasMembership && input.ticketsCount === 1 && input.paymentMethod === "membership"
15311
15485
  };
15312
15486
  }
15487
+ /** Prefer refreshed capacity, including a known zero; fall back while options load. */
15488
+ function getTicketSelectionRemainingPlaces(input) {
15489
+ const availability = input.eligibility?.availability;
15490
+ if (availability && "remainingPlaces" in availability) return availability.remainingPlaces ?? null;
15491
+ return input.event ? getEventAvailability(selectEventCapacitySource(input.event, input.attendanceMode)).available : null;
15492
+ }
15493
+ function resolveHeldTicketPlaces(current, invitation, paymentHold) {
15494
+ return getHeldPlacesBySelection(current, invitation.kind === "ready" ? {
15495
+ selectionId: invitation.restoration.event?.selectionId ?? current.selectionId,
15496
+ attendanceMode: invitation.restoration.attendanceMode,
15497
+ lines: invitation.restoration.ticketSelections
15498
+ } : paymentHold);
15499
+ }
15500
+ function getCurrentTicketSelection(event, attendanceMode, lines) {
15501
+ return {
15502
+ selectionId: event?.selectionId ?? null,
15503
+ attendanceMode,
15504
+ lines
15505
+ };
15506
+ }
15313
15507
  //#endregion
15314
15508
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDraft.state.ts
15315
15509
  function createRegistrationDraftData(event) {
@@ -16083,6 +16277,9 @@ function getStepLabel(step) {
16083
16277
  function visitorHoldsOwnPlace(input) {
16084
16278
  return input.hasWaitlistClaim || input.retryingHeldPlace;
16085
16279
  }
16280
+ function getTicketSelectionPurpose(admission) {
16281
+ return admission.kind === "waitlist" ? "waitlist" : "book";
16282
+ }
16086
16283
  function resolveRegistrationAdmission(input) {
16087
16284
  if (input.holdsOwnPlace) return { kind: "resume" };
16088
16285
  if (input.eligibilityLoading) return { kind: "checking" };
@@ -16981,4 +17178,4 @@ function registrationStepLabel(step, context) {
16981
17178
  }
16982
17179
  }
16983
17180
  //#endregion
16984
- export { getSlidingScaleForEvent as $, resolveSelectedAppointmentConsent as $n, buildTextContrastShadow as $r, resolveMediaNodeResponsiveImage as $t, normalizeEventRegistrationMaxTickets as A, resolveBookingSignupOffer as Ai, bookingFormInteractiveIslandPropsCodec as An, listLookSlot as Ar, normalizeTicketSelectionLines as At, paymentChoicePrice as B, publicEventPricingCurrency as Bi, getShopSuccessCopy as Bn, arrangementManifestFromVariants as Br, browserReadAuthoritySchema as Bt, resolveRegistrationAdmission as C, isRecord$3 as Ci, getEventAvailability as Cn, resolveEventRegistrationScopedEvents as Cr, formatPrice as Ct, visitorHoldsOwnPlace as D, resolveWholeSeriesBookingPhase as Di, selectEventCapacitySource as Dn, isDecodeSuccess as Dr, getTicketSelectionTotal as Dt, settledRemainingPlaces as E, orderedLiveRunSessions as Ei, isEventFull as En, defineProgressiveBlockRuntime as Er, getTicketLineQuantity as Et, toInternalPaymentSelection as F, parseMailchimpInterestId as Fi, formatBookingSubmissionPreparationError as Fn, headerLeafTextColor as Fr, toWholeSeriesRegistrationEvents as Ft, resolveRouteRequiresPayment as G, resolvePricingOptionsPriceDisplay as Gi, prepareBookingSubmission as Gn, requireCuratedSiteStyle as Gr, MediaPlaceholder as Gt, resolveDiscountContext as H, publicEventPricingStrategy as Hi, normalizeBookingFormConfig as Hn, resolveEffectiveArrangement as Hr, getBlockApiReadStage as Ht, calculateEventRegistrationPreviewTotal as I, parseNewsletterListId as Ii, getBookingRedirectStateFromLocation as In, transparentHeaderForegroundInput as Ir, placesLeftLabel as It, createRegistrationDraftData as J, resolveBookingSiteId as Jn, getGradientPreset as Jr, renderAudio as Jt, toRegistrationRequestSubject as K, assertNever as Ki, resolveAppointmentCheckoutVerificationState as Kn, compiledRuntimeStyleFieldNames as Kr, computeMediaTransformStyle as Kt, buildBookingPaymentSelectionViewModel as L, formatBookingPriceDisplay as Li, getBookingServiceSlidingScale as Ln, readOpeningForegroundProjection as Lr, registrationDisplaySchema as Lt, resolveHeadlessEventRegistrationStatus as M, parseMailingListProviderScope as Mi, readOverrideServiceCategories as Mn, resolvedItemSurfaceProps as Mr, getRegistrationStartAt as Mt, resolveHeadlessEventRegistrationView as N, parseBrevoListId as Ni, deriveBookingFormViewState as Nn, effectiveHeaderNavLinkStyle as Nr, toRegistrationEvents as Nt, deriveEventRegistrationSteps as O, resolveWholeSeriesRunLifecycle as Oi, selectMostOpenCapacitySource as On, listItemPresentation as Or, getTicketTypeLineMax as Ot, toHeadlessPaymentSelection as P, parseMailchimpAudienceId as Pi, formatBookingCentsAsCurrencyInput as Pn, headerForegroundCandidates as Pr, toWholeSeriesRegistrationEvent as Pt, getRegistrationOccurrenceId as Q, projectSelectedAppointmentConsentIntoForm as Qn, footerForegroundCandidates as Qr, resolveImageUrlWithContext as Qt, buildReviewedBookingPaymentViewModel as R, formatEventPricing as Ri, getBookingSuccessCopy as Rn, mergeHeaderNavTypographyPreference as Rr, resolveRegistrationDisplay as Rt, resolveGuestNextStepCheck as S, parseAspectRatioValue as Si, formatTotalCapacity as Sn, normalizeEventRegistrationPageSurfaceSubject as Sr, withOccurrenceTitle as St, resolveRegistrationTicketContinuation as T, nextLiveRunSessionStartMs as Ti, getRemainingPlaces as Tn, defineClientOwnedBlockRuntime as Tr, getSingleSelectedPricingOptionId as Tt, resolveEventRequiresPayment as U, publicEventPricingType as Ui, normalizeBookingServices as Un, resolveModeArrangement as Ur, RichText as Ut, findPreSelectedEvent as V, publicEventPricingDisplay as Vi, isBookingServiceSlidingAmountInRange as Vn, readStoredMode as Vr, createHostedBlockApiConfig as Vt, resolveRegistrationTarget as W, resolveExactOrFreePriceDisplay as Wi, parseBookingCurrencyInputToCents as Wn, resolvePublishedLook as Wr, ImagePresets as Wt, formatCentsAsCurrencyInput as X, selectedBookingCollectionOptionKind as Xn, deriveSiteStyleBlockPolicy as Xr, resolveImageSourceSetWithContext as Xt, invitationSubmission as Y, resolveDefaultBookingServiceId as Yn, parseGradientPresetId as Yr, renderVideo as Yt, getEligibilityFlowFlags as Z, toSelectedCollectionOptionKind as Zn, generateFooterCss as Zr, resolveImageUrl as Zt, shouldPromptForLogin as _, defineBlockDesignMetadata as _i, resolveRuntimeEventDestination as _n, resolveDateRuntimeContext as _r, getPortalSubjectEmail as _t, registrationPresentation as a, headerRootPaint as ai, eventDateOptions as an, eventButtonVariantSchema as ar, resolveFinishedPresentation as at, planRegistrationDetailsCheck as b, cardListKnobBlocks as bi, formatEventRemainingPlaces as bn, defineInteractiveIslandMetaKeys as br, occurrenceTitleOverride as bt, registrationStepLabelContext as c, sectionFactsForContent as ci, formatDate$1 as cn, eventLayoutSchema as cr, findSelectedTicketType as ct, decideEventChoice as d, transitionCatalogueEntries as di, formatEventHourLabel as dn, registrationButtonVariantSchema as dr, formatDate as dt, generateNavLinkCSS as ei, resolvePublicMediaUrl as en, BOOKING_FORM_DATA_RESERVED_KEYS as er, getSlidingScaleSelectionMessage as et, getDeclinedPass as f, deriveSectionGround as fi, formatEventNextDateFact as fn, weekStartSchema as fr, formatEventDateTime as ft, decideEventRegistrationPayment as g, sectionForegroundBackground as gi, resolveEventTimeZone as gn, readRuntimeNow as gr, getImplicitSingleTicketType as gt, buildEventRegistrationPaymentOptionsViewModel as h, resolveSectionBackground as hi, groupEventsByDate as hn, isBlockButtonRole as hr, formatTime as ht, registrationPaymentRoute as i, resolveLookSlotSurfaces as ii, eventDateLocale as in, columnOptionSchema as ir, confirmationPaymentRows as it, resolveEventRegistrationSubmitPlan as j, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as ji, buildBookingFormInteractiveIslandProps as jn, lookListPresentationSchemaShape as jr, setTicketLineQuantity as jt, isEventRegistrationAvailable as k, parseMailingListRuntimeContext as ki, groupPublicEventsByRun as kn, listLookControl as kr, hasValidPricingOptionSelection as kt, areEventRegistrationPaymentSelectionsEqual as l, boundaryRuntimeMetricsForDecorativeTransition as li, formatEventCompactDateRail as ln, filterAutoShowSchema as lr, formatBookingScheduleSummary as lt, registrationFlowReducer as m, parseCanonicalRuntimeBackground as mi, formatTime$1 as mn, blockButtonRoleSchema as mr, formatRegistrationSchedule as mt, getEventSelectionMode as n, arrangementSlotNames as ni, buildCalendarViewport as nn, bookingNowSchema as nr, shouldLoadRegistrationOptions as nt, registrationRoute as o, boundaryLayout as oi, eventLocalDateKey as on, eventCalendarDefaultViewSchema as or, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ot, isRegistrationLocked as p, heroPhotoPaintsGround as pi, formatEventTimeRange as pn, BLOCK_BUTTON_ROLE_OPTIONS as pr, formatPassCreditUsageLabel as pt, beginWaitlistInvitation as q, resolveBookingPaymentStep as qn, gradientToCss as qr, mediaImageHostProps as qt, panelShouldOpen as r, resolveItemSurface as ri, eventCalendarWeekStart as rn, calendarTabViewsSchema as rr, validateFormData as rt, registrationStepLabel as s, composeBoundary as si, formatCalendarTitle as sn, eventCalendarDisplayModeSchema as sr, areEntitlementsDisabledForTicketCount as st, REGISTRATION_STEP_LABELS as t, arrangementLookHooks as ti, sanitizeHref as tn, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as tr, parseCurrencyInputToCents as tt, createInitialRegistrationFlowState as u, anglePolygonCss as ui, formatEventDateParts as un, previewStageSchema as ur, formatBookingWhen as ut, fullyBookedLabel as v, resolveEffectiveKnobs as vi, canJoinEventWaitlist as vn, buildInteractiveIslandProps as vr, getTicketTypeAvailabilityLabel as vt, resolveRegistrationAvailabilityBlocker as w, CANCELLED_SESSION_STATUS as wi, getEventAvailabilityStatus as wn, createZodCodec as wr, canRequestTicketOption as wt, planRegistrationDetailsContinuation as x, itemRole as xi, formatRemainingPlaces as xn, eventRegistrationPageSurfaceSubjectSchema as xr, transformRegistrationOptionsResponse as xt, placeCountCeiling as y, cardListFamilyBlocks as yi, canJoinEventWaitlistOnAnyMode as yn, createInteractiveIslandCodec as yr, getVisibleTicketTypes as yt, paymentChoiceDetails as z, isPublicEventPricingOptionDisplayable as zi, getRegistrationSuccessCopy as zn, readHeaderNavFontSizePreference as zr, shownVenue as zt };
17181
+ export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseGradientPresetId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, orderedLiveRunSessions as Ai, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, parseNewsletterListId as Bi, getBookingRedirectStateFromLocation as Bn, transparentHeaderForegroundInput as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, cardListFamilyBlocks as Ci, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, isRecord$3 as Di, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, parseAspectRatioValue as Ei, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Fi, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, publicEventPricingDisplay as Gi, isBookingServiceSlidingAmountInRange as Gn, readStoredMode as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, formatEventPricing as Hi, getBookingSuccessCopy as Hn, mergeHeaderNavTypographyPreference as Hr, shownVenue as Ht, toInternalPaymentSelection as I, parseMailingListProviderScope as Ii, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, resolveExactOrFreePriceDisplay as Ji, parseBookingCurrencyInputToCents as Jn, resolvePublishedLook as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, publicEventPricingStrategy as Ki, normalizeBookingFormConfig as Kn, resolveEffectiveArrangement as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, parseBrevoListId as Li, deriveBookingFormViewState as Ln, effectiveHeaderNavLinkStyle as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, resolveWholeSeriesRunLifecycle as Mi, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, parseMailingListRuntimeContext as Ni, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, CANCELLED_SESSION_STATUS as Oi, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, resolveBookingSignupOffer as Pi, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, getGradientPreset as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, parseMailchimpAudienceId as Ri, formatBookingCentsAsCurrencyInput as Rn, headerForegroundCandidates as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, resolveEffectiveKnobs as Si, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, itemRole as Ti, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, isPublicEventPricingOptionDisplayable as Ui, getRegistrationSuccessCopy as Un, readHeaderNavFontSizePreference as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, formatBookingPriceDisplay as Vi, getBookingServiceSlidingScale as Vn, readOpeningForegroundProjection as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, publicEventPricingCurrency as Wi, getShopSuccessCopy as Wn, arrangementManifestFromVariants as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, compiledRuntimeStyleFieldNames as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, resolvePricingOptionsPriceDisplay as Yi, prepareBookingSubmission as Yn, requireCuratedSiteStyle as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, gradientToCss as Zr, renderAudio as Zt, shouldPromptForLogin as _, heroPhotoPaintsGround as _i, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, arrangementLookHooks as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, sectionForegroundBackground as bi, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, resolveLookSlotSurfaces as ci, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, composeBoundary as di, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, deriveSiteStyleBlockPolicy as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, sectionFactsForContent as fi, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, deriveSectionGround as gi, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, transitionCatalogueEntries as hi, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, generateNavLinkCSS as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, resolveWholeSeriesBookingPhase as ji, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, nextLiveRunSessionStartMs as ki, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, headerRootPaint as li, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, anglePolygonCss as mi, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, footerForegroundCandidates as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, arrangementSlotNames as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, boundaryRuntimeMetricsForDecorativeTransition as pi, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, publicEventPricingType as qi, normalizeBookingServices as qn, resolveModeArrangement as qr, ImagePresets as qt, panelShouldOpen as r, buildTextContrastShadow as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolveItemSurface as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, generateFooterCss as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, boundaryLayout as ui, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, parseCanonicalRuntimeBackground as vi, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, cardListKnobBlocks as wi, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, defineBlockDesignMetadata as xi, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, resolveSectionBackground as yi, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, parseMailchimpInterestId as zi, formatBookingSubmissionPreparationError as zn, headerLeafTextColor as zr, placesLeftLabel as zt };