@riverbankcms/sdk 0.174.0 → 0.174.1

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 (171) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
  2. package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
  4. package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
  5. package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
  9. package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
  10. package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
  11. package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
  12. package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
  13. package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
  14. package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
  15. package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
  17. package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
  18. package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
  54. package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
  55. package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
  56. package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
  58. package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
  59. package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
  62. package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
  63. package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
  64. package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
  65. package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
  66. package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
  67. package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
  69. package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
  70. package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
  71. package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
  72. package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
  73. package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
  74. package/dist/client/bookings.mjs +3 -3
  75. package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
  76. package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
  77. package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
  78. package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
  79. package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
  80. package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
  81. package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
  82. package/dist/client/client.mjs +4 -3
  83. package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
  84. package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
  85. package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
  86. package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
  87. package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
  88. package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
  89. package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
  90. package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
  91. package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
  92. package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
  93. package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
  94. package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
  95. package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
  96. package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
  97. package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
  98. package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
  99. package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
  100. package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
  101. package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
  102. package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
  103. package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
  104. package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
  105. package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
  106. package/dist/client/rendering/client.mjs +20 -20
  107. package/dist/client/rendering/islands.mjs +1 -1
  108. package/dist/client/rendering.mjs +5 -6
  109. package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
  110. package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
  111. package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
  112. package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
  113. package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
  114. package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
  115. package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
  116. package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
  117. package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
  118. package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
  119. package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
  120. package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
  121. package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
  122. package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
  123. package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
  124. package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
  125. package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
  126. package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
  127. package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
  128. package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
  129. package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
  130. package/dist/preview-next/client/runtime.mjs +3 -3
  131. package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
  132. package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
  133. package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
  134. package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
  135. package/dist/preview-next/keepAlive.mjs +1 -1
  136. package/dist/preview-next/middleware.mjs +1 -1
  137. package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
  138. package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
  139. package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
  140. package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
  141. package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
  142. package/dist/server/config-validation.mjs +1 -1
  143. package/dist/server/config.mjs +2 -2
  144. package/dist/server/data/resolveBlockData.mjs +1 -1
  145. package/dist/server/index.mjs +2 -2
  146. package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
  147. package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
  148. package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
  149. package/dist/server/next.mjs +6 -6
  150. package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
  151. package/dist/server/page-converter.mjs +1 -1
  152. package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
  153. package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
  154. package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
  155. package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
  156. package/dist/server/prebuild.mjs +1 -1
  157. package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
  158. package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
  159. package/dist/server/rendering/components/pageShared.mjs +1 -1
  160. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  161. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  162. package/dist/server/rendering/server.mjs +3 -3
  163. package/dist/server/rendering.mjs +7 -7
  164. package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
  165. package/dist/server/server.mjs +3 -3
  166. package/dist/server/theme-bridge.mjs +1 -1
  167. package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
  168. package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
  169. package/dist/styles/index.css +66 -20
  170. package/package.json +1 -1
  171. package/dist/client/bookability-CE637yDE.mjs +0 -17
@@ -1,251 +1,14 @@
1
1
  "use client";
2
- import { I as resolveEventRegistrationEventSource, lt as closedRunCopy } from "./shop.interactive-CKFORzux.mjs";
3
- import { La as normalizeEventRegistrationPageSurfaceSubject, Nr as eventDateOptions, Ra as resolveEventRegistrationScopedEvents, fc as orderedLiveRunSessions, oi as groupPublicEventsByRun, pc as resolveWholeSeriesBookingPhase, pr as bookingPresentation, uc as firstLiveRunSessionStartMs } from "./display-D8MW2b0e.mjs";
2
+ import { I as resolveEventRegistrationEventSource, lt as closedRunCopy } from "./shop.interactive-DNRqG4aX.mjs";
3
+ import { Ba as normalizeEventRegistrationPageSurfaceSubject, Ga as isOrdinaryPublicEvent, Ha as resolveEventRegistrationScopedEvents, Ja as planWholeSeriesParentBooking, Jr as eventDateOptions, Ka as planDropInPanel, Lc as orderedLiveRunSessions, Qa as selectionRepresentativeEvent, Rc as resolveWholeSeriesBookingPhase, Ua as eventOccurrenceContext, Wa as getPublicEventCanonicalPath, Xa as planWholeSeriesRunSelection, Ya as planWholeSeriesParentSelection, Za as resolveSelectionBookingClosedDetail, pr as bookingPresentation, qa as planOrdinarySeriesSelection } from "./display-Cf_j5stk.mjs";
4
4
  import { Bt as formatDate, ln as toUtcIsoDateTimeString } from "./noop-D5mFWXtN.mjs";
