@riverbankcms/sdk 0.165.0 → 0.167.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 (246) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/_dts/{BlocksIslandsHydrator-CdsSMQEv.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
  4. package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-Bs3WxFgr.d.ts} +20 -258
  5. package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +26 -3
  6. package/dist/_dts/{client-BkkExozE.d.ts → client-CwsI23pj.d.ts} +13 -1
  7. package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-CAeP_-cV.d.ts} +3 -3
  8. package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
  9. package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
  10. package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
  11. package/dist/_dts/{index-DKNEgSOS.d.ts → index-5_jf52sZ.d.ts} +2 -2
  12. package/dist/_dts/{index-CQfJhOEA.d.ts → index-C20yUyob.d.ts} +1 -1
  13. package/dist/_dts/{index-CRRiddNp.d.ts → index-CS6b1B-c.d.ts} +4 -4
  14. package/dist/_dts/{index-B4ozSzFP.d.ts → index-ChpjHK0U.d.ts} +9737 -8316
  15. package/dist/_dts/{index-BdkHhyf8.d.ts → index-D7EbliE3.d.ts} +1 -1
  16. package/dist/_dts/{index-RXkE3a7M.d.ts → index-DeHDwMfu.d.ts} +4 -3
  17. package/dist/_dts/{index-DAPTSmBM.d.ts → index-RugyUnqR.d.ts} +2499 -2218
  18. package/dist/_dts/{index-C_3kdrUb.d.ts → index-bDln38Hm.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-CTqcL7CS.d.ts} +9 -6
  20. package/dist/_dts/resolveBlockData-C3s9WMPs.d.ts +136 -0
  21. package/dist/_dts/{resolvePageContent-DIQyYUi-.d.ts → resolvePageContent-JPwgRxwh.d.ts} +3 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +9 -6
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
  30. package/dist/_dts/sdk/src/data/types.d.ts +54 -0
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +9 -8
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +260 -0
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  50. package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +7 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-BDF73NzM.d.ts → types-BlaCuPLr.d.ts} +2 -2
  56. package/dist/_dts/{types-Cl0nP6al.d.ts → types-CwtTcaQP.d.ts} +3 -3
  57. package/dist/_dts/{types-mstFvhK4.d.ts → types-D-WElMCy.d.ts} +8 -7
  58. package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +31 -24
  60. package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-CCVXX1LN.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +167 -18
  62. package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +6 -6
  64. package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
  65. package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-DAeQPV76.mjs} +11 -30
  66. package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-Bus9R0bj.mjs} +137 -61
  67. package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
  68. package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-DPBLjGwj.mjs} +75 -13
  69. package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
  71. package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-CEumpN7i.mjs} +35 -51
  72. package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +113 -11
  73. package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-BVO-qx4q.mjs} +2 -2
  74. package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
  75. package/dist/client/{Page-DUr2YhFR.mjs → Page-D4_H_u9V.mjs} +23892 -32266
  76. package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
  77. package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Dptantmg.mjs} +3 -3
  78. package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-BxEGsKUx.mjs} +19 -19
  79. package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
  80. package/dist/client/{accordion-3CYNWzTS.mjs → accordion--EUHmEGa.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-BCXwOnhc.mjs} +19 -14
  82. package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-sHHcdism.mjs} +4 -4
  83. package/dist/client/bookings.mjs +6 -6
  84. package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-Cp9xPBFZ.mjs} +2 -2
  85. package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
  86. package/dist/client/{cart-CDc6x9cR.mjs → cart-CCZZC-Lq.mjs} +3 -3
  87. package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-B7JfA19I.mjs} +1 -1
  88. package/dist/client/{checkout-CkxPqSwD.mjs → checkout-CipmYL4A.mjs} +3 -3
  89. package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DraalWdH.mjs} +1 -1
  90. package/dist/client/client.mjs +9550 -17
  91. package/dist/client/{context-CBV21-9L.mjs → context-Cv3QHjAF.mjs} +11 -6
  92. package/dist/client/{cta-Bw-al3cs.mjs → cta-P2vJVTEn.mjs} +45 -28
  93. package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
  94. package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
  95. package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +4 -4
  96. package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-dLmyuPap.mjs} +2 -2
  97. package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BEhC2_-Y.mjs} +34 -20
  98. package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
  99. package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
  100. package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
  101. package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-Bih-BgQM.mjs} +4 -4
  102. package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
  103. package/dist/client/{form-L-xZOBUS.mjs → form-Bw1uuiUs.mjs} +3 -3
  104. package/dist/client/{form.client-BtpK3TZW.mjs → form.client-pZ-9gN33.mjs} +5 -5
  105. package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-PXlu6XQO.mjs} +3 -3
  106. package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-DI3DP48e.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +3 -4
  108. package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-BpJYUMd6.mjs} +2 -2
  109. package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
  110. package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
  111. package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-CSoP0cGR.mjs} +6 -6
  112. package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +2 -2
  113. package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
  114. package/dist/client/{noop-CQU7tiMg.mjs → noop-ByVtIWf4.mjs} +420 -170
  115. package/dist/client/portal/client.mjs +13 -14
  116. package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
  117. package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-DEad-Pma.mjs} +1 -1
  118. package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-G1SMXG13.mjs} +3 -3
  119. package/dist/client/{productList-CSk8sXCl.mjs → productList-B21TGdpT.mjs} +3 -3
  120. package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-B3vIBkex.mjs} +4 -5
  121. package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-B8aQhJpO.mjs} +399 -473
  122. package/dist/client/rendering/client.mjs +29 -28
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +70 -8
  125. package/dist/client/{richText-coerce-spWtx86G.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
  127. package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-B2UmrQg_.mjs} +12 -12
  128. package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
  129. package/dist/client/{shop-DscvMz86.mjs → shop-mqyoOvOK.mjs} +3 -3
  130. package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-BH-BBnA9.mjs} +13 -13
  131. package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-mdM3UMWG.mjs} +74 -36
  132. package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-CXF5wxdg.mjs} +2 -2
  133. package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
  134. package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-D56hT2u1.mjs} +26000 -16565
  135. package/dist/client/spam-protection.mjs +1 -1
  136. package/dist/client/src-DjnxOjXG.mjs +217 -0
  137. package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
  138. package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-CrC80EOG.mjs} +13 -140
  139. package/dist/client/types-sF-IrGQr.mjs +633 -0
  140. package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C4LOaI_Z.mjs} +8 -5
  141. package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
  142. package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-6Q0nToVA.mjs} +3 -3
  143. package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
  144. package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Bcs89BR5.mjs} +9 -9
  145. package/dist/client/{view-DlkCDfuN.mjs → view-BN-fxyfq.mjs} +287 -232
  146. package/dist/client/{view-DXOuduIr.mjs → view-Dh2tGoS0.mjs} +4 -4
  147. package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DtkhwKXK.mjs} +468 -149
  148. package/dist/preview-next/before-render.mjs +3 -140
  149. package/dist/preview-next/client/ArrangementLookControls-D4VjPs-r.mjs +31197 -0
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
  151. package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
  153. package/dist/preview-next/client/PreviewEditorSidebar-Ckr2zk_L.mjs +37247 -0
  154. package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-KOZgw_gS.mjs} +45 -17
  155. package/dist/preview-next/client/PreviewShell-CyO2V4kB.mjs +4757 -0
  156. package/dist/preview-next/client/SdkPreviewModeRuntime-DW3uKvNF.mjs +4258 -0
  157. package/dist/preview-next/client/SiteChromeCustomizeButton-CU9VD-7O.mjs +72202 -0
  158. package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
  159. package/dist/preview-next/client/{lucide-react-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
  160. package/dist/preview-next/client/previewAssistantSlot-DBi-WybM.mjs +112193 -0
  161. package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-BhkUJst9.mjs} +90 -28
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/sdk-runtime-BjCb6lOn.mjs +5 -0
  164. package/dist/preview-next/client/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus-CKxTaC3j.mjs} +40 -3
  165. package/dist/preview-next/client/useBlockCustomizeControls-B7MLTjBX.mjs +2633 -0
  166. package/dist/preview-next/client/useOpenBlockForSetup-BTUc0g9X.mjs +28 -0
  167. package/dist/preview-next/keepAlive.mjs +25 -2
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bv3nkdpV.mjs} +215 -118
  170. package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-4fMqzltx.mjs} +7 -4
  171. package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-C72VC_lR.mjs} +894 -2556
  172. package/dist/server/accessibleSurfaces-B_Y_dA20.mjs +2305 -0
  173. package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-ConMYJ2U.mjs} +2 -3
  174. package/dist/server/{publicProducts-Bz8loTRn.mjs → client-Cot-H5fQ.mjs} +2558 -343
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +33 -2
  177. package/dist/server/data/dataLoaderContext.mjs +2 -0
  178. package/dist/server/data/resolveBlockData.mjs +2 -0
  179. package/dist/server/data/types.mjs +1 -0
  180. package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
  181. package/dist/server/identity-Bn9OQiT1.mjs +6 -0
  182. package/dist/server/index.mjs +3 -3
  183. package/dist/server/{loadContent-dEEhQxL7.mjs → loadContent-BkaWYEwt.mjs} +6 -5
  184. package/dist/server/{loadPage-DBFBad8A.mjs → loadPage-kviUdH8c.mjs} +4 -2
  185. package/dist/server/manifest.mjs +1 -1
  186. package/dist/server/media-DnlczCMA.mjs +231 -0
  187. package/dist/server/metadata.mjs +5 -1
  188. package/dist/server/mode-Cv_TG9gP.mjs +63 -0
  189. package/dist/server/next/revalidate.mjs +9 -4
  190. package/dist/server/next.mjs +11 -11
  191. package/dist/server/opaqueSurface-BTnS09GS.mjs +54 -0
  192. package/dist/server/{overrideResolution-BIJbiXYc.mjs → overrideResolution-itXZCXs7.mjs} +2 -1
  193. package/dist/server/overrides-CD4d-1w7.mjs +177 -0
  194. package/dist/server/page-converter.mjs +243 -91
  195. package/dist/server/pageRenderPlan-CDyn7iLy.mjs +4162 -0
  196. package/dist/server/{themeAdmission-CSknYpxk.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +13 -28
  197. package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-Q_Vij87H.mjs} +3808 -1928
  198. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +52 -0
  199. package/dist/server/{prebuild-DaemmWQL.mjs → prebuild-DOG4MkOy.mjs} +1 -1
  200. package/dist/server/prebuild.mjs +1 -1
  201. package/dist/server/prefetchBlockData-DlprLLsc.mjs +756 -0
  202. package/dist/server/{registry-Cdvz1OtL.mjs → registry-BPFcpn6k.mjs} +21838 -709
  203. package/dist/server/rendering/components/pageShared.mjs +2 -0
  204. package/dist/server/rendering/helpers/loadPage.mjs +2 -0
  205. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
  206. package/dist/server/rendering/server.mjs +5 -4
  207. package/dist/server/rendering/themeAdmission.mjs +2 -0
  208. package/dist/server/rendering.mjs +11 -10
  209. package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
  210. package/dist/server/{resolveBlockData-CLpAJWWf.mjs → resolveBlockData-BHvfGD4y.mjs} +6 -48
  211. package/dist/server/resolveButtonColourStates-OXFRGn5M.mjs +2682 -0
  212. package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
  213. package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
  214. package/dist/server/routing.mjs +1 -1
  215. package/dist/server/schema-DEizlyi4.mjs +2524 -0
  216. package/dist/server/server.mjs +3 -3
  217. package/dist/server/theme-bridge.mjs +1031 -1
  218. package/dist/server/theme.mjs +2 -1
  219. package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
  220. package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
  221. package/dist/server/validation-CDd6m8Ry.mjs +140 -0
  222. package/dist/server/{validation-DYxhLzqQ.mjs → validation-bl6WcAi_.mjs} +419 -3
  223. package/dist/server/{version-Beu4q-Gv.mjs → version-BLXZ31S-.mjs} +1 -1
  224. package/dist/styles/index.css +710 -29
  225. package/package.json +39 -1
  226. package/dist/client/events-BmqPeeQm.mjs +0 -20
  227. package/dist/client/purchase-BV5xfaZH.mjs +0 -894
  228. package/dist/client/schema-BdSglH2X.mjs +0 -16084
  229. package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
  230. package/dist/client/src-VIsPY-kw.mjs +0 -62
  231. package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
  232. package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
  233. package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
  234. package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
  235. package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
  236. package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
  237. package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
  238. package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
  239. package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
  240. package/dist/server/client-DfMDbZ41.mjs +0 -2330
  241. package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
  242. package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
  243. package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
  244. package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
  245. package/dist/server/site-styles-CntHn2KI.mjs +0 -793
  246. package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
