@riverbankcms/sdk 0.160.0 → 0.161.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 (207) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
  2. package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-Dm7_P13o.d.ts} +211 -9
  3. package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +4 -4
  4. package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
  5. package/dist/_dts/{client-uMMuPq9V.d.ts → client-Ep0jI9eE.d.ts} +1 -1
  6. package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-BgAzCrBc.d.ts} +2 -2
  7. package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-DUiOnj9e.d.ts} +8 -5
  8. package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
  10. package/dist/_dts/{index-Blwl7yl6.d.ts → index-BQDBQvdu.d.ts} +1 -1
  11. package/dist/_dts/{index-lkpjIg5i.d.ts → index-BVkP8f70.d.ts} +1 -1
  12. package/dist/_dts/{index-CEaKil7G.d.ts → index-CF6Cjs7b.d.ts} +2 -2
  13. package/dist/_dts/{index-nVoi_74l.d.ts → index-CSsfq6KG.d.ts} +3 -17
  14. package/dist/_dts/{index-DahMwisK.d.ts → index-D_8uz4OP.d.ts} +3 -3
  15. package/dist/_dts/{index-Bg64CkV-.d.ts → index-DvKQA6AZ.d.ts} +4 -4
  16. package/dist/_dts/{index-C5xslEBn.d.ts → index-KPrWM0KF.d.ts} +1 -1
  17. package/dist/_dts/{index-BaaGBY1v.d.ts → index-ylivB7Jj.d.ts} +2 -2
  18. package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-DTjKOO-T.d.ts} +10 -10
  19. package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
  20. package/dist/_dts/{schema-D0bNcPWK.d.ts → schema-BHu0PYWl.d.ts} +18821 -16622
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  43. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  45. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  46. package/dist/_dts/sdk/src/server.d.ts +5 -5
  47. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  48. package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
  49. package/dist/_dts/{types-D8czmbQF.d.ts → types-BR1Yboa9.d.ts} +1060 -140
  50. package/dist/_dts/{types-Dm-KW7nj.d.ts → types-CJXTCF_F.d.ts} +3 -3
  51. package/dist/_dts/{types-CFrYuXYP.d.ts → types-D02ngcUH.d.ts} +4 -2
  52. package/dist/_dts/{types-DSgmJ15W.d.ts → types-ZGUiHpDE.d.ts} +7 -7
  53. package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BaV565gb.d.ts} +4 -4
  54. package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
  55. package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-BDpxmn1p.mjs} +1 -1
  56. package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
  57. package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
  58. package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +5 -5
  59. package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
  60. package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-BxQLY5cX.mjs} +9 -9
  61. package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
  62. package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
  63. package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-BEx-qiDE.mjs} +4 -4
  64. package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
  65. package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
  66. package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-9RFrBejr.mjs} +29 -13
  67. package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +25 -13
  68. package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
  69. package/dist/client/{Page-7PkzO04N.mjs → Page-Bf2nPACI.mjs} +809 -298
  70. package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CZweb1vs.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
  72. package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
  73. package/dist/client/{accordion-2m27DsIk.mjs → accordion-TcimLLRQ.mjs} +1 -1
  74. package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-q-RpJ4aF.mjs} +12 -12
  75. package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
  76. package/dist/client/bookings.mjs +5 -5
  77. package/dist/client/{carousel-D7nj9I0y.mjs → carousel-CGAk6j0m.mjs} +2 -2
  78. package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
  79. package/dist/client/{cart-PN6yCw1H.mjs → cart-D_h3rAZ2.mjs} +3 -3
  80. package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
  81. package/dist/client/{checkout-CsTwXVSb.mjs → checkout-tC-3CzuM.mjs} +3 -3
  82. package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
  83. package/dist/client/client.mjs +5 -4
  84. package/dist/client/{context-BLAvalAa.mjs → context-9ZfMb6GA.mjs} +1 -1
  85. package/dist/client/{cta-CUXhX_D7.mjs → cta-D-ZqL7-e.mjs} +1 -1
  86. package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
  87. package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
  88. package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
  89. package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-C670TgRd.mjs} +2 -17
  90. package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-C6GApWTB.mjs} +16 -16
  91. package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
  92. package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
  93. package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
  94. package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-C_yXmHyz.mjs} +4 -4
  95. package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
  96. package/dist/client/{form-C-B5O_ko.mjs → form-QZhtdFHA.mjs} +3 -3
  97. package/dist/client/{form.client-DoZVcl8d.mjs → form.client-CgvPACwG.mjs} +4 -4
  98. package/dist/client/{form.parts-mttKpgif.mjs → form.parts-2uI0-5N-.mjs} +3 -3
  99. package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Danr0Nk4.mjs} +1 -1
  100. package/dist/client/gifting/client.mjs +3 -3
  101. package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
  102. package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
  103. package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
  104. package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs} +5 -5
  105. package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
  106. package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
  107. package/dist/client/{noop-B610YKEx.mjs → noop-B7H6gCbj.mjs} +297 -3
  108. package/dist/client/portal/client.mjs +12 -12
  109. package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs} +1 -1
  110. package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-B4vTvag8.mjs} +1 -1
  111. package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-k8LEMSWn.mjs} +3 -3
  112. package/dist/client/{productList-BKN4D-1z.mjs → productList-DEo8Bqoe.mjs} +3 -3
  113. package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
  114. package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-BTmSXE3D.mjs} +355 -162
  115. package/dist/client/rendering/client.mjs +27 -28
  116. package/dist/client/rendering/islands.mjs +1 -1
  117. package/dist/client/rendering.mjs +15 -9
  118. package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-B19taoH6.mjs} +1 -1
  119. package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
  120. package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-C-m8XHuW.mjs} +990 -2310
  121. package/dist/client/{shop-DZNC0VKk.mjs → shop-RGWa43H7.mjs} +3 -3
  122. package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-TJYCBO_H.mjs} +11 -11
  123. package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
  124. package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-tsKfZw1W.mjs} +12 -12
  125. package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CVqLAU53.mjs} +6 -158
  126. package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-C3lHMz_R.mjs} +2 -2
  127. package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-V2ifvGGy.mjs} +148 -8
  128. package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-D1X69-pN.mjs} +3 -3
  129. package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
  130. package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-Bwzr1RjV.mjs} +2 -2
  131. package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
  132. package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CLAS0upd.mjs} +8 -21
  133. package/dist/client/{view-CkUn3Y0Y.mjs → view-BUh4LnLS.mjs} +4 -4
  134. package/dist/client/{view-CseyBW07.mjs → view-Dj_FZHmg.mjs} +18 -15
  135. package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
  136. package/dist/preview-next/before-render.mjs +5 -4
  137. package/dist/preview-next/chrome.css +2 -0
  138. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
  139. package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
  140. package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
  141. package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +110 -63
  142. package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs} +4 -3
  143. package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +425 -412
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
  145. package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +2982 -53859
  146. package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-b14Bv03E.mjs} +1079 -340
  147. package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
  148. package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
  149. package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dd1_mNIg.mjs} +1 -1
  150. package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
  151. package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
  154. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
  155. package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-CGxS8Ns-.mjs} +2 -1
  156. package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
  157. package/dist/preview-next/editor-base.css +2 -2
  158. package/dist/preview-next/keepAlive.mjs +2 -2
  159. package/dist/preview-next/middleware.mjs +7 -3
  160. package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-hLg-yjQN.mjs} +41 -4
  161. package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
  162. package/dist/preview-next/session.mjs +1 -1
  163. package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-CeTd2saO.mjs} +4 -4
  164. package/dist/server/{bindings-CFmJg5lm.mjs → bindings-C5YpKuKt.mjs} +2 -1
  165. package/dist/server/{client-DPsi0Dai.mjs → client-Cv26lZQ4.mjs} +7 -5
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +461 -1064
  169. package/dist/server/index.mjs +3 -3
  170. package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-C8a0b-cC.mjs} +11 -5
  171. package/dist/server/loadPage--DXBwI8V.mjs +2 -0
  172. package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-BW7dklu3.mjs} +3 -2
  173. package/dist/server/next.mjs +9 -9
  174. package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
  175. package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-D1fiPOKF.mjs} +596 -301
  176. package/dist/server/page-converter.mjs +1 -1
  177. package/dist/server/{prebuild-B_1vrSru.mjs → prebuild--fO0E2tr.mjs} +1 -1
  178. package/dist/server/prebuild.mjs +1 -1
  179. package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-CqJnokWJ.mjs} +133 -87
  180. package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-CvvZ4JIe.mjs} +41 -3
  181. package/dist/server/{registry-eFjKtEhF.mjs → registry-BVfCqaCq.mjs} +477 -1021
  182. package/dist/server/rendering/server.mjs +4 -4
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-DPNvhXEz.mjs} +1 -1
  185. package/dist/server/routing.mjs +1 -1
  186. package/dist/server/{schema-C3dJ5UkL.mjs → schema-CD4peO7m.mjs} +2203 -1223
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
  189. package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
  190. package/dist/server/{src-C5Mu-z0F.mjs → src-ILxc6pid.mjs} +161 -3
  191. package/dist/server/theme-bridge.mjs +1 -1
  192. package/dist/server/theme.mjs +1 -1
  193. package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
  194. package/dist/server/{validation-B-Xar8QS.mjs → validation-B1ieVemg.mjs} +2 -2
  195. package/dist/server/{version-Bg7VHK3i.mjs → version-BQK44wFg.mjs} +1 -1
  196. package/dist/styles/index.css +157 -0
  197. package/package.json +1 -1
  198. package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
  199. package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
  200. package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
  201. package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
  202. package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
  203. package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
  204. package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
  205. package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
  206. package/dist/server/loadPage-DUPP51C-.mjs +0 -2
  207. package/dist/server/media-CcHwZkdJ.mjs +0 -243
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-2nNZh2Oe.mjs";
3
- import { t as ShopClient } from "./shop.client-DmDd-igg.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-CPqUlAh9.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
3
+ import { t as ShopClient } from "./shop.client-tsKfZw1W.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
5
5
  //#region src/rendering/islands/enhancers/shop.tsx