5
5
  import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
6
- import { r as boxStyleClassNames } from "./boxStyleClassNames-CNDLpT06.mjs";
6
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-CrE3TDpW.mjs";
7
7
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
- import { t as isBookableEvent } from "./bookability-CE637yDE.mjs";
9
- import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-C7yiJrxm.mjs";
8
+ import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-C2_hFT6K.mjs";
10
9
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
10
  import React from "react";
12
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
- //#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
14
- /**
15
- * What a system-managed Event URL actually selected.
16
- *
17
- * The resolver used to assume that one returned `PublicEvent` meant one
18
- * occurrence. A whole-series Event breaks that assumption in two directions: a
19
- * parent Event path selects nothing concrete until a run is chosen, and a run
20
- * path selects a run whose identity spans every one of its sessions. This
21
- * module parses those cases once, so the renderer switches over a closed set of
22
- * page states instead of probing booking scopes at render time.
23
- *
24
- * Everything here is pure. Loading events and resolving run slugs is the
25
- * resolver's job; deciding what the page is and which runs the chooser
26
- * advertises happens here. When a run is open to join, and where it sits in its
27
- * own life, come from `@riverbankcms/core`: the same authority the
28
- * public read projection and the write-side run-facts loader use, so a run
29
- * cannot report itself open on the storefront and closed at the point of
30
- * booking.
31
- */
32
- function planWholeSeriesParentBooking(eligibleRuns) {
33
- const [first, second, ...rest] = eligibleRuns;
34
- if (!second) return {
35
- kind: "single",
36
- run: first
37
- };
38
- return eligibleRuns.every((group) => group.representative.allowsMultipleBooking) ? {
39
- kind: "bookTogether",
40
- runs: [
41
- first,
42
- second,
43
- ...rest
44
- ]
45
- } : {
46
- kind: "choice",
47
- runs: eligibleRuns
48
- };
49
- }
50
- function isOrdinaryPublicEvent(event) {
51
- return event.bookingScope === "single_occurrence";
52
- }
53
- /**
54
- * What a series' own page shows when its URL names no date.
55
- *
56
- * Two or more dates a visitor can book make a choice: the page lists every
57
- * date whose booking is open and lets the visitor pick, so a full date still
58
- * shows as full rather than vanishing. One bookable date isn't a choice, so the
59
- * page books that date. With none, the first date speaks for the page and shows
60
- * its own full or closed state.
61
- *
62
- * The caller passes every date it read for the series, not the cards a listing
63
- * happened to show, so the one-date shortcut is decided on the complete set.
64
- * "Has places" isn't enough on its own: only a date whose booking is open
65
- * counts, and a drop-in date never does.
66
- */
67
- function planOrdinarySeriesSelection(events) {
68
- const ordinary = events.filter(isOrdinaryPublicEvent);
69
- const firstSeriesId = ordinary[0]?.seriesId;
70
- if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
71
- const [first, second] = ordinary.filter(isBookableEvent);
72
- if (first && second) {
73
- const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
74
- if (a && b) return {
75
- kind: "dateChoice",
76
- dates: [
77
- a,
78
- b,
79
- ...rest
80
- ]
81
- };
82
- }
83
- const event = first ?? ordinary[0];
84
- return event ? {
85
- kind: "occurrence",
86
- event
87
- } : null;
88
- }
89
- function isOpenForBooking(event) {
90
- return event.requiresRegistration && event.bookingAvailability.kind === "open";
91
- }
92
- /**
93
- * Whether a parent Event page advertises this run.
94
- *
95
- * Visibility admission belongs to the scoped public read. Active, still-open
96
- * admitted runs are advertised, and a run that has started,
97
- * finished or been cancelled is informational wherever it appears.
98
- *
99
- * Capacity is deliberately not consulted (decision A24/A30): a full date is
100
- * still one of the dates on offer, and its own page shows the full or waitlist
101
- * state that the registration engine decides. Hiding it here would leave a
102
- * visitor unable to see that the date exists at all.
103
- */
104
- function resolveWholeSeriesChooserEligibility(group, now) {
105
- const status = group.representative.status;
106
- if (status !== void 0 && status !== "active") return {
107
- kind: "excluded",
108
- reason: "series-not-active"
109
- };
110
- const phase = resolveWholeSeriesBookingPhase(group.run, now);
111
- return phase.kind === "open" ? { kind: "eligible" } : {
112
- kind: "excluded",
113
- reason: phase.reason
114
- };
115
- }
116
- /**
117
- * Runs in the order a visitor reads them: soonest first session first.
118
- *
119
- * A run with no session left to attend has no place in the sequence, so it
120
- * sorts last rather than being given an arbitrary date.
121
- */
122
- function orderRunsBySchedule(groups) {
123
- return [...groups].sort((left, right) => {
124
- const leftStart = firstLiveRunSessionStartMs(left.run.sessions);
125
- const rightStart = firstLiveRunSessionStartMs(right.run.sessions);
126
- if (leftStart === null) return rightStart === null ? 0 : 1;
127
- if (rightStart === null) return -1;
128
- return leftStart - rightStart;
129
- });
130
- }
131
- function asNonEmpty(groups) {
132
- const [first, ...rest] = groups;
133
- return first ? [first, ...rest] : null;
134
- }
135
- /**
136
- * What a parent Event path selects.
137
- *
138
- * The scoped read admits public and unlisted runs for the offering's own page.
139
- * The chooser lists the ones still open; when none is, the most recent
140
- * admitted run supplies the page's name and copy. Runs from another offering
141
- * cannot speak for this page.
142
- */
143
- function planWholeSeriesParentSelection(input) {
144
- const offeringRuns = orderRunsBySchedule(groupPublicEventsByRun(input.events).filter((group) => group.run.eventOfferingId === input.offeringId));
145
- const eligibleRuns = asNonEmpty(offeringRuns.filter((group) => resolveWholeSeriesChooserEligibility(group, input.now).kind === "eligible"));
146
- if (eligibleRuns) return {
147
- kind: "wholeSeriesParent",
148
- admittedRuns: offeringRuns,
149
- offeringId: input.offeringId,
150
- eligibleRuns
151
- };
152
- const informationalRun = offeringRuns.at(-1);
153
- return informationalRun ? {
154
- kind: "wholeSeriesParentUnavailable",
155
- admittedRuns: offeringRuns,
156
- offeringId: input.offeringId,
157
- informationalRun,
158
- bookingClosedDetail: resolveParentBookingClosedDetail(offeringRuns, input.now)
159
- } : null;
160
- }
161
- /**
162
- * What a course page says when none of its runs is bookable.
163
- *
164
- * A run whose page is up without bookings carries its own reason, so the course
165
- * speaks for the runs it has: if any of them was live and has been taken
166
- * offline the course is closed for now, and otherwise it is waiting to open. A
167
- * course whose runs are simply cancelled, under way or finished carries no
168
- * reason at all, and the page keeps the words it already has for that.
169
- *
170
- * Only a run with a session still to come counts. A run that was paused a year
171
- * ago and whose dates have all passed says nothing about the course now, and
172
- * letting it speak would tell a visitor that a newly announced run is closed.
173
- */
174
- function resolveParentBookingClosedDetail(runs, now) {
175
- const details = runs.flatMap((group) => {
176
- const detail = group.representative.bookingClosedDetail;
177
- return detail && hasSessionAhead(group, now) ? [detail] : [];
178
- });
179
- if (details.length === 0) return null;
180
- return details.some((detail) => detail.kind === "paused") ? { kind: "paused" } : { kind: "opensSoon" };
181
- }
182
- /** Whether the run still has a session a visitor could attend. */
183
- function hasSessionAhead(group, now) {
184
- return orderedLiveRunSessions(group.run.sessions).some((session) => Date.parse(session.startsAt) > now.getTime());
185
- }
186
- /** What a targeted run path selects, when the named run projected any data. */
187
- function planWholeSeriesRunSelection(input) {
188
- const group = groupPublicEventsByRun(input.events).find((candidate) => candidate.eventSeriesId === input.eventSeriesId);
189
- if (!group) return null;
190
- return {
191
- kind: "wholeSeriesRun",
192
- offeringId: group.run.eventOfferingId,
193
- run: group
194
- };
195
- }
196
- /**
197
- * The Event record that speaks for a selection.
198
- *
199
- * Page metadata, the destination mode and the shared presentation all need one
200
- * record; every variant has one, so callers never re-derive it.
201
- */
202
- function selectionRepresentativeEvent(selection) {
203
- switch (selection.kind) {
204
- case "occurrence": return selection.event;
205
- case "dateChoice": return selection.dates[0];
206
- case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
207
- case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
208
- case "wholeSeriesRun": return selection.run.representative;
209
- }
210
- }
211
- /**
212
- * Why this page is not taking bookings, when its own state says so.
213
- *
214
- * A parent course page answers for its runs; everything else answers for the
215
- * record the page is about. `null` leaves the booking column exactly as it was.
216
- */
217
- function resolveSelectionBookingClosedDetail(selection) {
218
- switch (selection.kind) {
219
- case "occurrence": return selection.event.bookingClosedDetail ?? null;
220
- case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
221
- case "dateChoice":
222
- case "wholeSeriesParent": return null;
223
- case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
224
- }
225
- }
226
- function planDropInPanel(selection) {
227
- const detail = resolveSelectionBookingClosedDetail(selection);
228
- if (detail === null) return { kind: "comeAlong" };
229
- switch (detail.kind) {
230
- case "opensSoon":
231
- case "paused": return { kind: "notRunning" };
232
- }
233
- }
234
- function getPublicEventCanonicalPath(event) {
235
- if (event.path) return event.path;
236
- return event.destination.kind === "native" ? event.destination.path : null;
237
- }
238
- function eventOccurrenceContext(event) {
239
- return {
240
- id: event.occurrenceId,
241
- seriesId: event.seriesId,
242
- startsAt: event.startsAt,
243
- endsAt: event.endsAt,
244
- timeZone: event.timeZone,
245
- ...event.occurrenceTitle ? { overrides: { title: event.occurrenceTitle } } : {}
246
- };
247
- }
248
- //#endregion
249
12
  //#region ../blocks/src/system/runtime/nodes/event-registration/BookingPanel.tsx