@@ -1,15 +1,24 @@
1
1
  "use client";
2
+ import { c as parseCanonicalMediaIdentifier, d as unsafeAsStorageBucketName, f as unsafeAsStoragePath, h as ok$1, m as err, o as resolveManagedMediaReference, p as parseUuidBrand, u as unsafeAsMediaAssetId } from "./surfaceTransportMarker-BXepAVF6.mjs";
3
+ import { $ as blockBookingPaymentTermsSchema, Bt as formatCurrencyAmount, Ct as toScheduledBookingDateTime, Et as compareLocalScheduleDates, Ft as parseUtcIsoDateTimeString, It as toUtcIsoDateTimeString, Lt as validateBookingPaymentOptionKinds, Mt as resolveBookingBusinessTimeZone, Nt as resolveBookingTimeZoneId, Ot as getBookingLocalDateKey, Pt as toBookingTimeZone, Q as toBookingRequirementConsentField, T as eventCalendarListLayoutValues, Y as blockBookingConsentSchema, _t as formatTime$2, b as eventCalendarDefaultViewValues, bt as inferSiteDateLocale, gt as formatDateTimeRange, ht as formatDateTime, jt as parseLocalScheduleTime, kt as getLocalScheduleDate, l as normalizeCurrencyCode, mt as formatDateRange, n as blockSiteTermsSchema, pt as formatDate$2, vt as formatTimeRange, x as eventCalendarDisplayModeValues, xt as resolveBookingDisplayContext, zt as toNonNegativeCents } from "./noop-ByVtIWf4.mjs";
4
+ import { c as addIntervalPreservingMonthAnchor, d as getBookingInstalmentDepositRefundability, f as getBookingInstalmentPlanIntervalCount, g as resolveFlexibleBalanceInitialPaymentCents, h as resolveFlexibleBalanceDueAt, l as clampConfiguredAmount, m as splitAmountWithRemainderInFirst, p as omitZeroAmountFutureRows, t as assertNever$2, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
5
+ import { Aa as PUBLIC_BUTTON_ROLES, Ai as mergeStyles, Di as backgroundColorStyle, Ia as runtimeMediaSchema, Ii as opaqueSurfaceDeclarations, Ni as textColorStyle, m as arrangementSlotNames, o as selectItemSurfacePresentation, r as parseArrangementSlotSurface } from "./site-styles-D56hT2u1.mjs";
2
6
  import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
3
- import { Mr as unsafeAsStoragePath, Nr as err, Or as unsafeAsMediaAssetId, Pr as ok$1, Zt as parseResolvedSurface, _n as opaqueSurfaceDeclarations, br as parseEventSeriesId, cn as backgroundColorStyle, cr as runtimeMediaSchema, dn as mergeStyles, er as PUBLIC_BUTTON_ROLES, fr as resolveManagedMediaReference, jr as unsafeAsStorageBucketName, mr as parseCanonicalMediaIdentifier, pn as textColorStyle, yr as parseEventOfferingId } from "./schema-BdSglH2X.mjs";
4
- import { _ as getBookingInstalmentPlanIntervalCount, a as checkoutCopy, b as formatCurrencyAmount, c as planCheckoutPaymentFlow, d as repriceBookingCollectionOptions, f as resolveAvailableBookingCollectionOptions, l as planFlexibleBalanceCreditFirst, m as getBookingLaterInstalments, o as getStripeMinimumChargeRequirement, p as resolveBookingCollectionOptionFacts, u as isBookingCollectionEquivalentToUpfront } from "./purchase-BV5xfaZH.mjs";
5
- import { c as assertNever, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-CQU7tiMg.mjs";
7
- import { p as arrangementSlotNames } from "./site-styles-CWHmlVT5.mjs";
8
- import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
9
- import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-CwT6ZOm7.mjs";
7
+ import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
8
+ import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-BLo4NtjP.mjs";
10
9
  import React from "react";
11
10
  import { z } from "zod";
12
11
  import { Fragment, jsx } from "react/jsx-runtime";
12
+ //#region ../core/src/branded/events.ts
13
+ const unsafeAsEventOfferingId = (id) => id;
14
+ const unsafeAsEventSeriesId = (id) => id;
15
+ const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOfferingId);
16
+ const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
17
+ //#endregion
18
+ //#region ../core/src/branded/identity.ts
19
+ const unsafeAsSiteId = (id) => id;
20
+ const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
21
+ //#endregion
13
22
  //#region ../core/src/planner.ts
14
23
  /** Default clock for production callers that do not inject time explicitly. */
15
24
  const systemPlanningClock = { now: () => Date.now() };
@@ -32,7 +41,7 @@ function isPublicEventPricingOptionDisplayable(option) {
32
41
  case "not_on_sale_yet":
33
42
  case "sale_ended":
34
43
  case "attendance_mode_unavailable": return false;
35
- default: return assertNever(reason);
44
+ default: return assertNever$1(reason);
36
45
  }
37
46
  }
38
47
  function publicEventPricingDisplay(pricing) {
@@ -173,7 +182,7 @@ function canonicalEventPricingDisplay(pricing) {
173
182
  currency: pricing.currency,
174
183
  purpose: "configured"
175
184
  });