6
6
  const decode = defineIslandPropsDecoder("shop");
7
7
  const enhance = (root, props) => {
@@ -1,19 +1,19 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
2
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
3
3
  import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Kt as RichText } from "./wizardSteps-zgq10lN1.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
6
- import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-5SnnDHz3.mjs";
4
+ import { Kt as RichText } from "./wizardSteps-BkZc-hKH.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
6
+ import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-CVqLAU53.mjs";
7
7
  import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
8
8
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
9
- import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-KG8jB7WC.mjs";
9
+ import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-Bwzr1RjV.mjs";
10
10
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
11
- import { t as coerceRichTextDoc } from "./richText-coerce-Cv-qomNB.mjs";
12
- import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CkUn3Y0Y.mjs";
13
- import { n as useBlockApi } from "./context-BLAvalAa.mjs";
14
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-R-awbk_0.mjs";
15
- import { t as CarouselNodeClient } from "./carousel.client-AffDJo_s.mjs";
16
- import { n as useCommerceCart } from "./shop-commerce-store-BJtrZov9.mjs";
11
+ import { t as coerceRichTextDoc } from "./richText-coerce-B19taoH6.mjs";
12
+ import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BUh4LnLS.mjs";
13
+ import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
14
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BxkSS9fx.mjs";
15
+ import { t as CarouselNodeClient } from "./carousel.client-ArlGmYWV.mjs";
16
+ import { n as useCommerceCart } from "./shop-commerce-store-CjCcUB_o.mjs";
17
17
  import * as React$1 from "react";