250
13
  function EventBookingPanelView({ panel, pageKind, children }) {
251
14
  const body = /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(EventBookingPanelBody, { panel }), children] });
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -1,22 +1,22 @@
1
1
  "use client";
2
- import { $i as reconcileBookingPackagePurchase, Ca as resolveDateRuntimeContext, Ci as resolveBookingPaymentStep, Di as selectedBookingCollectionOptionKind, Ei as resolveDefaultBookingServiceId, Fc as unsafeAsSiteId, Fi as appointmentQuestionsRefusal, Gi as toBookingQuestionsAnswerDraft, Ii as deriveAppointmentBookingQuestions, Li as isAppointmentBookingQuestionsEvent, Mi as resolveSelectedAppointmentConsent, Ni as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Oi as toSelectedCollectionOptionKind, Pi as applyAppointmentBookingQuestionsEvent, Qi as bookingRequiresResourceSelection, Ri as needsAppointmentQuestionsRefresh, Sa as readRuntimeNow, Si as resolveAppointmentCheckoutVerificationState, Ti as resolveBookingSiteId, Vi as decideBookingQuestionsRestoration, Wi as restoreBookingQuestionsAnswers, Xi as bookingHasPackagePaymentChoices, Yi as applyBookingPaymentAdmission, Zi as bookingPackageRequestKey, _i as isSameOpenCheckout, aa as resolveBookingPurchasablePackages, at as buildReviewedBookingPaymentViewModel, bi as parseBookingCurrencyInputToCents, ci as buildBookingFormInteractiveIslandProps, di as formatBookingSubmissionPreparationError, ea as resolveBookingPackagePaymentSelection, fi as getBookingRedirectStateFromLocation, gc as resolveBookingSignupOffer, gi as isBookingServiceSlidingAmountInRange, ia as resolveBookingPaymentMode, it as buildBookingPaymentSelectionViewModel, ji as projectSelectedAppointmentConsentIntoForm, ka as leavePage, ki as formatCentsAsCurrencyInput, l as formatValidity, li as readOverrideServiceCategories, na as resolveBookingPaymentAvailability, oa as toBookingPurchasablePackages, ot as paymentChoiceDetails, pi as getBookingSuccessCopy, pr as bookingPresentation, qi as BOOKING_FORM_DATA_RESERVED_KEYS, ra as resolveBookingPaymentChoice, sa as getBookingServiceSlidingScale, sr as createSignInReturnDraftStore, st as paymentChoicePrice, ta as resolveBookingPackageSources, ui as deriveBookingFormViewState, vi as normalizeBookingFormConfig, wi as resolveBookingSelectedService, xi as prepareBookingSubmission, yi as normalizeBookingServices, zi as bookingQuestionsAnswerDraftSchema } from "./display-D8MW2b0e.mjs";
2
+ import { $i as bookingHasPackagePaymentChoices, Ai as selectedBookingCollectionOptionKind, Bi as isAppointmentBookingQuestionsEvent, Ci as parseBookingCurrencyInputToCents, Di as resolveBookingSelectedService, Ea as resolveDateRuntimeContext, Ei as resolveBookingPaymentStep, Fi as resolveSelectedAppointmentConsent, Hi as bookingQuestionsAnswerDraftSchema, Ii as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Ji as toBookingQuestionsAnswerDraft, Li as applyAppointmentBookingQuestionsEvent, Ma as leavePage, Mi as formatCentsAsCurrencyInput, Oi as resolveBookingSiteId, Pi as projectSelectedAppointmentConsentIntoForm, Qi as applyBookingPaymentAdmission, Ri as appointmentQuestionsRefusal, Si as normalizeBookingServices, Ta as readRuntimeNow, Ti as resolveAppointmentCheckoutVerificationState, Vc as resolveBookingSignupOffer, Vi as needsAppointmentQuestionsRefresh, Wi as decideBookingQuestionsRestoration, Xi as BOOKING_FORM_DATA_RESERVED_KEYS, aa as resolveBookingPaymentAvailability, at as buildReviewedBookingPaymentViewModel, bi as isSameOpenCheckout, ca as resolveBookingPurchasablePackages, di as buildBookingFormInteractiveIslandProps, ea as bookingPackageRequestKey, fi as readOverrideServiceCategories, gi as getBookingSuccessCopy, hi as getBookingRedirectStateFromLocation, ia as resolveBookingPackageSources, it as buildBookingPaymentSelectionViewModel, ji as toSelectedCollectionOptionKind, ki as resolveDefaultBookingServiceId, l as formatValidity, la as toBookingPurchasablePackages, mi as formatBookingSubmissionPreparationError, na as reconcileBookingPackagePurchase, oa as resolveBookingPaymentChoice, ol as unsafeAsSiteId, ot as paymentChoiceDetails, pi as deriveBookingFormViewState, pr as bookingPresentation, qi as restoreBookingQuestionsAnswers, ra as resolveBookingPackagePaymentSelection, sa as resolveBookingPaymentMode, sr as createSignInReturnDraftStore, st as paymentChoicePrice, ta as bookingRequiresResourceSelection, ua as getBookingServiceSlidingScale, wi as prepareBookingSubmission, xi as normalizeBookingFormConfig, yi as isBookingServiceSlidingAmountInRange, zi as deriveAppointmentBookingQuestions } from "./display-Cf_j5stk.mjs";
3
3
  import { Bt as formatDate, G as isBookingRequirementConsentFieldId, Jt as resolveBookingDisplayContext, Kt as formatTimeZoneCityLabel, Ut as formatDateTimeRange, Wt as formatTime, an as resolveBookingBusinessTimeZone, cn as parseUtcIsoDateTimeString, ln as toUtcIsoDateTimeString, mn as formatCurrencyAmount, on as resolveBookingTimeZoneId, t as logger } from "./noop-D5mFWXtN.mjs";