176
- default: return assertNever(pricing);
185
+ default: return assertNever$1(pricing);
177
186
  }
178
187
  }
179
188
  /**
@@ -192,7 +201,7 @@ function formatBookingPriceDisplay(display, options = {}) {
192
201
  case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)} - ${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
193
202
  case "unavailable": return "Pricing unavailable";
194
203
  case "external": return display.label;
195
- default: return assertNever(display);
204
+ default: return assertNever$1(display);
196
205
  }
197
206
  }
198
207
  /** Render an event's price directly from its pricing value. */
@@ -246,7 +255,7 @@ function parseEventPageSurfaceDestinationMode(value) {
246
255
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
247
256
  }
248
257
  function parseEventPageSurfaceSubject(value) {
249
- if (!isRecord$7(value)) return err({ kind: "notObject" });
258
+ if (!isRecord$6(value)) return err({ kind: "notObject" });
250
259
  const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err({
251
260
  kind: "unsupportedSubject",
252
261
  subjectKind: value.kind
@@ -304,7 +313,7 @@ function parseEventSeriesIdList(values) {
304
313
  }
305
314
  return ok$1(parsed);
306
315
  }
307
- function isRecord$7(value) {
316
+ function isRecord$6(value) {
308
317
  return typeof value === "object" && value !== null && !Array.isArray(value);
309
318
  }
310
319
  //#endregion
@@ -337,51 +346,23 @@ function parsePositiveInteger(value) {
337
346
  function parseNewsletterListId(value) {
338
347
  return parseTrimmedMatchingString(typeof value === "string" ? value.toLowerCase() : value, UUID_PATTERN);
339
348
  }
340
- function parseMailchimpAccountId(value) {
341
- return parseTrimmedMatchingString(value, OPAQUE_ID_PATTERN);
342
- }
343
349
  function parseMailchimpAudienceId(value) {
344
350
  return parseTrimmedMatchingString(value, OPAQUE_ID_PATTERN);
345
351
  }
346
352
  function parseMailchimpInterestId(value) {
347
353
  return parseTrimmedMatchingString(value, OPAQUE_ID_PATTERN);
348
354
  }
349
- function parseBrevoAccountId(value) {
350
- return parseTrimmedMatchingString(value, OPAQUE_ID_PATTERN);
351
- }
352
355
  function parseBrevoListId(value) {
353
356
  return parsePositiveInteger(value);
354
357
  }
355
358
  //#endregion
356
359
  //#region ../core/src/mailing-list-setup.ts
357
- function isRecord$6(value) {
358
- return typeof value === "object" && value !== null && !Array.isArray(value);
359
- }
360
360
  const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
361
361
  /**
362
362
  * Seeded into a new setup so every signup form carries a preferences/unsubscribe
363
363
  * reassurance out of the box. Administrators can edit or clear it.
364
364
  */
365
365
  const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
366
- function parseMailingListProviderScope(value) {
367
- if (!isRecord$6(value)) return err("invalid_mailing_list_provider_scope");
368
- if (value.provider === "native") return ok$1({ provider: "native" });
369
- if (value.provider === "brevo") {
370
- const accountId = parseBrevoAccountId(value.accountId);
371
- return accountId !== null ? ok$1({
372
- provider: "brevo",
373
- accountId
374
- }) : err("invalid_mailing_list_provider_scope");
375
- }
376
- if (value.provider === "mailchimp") {
377
- const accountId = parseMailchimpAccountId(value.accountId);
378
- return accountId !== null ? ok$1({
379
- provider: "mailchimp",
380
- accountId
381
- }) : err("invalid_mailing_list_provider_scope");
382
- }
383
- return err("invalid_mailing_list_provider_scope");
384
- }
385
366
  z.unknown().transform((value, ctx) => {
386
367
  const parsed = parseNewsletterAudience(value);
387
368
  if (parsed.ok) return parsed.value;
@@ -995,6 +976,59 @@ function rotateNormalizedPoint(point, rotation) {
995
976
  }
996
977
  }
997
978
  //#endregion
979
+ //#region ../blocks/src/primitives/content/utils/sanitizeHref.ts
980
+ const SAFE_PROTOCOLS = /* @__PURE__ */ new Set([
981
+ "http:",
982
+ "https:",
983
+ "mailto:",
984
+ "tel:"
985
+ ]);
986
+ const CONTROL_CHARS_PATTERN = /[\u0000-\u001F\u007F]+/g;
987
+ function normalizeInput(value) {
988
+ return value.replace(CONTROL_CHARS_PATTERN, "").trim();
989
+ }
990
+ function decodeForSchemeCheck(value) {
991
+ try {
992
+ return decodeURIComponent(value);
993
+ } catch {
994
+ return value;
995
+ }
996
+ }
997
+ /**
998
+ * Returns a safe href for rich-text anchors, or null when the value should not be rendered.
999
+ *
1000
+ * Policy:
1001
+ * - Allow absolute URLs with protocols: http, https, mailto, tel.
1002
+ * - Allow root-relative ("/path") and hash-only ("#section") links.
1003
+ * - Reject protocol-relative URLs ("//example.com"), bare domains ("example.com"),
1004
+ * backslashes, executable schemes (javascript/data/vbscript), malformed URLs, and empty values.
1005
+ * - Preserve percent-encoding from the original normalized input.
1006
+ */
1007
+ function sanitizeHref(raw) {
1008
+ if (typeof raw !== "string") return null;
1009
+ const normalized = normalizeInput(raw);
1010
+ if (!normalized) return null;
1011
+ if (normalized.includes("\\") || normalized.startsWith("//")) return null;
1012
+ if (normalized.startsWith("/")) return normalized;
1013
+ if (normalized.startsWith("#")) return normalized;
1014
+ return sanitizeAbsoluteHref(normalized);
1015
+ }
1016
+ function sanitizeAbsoluteHref(normalized) {
1017
+ const schemeMatch = normalizeInput(decodeForSchemeCheck(normalized)).match(/^([a-zA-Z][a-zA-Z0-9+.-]*):/);
1018
+ if (!schemeMatch) return null;
1019
+ const rawScheme = schemeMatch[1];
1020
+ if (!rawScheme) return null;
1021
+ const protocol = `${rawScheme.toLowerCase()}:`;
1022
+ if (!SAFE_PROTOCOLS.has(protocol)) return null;
1023
+ try {
1024
+ const parsed = new URL(normalized);
1025
+ if (!SAFE_PROTOCOLS.has(parsed.protocol.toLowerCase())) return null;
1026
+ } catch {
1027
+ return null;
1028
+ }
1029
+ return normalized;
1030
+ }
1031
+ //#endregion
998
1032
  //#region ../blocks/src/pageRenderItemRoles.ts
999
1033
  /** Zero-based index; 1-based parity. Last > first > odd-count middle > parity.
1000
1034
  * The declared featured role takes precedence over every position.
@@ -1030,7 +1064,7 @@ function resolvedItemSurfaceProps(surface, slot, style = void 0) {
1030
1064
  }
1031
1065
  const resolvedSurfaceSchema = z.unknown().transform((value, context) => {
1032
1066
  try {
1033
- return parseResolvedSurface(value);
1067
+ return parseArrangementSlotSurface(value);
1034
1068
  } catch {
1035
1069
  context.addIssue({
1036
1070
  code: "custom",
@@ -1039,6 +1073,15 @@ const resolvedSurfaceSchema = z.unknown().transform((value, context) => {
1039
1073
  return z.NEVER;
1040
1074
  }
1041
1075
  });
1076
+ const slotPresentationSchema = z.object({
1077
+ slots: z.record(z.string(), resolvedSurfaceSchema),
1078
+ states: z.record(z.string(), z.record(z.string(), resolvedSurfaceSchema))
1079
+ });
1080
+ const surfacePresentationSchema = slotPresentationSchema.extend({ items: z.object({
1081
+ card: slotPresentationSchema,
1082
+ statement: slotPresentationSchema,
1083
+ highlight: slotPresentationSchema
1084
+ }) });
1042
1085
  const lookListPresentationSchemaShape = {
1043
1086
  sectionAction: z.object({
1044
1087
  label: z.string(),
@@ -1078,19 +1121,14 @@ const lookListPresentationSchemaShape = {
1078
1121
  "highlight"
1079
1122
  ])).optional()
1080
1123
  }).optional(),
1081
- roleSurfaces: z.record(z.enum([
1082
- "card",
1083
- "statement",
1084
- "highlight"
1085
- ]), resolvedSurfaceSchema).optional(),
1086
1124
  panelHeading: z.string().optional(),
1087
1125
  lookSlots: z.partialRecord(z.enum(arrangementSlotNames), z.enum(arrangementSlotNames)).optional(),
1088
- itemSurfaces: z.record(z.string(), resolvedSurfaceSchema).optional()
1126
+ surfacePresentation: surfacePresentationSchema.optional()
1089
1127
  };
1090
- function listLookSlot(presentation, slot) {
1128
+ function listLookSlot(presentation, slot, state) {
1091
1129
  const name = presentation.lookSlots?.[slot];
1092
1130
  if (name === void 0) return {};
1093
- const surface = presentation.itemSurfaces?.[slot];
1131
+ const surface = (state ? presentation.surfacePresentation?.states[slot]?.[state] : void 0) ?? presentation.surfacePresentation?.slots[slot];
1094
1132
  return {
1095
1133
  "data-slot": name,
1096
1134
  ...surface === void 0 ? { "data-surface": "section" } : resolvedItemSurfaceProps(surface, slot)
@@ -1108,15 +1146,9 @@ function resolvedSurfaceBackground(surface, token) {
1108
1146
  /** Pagination uses the displayed collection, just as declarative repeaters do. */
1109
1147
  function listItemPresentation(presentation, index, count, featured = false) {
1110
1148
  const role = presentation.itemRoles ? itemRole(index, count, presentation.itemRoles, featured) : void 0;
1111
- const surface = role ? presentation.roleSurfaces?.[role] : void 0;
1112
- return surface ? {
1149
+ return presentation.surfacePresentation ? {
1113
1150
  ...presentation,
1114
- itemSurfaces: {
1115
- ...presentation.itemSurfaces,
1116
- item: surface,
1117
- row: surface,
1118
- "row-continued": surface
1119
- }
1151
+ surfacePresentation: selectItemSurfacePresentation(presentation.surfacePresentation, role)
1120
1152
  } : presentation;
1121
1153
  }
1122
1154
  //#endregion
@@ -1161,6 +1193,320 @@ function defineProgressiveBlockRuntime(runtime) {
1161
1193
  function defineClientOwnedBlockRuntime(runtime) {
1162
1194
  return runtime;
1163
1195
  }
1196
+ //#endregion
1197
+ //#region ../commerce/src/utils/assertNever.ts
1198
+ function assertNever(value, message) {
1199
+ if (message) throw new Error(message);
1200
+ throw new Error(`Unexpected value: ${String(value)}`);
1201
+ }
1202
+ //#endregion
1203
+ //#region ../commerce/src/purchase/bookingInstalmentSchedule.ts
1204
+ function resolveBookingInitialInstalmentAmountCents(input) {
1205
+ const totalAmountCents = Math.max(0, input.totalAmountCents);
1206
+ switch (input.plan.kind) {
1207
+ case "deposit_plus_one_remainder":
1208
+ case "deposit_plus_scheduled_instalments": return clampConfiguredAmount(input.plan.depositAmountCents, totalAmountCents);
1209
+ case "equal_scheduled_instalments": return splitAmountWithRemainderInFirst(totalAmountCents, input.plan.instalmentCount)[0] ?? 0;
1210
+ default: return assertNever(input.plan);
1211
+ }
1212
+ }
1213
+ function buildBookingInstalmentSchedule(input) {
1214
+ const totalAmountCents = Math.max(0, input.totalAmountCents);
1215
+ switch (input.plan.kind) {
1216
+ case "deposit_plus_one_remainder": {
1217
+ const depositAmountCents = resolveBookingInitialInstalmentAmountCents(input);
1218
+ const remainderAmountCents = Math.max(0, totalAmountCents - depositAmountCents);
1219
+ return omitZeroAmountFutureRows([createScheduleRow({
1220
+ sequence: 1,
1221
+ stateAtBooking: "paid_today",
1222
+ dueAt: input.anchorAt,
1223
+ amountCents: depositAmountCents
1224
+ }), createScheduleRow({
1225
+ sequence: 2,
1226
+ stateAtBooking: "scheduled",
1227
+ dueAt: addIntervalPreservingMonthAnchor(input.anchorAt, input.plan.remainderDueCount, input.plan.intervalUnit),
1228
+ amountCents: remainderAmountCents
1229
+ })]);
1230
+ }
1231
+ case "deposit_plus_scheduled_instalments": {
1232
+ const plan = input.plan;
1233
+ const depositAmountCents = resolveBookingInitialInstalmentAmountCents(input);
1234
+ const instalmentAmounts = splitAmountWithRemainderInFirst(Math.max(0, totalAmountCents - depositAmountCents), plan.instalmentCount);
1235
+ return omitZeroAmountFutureRows([createScheduleRow({
1236
+ sequence: 1,
1237
+ stateAtBooking: "paid_today",
1238
+ dueAt: input.anchorAt,
1239
+ amountCents: depositAmountCents
1240
+ }), ...instalmentAmounts.map((amountCents, index) => createScheduleRow({
1241
+ sequence: index + 2,
1242
+ stateAtBooking: "scheduled",
1243
+ dueAt: addIntervalPreservingMonthAnchor(input.anchorAt, plan.intervalCount * (index + 1), plan.intervalUnit),
1244
+ amountCents
1245
+ }))]);
1246
+ }
1247
+ case "equal_scheduled_instalments": {
1248
+ const plan = input.plan;
1249
+ return omitZeroAmountFutureRows(splitAmountWithRemainderInFirst(totalAmountCents, plan.instalmentCount).map((amountCents, index) => createScheduleRow({
1250
+ sequence: index + 1,
1251
+ stateAtBooking: index === 0 ? "paid_today" : "scheduled",
1252
+ dueAt: index === 0 ? input.anchorAt : addIntervalPreservingMonthAnchor(input.anchorAt, plan.intervalCount * index, plan.intervalUnit),
1253
+ amountCents
1254
+ })));
1255
+ }
1256
+ default: return assertNever(input.plan);
1257
+ }
1258
+ }
1259
+ function createScheduleRow(input) {
1260
+ return {
1261
+ id: `payment-${input.sequence}`,
1262
+ sequence: input.sequence,
1263
+ stateAtBooking: input.stateAtBooking,
1264
+ dueAt: input.dueAt,
1265
+ amountCents: input.amountCents
1266
+ };
1267
+ }
1268
+ /** Resolve real rows first: zero future payments do not extend the deadline. */
1269
+ function canInstalmentPlanCompleteBefore(input) {
1270
+ const deadline = Date.parse(input.deadline);
1271
+ if (!Number.isFinite(Date.parse(input.now)) || !Number.isFinite(deadline)) return false;
1272
+ return input.schedule.every((row) => Date.parse(row.dueAt) < deadline);
1273
+ }
1274
+ /** Later obligations are identified by their state, never their position. */
1275
+ function getBookingLaterInstalments(schedule) {
1276
+ return schedule.filter((row) => row.stateAtBooking === "scheduled");
1277
+ }
1278
+ //#endregion
1279
+ //#region ../commerce/src/purchase/bookingPaymentSelection.ts
1280
+ /** Identity is decided against the authoritative quote, before display repricing. */
1281
+ function resolveAvailableBookingCollectionOptions(input) {
1282
+ const deadline = input.instalmentCollectionDeadlineAt === void 0 ? input.bookingStartAt : input.instalmentCollectionDeadlineAt;
1283
+ const configured = input.paymentTerms.allowedOptions;
1284
+ if (!validateBookingPaymentOptionKinds(configured.map((option) => option.kind)).ok) return [];
1285
+ const available = configured.filter((option) => option.kind !== "instalment_plan" || Number.isFinite(Date.parse(input.now))).map((option) => resolveBookingCollectionOptionFacts({
1286
+ option,
1287
+ totalCents: input.totalCents,
1288
+ anchorAt: input.now,
1289
+ bookingStartAt: input.bookingStartAt
1290
+ })).filter((option) => option.kind !== "instalment_plan" || deadline !== null && canInstalmentPlanCompleteBefore({
1291
+ now: input.now,
1292
+ deadline,
1293
+ schedule: option.schedule
1294
+ }));
1295
+ const upfront = resolveBookingCollectionOptionFacts({
1296
+ option: { kind: "upfront" },
1297
+ totalCents: input.totalCents,
1298
+ anchorAt: input.now,
1299
+ bookingStartAt: input.bookingStartAt
1300
+ });
1301
+ const collapsed = available.map((option) => isBookingCollectionEquivalentToUpfront(option) ? upfront : option);
1302
+ const unique = collapsed.filter((option, index) => collapsed.findIndex((other) => other.kind === option.kind) === index);
1303
+ return unique.length > 0 ? unique : [upfront];
1304
+ }
1305
+ function isBookingCollectionEquivalentToUpfront(option) {
1306
+ switch (option.kind) {
1307
+ case "upfront": return true;
1308
+ case "deferred_manual": return false;
1309
+ case "flexible_balance": return option.config.depositRefundability === "refundable" && option.dueNowCents === option.totalCents;
1310
+ case "instalment_plan": return option.depositRefundability !== "non_refundable" && option.schedule.length === 1;
1311
+ default: return assertNever(option);
1312
+ }
1313
+ }
1314
+ function resolveBookingCollectionOptionFacts(input) {
1315
+ const money = {
1316
+ totalCents: input.totalCents,
1317
+ anchorAt: input.anchorAt,
1318
+ bookingStartAt: input.bookingStartAt
1319
+ };
1320
+ switch (input.option.kind) {
1321
+ case "upfront": return {
1322
+ ...money,
1323
+ kind: "upfront",
1324
+ dueNowCents: input.totalCents
1325
+ };
1326
+ case "deferred_manual": return {
1327
+ ...money,
1328
+ kind: "deferred_manual",
1329
+ dueNowCents: 0
1330
+ };
1331
+ case "instalment_plan": {
1332
+ const schedule = buildBookingInstalmentSchedule({
1333
+ anchorAt: input.anchorAt,
1334
+ totalAmountCents: input.totalCents,
1335
+ plan: input.option.plan
1336
+ });
1337
+ return {
1338
+ ...money,
1339
+ kind: "instalment_plan",
1340
+ plan: input.option.plan,
1341
+ schedule,
1342
+ dueNowCents: schedule[0]?.amountCents ?? 0,
1343
+ depositRefundability: getBookingInstalmentDepositRefundability(input.option.plan)
1344
+ };
1345
+ }
1346
+ case "flexible_balance": {
1347
+ const dueNowCents = resolveFlexibleBalanceInitialPaymentCents({
1348
+ totalAmountCents: input.totalCents,
1349
+ config: input.option.config
1350
+ });
1351
+ return {
1352
+ ...money,
1353
+ kind: "flexible_balance",
1354
+ config: input.option.config,
1355
+ dueNowCents,
1356
+ remainingBalanceCents: Math.max(0, input.totalCents - dueNowCents),
1357
+ balanceDueAt: resolveFlexibleBalanceDueAt({
1358
+ bookingStartAt: input.bookingStartAt ?? input.anchorAt,
1359
+ dueDateRule: input.option.config.dueDateRule
1360
+ })
1361
+ };
1362
+ }
1363
+ default: return assertNever(input.option);
1364
+ }
1365
+ }
1366
+ /** Discounts change preview money, never an already admitted collection identity. */
1367
+ function repriceBookingCollectionOptions(input) {
1368
+ return input.options.map((option) => option.totalCents === input.totalCents ? option : resolveBookingCollectionOptionFacts({
1369
+ option,
1370
+ totalCents: input.totalCents,
1371
+ anchorAt: option.anchorAt,
1372
+ bookingStartAt: option.bookingStartAt
1373
+ }));
1374
+ }
1375
+ //#endregion
1376
+ //#region ../commerce/src/purchase/checkoutPaymentFlow.ts
1377
+ function planCheckoutPaymentFlow(options) {
1378
+ const amountDueCents = toNonNegativeCents(options.amountDueCents);
1379
+ const discountCents = toNonNegativeCents(options.discountCents);
1380
+ const availableCreditCents = toNonNegativeCents(options.availableCreditCents);
1381
+ const minimumStripeChargeCents = toNonNegativeCents(options.minimumStripeChargeCents ?? 0);
1382
+ if (amountDueCents <= 0) return {
1383
+ kind: "bypass",
1384
+ bypassReason: discountCents > 0 ? "discount_free" : "free",
1385
+ reserveCreditCents: 0
1386
+ };
1387
+ if (!options.creditCurrencyMatches || availableCreditCents <= 0) return {
1388
+ kind: "stripe",
1389
+ reserveCreditCents: toNonNegativeCents(0)
1390
+ };
1391
+ if (availableCreditCents >= amountDueCents) return {
1392
+ kind: "store_credit_only",
1393
+ reserveCreditCents: amountDueCents
1394
+ };
1395
+ return {
1396
+ kind: "stripe",
1397
+ reserveCreditCents: planMixedPaymentCreditReservation({
1398
+ amountDueCents,
1399
+ availableCreditCents,
1400
+ minimumStripeChargeCents
1401
+ })
1402
+ };
1403
+ }
1404
+ function planMixedPaymentCreditReservation(input) {
1405
+ const chargeAfterFullCredit = input.amountDueCents - input.availableCreditCents;
1406
+ if (input.minimumStripeChargeCents <= 0 || chargeAfterFullCredit <= 0 || chargeAfterFullCredit >= input.minimumStripeChargeCents) return input.availableCreditCents;
1407
+ if (input.amountDueCents < input.minimumStripeChargeCents) return toNonNegativeCents(0);
1408
+ return toNonNegativeCents(input.amountDueCents - input.minimumStripeChargeCents);
1409
+ }
1410
+ /**
1411
+ * Apply site credit to a flexible-balance booking before card payment.
1412
+ *
1413
+ * Credit first reduces the configured payment due now. Once that payment is
1414
+ * covered, any remaining credit reduces the later balance. If a partial credit
1415
+ * application would leave a positive card charge below Stripe's minimum, less
1416
+ * credit is used so the configured payment can still be collected.
1417
+ */
1418
+ function planFlexibleBalanceCreditFirst(input) {
1419
+ const totalCents = toNonNegativeCents(input.totalAfterDiscountCents);
1420
+ const configuredDueNowCents = toNonNegativeCents(Math.min(input.configuredPaymentDueNowCents, totalCents));
1421
+ const availableCreditCents = toNonNegativeCents(input.creditCurrencyMatches ? input.availableCreditCents : 0);
1422
+ const minimumStripeChargeCents = toNonNegativeCents(input.minimumStripeChargeCents ?? 0);
1423
+ if (availableCreditCents >= totalCents && totalCents > 0) return {
1424
+ kind: "credit_only",
1425
+ reserveCreditCents: totalCents,
1426
+ cardDueNowCents: toNonNegativeCents(0),
1427
+ laterBalanceCents: toNonNegativeCents(0)
1428
+ };
1429
+ let reserveCreditCents = toNonNegativeCents(Math.min(availableCreditCents, totalCents));
1430
+ if (reserveCreditCents >= configuredDueNowCents) return {
1431
+ kind: "flexible_balance",
1432
+ reserveCreditCents,
1433
+ cardDueNowCents: toNonNegativeCents(0),
1434
+ laterBalanceCents: toNonNegativeCents(totalCents - reserveCreditCents)
1435
+ };
1436
+ const plannedCardDueNowCents = toNonNegativeCents(configuredDueNowCents - reserveCreditCents);
1437
+ if (plannedCardDueNowCents > 0 && plannedCardDueNowCents < minimumStripeChargeCents) {
1438
+ if (configuredDueNowCents < minimumStripeChargeCents) return {
1439
+ kind: "card_below_minimum",
1440
+ reserveCreditCents: toNonNegativeCents(0),
1441
+ cardDueNowCents: configuredDueNowCents,
1442
+ laterBalanceCents: toNonNegativeCents(totalCents - configuredDueNowCents)
1443
+ };
1444
+ reserveCreditCents = toNonNegativeCents(configuredDueNowCents - minimumStripeChargeCents);
1445
+ }
1446
+ const cardDueNowCents = toNonNegativeCents(configuredDueNowCents - reserveCreditCents);
1447
+ return {
1448
+ kind: "flexible_balance",
1449
+ reserveCreditCents,
1450
+ cardDueNowCents,
1451
+ laterBalanceCents: toNonNegativeCents(totalCents - reserveCreditCents - cardDueNowCents)
1452
+ };
1453
+ }
1454
+ //#endregion
1455
+ //#region ../commerce/src/purchase/stripeMinimumCharge.ts
1456
+ const STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY = {
1457
+ GBP: 30,
1458
+ USD: 50,
1459
+ EUR: 50,
1460
+ AED: 200,
1461
+ AUD: 50,
1462
+ BGN: 100,
1463
+ BRL: 50,
1464
+ CAD: 50,
1465
+ CHF: 50,
1466
+ CZK: 1500,
1467
+ DKK: 250,
1468
+ HKD: 400,
1469
+ HUF: 17500,
1470
+ JPY: 50,
1471
+ MXN: 1e3,
1472
+ MYR: 200,
1473
+ NOK: 300,
1474
+ NZD: 50,
1475
+ PLN: 200,
1476
+ RON: 200,
1477
+ SEK: 300,
1478
+ SGD: 50,
1479
+ THB: 1e3
1480
+ };
1481
+ function isStripeMinimumChargeCurrency(currency) {
1482
+ return currency in STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY;
1483
+ }
1484
+ function getStripeMinimumChargeRequirement(rawCurrency) {
1485
+ let currency;
1486
+ try {
1487
+ currency = normalizeCurrencyCode(rawCurrency);
1488
+ } catch {
1489
+ return null;
1490
+ }
1491
+ const currencyKey = currency;
1492
+ if (!isStripeMinimumChargeCurrency(currencyKey)) return null;
1493
+ return {
1494
+ currency,
1495
+ minimumAmountCents: STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY[currencyKey]
1496
+ };
1497
+ }
1498
+ //#endregion
1499
+ //#region ../commerce/src/purchase/checkoutCopy.ts
1500
+ /**
1501
+ * Customer copy shared by checkout surfaces, so one approved wording reaches
1502
+ * every place that shows it.
1503
+ */
1504
+ const checkoutCopy = {
1505
+ /** A payment is still being confirmed; checking again is safe. */
1506
+ checkoutStillConfirming: "We’re still confirming your payment. This can take a minute – you can check again, and you won’t be charged twice.",
1507
+ /** A previous attempt can't be confirmed automatically; the business needs to check it. */
1508
+ checkoutAssistanceRequired: "We can’t confirm your last payment attempt yet. Please don’t pay again – contact the business so they can check it."
1509
+ };
1164
1510
  const unsupportedEventRegistrationPageSurfaceSubjectSchema = z.object({
1165
1511
  kind: z.literal("unsupported"),
1166
1512
  reason: z.enum([
@@ -1556,7 +1902,7 @@ function deriveBookingFormViewState(input) {
1556
1902
  kind: "success",
1557
1903
  resourceName: input.verificationState.resourceName
1558
1904
  };
1559
- default: return assertNever$1(input.verificationState);
1905
+ default: return assertNever$2(input.verificationState);
1560
1906
  }
1561
1907
  }
1562
1908
  function resolveBookingSiteId(siteId, form) {
@@ -1922,7 +2268,7 @@ function formatBookingSubmissionPreparationError(error) {
1922
2268
  case "sliding-amount-out-of-range": return `Please choose an amount within the sliding scale for "${error.serviceTitle}".`;
1923
2269
  case "payment-option-unsupported": return `Service "${error.serviceTitle}" has a payment option that is not supported yet.`;
1924
2270
  case "service-missing-duration": return `Service "${error.serviceTitle}" is missing duration. Please update the service in the dashboard to include a duration (e.g., 30 minutes).`;
1925
- default: return assertNever$1(error);
2271
+ default: return assertNever$2(error);
1926
2272
  }
1927
2273
  }
1928
2274
  const DEFAULT_BOOKING_SUCCESS_COPY = {
@@ -2782,59 +3128,6 @@ function eventLocalDateKey(event) {
2782
3128
  }));
2783
3129
  }
2784
3130
  //#endregion
2785
- //#region ../blocks/src/primitives/content/utils/sanitizeHref.ts
2786
- const SAFE_PROTOCOLS = /* @__PURE__ */ new Set([
2787
- "http:",
2788
- "https:",
2789
- "mailto:",
2790
- "tel:"
2791
- ]);
2792
- const CONTROL_CHARS_PATTERN = /[\u0000-\u001F\u007F]+/g;
2793
- function normalizeInput(value) {
2794
- return value.replace(CONTROL_CHARS_PATTERN, "").trim();
2795
- }
2796
- function decodeForSchemeCheck(value) {
2797
- try {
2798
- return decodeURIComponent(value);
2799
- } catch {
2800
- return value;
2801
- }
2802
- }
2803
- /**
2804
- * Returns a safe href for rich-text anchors, or null when the value should not be rendered.
2805
- *
2806
- * Policy:
2807
- * - Allow absolute URLs with protocols: http, https, mailto, tel.
2808
- * - Allow root-relative ("/path") and hash-only ("#section") links.
2809
- * - Reject protocol-relative URLs ("//example.com"), bare domains ("example.com"),
2810
- * backslashes, executable schemes (javascript/data/vbscript), malformed URLs, and empty values.
2811
- * - Preserve percent-encoding from the original normalized input.
2812
- */
2813
- function sanitizeHref(raw) {
2814
- if (typeof raw !== "string") return null;
2815
- const normalized = normalizeInput(raw);
2816
- if (!normalized) return null;
2817
- if (normalized.includes("\\") || normalized.startsWith("//")) return null;
2818
- if (normalized.startsWith("/")) return normalized;
2819
- if (normalized.startsWith("#")) return normalized;
2820
- return sanitizeAbsoluteHref(normalized);
2821
- }
2822
- function sanitizeAbsoluteHref(normalized) {
2823
- const schemeMatch = normalizeInput(decodeForSchemeCheck(normalized)).match(/^([a-zA-Z][a-zA-Z0-9+.-]*):/);
2824
- if (!schemeMatch) return null;
2825
- const rawScheme = schemeMatch[1];
2826
- if (!rawScheme) return null;
2827
- const protocol = `${rawScheme.toLowerCase()}:`;
2828
- if (!SAFE_PROTOCOLS.has(protocol)) return null;
2829
- try {
2830
- const parsed = new URL(normalized);
2831
- if (!SAFE_PROTOCOLS.has(parsed.protocol.toLowerCase())) return null;
2832
- } catch {
2833
- return null;
2834
- }
2835
- return normalized;
2836
- }
2837
- //#endregion
2838
3131
  //#region ../blocks/src/system/media/slotContracts.ts
2839
3132
  const DEFAULT_MIN_SOURCE_WIDTH = 1200;
2840
3133
  const LARGE_MIN_SOURCE_WIDTH = 1400;
@@ -3947,6 +4240,8 @@ function renderMarks(text, marks, key, context) {
3947
4240
  case "strong": return /* @__PURE__ */ jsx("strong", { children: acc }, `${key}-b`);
3948
4241
  case "italic":
3949
4242
  case "em": return /* @__PURE__ */ jsx("em", { children: acc }, `${key}-i`);
4243
+ case "strike": return /* @__PURE__ */ jsx("s", { children: acc }, `${key}-s`);
4244
+ case "code": return /* @__PURE__ */ jsx("code", { children: acc }, `${key}-c`);
3950
4245
  case "link": return renderLinkMark(mark, acc, key, context);
3951
4246
  default: return acc;
3952
4247
  }
@@ -3995,10 +4290,21 @@ function renderHeading(node, key, children, context) {
3995
4290
  ...level === 2 ? listLookSlot(context, "heading") : {}
3996
4291
  }, children);
3997
4292
  }
4293
+ function orderedListStart(value) {
4294
+ return typeof value === "number" && Number.isInteger(value) && value > 0 ? value : void 0;
4295
+ }
4296
+ function orderedListType(value) {
4297
+ return value === "1" || value === "a" || value === "A" || value === "i" || value === "I" ? value : void 0;
4298
+ }
3998
4299
  function renderSimpleNode(node, key, children, context) {
3999
4300
  switch (node.type) {
4000
4301
  case "bulletList": return /* @__PURE__ */ jsx("ul", { children }, key);
4001
- case "orderedList": return /* @__PURE__ */ jsx("ol", { children }, key);
4302
+ case "orderedList": return /* @__PURE__ */ jsx("ol", {
4303
+ start: orderedListStart(node.attrs?.start),
4304
+ type: orderedListType(node.attrs?.type),
4305
+ children
4306
+ }, key);
4307
+ case "codeBlock": return /* @__PURE__ */ jsx("pre", { children: /* @__PURE__ */ jsx("code", { children }) }, key);
4002
4308
  case "listItem": return /* @__PURE__ */ jsx("li", { children }, key);
4003
4309
  case "horizontalRule": return /* @__PURE__ */ jsx("hr", {}, key);
4004
4310
  case "hardBreak": return /* @__PURE__ */ jsx("br", {}, key);
@@ -4119,7 +4425,7 @@ function capacityPlacesLabel(source, display, wording) {
4119
4425
  case "low": return formatRemainingPlaces(source, wording);
4120
4426
  case "unlimited": return wording.unlimited ?? null;
4121
4427
  case "open": return wording.open ?? null;
4122
- default: return assertNever(remaining);
4428
+ default: return assertNever$1(remaining);
4123
4429
  }
4124
4430
  }
4125
4431
  function hybridPlacesLabel(event, display, wording) {
@@ -4189,9 +4495,10 @@ function buildBookingInstalmentCadenceLabel(plan) {
4189
4495
  }
4190
4496
  //#endregion
4191
4497
  //#region ../blocks/src/system/runtime/nodes/event-registration/bookingCalendar.ts
4192
- /** Public schedule facts only; online joining instructions stay in email (issue 1580). */
4193
- function bookingCalendar(event, identity) {
4498
+ /** Public schedule plus the authorised outcome's arrival text; online access stays in email. */
4499
+ function bookingCalendar(event, outcome) {
4194
4500
  if (!event) return null;
4501
+ const { identity } = outcome;
4195
4502
  const sessions = event.registrationSubject.kind === "wholeSeries" ? event.registrationSubject.sessions : [{
4196
4503
  occurrenceId: event.registrationSubject.occurrenceId,
4197
4504
  startsAt: event.startsAt,
@@ -4206,7 +4513,7 @@ function bookingCalendar(event, identity) {
4206
4513
  endsAt: new Date(session.endsAt),
4207
4514
  timezone: "UTC",
4208
4515
  status: "confirmed",
4209
- location: identity.attendanceMode === "online" ? "Online" : event.venue?.name,
4516
+ location: identity.attendanceMode === "online" ? "Online" : outcome.arrivalVenues?.[session.occurrenceId] ?? event.venue?.name,
4210
4517
  description: identity.attendanceMode === "online" ? "See your confirmation email for joining instructions." : void 0
4211
4518
  }));
4212
4519
  const first = entries[0];
@@ -4580,18 +4887,11 @@ function transformRegistrationOptionsResponse(response) {
4580
4887
  registration: response.registration,
4581
4888
  paymentOptions: response.paymentOptions,
4582
4889
  isFree: response.paymentOptions.some((option) => option.kind === "free"),
4583
- credit: response.customer.credit ? {
4584
- summary: {
4585
- currency: response.customer.credit.currency,
4586
- balanceCents: response.customer.credit.availableCents,
4587
- reservedCents: 0,
4588
- availableCents: response.customer.credit.availableCents
4589
- },
4590
- transactions: []
4591
- } : null,
4890
+ credit: customerCredit(response.customer.credit),
4592
4891
  requiresPayment: monetaryPaymentAvailable,
4593
4892
  pricingStrategy: response.pricing.strategy,
4594
4893
  paymentTerms: response.pricing.paymentTerms,
4894
+ instalmentCollectionDeadlineAt: response.pricing.instalmentCollectionDeadlineAt,
4595
4895
  selectedPricingOptionId: response.pricing.lines.length === 1 ? response.pricing.lines[0]?.pricingOptionId ?? null : null,
4596
4896
  ticketLines: response.pricing.lines.map((line) => ({
4597
4897
  pricingOptionId: line.pricingOptionId,
@@ -4615,6 +4915,18 @@ function transformRegistrationOptionsResponse(response) {
4615
4915
  availableMemberships: [...response.entitlements.availableForPurchase.memberships]
4616
4916
  };
4617
4917
  }
4918
+ function customerCredit(credit) {
4919
+ if (!credit) return null;
4920
+ return {
4921
+ summary: {
4922
+ currency: credit.currency,
4923
+ balanceCents: credit.availableCents,
4924
+ reservedCents: 0,
4925
+ availableCents: credit.availableCents
4926
+ },
4927
+ transactions: []
4928
+ };
4929
+ }
4618
4930
  function hasMonetaryPaymentOption(response) {
4619
4931
  return response.paymentOptions.some((option) => option.kind === "payInFull" || option.kind === "deferredManual" || option.kind === "instalmentPlan" || option.kind === "flexibleBalance");
4620
4932
  }
@@ -4690,7 +5002,7 @@ function confirmationPaymentRows(payment) {
4690
5002
  case "none": return [];
4691
5003
  case "settled": return payment.rows;
4692
5004
  case "due": return [...payment.paidRows, payment.amountDueRow];
4693
- default: return assertNever(payment);
5005
+ default: return assertNever$1(payment);
4694
5006
  }
4695
5007
  }
4696
5008
  function row(label, value) {
@@ -4738,7 +5050,7 @@ function presentConfirmationPayment(payment) {
4738
5050
  rows: paidRows
4739
5051
  } : duePayment(payment.balance, payment.currency, paidRows, payment.kind === "monetary" && payment.paymentMethod === "manual" ? OFFLINE_BOOKING_PAYMENT_INSTRUCTIONS : null);
4740
5052
  }
4741
- default: return assertNever(payment);
5053
+ default: return assertNever$1(payment);
4742
5054
  }
4743
5055
  }
4744
5056
  /** Places and payment, only when the outcome carries the booking's details. */
@@ -4757,7 +5069,7 @@ function outcomeFacts(outcome) {
4757
5069
  payment: presentConfirmationPayment(outcome.payment)
4758
5070
  };
4759
5071
  }
4760
- default: return assertNever(outcome);
5072
+ default: return assertNever$1(outcome);
4761
5073
  }
4762
5074
  }
4763
5075
  function scheduleRows(event, when, where, display) {
@@ -4799,15 +5111,20 @@ function bookedBooking(result, context) {
4799
5111
  const facts = outcomeFacts(result.outcome);
4800
5112
  const totalPlaces = completedBookingPlaces(context.completedOutcomes, identity);
4801
5113
  const where = identity.attendanceMode === "online" ? "none" : "venue";
5114
+ const arrival = identity.attendanceMode === "in_person" && context.display.venue === "shown" ? [...new Set(Object.values(result.outcome.arrivalVenues ?? {}))].join("\n\n") : "";
4802
5115
  return {
4803
5116
  entry: {
4804
5117
  kind: "booked",
4805
5118
  ...dates,
4806
5119
  places: totalPlaces === null ? null : placesLabel(totalPlaces)
4807
5120
  },
4808
- summary: [...scheduleRows(event, dates.shortWhen, where, context.display), ...facts.rows],
5121
+ summary: [
5122
+ ...scheduleRows(event, dates.shortWhen, arrival ? "none" : where, context.display),
5123
+ ...row("Where", arrival),
5124
+ ...facts.rows
5125
+ ],
4809
5126
  payment: facts.payment,
4810
- calendar: bookingCalendar(event, identity)
5127
+ calendar: bookingCalendar(event, result.outcome)
4811
5128
  };
4812
5129
  }
4813
5130
  function waitlistedBooking(context) {
@@ -4844,7 +5161,7 @@ function resolveFinishedPresentation(presentation, context) {
4844
5161
  case "paymentStatus":
4845
5162
  case "paymentFailed":
4846
5163
  case "error": return presentation;
4847
- default: return assertNever(presentation);
5164
+ default: return assertNever$1(presentation);
4848
5165
  }
4849
5166
  }
4850
5167
  //#endregion
@@ -4976,7 +5293,7 @@ function editRegistrationDraft(draft, edit) {
4976
5293
  ...draft,
4977
5294
  selectedSlidingAmountInput: updated(draft.selectedSlidingAmountInput, edit.value)
4978
5295
  };
4979
- default: return assertNever$1(edit);
5296
+ default: return assertNever$2(edit);
4980
5297
  }
4981
5298
  }
4982
5299
  /** Ready invitations own their reserved selection; identity fields remain editable. */
@@ -5032,7 +5349,7 @@ function invitationSubmission(invitation) {
5032
5349
  kind: "blocked",
5033
5350
  message: invitation.message
5034
5351
  };
5035
- default: return assertNever$1(invitation);
5352
+ default: return assertNever$2(invitation);
5036
5353
  }
5037
5354
  }
5038
5355
  //#endregion
@@ -5068,10 +5385,11 @@ function findPreSelectedEvent(input) {
5068
5385
  })) === contextDate) ?? null;
