@riverbankcms/sdk 0.161.0 → 0.163.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 (193) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
  3. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-zwnvFBPu.d.ts} +8 -8
  4. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +58 -91
  5. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-Chh3bnXC.d.ts} +11 -3
  6. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
  7. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-GJ1kGBsi.d.ts} +13 -4
  8. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
  10. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-C3mJvn27.d.ts} +4 -4
  11. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-CaL0nKkl.d.ts} +4166 -3355
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-CdSNXLOx.d.ts} +1 -1
  13. package/dist/_dts/{types-BR1Yboa9.d.ts → index-CyQhZuhM.d.ts} +3347 -1692
  14. package/dist/_dts/{index-BVkP8f70.d.ts → index-D2y4Iy-d.d.ts} +13 -2
  15. package/dist/_dts/{index-CSsfq6KG.d.ts → index-DRxgeK8L.d.ts} +11 -6
  16. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-FstkyqQB.d.ts} +2 -2
  17. package/dist/_dts/{index-D_8uz4OP.d.ts → index-G2p-HOrK.d.ts} +3 -3
  18. package/dist/_dts/{index-ylivB7Jj.d.ts → index-rhMSu0oY.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-DiLZoInK.d.ts} +10 -7
  20. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
  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 +6 -6
  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/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-BmtrA45p.d.ts} +2 -2
  47. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CalL7aKP.d.ts} +7 -7
  48. package/dist/_dts/{types-CJXTCF_F.d.ts → types-DFOqkClJ.d.ts} +3 -3
  49. package/dist/_dts/{validation-BaV565gb.d.ts → validation-G8MRoIhq.d.ts} +4 -4
  50. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -19
  51. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
  52. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
  53. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
  54. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +26 -10
  55. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
  56. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-ffa6920T.mjs} +16 -17
  57. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
  58. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
  59. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-CND3mfra.mjs} +91 -15
  60. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
  61. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
  62. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-BfnOmxYD.mjs} +14 -70
  63. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
  64. package/dist/client/LocationMapActions-wlyxASdT.mjs +62 -0
  65. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-B9oKSitp.mjs} +2 -70
  66. package/dist/client/{Page-Bf2nPACI.mjs → Page-BEF9HrAy.mjs} +2333 -492
  67. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
  68. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
  69. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-DclwabI7.mjs} +1 -1
  70. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-lzM2nSZB.mjs} +1 -1
  71. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-Bll4QwBi.mjs} +137 -60
  72. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
  73. package/dist/client/bookings.mjs +5 -5
  74. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-CxerQwIx.mjs} +2 -2
  75. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
  76. package/dist/client/{cart-D_h3rAZ2.mjs → cart-X-m0isoI.mjs} +3 -3
  77. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-CJbzWIl0.mjs} +1 -1
  78. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Gd0O_fGH.mjs} +3 -3
  79. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
  80. package/dist/client/client.mjs +34 -69
  81. package/dist/client/{context-9ZfMb6GA.mjs → context-Bg0SFWcM.mjs} +28 -1
  82. package/dist/client/{cta-D-ZqL7-e.mjs → cta-HffyM4MA.mjs} +1 -1
  83. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-CV45BH5M.mjs} +39 -2
  84. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
  85. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
  86. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-SFtS9OkF.mjs} +2 -1
  87. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
  88. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
  89. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
  90. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
  91. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-BS0kBEgI.mjs} +4 -4
  92. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
  93. package/dist/client/{form-QZhtdFHA.mjs → form-DAIUrVXb.mjs} +3 -3
  94. package/dist/client/{form.client-CgvPACwG.mjs → form.client-BoAkhoh_.mjs} +4 -4
  95. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-1VnasOK8.mjs} +3 -3
  96. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-BKil_Psb.mjs} +1 -1
  97. package/dist/client/gifting/client.mjs +3 -3
  98. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
  99. package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
  100. package/dist/client/mediaContext-DIkX2S-X.mjs +136 -0
  101. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
  102. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
  103. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
  104. package/dist/client/{noop-B7H6gCbj.mjs → noop-4XFGzJpT.mjs} +19 -3
  105. package/dist/client/portal/client.mjs +1116 -85
  106. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
  107. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
  108. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-BRqgcotZ.mjs} +3 -3
  109. package/dist/client/{productList-DEo8Bqoe.mjs → productList-EK9Um-oh.mjs} +3 -3
  110. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-VD4arFq1.mjs} +4 -3
  111. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-qYbsatxH.mjs} +272 -68
  112. package/dist/client/rendering/client.mjs +26 -26
  113. package/dist/client/rendering/islands.mjs +1 -1
  114. package/dist/client/rendering.mjs +22 -19
  115. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
  116. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
  117. package/dist/client/{schema-C-m8XHuW.mjs → schema-BFwQDvJL.mjs} +4561 -3948
  118. package/dist/client/{shop-RGWa43H7.mjs → shop-CTUaT57E.mjs} +3 -3
  119. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
  120. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
  121. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-UWgdmJBm.mjs} +12 -12
  122. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-Cf_kASpd.mjs} +76 -51
  123. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-Bi8d584P.mjs} +2 -2
  124. package/dist/{server/effectiveNavLinkStyle-CGvGr3yD.mjs → client/site-styles-dy54AUdz.mjs} +2781 -331
  125. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-Bi8ruFgB.mjs} +10 -9
  126. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-DiLbDqM3.mjs} +8 -11
  127. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
  128. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
  129. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
  130. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
  131. package/dist/client/{view-Dj_FZHmg.mjs → view-OvsxzgxP.mjs} +64 -55
  132. package/dist/client/{view-BUh4LnLS.mjs → view-yUIfWX3S.mjs} +4 -4
  133. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-kbONzKUv.mjs} +59 -53
  134. package/dist/preview-next/before-render.mjs +3 -3
  135. package/dist/preview-next/chrome.css +1 -1
  136. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
  137. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +170 -1046
  138. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-lndKKBtB.mjs} +157 -313
  139. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +351 -1386
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
  141. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-nUnE3iMv.mjs} +1010 -398
  142. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-DHtSQIBE.mjs} +159416 -162308
  143. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
  146. package/dist/preview-next/client/siteStyleAccess-Chq5KKKh.mjs +14162 -0
  147. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-CjxE3uws.mjs} +1 -1
  148. package/dist/preview-next/edit-map.css +37 -0
  149. package/dist/preview-next/keepAlive.mjs +2 -2
  150. package/dist/preview-next/maplibre-gl.css +1 -0
  151. package/dist/preview-next/middleware.mjs +1 -1
  152. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  153. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CxCstfkP.mjs} +403 -200
  154. package/dist/preview-next/upload-structure.css +18 -0
  155. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
  156. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-S-gCHhj5.mjs} +2 -2
  157. package/dist/server/{client-Cv26lZQ4.mjs → client-C2Q56xqV.mjs} +34 -69
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/{client/mediaContext-jPeJ2PmJ.mjs → server/effectiveNavLinkStyle-DLzJPcDL.mjs} +1977 -1210
  161. package/dist/server/index.mjs +3 -3
  162. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-D7ItMsEl.mjs} +7 -4
  163. package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
  164. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-DaPiPYUL.mjs} +2 -2
  165. package/dist/server/next.mjs +9 -9
  166. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
  167. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-W1Cc6srh.mjs} +434 -241
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-BF9yNfCS.mjs} +1 -1
  170. package/dist/server/prebuild.mjs +1 -1
  171. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-Cn9k3DW6.mjs} +36 -11
  172. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-BVcJ6TG7.mjs} +656 -166
  173. package/dist/server/{registry-BVfCqaCq.mjs → registry-4ZF3bUuJ.mjs} +401 -74
  174. package/dist/server/rendering/server.mjs +4 -4
  175. package/dist/server/rendering.mjs +8 -8
  176. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
  177. package/dist/server/routing.mjs +1 -1
  178. package/dist/server/{schema-CD4peO7m.mjs → schema-DgrigZq9.mjs} +7748 -7135
  179. package/dist/server/server.mjs +3 -3
  180. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-CxE9F3hj.mjs} +99 -117
  181. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
  182. package/dist/server/{src-ILxc6pid.mjs → src-C44_fMy5.mjs} +1190 -147
  183. package/dist/server/theme-bridge.mjs +1 -1
  184. package/dist/server/theme.mjs +1 -1
  185. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CVc04B9m.mjs} +36 -29
  186. package/dist/server/{validation-B1ieVemg.mjs → validation-BrbY0nxR.mjs} +2 -2
  187. package/dist/server/{version-BQK44wFg.mjs → version-BBSk8uM6.mjs} +1 -1
  188. package/dist/styles/index.css +1034 -113
  189. package/package.json +1 -1
  190. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  191. package/dist/client/mediaAssets-BvjcAZpS.mjs +0 -16
  192. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  193. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -1,7 +1,7 @@