18
18
  import { useEffect, useState } from "react";
19
19
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-5SnnDHz3.mjs";
2
+ import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-CVqLAU53.mjs";
3
3
  import * as React$1 from "react";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
5
5
  const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
3
3
  import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Wn as getShopSuccessCopy } from "./wizardSteps-zgq10lN1.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
6
- import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-5SnnDHz3.mjs";
4
+ import { Wn as getShopSuccessCopy } from "./wizardSteps-BkZc-hKH.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
6
+ import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-CVqLAU53.mjs";
7
7
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
- import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-KG8jB7WC.mjs";
9
+ import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-Bwzr1RjV.mjs";
10
10
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
11
11
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
12
12
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DK2w_i0a.mjs";
13
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BimJbFC7.mjs";
14
14
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
15
- import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-CkUn3Y0Y.mjs";
16
- import { n as useBlockApi } from "./context-BLAvalAa.mjs";
17
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-R-awbk_0.mjs";
18
- import { t as CarouselNodeClient } from "./carousel.client-AffDJo_s.mjs";
19
- import { r as formatEntitlementEnd } from "./dateFormatting-BHIHxNuo.mjs";
20
- import { t as addPassToCommerceCart } from "./shop-commerce-store-BJtrZov9.mjs";
15
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-BUh4LnLS.mjs";
16
+ import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
17
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BxkSS9fx.mjs";
18
+ import { t as CarouselNodeClient } from "./carousel.client-ArlGmYWV.mjs";
19
+ import { r as formatEntitlementEnd } from "./dateFormatting-BCwLqYpW.mjs";
20
+ import { t as addPassToCommerceCart } from "./shop-commerce-store-CjCcUB_o.mjs";
21
21
  import React, { useCallback, useEffect, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  //#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
@@ -1,167 +1,15 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.mjs";
3
- import { T as ok, d as parseEventSeriesId, l as parseContentVersionId, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
4
- import { C as clsx, Nr as formatCurrencyAmount, Wt as cardRoleSchema, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton, on as assertNever, wn as toNonEmptyReadonlyArray } from "./ThemedButton-C22C9cCF.mjs";
3
+ import { Dt as assertNever, Gt as toNonEmptyReadonlyArray, ar as parseContentVersionId, br as err, dt as cardRoleSchema, sr as parseEventSeriesId, xr as ok } from "./schema-C-m8XHuW.mjs";
4
+ import { C as clsx, U as formatCurrencyAmount, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-CnyL3s1A.mjs";
5
5
  import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { Ar as defineProgressiveBlockRuntime, Bi as parseNewsletterListId, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fi as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Fr as lookListPresentationSchemaShape, Gi as publicEventPricingDisplay, H as findPreSelectedEvent, Hi as formatEventPricing, Ht as shownVenue, It as toRegistrationEvents, Jt as MediaPlaceholder, Kt as RichText, Li as parseBrevoListId, Lt as toWholeSeriesRegistrationEvent, Mi as resolveWholeSeriesRunLifecycle, Mr as listItemPresentation, Ni as parseMailingListRuntimeContext, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qt as renderVideo, Ri as parseMailchimpAudienceId, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vi as formatBookingPriceDisplay, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, ki as nextLiveRunSessionStartMs, kr as defineClientOwnedBlockRuntime, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as resolveModeArrangement, qt as ImagePresets, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zi as parseMailchimpInterestId, zt as placesLeftLabel } from "./wizardSteps-zgq10lN1.mjs";
7
- import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as toUtcIsoDateTimeString, D as isEventCalendarListLayout, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, V as publicEventDestinationSchema, at as formatTime, bt as resolveBookingTimeZoneId, ht as getLocalScheduleDate, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, nt as formatDateRange, p as calendarWindowPageSchema, st as inferSiteDateLocale, ut as buildBookingUtcDateWindow, vt as parseUtcIsoDateTimeString, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone, z as normalizeEventVenueId } from "./noop-B610YKEx.mjs";
8
- import { n as getCurrentResolveImageUrlContext } from "./mediaContext-DThoeEBU.mjs";
6
+ import { $r as formatBookingPriceDisplay, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatEventPricing, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-BkZc-hKH.mjs";
7
+ import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as getLocalScheduleDate, D as isEventCalendarListLayout, Dt as resolveBookingBusinessTimeZone, Et as parseUtcIsoDateTimeString, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Ot as resolveBookingTimeZoneId, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, V as publicEventDestinationSchema, ht as inferSiteDateLocale, j as eventSurfaceScopeValues, jt as toUtcIsoDateTimeString, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, p as calendarWindowPageSchema, pt as formatTime, ut as formatDateRange, vt as buildBookingUtcDateWindow, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-B7H6gCbj.mjs";
8
+ import { n as getCurrentResolveImageUrlContext, x as resolveModeArrangement } from "./mediaContext-jPeJ2PmJ.mjs";
9
9
  import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
10
10
  import "react";
11
11
  import { z } from "zod";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
- //#region ../core/src/public-profile.ts
14
- const publicProfileWeekdays = [
15
- "monday",
16
- "tuesday",
17
- "wednesday",
18
- "thursday",
19
- "friday",
20
- "saturday",
21
- "sunday"
22
- ];
23
- function isRecord$3(value) {
24
- return typeof value === "object" && value !== null && !Array.isArray(value);
25
- }
26
- function trimmedOptionalString(value) {
27
- if (value === null || value === void 0) return null;
28
- if (typeof value !== "string") return void 0;
29
- const trimmed = value.trim();
30
- return trimmed.length > 0 ? trimmed : null;
31
- }
32
- function parsePublicProfileTimeZone(value) {
33
- const timeZone = trimmedOptionalString(value);
34
- if (timeZone === null || timeZone === void 0) return err({
35
- code: "invalid_timezone",
36
- path: "openingHours.timeZone",
37
- message: "Choose a timezone."
38
- });
39
- try {
40
- new Intl.DateTimeFormat("en-GB", { timeZone }).format(/* @__PURE__ */ new Date(0));
41
- return ok(timeZone);
42
- } catch {
43
- return err({
44
- code: "invalid_timezone",
45
- path: "openingHours.timeZone",
46
- message: "Choose a valid IANA timezone."
47
- });
48
- }
49
- }
50
- function parseOpeningHoursTime(value, path) {
51
- if (typeof value !== "string" || !/^(?:[01]\d|2[0-3]):[0-5]\d$/u.test(value)) return err({
52
- code: "invalid_time",
53
- path,
54
- message: "Use a 24-hour time such as 09:00."
55
- });
56
- return ok(value);
57
- }
58
- function minutesSinceMidnight(value) {
59
- const [hours = "0", minutes = "0"] = value.split(":");
60
- return Number(hours) * 60 + Number(minutes);
61
- }
62
- function parseOpeningHoursDay(value, expectedWeekday, index) {
63
- const path = `openingHours.days.${index}`;
64
- if (!isRecord$3(value) || value.weekday !== expectedWeekday) return err({
65
- code: "invalid_weekdays",
66
- path,
67
- message: `Expected ${expectedWeekday} in calendar order.`
68
- });
69
- if (value.kind === "closed") return ok({
70
- kind: "closed",
71
- weekday: expectedWeekday
72
- });
73
- if (value.kind !== "open" || !Array.isArray(value.intervals) || value.intervals.length === 0) return err({
74
- code: "invalid_interval",
75
- path: `${path}.intervals`,
76
- message: "Open days need at least one opening interval."
77
- });
78
- const intervals = [];
79
- for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
80
- const intervalPath = `${path}.intervals.${intervalIndex}`;
81
- if (!isRecord$3(rawInterval)) return err({
82
- code: "invalid_interval",
83
- path: intervalPath,
84
- message: "Opening interval is invalid."
85
- });
86
- const opensAt = parseOpeningHoursTime(rawInterval.opensAt, `${intervalPath}.opensAt`);
87
- if (!opensAt.ok) return opensAt;
88
- const closesAt = parseOpeningHoursTime(rawInterval.closesAt, `${intervalPath}.closesAt`);
89
- if (!closesAt.ok) return closesAt;
90
- if (minutesSinceMidnight(opensAt.value) >= minutesSinceMidnight(closesAt.value)) return err({
91
- code: "invalid_interval",
92
- path: intervalPath,
93
- message: "Closing time must be later than opening time on the same day."
94
- });
95
- intervals.push({
96
- opensAt: opensAt.value,
97
- closesAt: closesAt.value
98
- });
99
- }
100
- intervals.sort((left, right) => minutesSinceMidnight(left.opensAt) - minutesSinceMidnight(right.opensAt));
101
- for (let intervalIndex = 1; intervalIndex < intervals.length; intervalIndex += 1) {
102
- const previous = intervals[intervalIndex - 1];
103
- const current = intervals[intervalIndex];
104
- if (previous !== void 0 && current !== void 0 && minutesSinceMidnight(current.opensAt) < minutesSinceMidnight(previous.closesAt)) return err({
105
- code: "overlapping_intervals",
106
- path: `${path}.intervals.${intervalIndex}`,
107
- message: "Opening intervals cannot overlap."
108
- });
109
- }
110
- const [first, ...rest] = intervals;
111
- if (first === void 0) return err({
112
- code: "invalid_interval",
113
- path,
114
- message: "Open days need an opening interval."
115
- });
116
- return ok({
117
- kind: "open",
118
- weekday: expectedWeekday,
119
- intervals: [first, ...rest]
120
- });
121
- }
122
- function parseOpeningHoursWeek(rawDays) {
123
- const parsedDays = publicProfileWeekdays.map((weekday, index) => parseOpeningHoursDay(rawDays[index], weekday, index));
124
- const failed = parsedDays.find((day) => !day.ok);
125
- if (failed !== void 0) return failed;
126
- const [monday, tuesday, wednesday, thursday, friday, saturday, sunday] = parsedDays.flatMap((day) => day.ok ? [day.value] : []);
127
- if (monday === void 0 || tuesday === void 0 || wednesday === void 0 || thursday === void 0 || friday === void 0 || saturday === void 0 || sunday === void 0) return err({
128
- code: "invalid_weekdays",
129
- path: "openingHours.days",
130
- message: "Opening hours are incomplete."
131
- });
132
- return ok([
133
- monday,
134
- tuesday,
135
- wednesday,
136
- thursday,
137
- friday,
138
- saturday,
139
- sunday
140
- ]);
141
- }
142
- function parseWeeklyOpeningHours(value) {
143
- if (!isRecord$3(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
144
- code: "invalid_weekdays",
145
- path: "openingHours.days",
146
- message: "Opening hours must include all seven weekdays."
147
- });
148
- const timeZone = parsePublicProfileTimeZone(value.timeZone);
149
- if (!timeZone.ok) return timeZone;
150
- const note = value.note === void 0 || value.note === null ? null : trimmedOptionalString(value.note);
151
- if (note === void 0) return err({
152
- code: "invalid_shape",
153
- path: "openingHours.note",
154
- message: "The opening hours note must be text."
155
- });
156
- const days = parseOpeningHoursWeek(value.days);
157
- if (!days.ok) return days;
158
- return ok({
159
- timeZone: timeZone.value,
160
- ...note !== null ? { note } : {},
161
- days: days.value
162
- });
163
- }
164
- //#endregion
165
13
  //#region ../core/src/mailing-list-targeting.ts
166
14
  const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
167
15
  function sameMailingListPlacementTargeting(left, right) {
@@ -4938,4 +4786,4 @@ function shopProductPresentation(hydration, productId, index, count) {
4938
4786
  };
4939
4787
  }
4940
4788
  //#endregion
4941
- export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, resolveEventSelection as $t, parseStoredCommerceCartState as A, recurringScheduleProjectionSchema as At, giftingBlockRuntime as B, listingEventCardProps as Bt, membershipCardListContent as C, eventCombinedInteractiveIslandPropsCodec as Ct, buildPassCartItem as D, eventCalendarBlockRuntime as Dt, EMPTY_COMMERCE_CART_STATE as E, buildEventCalendarListingRender as Et, buildNewsletterFormInteractiveIslandProps as F, getEventRuntimeFiltersKey as Ft, formInteractiveIslandPropsCodec as G, MediaNodeServer as Gt, publicGiftingOffersResponseSchema as H, CardListLeadDate as Ht, newsletterBlockSubmissionMessage as I, normalizeCsvIds as It, displayButtonText as J, Grid as Jt, buildEventRegistrationDisplayFromScopedEvents as K, getCardOrientation as Kt, newsletterFormBlockRuntime as L, normalizeCsvString as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, eventCalendarInteractiveIslandPropsCodec as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, buildEventRuntimeFilters as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, formatEventPriceDisplay as Qt, newsletterFormInteractiveIslandPropsCodec as R, normalizeOptionalId as Rt, formatInterval as S, eventCombinedBlockRuntime as St, passCardListContent as T, buildEventCalendarListingDisplay as Tt, buildFormInteractiveIslandProps as U, resolveCardListSchedule as Ut, giftingInteractiveIslandPropsCodec as V, CardListContentPart as Vt, formBlockRuntime as W, selectCardListPresentation as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPrice as Xt, eventRegistrationBlockRuntime as Y, buildEventListWeek as Yt, offeringNounForEvent as Z, formatEventPriceAmount as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, planSiteChromePlacement as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedInteractiveIslandProps as bt, checkoutBlockRuntime as c, publicPassProductCollectionSchema as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseMailingListPlacementTargeting as dn, resolveOfferingsRenderInput as dt, headerChromeRuntimeContractSchema as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, parseMailingListVisitorSelection as fn, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, parseWeeklyOpeningHours as hn, bookingEntry as ht, buildProductListInteractiveIslandProps as i, parseHeaderPositioning as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, projectRecurringSchedule as kt, checkoutInteractiveIslandPropsCodec as l, buildMailingListSignupBlockSourceRef as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, sameMailingListPlacementTargeting as mn, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, resolveHeaderChromeRuntimeContract as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, splitSiteChromePlacementClasses as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, DEFAULT_MAILING_LIST_TARGETING as pn, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, getContainerClass as qt, buildProductDetailInteractiveIslandProps as r, staticHeaderChromeRuntime as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, publicMembershipProductCollectionSchema as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, isHeaderScrollRuntimeEnabled as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, assessMailingListTargeting as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, formatBookingSchedulePresentation as vt, membershipClassesLabel as w, buildEventCalendarInteractiveIslandProps as wt, formatCommercePrice as x, buildEventCombinedListingDisplay as xt, buildProductCardDisplay as y, occurrenceContextSchema as yt, buildGiftingInteractiveIslandProps as z, catalogueEventCardProps as zt };
4789
+ export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, resolveEventSelection as $t, parseStoredCommerceCartState as A, recurringScheduleProjectionSchema as At, giftingBlockRuntime as B, listingEventCardProps as Bt, membershipCardListContent as C, eventCombinedInteractiveIslandPropsCodec as Ct, buildPassCartItem as D, eventCalendarBlockRuntime as Dt, EMPTY_COMMERCE_CART_STATE as E, buildEventCalendarListingRender as Et, buildNewsletterFormInteractiveIslandProps as F, getEventRuntimeFiltersKey as Ft, formInteractiveIslandPropsCodec as G, MediaNodeServer as Gt, publicGiftingOffersResponseSchema as H, CardListLeadDate as Ht, newsletterBlockSubmissionMessage as I, normalizeCsvIds as It, displayButtonText as J, Grid as Jt, buildEventRegistrationDisplayFromScopedEvents as K, getCardOrientation as Kt, newsletterFormBlockRuntime as L, normalizeCsvString as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, eventCalendarInteractiveIslandPropsCodec as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, buildEventRuntimeFilters as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, formatEventPriceDisplay as Qt, newsletterFormInteractiveIslandPropsCodec as R, normalizeOptionalId as Rt, formatInterval as S, eventCombinedBlockRuntime as St, passCardListContent as T, buildEventCalendarListingDisplay as Tt, buildFormInteractiveIslandProps as U, resolveCardListSchedule as Ut, giftingInteractiveIslandPropsCodec as V, CardListContentPart as Vt, formBlockRuntime as W, selectCardListPresentation as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPrice as Xt, eventRegistrationBlockRuntime as Y, buildEventListWeek as Yt, offeringNounForEvent as Z, formatEventPriceAmount as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, planSiteChromePlacement as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedInteractiveIslandProps as bt, checkoutBlockRuntime as c, publicPassProductCollectionSchema as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseMailingListPlacementTargeting as dn, resolveOfferingsRenderInput as dt, headerChromeRuntimeContractSchema as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, parseMailingListVisitorSelection as fn, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, bookingEntry as ht, buildProductListInteractiveIslandProps as i, parseHeaderPositioning as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, projectRecurringSchedule as kt, checkoutInteractiveIslandPropsCodec as l, buildMailingListSignupBlockSourceRef as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, sameMailingListPlacementTargeting as mn, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, resolveHeaderChromeRuntimeContract as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, splitSiteChromePlacementClasses as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, DEFAULT_MAILING_LIST_TARGETING as pn, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, getContainerClass as qt, buildProductDetailInteractiveIslandProps as r, staticHeaderChromeRuntime as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, publicMembershipProductCollectionSchema as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, isHeaderScrollRuntimeEnabled as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, assessMailingListTargeting as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, formatBookingSchedulePresentation as vt, membershipClassesLabel as w, buildEventCalendarInteractiveIslandProps as wt, formatCommercePrice as x, buildEventCombinedListingDisplay as xt, buildProductCardDisplay as y, occurrenceContextSchema as yt, buildGiftingInteractiveIslandProps as z, catalogueEventCardProps as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-BLAvalAa.mjs";
2
+ import { t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-C5u8MbAA.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Chu5BHra.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -1,16 +1,60 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, pt as parseThemeButtonVariantId, r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
3
+ import { j as parseThemeButtonVariantId, jn as textColorStyle } from "./schema-C-m8XHuW.mjs";
4
+ import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
4
5
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
5
- import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-zgq10lN1.mjs";
6
- import { gt as parseBookingLocalDate, tt as formatDate } from "./noop-B610YKEx.mjs";
7
- import { n as resolveEventLinkProps } from "./cta-CUXhX_D7.mjs";
8
- import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CHSi9b3E.mjs";
9
- import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-CXhnT9pF.mjs";
10
- import { t as coerceRichTextDoc } from "./richText-coerce-Cv-qomNB.mjs";
6
+ import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
7
+ import { At as toScheduledBookingDateTime, Tt as parseLocalScheduleTime, bt as formatBookingCompactEnglishTime, lt as formatDate, wt as parseBookingLocalDate } from "./noop-B7H6gCbj.mjs";
8
+ import { i as readableMapDrawing, n as AdmittedMapDrawingSvg, t as LocationMapActions } from "./LocationMapActions-Wsr83Q7q.mjs";
9
+ import { n as resolveEventLinkProps } from "./cta-D-ZqL7-e.mjs";
10
+ import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
11
+ import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BEx-qiDE.mjs";
12
+ import { t as coerceRichTextDoc } from "./richText-coerce-B19taoH6.mjs";
11
13
  import "react";
12
14
  import { z } from "zod";
13
15
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
+ //#region ../core/src/opening-hours.ts
17
+ const openingHoursWeekdayLabels = {
18
+ monday: "Monday",
19
+ tuesday: "Tuesday",
20
+ wednesday: "Wednesday",
21
+ thursday: "Thursday",
22
+ friday: "Friday",
23
+ saturday: "Saturday",
24
+ sunday: "Sunday"
25
+ };
26
+ function formatOpeningHoursTime(value) {
27
+ const time = parseLocalScheduleTime(value);
28
+ return formatBookingCompactEnglishTime(toScheduledBookingDateTime({
29
+ startsAt: new Date(Date.UTC(2e3, 0, 1, time.hour, time.minute)).toISOString(),
30
+ timeZone: "UTC",
31
+ locale: "en-GB"
32
+ }));
33
+ }
34
+ function formatDayHours(day) {
35
+ return day.kind === "closed" ? "Closed" : day.intervals.map((interval) => `${formatOpeningHoursTime(interval.opensAt)} to ${formatOpeningHoursTime(interval.closesAt)}`).join(", ");
36
+ }
37
+ function weekdayRangeLabel(weekdays) {
38
+ const first = weekdays[0];
39
+ const last = weekdays[weekdays.length - 1];
40
+ if (!first || !last) return "";
41
+ return first === last ? openingHoursWeekdayLabels[first] : `${openingHoursWeekdayLabels[first]} to ${openingHoursWeekdayLabels[last]}`;
42
+ }
43
+ /** Monday-first table rows; only adjacent days with identical ranges are grouped. */
44
+ function formatOpeningHoursRows(hours) {
45
+ return (hours?.days ?? []).reduce((rows, day) => {
46
+ const text = formatDayHours(day);
47
+ const previous = rows[rows.length - 1];
48
+ const weekdays = previous?.kind === day.kind && previous.hours === text ? [...previous.weekdays, day.weekday] : [day.weekday];
49
+ const row = {
50
+ kind: day.kind,
51
+ weekdays,
52
+ label: weekdayRangeLabel(weekdays),
53
+ hours: text
54
+ };
55
+ return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
56
+ }, []);
57
+ }
14
58
  const inlineTextMarkSchema = z.discriminatedUnion("kind", [
15
59
  z.object({ kind: z.literal("strong") }),
16
60
  z.object({ kind: z.literal("emphasis") }),
@@ -252,6 +296,102 @@ function renderMark(mark, key, child) {
252
296
  }
253
297
  }
254
298
  //#endregion
299
+ //#region ../blocks/src/system/runtime/nodes/location-map.view.tsx
300
+ function OpeningHoursTable({ hours, lookLayout }) {
301
+ if (!hours) return null;
302
+ return /* @__PURE__ */ jsxs("div", {
303
+ className: "rb-location-map-hours",
304
+ "data-slot": lookLayout ? "schedule" : void 0,
305
+ children: [/* @__PURE__ */ jsxs("table", { children: [/* @__PURE__ */ jsx("caption", { children: "Opening hours" }), /* @__PURE__ */ jsx("tbody", { children: formatOpeningHoursRows(hours).map((row) => /* @__PURE__ */ jsxs("tr", {
306
+ "data-slot": lookLayout ? "row" : void 0,
307
+ "data-closed": row.kind === "closed" ? true : void 0,
308
+ children: [/* @__PURE__ */ jsx("th", {
309
+ scope: "row",
310
+ "data-slot": lookLayout ? "fact-label" : void 0,
311
+ children: row.label
312
+ }), /* @__PURE__ */ jsx("td", {
313
+ "data-slot": lookLayout ? "fact-value" : void 0,
314
+ children: row.hours
315
+ })]
316
+ }, row.label)) })] }), hours.note ? /* @__PURE__ */ jsx("p", { children: hours.note }) : null]
317
+ });
318
+ }
319
+ function LocationMapView(props) {
320
+ const { addressText, location } = props;
321
+ const hours = props.showOpeningHours === false ? null : props.openingHours ?? null;
322
+ if (![
323
+ location,
324
+ addressText,
325
+ hours
326
+ ].some(Boolean)) return /* @__PURE__ */ jsx("p", {
327
+ className: "rb-caption",
328
+ style: textColorStyle("mutedText"),
329
+ children: props.unresolvedMessage ?? "Location details coming soon."
330
+ });
331
+ return /* @__PURE__ */ jsx(LocationMapDetails, {
332
+ ...props,
333
+ openingHours: hours
334
+ });
335
+ }
336
+ /** The entrance-photo Look leaves the drawing out; Look layouts treat the authored height as a minimum. */
337
+ function LocationMapDrawing(props) {
338
+ return /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
339
+ drawing: props.drawing,
340
+ wider: props.wider,
341
+ label: props.addressText ?? void 0,
342
+ height: props.heightPx,
343
+ heightAs: props.lookLayout ? "minimum" : "fixed"
344
+ });
345
+ }
346
+ /**
347
+ * `data-map="none"` marks details shown without a drawing (none yet, or the entrance photo
348
+ * takes its place), so map Looks lay the details out on their own instead of beside an empty space.
349
+ */
350
+ function LocationMapDetails(props) {
351
+ const drawing = props.showMap === false ? null : readableMapDrawing(props.drawing);
352
+ return /* @__PURE__ */ jsxs("div", {
353
+ className: "rb-location-map",
354
+ "data-map": drawing ? "drawing" : "none",
355
+ children: [drawing ? /* @__PURE__ */ jsx(LocationMapDrawing, {
356
+ ...props,
357
+ drawing
358
+ }) : null, /* @__PURE__ */ jsxs("div", {
359
+ className: "rb-location-map-details",
360
+ ...props.detailsSlot,
361
+ children: [/* @__PURE__ */ jsx(LocationMapPlace, { ...props }), /* @__PURE__ */ jsx(OpeningHoursTable, {
362
+ lookLayout: props.lookLayout,
363
+ hours: props.openingHours ?? null
364
+ })]
365
+ })]
366
+ });
367
+ }
368
+ /** Address, door note and the directions actions. */
369
+ function LocationMapPlace(props) {
370
+ const address = props.showAddressText && props.addressText ? props.addressText : null;
371
+ return /* @__PURE__ */ jsxs("div", {
372
+ className: "rb-location-map-place",
373
+ "data-slot": props.lookLayout ? "copy" : void 0,
374
+ children: [
375
+ address ? /* @__PURE__ */ jsx("p", {
376
+ className: "rb-location-map-address",
377
+ "data-slot": props.lookLayout ? "headline" : void 0,
378
+ children: address
379
+ }) : null,
380
+ props.doorNote ? /* @__PURE__ */ jsx("p", {
381
+ className: "rb-location-map-door",
382
+ children: props.doorNote
383
+ }) : null,
384
+ props.showDirections ? /* @__PURE__ */ jsx(LocationMapActions, {
385
+ layout: "block",
386
+ location: props.location,
387
+ addressText: props.addressText,
388
+ directionsLabel: props.directionsLabel,
389
+ googleMapsLabel: props.googleMapsLabel
390
+ }) : null
391
+ ]
392
+ });
393
+ }
394
+ //#endregion
255
395
  //#region ../blocks/src/system/runtime/nodes/basic.tsx
256
396
  const TextNode = ({ value, children, blockContent, inlineTextFallbackPath, ...rest }) => {
257
397
  const inlineText = parseInlineTextFromUnknown(value);
@@ -957,4 +1097,4 @@ function formatDayLabel(date, timeZone, options) {
957
1097
  }), options);