5069
5386
  }
5070
5387
  function resolveRegistrationTarget(input) {
5071
- const subject = input.occurrenceContext ? {
5388
+ const selectedSubject = input.selectedEvent?.registrationSubject ?? null;
5389
+ const subject = selectedSubject?.kind === "wholeSeries" ? selectedSubject : input.occurrenceContext ? {
5072
5390
  kind: "occurrence",
5073
5391
  occurrenceId: input.occurrenceContext.id
5074
- } : input.selectedEvent?.registrationSubject ?? null;
5392
+ } : selectedSubject;
5075
5393
  if (!subject) return null;
5076
5394
  return {
5077
5395
  subject,
@@ -5121,7 +5439,7 @@ function findClaimEvent(subject, events) {
5121
5439
  switch (subject.kind) {
5122
5440
  case "event_occurrence": return findEventByOccurrenceId(events, subject.occurrenceId);
5123
5441
  case "whole_series": return events.find((event) => event.registrationSubject.kind === "wholeSeries" && event.registrationSubject.eventSeriesId === subject.eventSeriesId) ?? null;
5124
- default: return assertNever$1(subject);
5442
+ default: return assertNever$2(subject);
5125
5443
  }
5126
5444
  }
5127
5445
  /** Reserved quantities and amounts have one interpretation across restoration and submission. */
@@ -5140,7 +5458,7 @@ function claimedSelection(subject) {
5140
5458
  ticketsCount: subject.seatCount,
5141
5459
  slidingAmountInput: subject.selectedSlidingAmount === null ? null : formatCentsAsCurrencyInput(subject.selectedSlidingAmount)
5142
5460
  };
5143
- default: return assertNever$1(subject);
5461
+ default: return assertNever$2(subject);
5144
5462
  }
5145
5463
  }