4
4
  import { M as unsafeAsAppointmentResourceId, N as unsafeAsAppointmentServiceId, S as formatCreditProductUnits, _ as clearWorkflowFeedback, g as okWith, m as err, o as checkBookingQuestionsAnswered, p as assertNever, v as reportWorkflowError, x as formatCreditProductBalance, y as reportWorkflowSuccess } from "./creditProducts-KYMVIH3J.mjs";
5
- import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-BnEgvJas.mjs";
5
+ import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
6
6
  import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
7
7
  import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as clientPersonPhrases, t as useAvailableSlots } from "./useAvailableSlots-CUVRD1nx.mjs";
8
8
  import { n as useBlockApi, t as BlockApiProvider } from "./context-CNlesLfF.mjs";
9
9
  import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
10
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-VeHY6WYj.mjs";
10
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CvIP5DCO.mjs";
11
11
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
12
12
  import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
13
13
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
14
14
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
15
15
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
16
16
  import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-DZMrGvBh.mjs";
17
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BuLgof7O.mjs";
18
- import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-CAyoiAGD.mjs";
19
- import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-C7yiJrxm.mjs";
17
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-d7viY_mu.mjs";
18
+ import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-CwrMzj-k.mjs";
19
+ import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-C2_hFT6K.mjs";
20
20
  import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-BVbLD4pi.mjs";