1
- import { m as NavigationConfigItemInput, p as NavigationAuthoringLinkInput } from "./types-BR1Yboa9.js";
2
- import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-BgAzCrBc.js";
3
- import { u as BindingTransformName } from "./index-CSsfq6KG.js";
4
- import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-CJXTCF_F.js";
1
+ import { h as NavigationConfigItemInput, m as NavigationAuthoringLinkInput } from "./index-CyQhZuhM.js";
2
+ import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-Bbzqw9J2.js";
3
+ import { u as BindingTransformName } from "./index-DRxgeK8L.js";
4
+ import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-DFOqkClJ.js";
5
5
  import { z as z$1 } from "zod";
6
6
 
7
7
  //#region .cache/declarations/sdk/src/config/content-validation.d.ts
@@ -1,7 +1,8 @@
1
1
  "use client";
2
- import { Zt as parseSurfaceTree } from "./schema-C-m8XHuW.mjs";
3
- import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-jPeJ2PmJ.mjs";
4
- import { n as toBlocksMediaAssets } from "./mediaAssets-BvjcAZpS.mjs";
2
+ import { Zt as parseSurfaceTree } from "./schema-BFwQDvJL.mjs";
3
+ import "./site-styles-dy54AUdz.mjs";
4
+ import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DIkX2S-X.mjs";
5
+ import { r as toBlocksMediaAssets } from "./mediaAssets-CGJE1Omu.mjs";
5
6
  import { useEffect } from "react";