5146
5464
  function resolveWaitlistClaimRestoration(input) {
@@ -5203,7 +5521,7 @@ function buildBookingPaymentOptionViewModel(input) {
5203
5521
  ...input,
5204
5522
  option: input.option
5205
5523
  });
5206
- default: return assertNever$1(input.option);
5524
+ default: return assertNever$2(input.option);
5207
5525
  }
5208
5526
  }
5209
5527
  function depositPolicy(refundability) {
@@ -5390,7 +5708,7 @@ function projectReviewedBookingCollectionMoney(facts, terms) {
5390
5708
  };
5391
5709
  case "upfront":
5392
5710
  case "deferred_manual": return money;
5393
- default: return assertNever$1(facts);
5711
+ default: return assertNever$2(facts);
5394
5712
  }
5395
5713
  }
5396
5714
  function requireReviewedLaterPaymentAmount(terms, index) {
@@ -5609,7 +5927,7 @@ function resolveHeadlessEventRegistrationStatus(wizard) {
5609
5927
  case "select-tickets":
5610
5928
  case "enter-details":
5611
5929
  case "select-payment": return { tag: "ready" };
5612
- default: return assertNever$1(wizard.flow);
5930
+ default: return assertNever$2(wizard.flow);
5613
5931
  }
5614
5932
  }