21
21
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BookingFormClient } from "./booking-form.client-D9M7TKGV.mjs";
2
+ import { t as BookingFormClient } from "./booking-form.client-Ce-mQZ7W.mjs";
3
3
  import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DAypPzSo.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/bookingForm.tsx
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { $ as resolveHeadlessEventRegistrationStatus, $n as getSingleSelectedPricingOptionId, Ji as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Jr as resolveRuntimeEventDestination, La as normalizeEventRegistrationPageSurfaceSubject, Q as resolveEventRegistrationSubmitPlan, Sa as readRuntimeNow, Ta as createHostedBlockApiConfig, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, et as resolveHeadlessEventRegistrationView, gr as resolveRegistrationDisplay, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, vi as normalizeBookingFormConfig, yi as normalizeBookingServices } from "./display-D8MW2b0e.mjs";
3
- import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-D9M7TKGV.mjs";
2
+ import { $ as resolveHeadlessEventRegistrationStatus, $n as getSingleSelectedPricingOptionId, Ba as normalizeEventRegistrationPageSurfaceSubject, Oa as createHostedBlockApiConfig, Q as resolveEventRegistrationSubmitPlan, Si as normalizeBookingServices, Ta as readRuntimeNow, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, Zi as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, et as resolveHeadlessEventRegistrationView, gr as resolveRegistrationDisplay, li as resolveRuntimeEventDestination, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, xi as normalizeBookingFormConfig } from "./display-Cf_j5stk.mjs";
3
+ import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-Ce-mQZ7W.mjs";
4
4
  import { B as publicEventSchema } from "./noop-D5mFWXtN.mjs";
