@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,8 +1,8 @@
1
1
  "use client";
2
2
  import { h as unsafeAsAppointmentResourceId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
3
- import { at as formatTime$1, bt as resolveBookingTimeZoneId, gt as parseBookingLocalDate, lt as addLocalScheduleDays, pt as formatLocalScheduleDate, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-DMFt3KdC.mjs";
4
- import { t as assertNever } from "./src-7cXhT0G_.mjs";
5
- import { n as useBlockApi } from "./context-CVsgML69.mjs";
3
+ import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
+ import { at as formatTime$1, bt as resolveBookingTimeZoneId, gt as parseBookingLocalDate, lt as addLocalScheduleDays, pt as formatLocalScheduleDate, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-B610YKEx.mjs";
5
+ import { n as useBlockApi } from "./context-BLAvalAa.mjs";
6
6
  import { useCallback, useEffect, useReducer, useRef } from "react";
7
7
  //#region ../blocks/src/utils/date-formatting.ts
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ct as toUtcIsoDateTimeString } from "./noop-DMFt3KdC.mjs";
2
+ import { Ct as toUtcIsoDateTimeString } from "./noop-B610YKEx.mjs";
3
3
  import { useCallback, useEffect, useState } from "react";
4
4
  //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
5
5
  const ANCHOR_CLOCK = { kind: "anchor" };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { T as ok, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
3
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
4
- import { t as assertNever } from "./src-7cXhT0G_.mjs";
3
+ import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
6
  import * as React$1 from "react";
7
7
  import { useCallback } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
2
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
3
- import { Ar as listLookSlot, Ht as getBlockApiReadStage, Or as listItemPresentation } from "./wizardSteps-HdyGoIG3.mjs";
4
- import { Ft as normalizeOptionalId, Mt as getEventRuntimeFiltersKey, Nt as normalizeCsvIds, Pt as normalizeCsvString } from "./shop.interactive-DBMeM8VD.mjs";
5
- import { t as assertNever } from "./src-7cXhT0G_.mjs";
6
- import { r as EventItem } from "./EventItem-DnCTygqk.mjs";
7
- import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-pAuTDyrP.mjs";
8
- import { n as useBlockApi } from "./context-CVsgML69.mjs";
9
- import { t as LeafletStaticMap } from "./LeafletStaticMap-3XiWSgy0.mjs";
2
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
3
+ import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
+ import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-zgq10lN1.mjs";
5
+ import { Ft as getEventRuntimeFiltersKey, It as normalizeCsvIds, Lt as normalizeCsvString, Rt as normalizeOptionalId } from "./shop.interactive-5SnnDHz3.mjs";
6
+ import { r as EventItem } from "./EventItem-CXhnT9pF.mjs";
7
+ import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-B-Yi5JZS.mjs";
8
+ import { n as useBlockApi } from "./context-BLAvalAa.mjs";
9
+ import { t as LeafletStaticMap } from "./LeafletStaticMap-ClZCCzAm.mjs";
10
10
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/hooks/loadStateError.ts
@@ -464,7 +464,8 @@ function renderClientEventListItem(event, source) {
464
464
  itemSurfaces: display.itemSurfaces,
465
465
  buttonVariant: display.buttonVariant,
466
466
  buttonText: display.buttonText,
467
- showCapacity: display.showCapacity
467
+ showCapacity: display.showCapacity,
468
+ showVenue: display.showVenue
468
469
  }, event.occurrenceId || event.id) : /* @__PURE__ */ jsx(EventCardClient, {
469
470
  event,
470
471
  lookSlots: display.lookSlots,
@@ -502,7 +503,7 @@ function EventListPaginationFooter({ display, loading, error, hasMore, loadMore,
502
503
  retry,
503
504
  append: true
504
505
  }) : null;
505
- if (!hasMore) return failure;
506
+ if (!hasMore || paginationAction.kind === "none") return failure;
506
507
  if (paginationAction.kind === "seeAllLink") return /* @__PURE__ */ jsxs(Fragment, { children: [failure, display.sectionAction ? null : /* @__PURE__ */ jsx("div", {
507
508
  ...listLookSlot(display, "more"),
508
509
  className: "rb-mt-8 rb-text-center",
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ //#region ../core/src/uuid.ts
3
+ function generateUuidV4(cryptoSource = globalThis.crypto) {
4
+ if (typeof cryptoSource.randomUUID === "function") return cryptoSource.randomUUID();
5
+ const bytes = cryptoSource.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
6
+ bytes[6] = (bytes[6] ?? 0) & 15 | 64;
7
+ bytes[8] = (bytes[8] ?? 0) & 63 | 128;
8
+ const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0"));
9
+ return `${hex.slice(0, 4).join("")}-${hex.slice(4, 6).join("")}-${hex.slice(6, 8).join("")}-${hex.slice(8, 10).join("")}-${hex.slice(10).join("")}`;
10
+ }
11
+ //#endregion
12
+ export { generateUuidV4 as t };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
3
- import { Ar as listLookSlot } from "./wizardSteps-HdyGoIG3.mjs";
4
- import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-DBMeM8VD.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-DnCTygqk.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-zgq10lN1.mjs";
4
+ import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-5SnnDHz3.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-CXhnT9pF.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
@@ -1,10 +1,11 @@
1
1
  "use client";
2
- import { Mr as formatCurrencyAmount } from "./ThemedButton-DVBC_pS9.mjs";
2
+ import { Nr as formatCurrencyAmount } from "./ThemedButton-C22C9cCF.mjs";
3
3
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
4
- import { Ar as listLookSlot, Bi as publicEventPricingCurrency, Cr as resolveEventRegistrationScopedEvents, Di as resolveWholeSeriesBookingPhase, Ei as orderedLiveRunSessions, Ki as assertNever, Li as formatBookingPriceDisplay, Sn as formatTotalCapacity, Ui as publicEventPricingType, Vi as publicEventPricingDisplay, an as eventDateOptions, bn as formatEventRemainingPlaces, ln as formatEventCompactDateRail, un as formatEventDateParts, wi as CANCELLED_SESSION_STATUS, wn as getEventAvailabilityStatus, zi as isPublicEventPricingOptionDisplayable } from "./wizardSteps-HdyGoIG3.mjs";
5
- import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
6
- import { Jt as formatEventPriceAmount, Rt as CardListContentPart, Yt as formatEventPriceDisplay, qt as formatEventPrice } from "./shop.interactive-DBMeM8VD.mjs";
7
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-BWnUuJce.mjs";
4
+ import { c as assertNever } from "./src-VIsPY-kw.mjs";
5
+ import { Ai as orderedLiveRunSessions, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Gi as publicEventPricingDisplay, Oi as CANCELLED_SESSION_STATUS, On as getEventAvailabilityStatus, Pr as listLookSlot, Ui as isPublicEventPricingOptionDisplayable, Vi as formatBookingPriceDisplay, Wi as publicEventPricingCurrency, cn as eventDateOptions, ji as resolveWholeSeriesBookingPhase, mn as formatEventDateParts, pn as formatEventCompactDateRail, qi as publicEventPricingType, wn as formatEventRemainingPlaces } from "./wizardSteps-zgq10lN1.mjs";
6
+ import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-B610YKEx.mjs";
7
+ import { Qt as formatEventPriceDisplay, Vt as CardListContentPart, Xt as formatEventPrice, Zt as formatEventPriceAmount, vt as formatBookingSchedulePresentation } from "./shop.interactive-5SnnDHz3.mjs";
8
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-CUXhX_D7.mjs";
8
9
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
9
10
  import "react";
10
11
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -260,7 +261,7 @@ function resolveEventDetailsPresentation(input) {
260
261
  //#region ../blocks/src/system/blocks/offerings-preview/scheduleSummary.ts
261
262
  function deriveEventScheduleSummary(event) {
262
263
  const occurrence = occurrenceFromEvent(event);
263
- return localDayNumber(occurrence.endsAt, occurrence.timeZone) > localDayNumber(occurrence.startsAt, occurrence.timeZone) ? {
264
+ return compareLocalScheduleDates(getLocalScheduleDate(new Date(occurrence.endsAt), resolveBookingBusinessTimeZone(occurrence.timeZone)), getLocalScheduleDate(new Date(occurrence.startsAt), resolveBookingBusinessTimeZone(occurrence.timeZone))) > 0 ? {
264
265
  kind: "multi-day-span",
265
266
  occurrence
266
267
  } : {
@@ -268,23 +269,18 @@ function deriveEventScheduleSummary(event) {
268
269
  occurrence
269
270
  };
270
271
  }
271
- function derivePreviewRunSchedule(runSessions) {
272
- const sessions = orderedLiveRunSessions(runSessions).filter(isValidOccurrence);
272
+ function derivePreviewRunSchedule(event) {
273
+ const sessions = orderedLiveRunSessions(event.run.sessions).filter(isValidOccurrence);
273
274
  const first = sessions[0];
274
275
  const last = sessions[sessions.length - 1];
275
276
  if (!first || !last) return { kind: "no-live-sessions" };
276
- const recurrence = sessions.length > 1 ? deriveFixedRecurrence(sessions) : null;
277
- const summary = sessions.length === 1 ? deriveEventScheduleSummary(first) : recurrence ? {
278
- kind: "fixed-recurring-run",
277
+ const authoredSummary = formatBookingSchedulePresentation("representative" in event ? event.representative : event);
278
+ const summary = !authoredSummary && sessions.length === 1 ? deriveEventScheduleSummary(first) : {
279
+ kind: "scheduled-run",
279
280
  first,
280
281
  last,
281
282
  sessionCount: sessions.length,
282
- recurrenceLabel: recurrence
283
- } : {
284
- kind: "irregular-multi-session-run",
285
- first,
286
- last,
287
- sessionCount: sessions.length
283
+ authoredSummary
288
284
  };
289
285
  return {
290
286
  kind: "scheduled",
@@ -300,59 +296,9 @@ function occurrenceFromEvent(event) {
300
296
  timeZone: event.timeZone
301
297
  };
302
298
  }
303
- function deriveFixedRecurrence(sessions) {
304
- const [first, second] = sessions;
305
- if (!first || !second) return null;
306
- if (!sessions.every((session) => sameLocalTime(first, session))) return null;
307
- const intervalDays = localDayNumber(second.startsAt, second.timeZone) - localDayNumber(first.startsAt, first.timeZone);
308
- if (intervalDays <= 0) return null;
309
- for (let index = 2; index < sessions.length; index += 1) {
310
- const previous = sessions[index - 1];
311
- const current = sessions[index];
312
- if (!previous || !current) return null;
313
- if (localDayNumber(current.startsAt, current.timeZone) - localDayNumber(previous.startsAt, previous.timeZone) !== intervalDays) return null;
314
- }
315
- if (intervalDays === 1) return "Every day";
316
- const weekday = localDateParts(first.startsAt, first.timeZone).weekday;
317
- if (intervalDays === 7) return `Every ${weekday}`;
318
- if (intervalDays % 7 === 0) return `Every ${intervalDays / 7} weeks on ${weekday}`;
319
- return `Every ${intervalDays} days`;
320
- }
321
- function sameLocalTime(reference, candidate) {
322
- const referenceStart = localDateParts(reference.startsAt, reference.timeZone);
323
- const candidateStart = localDateParts(candidate.startsAt, candidate.timeZone);
324
- const referenceEnd = localDateParts(reference.endsAt, reference.timeZone);
325
- const candidateEnd = localDateParts(candidate.endsAt, candidate.timeZone);
326
- return referenceStart.hour === candidateStart.hour && referenceStart.minute === candidateStart.minute && referenceEnd.hour === candidateEnd.hour && referenceEnd.minute === candidateEnd.minute;
327
- }
328
299
  function isValidOccurrence(value) {
329
300
  return Number.isFinite(Date.parse(value.startsAt)) && Number.isFinite(Date.parse(value.endsAt));
330
301
  }
331
- function localDayNumber(isoTimestamp, timeZone) {
332
- const parts = localDateParts(isoTimestamp, timeZone);
333
- return Math.floor(Date.UTC(parts.year, parts.month - 1, parts.day) / 864e5);
334
- }
335
- function localDateParts(isoTimestamp, timeZone) {
336
- const parts = new Intl.DateTimeFormat("en-GB", {
337
- timeZone,
338
- year: "numeric",
339
- month: "numeric",
340
- day: "numeric",
341
- hour: "2-digit",
342
- minute: "2-digit",
343
- hourCycle: "h23",
344
- weekday: "long"
345
- }).formatToParts(new Date(isoTimestamp));
346
- const value = (type) => parts.find((part) => part.type === type)?.value ?? "";
347
- return {
348
- year: Number(value("year")),
349
- month: Number(value("month")),
350
- day: Number(value("day")),
351
- hour: Number(value("hour")),
352
- minute: Number(value("minute")),
353
- weekday: value("weekday")
354
- };
355
- }
356
302
  //#endregion
357
303
  //#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
358
304
  /** Live offering data only; editorial cards never acquire booking fields. */
@@ -406,7 +352,7 @@ function offeringLeadDate(event, startMs) {
406
352
  };
407
353
  }
408
354
  function offeringSchedule(event, now) {
409
- const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event.run.sessions) : null;
355
+ const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event) : null;
410
356
  if (run?.kind === "no-live-sessions") return {
411
357
  numeral: null,
412
358
  schedule: null
@@ -459,8 +405,7 @@ function scheduleLine(summary, event, now) {
459
405
  zone
460
406
  }) : date(summary.occurrence.startsAt);
461
407
  case "multi-day-span": return dates(summary.occurrence.startsAt, summary.occurrence.endsAt);
462
- case "fixed-recurring-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.recurrenceLabel}`;
463
- case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.sessionCount} dates`;
408
+ case "scheduled-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.authoredSummary?.text ?? `${summary.sessionCount} dates`}`;
464
409
  }
465
410
  }
466
411
  function offeringAvailability(event) {