5615
5933
  function registrationSurfaceUnavailable(wizard) {
@@ -5654,7 +5972,7 @@ function resolveHeadlessEventRegistrationView(wizard) {
5654
5972
  case "select-payment":
5655
5973
  case "submitting":
5656
5974
  case "payment": return { kind: "form" };
5657
- default: return assertNever$1(wizard.flow);
5975
+ default: return assertNever$2(wizard.flow);
5658
5976
  }
5659
5977
  }
5660
5978
  function deriveEventRegistrationSteps(input) {
@@ -5964,6 +6282,7 @@ function buildEventRegistrationPaymentOptionsViewModel(input) {
5964
6282
  options: resolveAvailableBookingCollectionOptions({
5965
6283
  paymentTerms: { allowedOptions: approvedOptions },
5966
6284
  now: input.nowIso,
6285
+ instalmentCollectionDeadlineAt: input.instalmentCollectionDeadlineAt,
5967
6286
  bookingStartAt: input.startsAt ?? null,
5968
6287
  totalCents: input.quotedSubtotalCents
5969
6288
  }),
@@ -6290,7 +6609,7 @@ function reduceActiveRegistration(state, action) {
6290
6609
  step: "select-tickets"
6291
6610
  } : state;
6292
6611
  case "event-replaced": return replaceRegistrationEvent(state, action);
6293
- default: return assertNever$1(action);
6612
+ default: return assertNever$2(action);
6294
6613
  }
6295
6614
  }