5
5
  import { p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
6
6
  import { n as useBlockApi, t as BlockApiProvider } from "./context-CNlesLfF.mjs";
7
- import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-DPkRcSdw.mjs";
7
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-Dn9TpWyL.mjs";
8
8
  import * as React$1 from "react";
9
9
  import React, { useCallback, useEffect, useMemo, useReducer } from "react";
10
10
  //#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Bs as boxBackgroundSchema, Gs as itemRoleValues, Hs as boxlessCardVariantValue, Ks as openCardRoleValue, Vs as runtimeBoxBackgroundSchema, Ws as cardVariantRoleValues, zs as boxBackgroundOverlaySchema } from "./display-D8MW2b0e.mjs";
2
+ import { Rr as asPartialObject, _c as itemRoleValues, dc as boxBackgroundOverlaySchema, fc as boxBackgroundSchema, gc as cardVariantRoleValues, mc as boxlessCardVariantValue, pc as runtimeBoxBackgroundSchema, vc as openCardRoleValue } from "./display-Cf_j5stk.mjs";
3
3
  import { z } from "zod";
4
4
  z.enum(itemRoleValues);
5
5
  z.enum(cardVariantRoleValues);
@@ -16,33 +16,6 @@ function normalizeCardRole(value) {
16
16
  return normalizeCardVariantRole(value);
17
17
  }
18
18
  //#endregion
19
- //#region ../blocks/src/system/transforms/registry/core.ts
20
- /**
21
- * Safely narrows unknown values to partial object shapes used by transforms.
22
- * Arrays are intentionally excluded.
23
- */
24
- function asPartialObject(value) {
25
- if (typeof value !== "object" || value === null || Array.isArray(value)) return;
26
- return value;
27
- }
28
- function runTransforms(value, transforms, context, registry) {
29
- if (!transforms?.length) return value;
30
- return transforms.reduce((acc, step) => {
31
- const transform = registry.get(step.id);
32
- if (!transform) throw new Error(`Unknown transform: ${step.id}`);
33
- const options = transform.schema ? z.parse(transform.schema, step.options ?? {}) : step.options ?? {};
34
- return transform.run(acc, options, context);
35
- }, value);
36
- }
37
- function createTransformRegistry(definitions) {
38
- const registry = /* @__PURE__ */ new Map();
39
- for (const definition of definitions) {
40
- if (registry.has(definition.id)) continue;
41
- registry.set(definition.id, definition);
42
- }
43
- return registry;
44
- }
45
- //#endregion
46
19
  //#region ../blocks/src/system/spacing.ts
47
20
  /**
48
21
  * Type-safe spacing system for sections and containers.
@@ -366,4 +339,4 @@ function boxStyleClassNames(value, options) {
366
339
  ].filter((token) => Boolean(token)).join(" ").trim() || "";
367
340
  }
368
341
  //#endregion
369
- export { resolveSpacing as _, hasFixedFrameBackgroundMotion as a, runTransforms as b, resolveItemCardRole as c, parseRuntimeBackgroundContent as d, DEFAULT_SECTION_SPACING as f, resolveSectionMinHeight as g, isSemanticSpacing as h, fixedFrameScopeClass as i, parseBackgroundContent as l, isSectionMinHeight as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, SEMANTIC_SPACING_VALUES as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, parseBackgroundOverlay as u, asPartialObject as v, createTransformRegistry as y };
342
+ export { resolveSpacing as _, hasFixedFrameBackgroundMotion as a, resolveItemCardRole as c, parseRuntimeBackgroundContent as d, DEFAULT_SECTION_SPACING as f, resolveSectionMinHeight as g, isSemanticSpacing as h, fixedFrameScopeClass as i, parseBackgroundContent as l, isSectionMinHeight as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, SEMANTIC_SPACING_VALUES as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, parseBackgroundOverlay as u };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
3
3
  import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
4
4
  import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
3
- import { t as CartClient } from "./cart.client-RpqI56w8.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-C7QjoywZ.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
3
+ import { t as CartClient } from "./cart.client-C23E6WQ5.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
5
5
  //#region src/rendering/islands/enhancers/cart.tsx
6
6
  const decode = defineIslandPropsDecoder("cart");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as CartController } from "./shop-commerce-Bw4_BXQg.mjs";
2
+ import { t as CartController } from "./shop-commerce-DkValjZj.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
3
- import { t as CheckoutClient } from "./checkout.client-BpuPyOuJ.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-C7QjoywZ.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-DJOzqb26.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
5
5
  //#region src/rendering/islands/enhancers/checkout.tsx
6
6
  const decode = defineIslandPropsDecoder("checkout");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as CheckoutController } from "./shop-commerce-Bw4_BXQg.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-DkValjZj.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Oa as canonicalUrl } from "./display-D8MW2b0e.mjs";
2
+ import { ja as canonicalUrl } from "./display-Cf_j5stk.mjs";
3
3
  //#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
4
4
  /**
5
5
  * Build return URLs for Stripe checkout redirect.
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { Pc as parseSiteId } from "./display-D8MW2b0e.mjs";
3
- import { A as prefetchBlockDataWithFailures, E as resolveSiteCustomBlocks, T as siteBlockRenderContext, _ as buildRenderablePageOutline, ct as isSupportedLoaderEndpoint, j as materializeEntriesMedia, k as requireSdkTheme, rt as encodePublicProductCategorySelector, t as Page, v as buildSiteRenderSupport, x as projectRenderablePageOutline, y as collectMediaAssetSidecar } from "./Page--xJ23nA5.mjs";
2
+ import { al as parseSiteId } from "./display-Cf_j5stk.mjs";
3
+ import { A as prefetchBlockDataWithFailures, E as resolveSiteCustomBlocks, T as siteBlockRenderContext, _ as buildRenderablePageOutline, ct as isSupportedLoaderEndpoint, j as materializeEntriesMedia, k as requireSdkTheme, rt as encodePublicProductCategorySelector, t as Page, v as buildSiteRenderSupport, x as projectRenderablePageOutline, y as collectMediaAssetSidecar } from "./Page-BpeP9xdt.mjs";
4
4
  import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
5
5
  import { t as restoreRuntimeResponse } from "./runtimeResponse-9v8q2NBc.mjs";
6
6
  import { useEffect, useState } from "react";
@@ -37,6 +37,7 @@ const PUBLIC_READ_CACHE_POLICIES = {
37
37
  "public_passes",
38
38
  "public_memberships"
39
39
  ], "batch_only"),
40
+ getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
40
41
  resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
41
42
  listPublicRouteCandidates: content(["published_content"], "batch_only"),
42
43
  listPublicTeamMembers: content(["public_team_members"]),
@@ -11126,7 +11127,7 @@ var SimpleCache = class {
11126
11127
  //#endregion
11127
11128
  //#region src/request-options.ts
11128
11129
  /** Every API client the SDK creates sends its version as `x-sdk-version`. */
11129
- const sdkRequestOptions = { sdkVersion: "0.174.0" };
11130
+ const sdkRequestOptions = { sdkVersion: "0.174.1" };
11130
11131
  //#endregion
11131
11132
  //#region src/client/error.ts
11132
11133
  let _Symbol$for;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Jr as resolveRuntimeEventDestination, Xr as canJoinEventWaitlistOnAnyMode, Zr as formatEventRemainingPlaces, fc as orderedLiveRunSessions, pc as resolveWholeSeriesBookingPhase, ri as isEventFull, ti as getEventAvailabilityStatus } from "./display-D8MW2b0e.mjs";
2
+ import { Lc as orderedLiveRunSessions, Rc as resolveWholeSeriesBookingPhase, co as isEventFull, li as resolveRuntimeEventDestination, no as formatEventRemainingPlaces, oo as getEventAvailabilityStatus, to as canJoinEventWaitlistOnAnyMode } from "./display-Cf_j5stk.mjs";
3
3
  import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
4
4
  //#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
5
5
  /**