958
1098
  }
959
1099
  //#endregion
960
- export { MonthLookView as a, ButtonNode as c, TextNode as d, Text as f, plainTextToInlineText as g, parseInlineTextFromUnknown as h, buildWeekBoardViewProps as i, LinkNode as l, inlineTextToPlainText as m, WeekBoardView as n, CalendarRecurringWeek as o, coerceInlineTextWithFallback as p, buildWeekBoardNavigationState as r, RecurringSchedule as s, buildTimetableModel as t, RichTextNode as u };
1100
+ export { plainTextToInlineText as _, MonthLookView as a, ButtonNode as c, TextNode as d, LocationMapView as f, parseInlineTextFromUnknown as g, inlineTextToPlainText as h, buildWeekBoardViewProps as i, LinkNode as l, coerceInlineTextWithFallback as m, WeekBoardView as n, CalendarRecurringWeek as o, Text as p, buildWeekBoardNavigationState as r, RecurringSchedule as s, buildTimetableModel as t, RichTextNode as u };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { h as unsafeAsAppointmentResourceId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
2
+ import { dr as unsafeAsAppointmentResourceId } from "./schema-C-m8XHuW.mjs";
3
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";
4
+ import { Et as parseUtcIsoDateTimeString, Ot as resolveBookingTimeZoneId, _t as addLocalScheduleDays, lt as formatDate$1, pt as formatTime$1, wt as parseBookingLocalDate, xt as formatLocalScheduleDate } from "./noop-B7H6gCbj.mjs";
5
+ import { n as useBlockApi } from "./context-9ZfMb6GA.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-B610YKEx.mjs";
2
+ import { jt as toUtcIsoDateTimeString } from "./noop-B7H6gCbj.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
- import { T as ok, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
2
+ import { br as err, xr as ok } from "./schema-C-m8XHuW.mjs";
3
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";
4
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-3zmIqakW.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-CaN-7ui7.mjs";
2
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-3zmIqakW.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,11 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
2
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
3
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";
4
+ import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
5
+ import { Ft as getEventRuntimeFiltersKey, It as normalizeCsvIds, Lt as normalizeCsvString, Rt as normalizeOptionalId } from "./shop.interactive-CVqLAU53.mjs";
6
+ import { r as EventItem } from "./EventItem-BEx-qiDE.mjs";
7
+ import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-9RFrBejr.mjs";
8
+ import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
10
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
11
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
11
  //#region ../blocks/src/system/runtime/hooks/loadStateError.ts
@@ -404,20 +403,8 @@ function useEventCollectionFilters(source) {
404
403
  }
405
404
  //#endregion
406
405
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.client.tsx
407
- function EventCardClient({ event, showMap = true, allowMap = true, ...cardProps }) {
408
- const location = event.venue?.location;
409
- const mapSlot = Boolean(showMap && allowMap && location) && location ? /* @__PURE__ */ jsx(LeafletStaticMap, {
410
- location,
411
- label: event.venue?.name,
412
- height: 150
413
- }) : null;
414
- return /* @__PURE__ */ jsx(EventCard, {
415
- ...cardProps,
416
- event,
417
- showMap,
418
- allowMap,
419
- mapSlot
420
- });
406
+ function EventCardClient(props) {
407
+ return /* @__PURE__ */ jsx(EventCard, { ...props });
421
408
  }
422
409
  //#endregion
423
410
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.tsx
@@ -1,8 +1,8 @@
1
1
  "use client";
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";
2
+ import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
4
+ import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-CVqLAU53.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-BEx-qiDE.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