6296
6615
  function isRegistrationLocked(step) {
@@ -6314,7 +6633,7 @@ function updateRegistrationDraft(state, action) {
6314
6633
  ...state,
6315
6634
  eligibility: action.eligibility
6316
6635
  };
6317
- default: return assertNever$1(action);
6636
+ default: return assertNever$2(action);
6318
6637
  }
6319
6638
  }
6320
6639
  /**
@@ -6402,7 +6721,7 @@ function reduceCompletedRegistration(state, action) {
6402
6721
  case "set-manual-payment-selection":
6403
6722
  case "use-card-instead-of-pass":
6404
6723
  case "use-pass": return state;
6405
- default: return assertNever$1(action);
6724
+ default: return assertNever$2(action);
6406
6725
  }
6407
6726
  }
6408
6727
  /** A lookup can restore only the active request, never a completed or replaced draft. */
@@ -6458,10 +6777,10 @@ function applyWaitlistClaimLookup(state, action) {
6458
6777
  action: "none"
6459
6778
  }
6460
6779
  };
6461
- default: return assertNever$1(restoration);
6780
+ default: return assertNever$2(restoration);
6462
6781
  }
6463
6782
  }
6464
- default: return assertNever$1(lookup);
6783
+ default: return assertNever$2(lookup);
6465
6784
  }