6
7
  //#region src/rendering/islands/deferredVideoEmbeds.ts
7
8
  const DEFERRED_IFRAME_SELECTOR = "iframe[data-rb-video-embed-deferred=\"true\"]";
@@ -76,22 +77,22 @@ function isSafeHttpsUrl(value) {
76
77
  //#endregion
77
78
  //#region src/rendering/islands/hydrateBlocksIslands.ts
78
79
  const defaultEnhancerLoaders = {
79
- accordion: () => import("./accordion-TcimLLRQ.mjs"),
80
- headerSection: () => import("./headerSection-DJdlLdvZ.mjs"),
81
- carousel: () => import("./carousel-CGAk6j0m.mjs"),
82
- form: () => import("./form-QZhtdFHA.mjs"),
83
- "booking-form": () => import("./bookingForm-DjGfk3Wj.mjs"),
84
- "event-registration": () => import("./eventRegistration-DJuaCB-O.mjs"),
85
- "event-details": () => import("./eventDetails-C2DfmbC0.mjs"),
86
- "event-listing": () => import("./eventListing-C_yXmHyz.mjs"),
87
- "event-calendar": () => import("./eventCalendar-CWc0dg9i.mjs"),
88
- "event-combined": () => import("./eventCombined-D4DbOrvQ.mjs"),
89
- "product-list": () => import("./productList-DEo8Bqoe.mjs"),
90
- "product-detail": () => import("./productDetail-k8LEMSWn.mjs"),
91
- "cart": () => import("./cart-D_h3rAZ2.mjs"),
92
- "checkout": () => import("./checkout-tC-3CzuM.mjs"),
93
- shop: () => import("./shop-RGWa43H7.mjs"),
94
- "newsletter-form": () => import("./newsletterForm-wjLtW-wq.mjs")
80
+ accordion: () => import("./accordion-lzM2nSZB.mjs"),
81
+ headerSection: () => import("./headerSection-CyuHk8Ei.mjs"),
82
+ carousel: () => import("./carousel-CxerQwIx.mjs"),
83
+ form: () => import("./form-DAIUrVXb.mjs"),
84
+ "booking-form": () => import("./bookingForm-Cq5fQ-vo.mjs"),
85
+ "event-registration": () => import("./eventRegistration-B82SHv7j.mjs"),
86
+ "event-details": () => import("./eventDetails-BhcTT6P3.mjs"),
87
+ "event-listing": () => import("./eventListing-BS0kBEgI.mjs"),
88
+ "event-calendar": () => import("./eventCalendar-DSGG35jd.mjs"),
89
+ "event-combined": () => import("./eventCombined-Oe-PiChx.mjs"),
90
+ "product-list": () => import("./productList-EK9Um-oh.mjs"),
91
+ "product-detail": () => import("./productDetail-BRqgcotZ.mjs"),
92
+ "cart": () => import("./cart-X-m0isoI.mjs"),
93
+ "checkout": () => import("./checkout-Gd0O_fGH.mjs"),
94
+ shop: () => import("./shop-CTUaT57E.mjs"),
95
+ "newsletter-form": () => import("./newsletterForm-qFWLZJui.mjs")
95
96
  };
96
97
  const DEFAULT_MAX_RETRIES = 2;
97
98
  const RETRY_DELAYS_MS = [250, 1e3];
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
3
- import { Kt as RichText } from "./wizardSteps-BkZc-hKH.mjs";
3
+ import { Kt as RichText } from "./wizardSteps-kbONzKUv.mjs";
4
4
  import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
5
5
  import { useCallback, useEffect, useId, useReducer, useRef } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
3
+ import { i as ThemedButtonLink } from "./ThemedButton-DclwabI7.mjs";
4
4
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
5
- import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
6
- import { lt as formatDate } from "./noop-B7H6gCbj.mjs";
7
- import { Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
8
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
9
- import { i as formatEventTeacherLine } from "./EventItem-BEx-qiDE.mjs";
5
+ import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-kbONzKUv.mjs";
6
+ import { ut as formatDate } from "./noop-4XFGzJpT.mjs";
7
+ import { Yt as formatEventPrice } from "./shop.interactive-Cf_kASpd.mjs";
8
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.mjs";
9
+ import { o as formatEventTeacherLine } from "./EventItem-CND3mfra.mjs";
10
10
  import "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { C as clsx } from "./ThemedButton-DclwabI7.mjs";
3
3
  import React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B7H6gCbj.mjs";
5
- import { t as CheckboxChoice } from "./CheckboxChoice-DWexRLf6.mjs";
4
+ import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-4XFGzJpT.mjs";
5
+ import { t as CheckboxChoice } from "./CheckboxChoice-Dtgp3OU8.mjs";
6
6
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
8
- import { n as useBlockApi, r as BlockApiError } from "./context-9ZfMb6GA.mjs";
9
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BxkSS9fx.mjs";
8
+ import { n as useBlockApi, r as BlockApiError } from "./context-Bg0SFWcM.mjs";
9
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-CDWheSjI.mjs";
10
10
  import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../core/src/site-terms.ts
@@ -167,6 +167,13 @@ function siteTermsSubmission(view) {
167
167
  },
168
168
  agreed: view.checked
169
169
  };
170
+ case "accepted_in_flow": return {
171
+ shown: {
172
+ kind: "checkbox",
173
+ versionId: view.terms.version.id
174
+ },
175
+ agreed: true
176
+ };
170
177
  case "already_agreed": return {
171
178
  shown: {
172
179
  kind: "already_agreed_line",
@@ -240,13 +247,15 @@ function decideSiteTermsPresentation(input) {
240
247
  const acceptance = input.identity !== null && input.state.identity === input.identity ? input.state.acceptance : null;
241
248
  const context = siteTermsCheckoutContext(input.context);
242
249
  const applicability = context.targetKey !== null && input.state.requiredTarget === context.targetKey ? { kind: "server_requirement" } : context;
243
- const commerceView = decideSiteTermsAgreement({
250
+ const purchaseView = decideSiteTermsAgreement({
244
251
  terms,
245
252
  acceptance,
246
253
  tickedVersionId: input.state.tickedVersionId,
247
254
  kind: "purchase"
248
255
  });
249
- const view = siteTermsApplicabilityApplies(applicability) ? commerceView : { kind: "nothing" };
256
+ const applicable = siteTermsApplicabilityApplies(applicability);
257
+ const view = applicable ? purchaseView : { kind: "nothing" };
258
+ const commerceView = commerceTermsView(input.context, applicable, purchaseView);
250
259
  return {
251
260
  projectionKey,
252
261
  targetKey: context.targetKey,
@@ -255,6 +264,13 @@ function decideSiteTermsPresentation(input) {
255
264
  commerceView
256
265
  };
257
266
  }
267
+ /** A secondary purchase reuses evidence already collected by the applicable event box. */
268
+ function commerceTermsView(context, applicable, purchaseView) {
269
+ return context.kind === "event" && applicable && purchaseView.kind === "checkbox" && purchaseView.checked ? {
270
+ kind: "accepted_in_flow",
271
+ terms: purchaseView.terms
272
+ } : purchaseView;
273
+ }
258
274
  //#endregion
259
275
  //#region ../blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.ts
260
276
  const initialSiteTermsAgreementState = {
@@ -484,8 +500,8 @@ function useSiteTermsAgreement(options) {
484
500
  commerceView,
485
501
  onChange: useCallback((checked) => dispatch({
486
502
  kind: "ticked",
487
- versionId: checked && commerceView.kind === "checkbox" ? commerceView.terms.version.id : null
488
- }), [commerceView]),
503
+ versionId: checked ? versionId : null
504
+ }), [versionId]),
489
505
  requireAgreement: useCallback((surface = "primary") => {
490
506
  if (!siteTermsAgreementOutstanding(surface === "commerce" ? commerceView : view)) return true;
491
507
  dispatch({
@@ -505,7 +521,7 @@ function useSiteTermsAgreement(options) {
505
521
  function SiteTermsAgreementField(props) {
506
522
  const id = useId();
507
523
  const view = props.agreement;
508
- if (view.kind === "nothing") return null;
524
+ if (view.kind === "nothing" || view.kind === "accepted_in_flow") return null;
509
525
  const link = view.terms.href === null ? /* @__PURE__ */ jsx("span", { children: "booking terms" }) : /* @__PURE__ */ jsx("a", {
510
526
  className: "form-check-link",
511
527
  href: view.terms.href,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { i as ThemedButtonLink } from "./ThemedButton-DclwabI7.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
3
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { g as resolveCalendarReadProfile } from "./noop-B7H6gCbj.mjs";
6
- import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-V2ifvGGy.mjs";
7
- import { Et as buildEventCalendarListingRender, Pt as buildEventRuntimeFilters, Yt as buildEventListWeek } from "./shop.interactive-CVqLAU53.mjs";
8
- import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
9
- import { i as useEventCollectionFilters } from "./useEventPagination-CLAS0upd.mjs";
10
- import { n as EventListingController } from "./EventListing.client-D3uySdGP.mjs";
11
- import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-B5bmQ03b.mjs";
3
+ import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
4
+ import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-kbONzKUv.mjs";
5
+ import { g as resolveCalendarReadProfile } from "./noop-4XFGzJpT.mjs";
6
+ import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-Bi8ruFgB.mjs";
7
+ import { Jt as buildEventListWeek, Nt as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender } from "./shop.interactive-Cf_kASpd.mjs";
8
+ import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CVLAHdZG.mjs";
9
+ import { i as useEventCollectionFilters } from "./useEventPagination-DRrATQHQ.mjs";
10
+ import { n as EventListingController } from "./EventListing.client-CaoRZUI9.mjs";
11
+ import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-zm0W2G79.mjs";
12
12
  import React, { useEffect, useMemo, useState } from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
@@ -173,15 +173,14 @@ function hourToTickPercent(hour, hours) {
173
173
  //#region ../blocks/src/system/runtime/nodes/events/EventCalendar.client.tsx
174
174
  const EventCalendarClient = ({ render }) => {
175
175
  const { display } = render;
176
- if (display.displayMode === "week") return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
177
- if (display.displayMode === "combined") return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
178
- if (display.displayMode === "list") {
179
- if (display.listBy === "week") return /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render });
180
- return /* @__PURE__ */ jsx(EventListingController, { render: buildEventCalendarListingRender(render) });
176
+ switch (display.displayMode) {
177
+ case "week": return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
178
+ case "combined": return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
179
+ case "list": return display.listBy === "week" ? /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render }) : /* @__PURE__ */ jsx(EventListingController, { render: buildEventCalendarListingRender(render) });
180
+ case "timetable": return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
181
+ case "week-board": return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
182
+ case "calendar": return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
181
183
  }
182
- if (display.displayMode === "timetable") return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
183
- if (display.displayMode === "week-board") return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
184
- return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
185
184
  };
186
185
  function EventCalendarCombinedClient({ render }) {
187
186
  const { display, hydration } = render;
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
3
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { Ct as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, lt as formatDate, s as calendarMonthDate, u as calendarQueryKey } from "./noop-B7H6gCbj.mjs";
6
- import { Ft as getEventRuntimeFiltersKey, Mt as eventListingBlockRuntime, Pt as buildEventRuntimeFilters } from "./shop.interactive-CVqLAU53.mjs";
7
- import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
3
+ import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
4
+ import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-kbONzKUv.mjs";
5
+ import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-4XFGzJpT.mjs";
6
+ import { Nt as buildEventRuntimeFilters, Pt as getEventRuntimeFiltersKey, jt as eventListingBlockRuntime } from "./shop.interactive-Cf_kASpd.mjs";
7
+ import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CVLAHdZG.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
9
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
10
- import { t as TabBarFragment } from "./TabBarFragment-Bkgz67gt.mjs";
11
- import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
12
- import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CLAS0upd.mjs";
10
+ import { t as TabBarFragment } from "./TabBarFragment-Cu7k_VSl.mjs";
11
+ import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
12
+ import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-DRrATQHQ.mjs";
13
13
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
15
  //#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-DclwabI7.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region \0rolldown/runtime.js
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
3
- import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-BkZc-hKH.mjs";
4
- import { Ht as CardListLeadDate, Ut as resolveCardListSchedule, Vt as CardListContentPart, Wt as selectCardListPresentation, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
5
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
2
+ import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-DclwabI7.mjs";
3
+ import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-kbONzKUv.mjs";
4
+ import { Bt as CardListContentPart, Ht as resolveCardListSchedule, Ut as selectCardListPresentation, Vt as CardListLeadDate, Yt as formatEventPrice } from "./shop.interactive-Cf_kASpd.mjs";
5
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.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/events/domain/people.ts
@@ -21,6 +21,55 @@ function formatEventTeacherLine(event) {
21
21
  return names ? `with ${names}` : null;
22
22
  }
23
23
  //#endregion
24
+ //#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
25
+ function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
26
+ return /* @__PURE__ */ jsxs("svg", {
27
+ className,
28
+ width: size,
29
+ height: size,
30
+ viewBox: "0 0 24 24",
31
+ fill: "none",
32
+ stroke: "currentColor",
33
+ strokeWidth,
34
+ strokeLinecap: "round",
35
+ strokeLinejoin: "round",
36
+ "aria-hidden": "true",
37
+ focusable: "false",
38
+ children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
39
+ cx: "12",
40
+ cy: "10",
41
+ r: "3"
42
+ })]
43
+ });
44
+ }
45
+ function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
46
+ return /* @__PURE__ */ jsxs("svg", {
47
+ className,
48
+ width: size,
49
+ height: size,
50
+ viewBox: "0 0 24 24",
51
+ fill: "none",
52
+ stroke: "currentColor",
53
+ strokeWidth,
54
+ strokeLinecap: "round",
55
+ strokeLinejoin: "round",
56
+ "aria-hidden": "true",
57
+ focusable: "false",
58
+ children: [
59
+ /* @__PURE__ */ jsx("rect", {
60
+ x: "3",
61
+ y: "4",
62
+ width: "18",
63
+ height: "18",
64
+ rx: "2"
65
+ }),
66
+ /* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
67
+ /* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
68
+ /* @__PURE__ */ jsx("path", { d: "M3 10h18" })
69
+ ]
70
+ });
71
+ }
72
+ //#endregion
24
73
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventItem.tsx
25
74
  /** Arrangement content choices are data, ready for other live offering lists to reuse. */
26
75
  const eventItemParts = {
@@ -53,6 +102,8 @@ const eventItemParts = {
53
102
  "date",
54
103
  "title",
55
104
  "meta",
105
+ "time",
106
+ "places",
56
107
  "action"
57
108
  ],
58
109
  "month-day": [
@@ -69,16 +120,31 @@ function eventItemFacts(props) {
69
120
  date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
70
121
  time: formatEventTimeRange(props.event, options),
71
122
  price: formatEventPrice(props.event),
72
- meta: [
73
- ...(props.parts ?? eventItemParts[props.arrangement]).includes("time") ? [] : [formatEventTimeRange(props.event, options)],
74
- formatEventTeacherLine(props.event),
75
- props.showVenue !== false ? props.event.venue?.name : null
76
- ].filter(Boolean).join(" · "),
123
+ meta: eventItemMeta(props),
124
+ venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
77
125
  places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
78
126
  availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
79
127
  description: props.event.presentation?.summary ?? props.event.description
80
128
  };
81
129
  }
130
+ /** Compact rows keep pricing in the details rail and time in the action rail. */
131
+ function eventItemMeta(props) {
132
+ const parts = props.parts ?? eventItemParts[props.arrangement];
133
+ const venue = props.showVenue !== false ? props.event.venue?.name : null;
134
+ const teacher = formatEventTeacherLine(props.event);
135
+ const time = parts.includes("time") ? null : formatEventTimeRange(props.event, eventDateOptions(props.event));
136
+ const price = props.arrangement === "compact" && !parts.includes("price") ? formatEventPrice(props.event) : null;
137
+ return (props.arrangement === "compact" ? [
138
+ venue,
139
+ teacher,
140
+ price,
141
+ time
142
+ ] : [
143
+ time,
144
+ teacher,
145
+ venue
146
+ ]).filter(Boolean).join(" · ");
147
+ }
82
148
  /**
83
149
  * Keep one RSC component boundary per item. Re-forwarding shared presentation
84
150
  * props through layout/part components multiplies React's development debug
@@ -112,15 +178,22 @@ function renderCalendarItem(props) {
112
178
  ...listLookSlot(props, props.arrangement === "grid" ? "item-body" : "what"),
113
179
  children: parts.filter(body).map(renderPart)
114
180
  }),
115
- parts.filter((part) => [
181
+ renderCalendarTrailingParts(props, parts.filter((part) => [
116
182
  "time",
117
183
  "places",
118
184
  "price",
119
185
  "action"
120
- ].includes(part) && !body(part)).map(renderPart)
186
+ ].includes(part) && !body(part)), renderPart)
121
187
  ]
122
188
  });
123
189
  }
190
+ function renderCalendarTrailingParts(props, parts, renderPart) {
191
+ const content = parts.map(renderPart);
192
+ return props.arrangement === "compact" && parts.length > 0 ? /* @__PURE__ */ jsx("div", {
193
+ ...listLookSlot(props, "item-actions"),
194
+ children: content
195
+ }) : content;
196
+ }
124
197
  function eventItemTag(arrangement) {
125
198
  return arrangement === "ledger" || arrangement === "day-groups" ? "li" : "article";
126
199
  }
@@ -153,9 +226,9 @@ function renderEventItemContentPart({ part, props, facts }) {
153
226
  children: props.event.title
154
227
  })
155
228
  });
156
- case "time": return /* @__PURE__ */ jsx("p", {
229
+ case "time": return /* @__PURE__ */ jsxs("p", {
157
230
  ...listLookSlot(props, "time"),
158
- children: facts.time
231
+ children: [props.arrangement === "compact" ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, facts.time]
159
232
  });
160
233
  case "places": return facts.places ? /* @__PURE__ */ jsx("p", {
161
234
  ...listLookSlot(props, "places"),
@@ -190,6 +263,7 @@ function renderEventItemMeta({ props, facts }) {
190
263
  return facts.meta || places ? /* @__PURE__ */ jsxs("p", {
191
264
  ...listLookSlot(props, "item-meta"),
192
265
  children: [
266
+ facts.venueIcon ? /* @__PURE__ */ jsx(MapPinIcon, {}) : null,
193
267
  facts.meta,
194
268
  facts.meta && places ? " · " : null,
195
269
  places ? /* @__PURE__ */ jsx("span", {
@@ -200,13 +274,15 @@ function renderEventItemMeta({ props, facts }) {
200
274
  }) : null;
201
275
  }
202
276
  function renderEventItemImage(props) {
277
+ const link = resolveEventLinkProps(props.event);
203
278
  return /* @__PURE__ */ jsx(CardListContentPart, {
204
279
  part: "media",
205
280
  item: {
206
281
  id: props.event.id,
207
282
  title: props.event.title,
208
283
  media: props.event.presentation?.image,
209
- action: { label: "" }
284
+ titleLink: link,
285
+ newTabHint: link.target === "_blank"
210
286
  },
211
287
  presentation: props
212
288
  });
@@ -392,4 +468,4 @@ function leadItemPresentation(presentation, index, count) {
392
468
  };
393
469
  }
394
470
  //#endregion
395
- export { formatEventTeacherLine as i, CardListItems as n, EventItem as r, CardListCollection as t };
471
+ export { MapPinIcon as a, CalendarIcon as i, CardListItems as n, formatEventTeacherLine as o, EventItem as r, CardListCollection as t };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
2
+ import { Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Pt as buildEventRuntimeFilters } from "./shop.interactive-CVqLAU53.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-CyH5tA6Y.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CLAS0upd.mjs";
2
+ import { Nt as buildEventRuntimeFilters } from "./shop.interactive-Cf_kASpd.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D8QdxL_f.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-DRrATQHQ.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { hn as getTextColorForBackground, in as resolveOnColorForThemeToken, mt as normalizeCardRole, nt as boxBackgroundSchema, on as resolveTokenOrCssColorValue, rn as isCssColorLiteral, rt as runtimeBoxBackgroundSchema, tt as boxBackgroundOverlaySchema } from "./schema-C-m8XHuW.mjs";
3
- import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { r as MapDrawingSvg, t as LocationMapActions } from "./LocationMapActions-Wsr83Q7q.mjs";
6
- import { Gt as MediaNodeServer, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
7
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
8
- import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BEx-qiDE.mjs";
2
+ import { Bn as getTextColorForBackground, Sn as resolveOnColorForThemeToken, W as normalizeCardRole, dt as boxBackgroundSchema, ft as runtimeBoxBackgroundSchema, ut as boxBackgroundOverlaySchema, wn as resolveTokenOrCssColorValue, xn as isCssColorLiteral } from "./schema-BFwQDvJL.mjs";
3
+ import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-DclwabI7.mjs";
4
+ import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-kbONzKUv.mjs";
5
+ import { Wt as MediaNodeServer, Yt as formatEventPrice } from "./shop.interactive-Cf_kASpd.mjs";
6
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.mjs";
7
+ import { a as MapPinIcon, i as CalendarIcon, o as formatEventTeacherLine, r as EventItem } from "./EventItem-CND3mfra.mjs";
8
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-B9oKSitp.mjs";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/transforms/registry/core.ts
@@ -358,55 +358,6 @@ function boxStyleClassNames(value, options) {
358
358
  ].filter((token) => Boolean(token)).join(" ").trim() || "";
359
359
  }
360
360
  //#endregion
361
- //#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
362
- function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
363
- return /* @__PURE__ */ jsxs("svg", {
364
- className,
365
- width: size,
366
- height: size,
367
- viewBox: "0 0 24 24",
368
- fill: "none",
369
- stroke: "currentColor",
370
- strokeWidth,
371
- strokeLinecap: "round",
372
- strokeLinejoin: "round",
373
- "aria-hidden": "true",
374
- focusable: "false",
375
- children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
376
- cx: "12",
377
- cy: "10",
378
- r: "3"
379
- })]
380
- });
381
- }
382
- function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
383
- return /* @__PURE__ */ jsxs("svg", {
384
- className,
385
- width: size,
386
- height: size,
387
- viewBox: "0 0 24 24",
388
- fill: "none",
389
- stroke: "currentColor",
390
- strokeWidth,
391
- strokeLinecap: "round",
392
- strokeLinejoin: "round",
393
- "aria-hidden": "true",
394
- focusable: "false",
395
- children: [
396
- /* @__PURE__ */ jsx("rect", {
397
- x: "3",
398
- y: "4",
399
- width: "18",
400
- height: "18",
401
- rx: "2"
402
- }),
403
- /* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
404
- /* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
405
- /* @__PURE__ */ jsx("path", { d: "M3 10h18" })
406
- ]
407
- });
408
- }
409
- //#endregion
410
361
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
411
362
  /** The category's badge, when the event has a category. */
412
363
  function eventCardCategoryBadge(category) {
@@ -590,20 +541,13 @@ function EventCardVenue(props) {
590
541
  if (!venue) return null;
591
542
  return /* @__PURE__ */ jsxs("div", {
592
543
  className: "rb-mb-3",
593
- children: [
594
- /* @__PURE__ */ jsxs("div", {
595
- className: "rb-flex rb-items-center rb-gap-2 rb-caption",
596
- children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
597
- }),
598
- props.allowMap ? /* @__PURE__ */ jsx(LocationMapActions, {
599
- location: venue.location,
600
- addressText: venue.address
601
- }) : null,
602
- props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
603
- className: "rb-mt-2",
604
- children: props.mapSlot
605
- })
606
- ]
544
+ children: [/* @__PURE__ */ jsxs("div", {
545
+ className: "rb-flex rb-items-center rb-gap-2 rb-caption",
546
+ children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
547
+ }), props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
548
+ className: "rb-mt-2",
549
+ children: props.mapSlot
550
+ })]
607
551
  });
608
552
  }
609
553
  function EventCardFooter(props) {