6466
6785
  }
6467
6786
  /** Completion remembers places; resetting the draft leaves this visit's outcomes intact. */
@@ -6556,7 +6875,7 @@ function registrationPresentation(state, route) {
6556
6875
  layout: "whole",
6557
6876
  screen: "paymentFailed"
6558
6877
  };
6559
- default: return assertNever$1(step);
6878
+ default: return assertNever$2(step);
6560
6879
  }
6561
6880
  }
6562
6881
  /**
@@ -6611,4 +6930,4 @@ function registrationStepLabel(step, context) {
6611
6930
  }
6612
6931
  }
6613
6932
  //#endregion
6614
- export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseNewsletterListId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingRedirectStateFromLocation as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, isBookingServiceSlidingAmountInRange as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getBookingSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, parseBookingCurrencyInputToCents as Jn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingFormConfig as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, deriveBookingFormViewState as Ln, itemRole as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, parseMailchimpInterestId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingCentsAsCurrencyInput as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getRegistrationSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingServiceSlidingScale as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, getShopSuccessCopy as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, parseBrevoListId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, prepareBookingSubmission as Yn, parseMailingListProviderScope as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, parseMailchimpAudienceId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingStrategy as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, resolvePricingOptionsPriceDisplay as ci, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatBookingPriceDisplay as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingDisplay as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, isPublicEventPricingOptionDisplayable as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, publicEventPricingType as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, normalizeBookingServices as qn, DEFAULT_MAILING_LIST_PRIVACY_NOTE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingCurrency as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolveExactOrFreePriceDisplay as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, formatEventPricing as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, formatBookingSubmissionPreparationError as zn, isRecord$3 as zr, placesLeftLabel as zt };
6933
+ export { getEligibilityFlowFlags as $, selectedBookingCollectionOptionKind as $n, formatBookingPriceDisplay as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, selectEventCapacitySource as An, isDecodeSuccess as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingServiceSlidingScale as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, formatEventRemainingPlaces as Cn, defineInteractiveIslandMetaKeys as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailabilityStatus as Dn, createZodCodec as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, getEventAvailability as En, resolveEventRegistrationScopedEvents as Er, formatPrice as Et, toHeadlessPaymentSelection as F, readOverrideServiceCategories as Fn, resolvedItemSurfaceProps as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, normalizeBookingFormConfig as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getRegistrationSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, deriveBookingFormViewState as In, itemRole as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, prepareBookingSubmission as Jn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingServices as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, formatBookingCentsAsCurrencyInput as Ln, sanitizeHref as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, groupPublicEventsByRun as Mn, listLookControl as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, bookingFormInteractiveIslandPropsCodec as Nn, listLookSlot as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getRemainingPlaces as On, defineClientOwnedBlockRuntime as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, buildBookingFormInteractiveIslandProps as Pn, lookListPresentationSchemaShape as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveDefaultBookingServiceId as Qn, parseNewsletterListId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingSubmissionPreparationError as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlistOnAnyMode as Sn, createInteractiveIslandCodec as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatTotalCapacity as Tn, normalizeEventRegistrationPageSurfaceSubject as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getShopSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingSuccessCopy as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, isBookingServiceSlidingAmountInRange as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveBookingPaymentStep as Xn, parseMailchimpAudienceId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, resolveAppointmentCheckoutVerificationState as Yn, parseBrevoListId as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingSiteId as Zn, parseMailchimpInterestId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatTime$1 as _n, blockButtonRoleSchema as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingType as ai, eventCalendarWeekStart as an, bookingNowSchema as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveRuntimeEventDestination as bn, resolveDateRuntimeContext as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, parseSiteId as ci, eventLocalDateKey as cn, eventButtonVariantSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatEventClockLabel as dn, eventLayoutSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatEventPricing as ei, resolveImageUrl as en, toSelectedCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventCompactDateRail as fn, filterAutoShowSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventTimeRange as gn, BLOCK_BUTTON_ROLE_OPTIONS as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventNextDateFact as hn, weekStartSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingStrategy as ii, buildCalendarViewport as in, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectMostOpenCapacitySource as jn, listItemPresentation as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, isEventFull as kn, defineProgressiveBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, unsafeAsSiteId as li, formatCalendarTitle as ln, eventCalendarDefaultViewSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventHourLabel as mn, registrationButtonVariantSchema as mr, formatDate as mt, getEventSelectionMode as n, publicEventPricingCurrency as ni, resolveMediaNodeResponsiveImage as nn, resolveSelectedAppointmentConsent as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, resolveExactOrFreePriceDisplay as oi, eventDateLocale as on, calendarTabViewsSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventDateParts as pn, previewStageSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, parseBookingCurrencyInputToCents as qn, DEFAULT_MAILING_LIST_PRIVACY_NOTE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingDisplay as ri, resolvePublicMediaUrl as rn, BOOKING_FORM_DATA_RESERVED_KEYS as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolvePricingOptionsPriceDisplay as si, eventDateOptions as sn, columnOptionSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, isPublicEventPricingOptionDisplayable as ti, resolveImageUrlWithContext as tn, projectSelectedAppointmentConsentIntoForm as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, parseEventSeriesId as ui, formatDate$1 as un, eventCalendarDisplayModeSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, groupEventsByDate as vn, isBlockButtonRole as vr, formatTime as vt, resolveRegistrationAdmission as w, formatRemainingPlaces as wn, eventRegistrationPageSurfaceSubjectSchema as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, canJoinEventWaitlist as xn, buildInteractiveIslandProps as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, resolveEventTimeZone as yn, readRuntimeNow as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, getBookingRedirectStateFromLocation as zn, isRecord$3 as zr, placesLeftLabel as zt };