@riverbankcms/sdk 0.161.0 → 0.162.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 (187) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
  2. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-CdQS6C7i.d.ts} +8 -8
  3. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +58 -91
  4. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-DGa53rjL.d.ts} +11 -3
  5. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-CyBaPaIq.d.ts} +13 -4
  7. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
  9. package/dist/_dts/{index-ylivB7Jj.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
  10. package/dist/_dts/{index-CSsfq6KG.d.ts → index-BtnsA14K.d.ts} +9 -5
  11. package/dist/_dts/{index-BVkP8f70.d.ts → index-C39F9KaB.d.ts} +13 -2
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-DEu85xBt.d.ts} +1 -1
  13. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-DI2yaSPY.d.ts} +4099 -3343
  14. package/dist/_dts/{types-BR1Yboa9.d.ts → index-Dbd0Sn0G.d.ts} +3300 -1691
  15. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-Du1IRglc.d.ts} +2 -2
  16. package/dist/_dts/{index-D_8uz4OP.d.ts → index-Jlcq6w69.d.ts} +3 -3
  17. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-Wm62sXf2.d.ts} +4 -4
  18. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-BPfAAZDW.d.ts} +10 -7
  19. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-DWbrtKf8.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 +6 -6
  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/index.d.ts +8 -8
  27. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  28. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  29. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  30. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  31. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  32. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  34. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  35. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  38. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  39. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  40. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  42. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  43. package/dist/_dts/sdk/src/server.d.ts +5 -5
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CVv2H4AT.d.ts} +7 -7
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-CfNG5koF.d.ts} +2 -2
  47. package/dist/_dts/{types-CJXTCF_F.d.ts → types-ClZ-BQL_.d.ts} +3 -3
  48. package/dist/_dts/{validation-BaV565gb.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +20 -19
  50. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
  54. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
  56. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
  58. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-M5rpaHxi.mjs} +4 -4
  59. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
  61. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-k4lhuCn5.mjs} +14 -21
  62. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +10 -10
  63. package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
  64. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-_aIK2ojv.mjs} +2 -70
  65. package/dist/client/{Page-Bf2nPACI.mjs → Page-DJBIQBOw.mjs} +1762 -254
  66. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
  67. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
  68. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-BWsDgjMC.mjs} +1 -1
  69. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-CtO2XF7M.mjs} +1 -1
  70. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
  71. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
  72. package/dist/client/bookings.mjs +5 -5
  73. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-BR-zCD3O.mjs} +2 -2
  74. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
  75. package/dist/client/{cart-D_h3rAZ2.mjs → cart-C6YpKbZZ.mjs} +3 -3
  76. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-dC938WrX.mjs} +1 -1
  77. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Dy9RlREI.mjs} +3 -3
  78. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-CefG0d2F.mjs} +1 -1
  79. package/dist/client/client.mjs +34 -69
  80. package/dist/client/{context-9ZfMb6GA.mjs → context-BFwxgZpB.mjs} +28 -1
  81. package/dist/client/{cta-D-ZqL7-e.mjs → cta-DtA42Xio.mjs} +1 -1
  82. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
  83. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
  84. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
  85. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-BFgsLqTj.mjs} +2 -1
  86. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-BaXZ1-Ky.mjs} +13 -13
  87. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-COLwF80U.mjs} +4 -4
  88. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
  89. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-CBrkimXu.mjs} +2 -2
  90. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-CedKVA1S.mjs} +4 -4
  91. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
  92. package/dist/client/{form-QZhtdFHA.mjs → form-XFy9uXSJ.mjs} +3 -3
  93. package/dist/client/{form.client-CgvPACwG.mjs → form.client-B0iancFK.mjs} +4 -4
  94. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-DMbolu9Y.mjs} +3 -3
  95. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
  96. package/dist/client/gifting/client.mjs +3 -3
  97. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-WjlECjtV.mjs} +2 -2
  98. package/dist/client/{mediaAssets-BvjcAZpS.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
  99. package/dist/client/mediaContext-CNzWmoA4.mjs +136 -0
  100. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
  101. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
  102. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
  103. package/dist/client/{noop-B7H6gCbj.mjs → noop-B3RNPVrt.mjs} +19 -3
  104. package/dist/client/portal/client.mjs +1116 -85
  105. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
  106. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
  107. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-CbBUVWgd.mjs} +3 -3
  108. package/dist/client/{productList-DEo8Bqoe.mjs → productList-vqOKH2mh.mjs} +3 -3
  109. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-CkSUep5a.mjs} +4 -3
  110. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-cZ24QwtW.mjs} +272 -68
  111. package/dist/client/rendering/client.mjs +27 -26
  112. package/dist/client/rendering/islands.mjs +1 -1
  113. package/dist/client/rendering.mjs +10 -7
  114. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
  115. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
  116. package/dist/client/{schema-C-m8XHuW.mjs → schema-DNHLlze-.mjs} +4575 -4311
  117. package/dist/client/{shop-RGWa43H7.mjs → shop-CF0dhnfH.mjs} +3 -3
  118. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
  119. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
  120. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-DqfYoqWH.mjs} +12 -12
  121. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-CreQ0I7i.mjs} +38 -31
  122. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-D-yh-P7g.mjs} +2 -2
  123. package/dist/client/{mediaContext-jPeJ2PmJ.mjs → site-styles-B9HgmY07.mjs} +1329 -511
  124. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-DCdVErTJ.mjs} +10 -9
  125. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
  126. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
  127. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
  128. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
  129. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-CsysCF22.mjs} +6 -6
  130. package/dist/client/{view-Dj_FZHmg.mjs → view-BpBjo9Te.mjs} +64 -55
  131. package/dist/client/{view-BUh4LnLS.mjs → view-DMyTchi7.mjs} +4 -4
  132. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-BO2OmMO9.mjs} +59 -53
  133. package/dist/preview-next/before-render.mjs +3 -3
  134. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +1 -1
  135. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +164 -1042
  136. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-VaHvYtrA.mjs} +9 -190
  137. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
  138. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +220 -130
  139. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-CHKOWXxl.mjs} +608 -333
  140. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-C0VUwEHz.mjs} +158752 -162808
  141. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
  142. package/dist/preview-next/client/runtime.mjs +3 -3
  143. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
  144. package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
  145. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-BeR2S8oG.mjs} +1 -1
  146. package/dist/preview-next/keepAlive.mjs +2 -2
  147. package/dist/preview-next/middleware.mjs +1 -1
  148. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  149. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CkrFDMrl.mjs} +394 -200
  150. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-DxvNGDig.mjs} +4 -4
  151. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-BuhKvYkE.mjs} +2 -2
  152. package/dist/server/{client-Cv26lZQ4.mjs → client-BobW6DOz.mjs} +34 -69
  153. package/dist/server/config-validation.mjs +1 -1
  154. package/dist/server/config.mjs +2 -2
  155. package/dist/server/{effectiveNavLinkStyle-CGvGr3yD.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +1127 -144
  156. package/dist/server/index.mjs +3 -3
  157. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-CCG_3mbY.mjs} +7 -4
  158. package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
  159. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-jntGoMrf.mjs} +2 -2
  160. package/dist/server/next.mjs +9 -9
  161. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
  162. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-DByQwIyW.mjs} +264 -168
  163. package/dist/server/page-converter.mjs +1 -1
  164. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-DrwcTk2t.mjs} +1 -1
  165. package/dist/server/prebuild.mjs +1 -1
  166. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-LfgxSJYE.mjs} +31 -10
  167. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-8A3T5v4M.mjs} +647 -166
  168. package/dist/server/{registry-BVfCqaCq.mjs → registry-Digv02oV.mjs} +308 -36
  169. package/dist/server/rendering/server.mjs +4 -4
  170. package/dist/server/rendering.mjs +8 -8
  171. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
  172. package/dist/server/routing.mjs +1 -1
  173. package/dist/server/{schema-CD4peO7m.mjs → schema-BiqpDRwB.mjs} +2813 -2549
  174. package/dist/server/server.mjs +3 -3
  175. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-DrkprQPL.mjs} +81 -113
  176. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-BmKKkkbh.mjs} +2 -2
  177. package/dist/server/{src-ILxc6pid.mjs → src-08GY1njw.mjs} +902 -44
  178. package/dist/server/theme-bridge.mjs +1 -1
  179. package/dist/server/theme.mjs +1 -1
  180. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CSd_Vusz.mjs} +36 -29
  181. package/dist/server/{validation-B1ieVemg.mjs → validation-DdUTkBOZ.mjs} +2 -2
  182. package/dist/server/{version-BQK44wFg.mjs → version-DdIOqIDe.mjs} +1 -1
  183. package/dist/styles/index.css +872 -41
  184. package/package.json +1 -1
  185. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  186. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  187. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
4
- import "./shop.interactive-CVqLAU53.mjs";
4
+ import "./shop.interactive-CreQ0I7i.mjs";
5
5
  import { t as StepIndicator$1 } from "./StepIndicator-BK0GEDoP.mjs";
6
6
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
7
7
  import React from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { M as themeButtonExtraClassesWithTrailingIcon, N as themeButtonSizeClassName, P as themeButtonVariantClassNames, br as err, xr as ok } from "./schema-C-m8XHuW.mjs";
2
+ import { Cr as err, M as themeButtonExtraClassesWithTrailingIcon, N as themeButtonSizeClassName, P as themeButtonVariantClassNames, wr as ok } from "./schema-DNHLlze-.mjs";
3
3
  import "react";
4
4
  import { z } from "zod";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -1,38 +1,48 @@
1
1
  "use client";
2
- import { _r as unsafeAsSiteId, dr as unsafeAsAppointmentResourceId, fr as unsafeAsAppointmentServiceId, gr as unsafeAsPassId, mr as unsafeAsFormId, pr as unsafeAsCustomerPassId } from "./schema-C-m8XHuW.mjs";
3
- import { U as formatCurrencyAmount, r as ThemedButton, u as SpinnerNode } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { _r as unsafeAsFormId, br as unsafeAsSiteId, gr as unsafeAsCustomerPassId, hr as unsafeAsAppointmentServiceId, mr as unsafeAsAppointmentResourceId, yr as unsafeAsPassId } from "./schema-DNHLlze-.mjs";
3
+ import { U as formatCurrencyAmount, r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BWsDgjMC.mjs";
4
4
  import { a as clearWorkflowFeedback, i as okWith, n as err, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever } from "./src-VIsPY-kw.mjs";
5
- import { $n as resolveDefaultBookingServiceId, B as paymentChoiceDetails, Bn as getBookingRedirectStateFromLocation, Fn as buildBookingFormInteractiveIslandProps, Gn as isBookingServiceSlidingAmountInRange, Hn as getBookingSuccessCopy, In as readOverrideServiceCategories, Jn as parseBookingCurrencyInputToCents, Kn as normalizeBookingFormConfig, Kr as resolveBookingSignupOffer, Ln as deriveBookingFormViewState, Qn as resolveBookingSiteId, R as buildBookingPaymentSelectionViewModel, Rn as formatBookingCentsAsCurrencyInput, V as paymentChoicePrice, Vn as getBookingServiceSlidingScale, Xn as resolveAppointmentCheckoutVerificationState, Yn as prepareBookingSubmission, Zn as resolveBookingPaymentStep, br as readRuntimeNow, er as selectedBookingCollectionOptionKind, ir as BOOKING_FORM_DATA_RESERVED_KEYS, nr as projectSelectedAppointmentConsentIntoForm, qn as normalizeBookingServices, rr as resolveSelectedAppointmentConsent, tr as toSelectedCollectionOptionKind, xr as resolveDateRuntimeContext, z as buildReviewedBookingPaymentViewModel, zn as formatBookingSubmissionPreparationError } from "./wizardSteps-BkZc-hKH.mjs";
6
- import { Dt as resolveBookingBusinessTimeZone, Et as parseUtcIsoDateTimeString, Ot as resolveBookingTimeZoneId, ft as formatDateTimeRange, gt as resolveBookingDisplayContext, jt as toUtcIsoDateTimeString, lt as formatDate, pt as formatTime, q as isBookingRequirementConsentFieldId, t as logger } from "./noop-B7H6gCbj.mjs";
7
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
5
+ import { $n as resolveDefaultBookingServiceId, B as paymentChoiceDetails, Bn as getBookingRedirectStateFromLocation, Fn as buildBookingFormInteractiveIslandProps, Gn as isBookingServiceSlidingAmountInRange, Hn as getBookingSuccessCopy, In as readOverrideServiceCategories, Jn as parseBookingCurrencyInputToCents, Kn as normalizeBookingFormConfig, Kr as resolveBookingSignupOffer, Ln as deriveBookingFormViewState, Qn as resolveBookingSiteId, R as buildBookingPaymentSelectionViewModel, Rn as formatBookingCentsAsCurrencyInput, V as paymentChoicePrice, Vn as getBookingServiceSlidingScale, Xn as resolveAppointmentCheckoutVerificationState, Yn as prepareBookingSubmission, Zn as resolveBookingPaymentStep, br as readRuntimeNow, er as selectedBookingCollectionOptionKind, ir as BOOKING_FORM_DATA_RESERVED_KEYS, nr as projectSelectedAppointmentConsentIntoForm, qn as normalizeBookingServices, rr as resolveSelectedAppointmentConsent, tr as toSelectedCollectionOptionKind, xr as resolveDateRuntimeContext, z as buildReviewedBookingPaymentViewModel, zn as formatBookingSubmissionPreparationError } from "./wizardSteps-BO2OmMO9.mjs";
6
+ import { At as resolveBookingTimeZoneId, J as isBookingRequirementConsentFieldId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, gt as formatTimeZoneCityLabel, kt as resolveBookingBusinessTimeZone, mt as formatTime, pt as formatDateTimeRange, t as logger, ut as formatDate, vt as resolveBookingDisplayContext } from "./noop-B3RNPVrt.mjs";
7
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CvT0E9AR.mjs";
8
8
  import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
9
9
  import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
10
10
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
11
- import { t as CheckboxChoice } from "./CheckboxChoice-DWexRLf6.mjs";
11
+ import { t as CheckboxChoice } from "./CheckboxChoice-C7X9dJ8A.mjs";
12
12
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
13
13
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
14
14
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
15
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BimJbFC7.mjs";
16
- import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-BDpxmn1p.mjs";
15
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-Gn_m7e0o.mjs";
16
+ import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-CFYPDEHH.mjs";
17
17
  import { t as StepIndicator } from "./StepIndicator-BK0GEDoP.mjs";
18
- import { n as useBlockApi, t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
18
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
19
19
  import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
20
- import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-D1X69-pN.mjs";
21
- import { t as useBookingNowIso } from "./useBookingNowIso-Ch30jino.mjs";
22
- import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-BxkSS9fx.mjs";
20
+ import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-Cvgdp2DH.mjs";
21
+ import { t as useBookingNowIso } from "./useBookingNowIso-DrTnGNzD.mjs";
22
+ import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
23
23
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
24
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
25
25
  //#region ../blocks/src/system/runtime/nodes/booking-form.date-display.ts
26
- /** Presentation follows the existing viewer projection; business locale and modality own labels. */
26
+ /**
27
+ * Appointments happen at the business, so every day and clock in the flow is
28
+ * the site's. A visitor in another zone gets labelled clocks and one note.
29
+ */
27
30
  function resolveBookingFormDateDisplay(input) {
28
31
  const mode = input.service?.location?.mode;
29
- return resolveBookingDisplayContext({
30
- sessionTimeZone: resolveBookingTimeZoneId(input.viewerTimeZone, input.dateContext.timeZone),
31
- siteTimeZone: input.dateContext.timeZone,
32
+ const siteTimeZone = input.dateContext.timeZone;
33
+ const viewerDiffers = resolveBookingTimeZoneId(input.viewerTimeZone, siteTimeZone) !== siteTimeZone;
34
+ const display = resolveBookingDisplayContext({
35
+ sessionTimeZone: siteTimeZone,
36
+ siteTimeZone,
32
37
  locale: input.dateContext.locale,
33
38
  isOnline: mode === "online" || mode === "either",
34
39
  surface: "public"
35
40
  });
41
+ return {
42
+ context: display.context,
43
+ zone: viewerDiffers ? "always" : display.zone,
44
+ zoneNote: viewerDiffers ? `Times are shown in ${formatTimeZoneCityLabel(siteTimeZone)}.` : null
45
+ };
36
46
  }
37
47
  //#endregion
38
48
  //#region ../blocks/src/system/runtime/nodes/booking-form.payment-confirmation.ts
@@ -933,7 +943,8 @@ function resolveHeadlessBookingView(input) {
933
943
  kind: "success",
934
944
  message: input.feedback.message,
935
945
  resourceName: input.feedback.resourceName,
936
- request: input.feedback.request
946
+ request: input.feedback.request,
947
+ appointment: input.feedback.appointment
937
948
  };
938
949
  if (input.feedback.kind === "error") return {
939
950
  kind: "error",
@@ -1320,6 +1331,7 @@ function planBookingSubmissionCompletion(input) {
1320
1331
  kind: "success",
1321
1332
  message: "",
1322
1333
  resourceName: data.appointment.resourceName,
1334
+ appointment: null,
1323
1335
  request: {
1324
1336
  serviceName: data.serviceName,
1325
1337
  startAt: data.appointment.startAt,
@@ -1359,6 +1371,7 @@ function bookingSuccessFeedback(data, successMessage) {
1359
1371
  kind: "success",
1360
1372
  resourceName: data.appointment.resourceName,
1361
1373
  request: null,
1374
+ appointment: data.appointment,
1362
1375
  message: copy.defaultEmailSentence ? `${copy.message} ${copy.defaultEmailSentence}`.trim() : copy.message
1363
1376
  };
1364
1377
  }
@@ -1559,6 +1572,7 @@ function HeadlessBookingProvider({ config, children }) {
1559
1572
  }
1560
1573
  function useHeadlessBookingFlow(options) {
1561
1574
  const viewerTimeZone = options.viewerTimeZone ?? getRuntimeTimeZone();
1575
+ const availabilityTimeZone = options.dateContext.timeZone;
1562
1576
  const formKey = unsafeAsFormId(options.formId);
1563
1577
  const defaultServiceId = toOptionalAppointmentServiceId(options.initialServiceId ?? resolveDefaultBookingServiceId(options.form, options.services) ?? void 0);
1564
1578
  const defaultResourceId = toOptionalAppointmentResourceId(options.initialResourceId);
@@ -1604,23 +1618,23 @@ function useHeadlessBookingFlow(options) {
1604
1618
  const availabilityDatesQuery = useMemo(() => buildBookingAvailabilityQuery({
1605
1619
  serviceId: selectedServiceId,
1606
1620
  resourceId: selectedResourceId,
1607
- timezone: viewerTimeZone
1621
+ timezone: availabilityTimeZone
1608
1622
  }), [
1609
1623
  selectedResourceId,
1610
1624
  selectedServiceId,
1611
- viewerTimeZone
1625
+ availabilityTimeZone
1612
1626
  ]);
1613
1627
  const availabilitySlotsQuery = useMemo(() => buildBookingAvailabilityQuery({
1614
1628
  serviceId: selectedServiceId,
1615
1629
  resourceId: selectedResourceId,
1616
1630
  selectedDate: state.selectedDate,
1617
- timezone: viewerTimeZone,
1631
+ timezone: availabilityTimeZone,
1618
1632
  requireDate: true
1619
1633
  }), [
1620
1634
  selectedResourceId,
1621
1635
  selectedServiceId,
1622
1636
  state.selectedDate,
1623
- viewerTimeZone
1637
+ availabilityTimeZone
1624
1638
  ]);
1625
1639
  const stepState = useMemo(() => deriveBookingFlowSteps({
1626
1640
  form: runtimeForm,
@@ -1653,14 +1667,14 @@ function useHeadlessBookingFlow(options) {
1653
1667
  const { availableDates, isLoading: isLoadingDates, error: datesError, hasMore, loadMore, loadedRange: availableDatesLoadedRange } = useAvailableDates({
1654
1668
  serviceId: availabilityDatesQuery.ok ? availabilityDatesQuery.serviceId : void 0,
1655
1669
  resourceId: availabilityDatesQuery.ok ? availabilityDatesQuery.resourceId : void 0,
1656
- timezone: viewerTimeZone,
1670
+ timezone: availabilityTimeZone,
1657
1671
  initialDays: 14
1658
1672
  });
1659
1673
  const { slots, isLoading: isLoadingSlots, hasLoaded: hasLoadedSlots, error: slotsError } = useAvailableSlots({
1660
1674
  serviceId: availabilitySlotsQuery.ok ? availabilitySlotsQuery.serviceId : void 0,
1661
1675
  resourceId: availabilitySlotsQuery.ok ? availabilitySlotsQuery.resourceId : void 0,
1662
1676
  selectedDate: availabilitySlotsQuery.ok ? availabilitySlotsQuery.selectedDate ?? "" : "",
1663
- timezone: viewerTimeZone
1677
+ timezone: availabilityTimeZone
1664
1678
  });
1665
1679
  const slotViews = useMemo(() => toBookingSlotViews(slots), [slots]);
1666
1680
  const dateValues = useMemo(() => [...availableDates].sort(), [availableDates]);
@@ -1873,9 +1887,10 @@ function useHeadlessBookingFlow(options) {
1873
1887
  tag: "loaded",
1874
1888
  value: slotViews
1875
1889
  },
1876
- timezone: viewerTimeZone,
1890
+ timezone: availabilityTimeZone,
1877
1891
  dateContext: availabilityDisplay.context,
1878
1892
  zone: availabilityDisplay.zone,
1893
+ zoneNote: availabilityDisplay.zoneNote,
1879
1894
  hasMoreDates: hasMore,
1880
1895
  loadMoreDates: loadMore
1881
1896
  },
@@ -2127,39 +2142,59 @@ function TimeSlotPill({ slot, selected, onChange, dateContext, zone }) {
2127
2142
  children: label
2128
2143
  });
2129
2144
  }
2130
- const TimeSlotSelector = ({ value, onChange, slots, isLoading, dateContext, zone, required = true, ariaDescribedBy, ariaInvalid }) => {
2131
- const labelId = `${React.useId()}-time-label`;
2145
+ function TimeSlotZoneNote({ id, note }) {
2146
+ return note ? /* @__PURE__ */ jsx("p", {
2147
+ id,
2148
+ className: "ab-text ab-text--sm rb-on-surface--muted",
2149
+ children: note
2150
+ }) : null;
2151
+ }
2152
+ /** The zone note describes the group alongside any caller-supplied description. */
2153
+ function describedByIds(...ids) {
2154
+ return ids.filter(Boolean).join(" ") || void 0;
2155
+ }
2156
+ const TimeSlotSelector = ({ value, onChange, slots, isLoading, dateContext, zone, zoneNote, required = true, ariaDescribedBy, ariaInvalid }) => {
2157
+ const generatedId = React.useId();
2158
+ const labelId = `${generatedId}-time-label`;
2159
+ const noteId = `${generatedId}-time-zone-note`;
2132
2160
  const groupRef = useTimeSlotsRevealScroll(!isLoading && slots.length > 0);
2133
2161
  return /* @__PURE__ */ jsxs("div", {
2134
2162
  className: "rb-reg-stack rb-reg-stack--sm",
2135
- children: [/* @__PURE__ */ jsxs("span", {
2136
- className: "form-label",
2137
- id: labelId,
2138
- children: ["Select Time", required && /* @__PURE__ */ jsx("span", {
2139
- className: "required-marker",
2140
- children: "*"
2141
- })]
2142
- }), isLoading ? /* @__PURE__ */ jsx("div", { className: "rb-shell-block" }) : slots.length === 0 ? /* @__PURE__ */ jsx(FeedbackMessage, {
2143
- tone: "info",
2144
- className: "alert alert-info",
2145
- role: "status",
2146
- children: "No available times for this date"
2147
- }) : /* @__PURE__ */ jsx("div", {
2148
- ref: groupRef,
2149
- role: "group",
2150
- "aria-labelledby": labelId,
2151
- "aria-describedby": ariaDescribedBy,
2152
- "aria-invalid": ariaInvalid || void 0,
2153
- "aria-required": required || void 0,
2154
- className: "ab-pill-grid",
2155
- children: slots.map((slot) => /* @__PURE__ */ jsx(TimeSlotPill, {
2156
- slot,
2157
- selected: value === slot.key,
2158
- onChange,
2159
- dateContext,
2160
- zone
2161
- }, slot.key))
2162
- })]
2163
+ children: [
2164
+ /* @__PURE__ */ jsxs("span", {
2165
+ className: "form-label",
2166
+ id: labelId,
2167
+ children: ["Select Time", required && /* @__PURE__ */ jsx("span", {
2168
+ className: "required-marker",
2169
+ children: "*"
2170
+ })]
2171
+ }),
2172
+ /* @__PURE__ */ jsx(TimeSlotZoneNote, {
2173
+ id: noteId,
2174
+ note: zoneNote
2175
+ }),
2176
+ isLoading ? /* @__PURE__ */ jsx("div", { className: "rb-shell-block" }) : slots.length === 0 ? /* @__PURE__ */ jsx(FeedbackMessage, {
2177
+ tone: "info",
2178
+ className: "alert alert-info",
2179
+ role: "status",
2180
+ children: "No available times for this date"
2181
+ }) : /* @__PURE__ */ jsx("div", {
2182
+ ref: groupRef,
2183
+ role: "group",
2184
+ "aria-labelledby": labelId,
2185
+ "aria-describedby": describedByIds(zoneNote && noteId, ariaDescribedBy),
2186
+ "aria-invalid": ariaInvalid || void 0,
2187
+ "aria-required": required || void 0,
2188
+ className: "ab-pill-grid",
2189
+ children: slots.map((slot) => /* @__PURE__ */ jsx(TimeSlotPill, {
2190
+ slot,
2191
+ selected: value === slot.key,
2192
+ onChange,
2193
+ dateContext,
2194
+ zone
2195
+ }, slot.key))
2196
+ })
2197
+ ]
2163
2198
  });
2164
2199
  };
2165
2200
  //#endregion
@@ -2628,6 +2663,7 @@ function DefaultDateTimeSelectionStep({ booking, errorSummaryId }) {
2628
2663
  isLoading: booking.availability.slotsState.tag === "loading",
2629
2664
  dateContext: booking.availability.dateContext,
2630
2665
  zone: booking.availability.zone,
2666
+ zoneNote: booking.availability.zoneNote,
2631
2667
  ariaDescribedBy: validationDescribedBy,
2632
2668
  ariaInvalid: hasValidationError
2633
2669
  }) : null
@@ -3058,7 +3094,7 @@ function DefaultBookingErrorSummary({ errors, id }) {
3058
3094
  }
3059
3095
  //#endregion
3060
3096
  //#region ../blocks/src/system/runtime/components/booking/SuccessMessage.tsx
3061
- const SuccessMessage = ({ copy, resourceName, className, demoEmailSuppressed = false, customerEmail = null }) => {
3097
+ const SuccessMessage = ({ copy, resourceName, appointment, dateContext, className, demoEmailSuppressed = false, customerEmail = null }) => {
3062
3098
  return /* @__PURE__ */ jsx(TerminalPanel, {
3063
3099
  tone: "success",
3064
3100
  title: "Booking confirmed",
@@ -3076,16 +3112,48 @@ const SuccessMessage = ({ copy, resourceName, className, demoEmailSuppressed = f
3076
3112
  },
3077
3113
  noteClassName: "ab-text"
3078
3114
  }),
3079
- secondaryBody: resourceName ? /* @__PURE__ */ jsxs("p", {
3080
- className: "ab-text rb-on-surface--muted",
3081
- children: ["Practitioner: ", resourceName]
3082
- }) : null,
3115
+ secondaryBody: /* @__PURE__ */ jsx(AppointmentDetails, {
3116
+ appointment,
3117
+ dateContext,
3118
+ resourceName
3119
+ }),
3083
3120
  className: ["ab-center", className ?? ""].join(" ").trim(),
3084
3121
  titleClassName: "ab-terminal-title",
3085
3122
  role: "alert",
3086
3123
  live: "polite"
3087
3124
  });
3088
3125
  };
3126
+ function AppointmentDetails({ appointment, dateContext, resourceName }) {
3127
+ if (!appointment) return resourceName ? /* @__PURE__ */ jsxs("p", {
3128
+ className: "ab-text rb-on-surface--muted",
3129
+ children: ["Practitioner: ", resourceName]
3130
+ }) : null;
3131
+ return /* @__PURE__ */ jsxs("div", {
3132
+ className: "ab-text rb-on-surface--muted",
3133
+ children: [
3134
+ /* @__PURE__ */ jsx("p", { children: appointment.serviceName }),
3135
+ /* @__PURE__ */ jsx(AppointmentDateTime, {
3136
+ appointment,
3137
+ dateContext
3138
+ }),
3139
+ appointment.resourceName ? /* @__PURE__ */ jsxs("p", { children: ["Practitioner: ", appointment.resourceName] }) : null,
3140
+ appointment.location ? /* @__PURE__ */ jsx("p", { children: appointment.location }) : null
3141
+ ]
3142
+ });
3143
+ }
3144
+ function AppointmentDateTime({ appointment, dateContext }) {
3145
+ if (!dateContext) return null;
3146
+ const start = parseUtcIsoDateTimeString(appointment.startAt);
3147
+ const end = parseUtcIsoDateTimeString(appointment.endAt);
3148
+ if (!start.ok || !end.ok || end.value < start.value) return null;
3149
+ return /* @__PURE__ */ jsx("p", { children: formatDateTimeRange({
3150
+ start: start.value,
3151
+ end: end.value
3152
+ }, dateContext, {
3153
+ date: "short",
3154
+ zone: "always"
3155
+ }) });
3156
+ }
3089
3157
  //#endregion
3090
3158
  //#region ../blocks/src/system/runtime/components/booking/RequestSentMessage.tsx
3091
3159
  function describeRequestSent(request) {
@@ -3172,7 +3240,7 @@ function bookingViewRequest(view, dateContext, service) {
3172
3240
  function CompletionMessage({ request, ...success }) {
3173
3241
  return request ? /* @__PURE__ */ jsx(RequestSentMessage, { request }) : /* @__PURE__ */ jsx(SuccessMessage, { ...success });
3174
3242
  }
3175
- function BookingFormCompletion({ resourceName, successMessage, redirectState, localNote, customerEmail, demoEmailSuppressed = false, request = null }) {
3243
+ function BookingFormCompletion({ resourceName, appointment, dateContext, successMessage, redirectState, localNote, customerEmail, demoEmailSuppressed = false, request = null }) {
3176
3244
  const returnContext = redirectState.kind === "success" ? readAppointmentCheckoutReturnContext(redirectState.sessionId) : null;
3177
3245
  const note = redirectState.kind === "success" ? returnContext?.mailingListNote ?? null : localNote;
3178
3246
  const confirmedEmail = returnContext?.customerEmail ?? customerEmail;
@@ -3180,6 +3248,8 @@ function BookingFormCompletion({ resourceName, successMessage, redirectState, lo
3180
3248
  request,
3181
3249
  copy: getBookingSuccessCopy(successMessage),
3182
3250
  resourceName,
3251
+ appointment,
3252
+ dateContext,
3183
3253
  demoEmailSuppressed,
3184
3254
  customerEmail: confirmedEmail
3185
3255
  }), note ? /* @__PURE__ */ jsx(BookingMailingListNote, {
@@ -3188,6 +3258,11 @@ function BookingFormCompletion({ resourceName, successMessage, redirectState, lo
3188
3258
  className: "rb-mt-4"
3189
3259
  }) : null] });
3190
3260
  }
3261
+ /** Checkout returns use verified facts; immediate completions use the accepted submission. */
3262
+ function bookingViewAppointment(view, verification) {
3263
+ if (verification.tag === "confirmed") return verification.appointment;
3264
+ return view.kind === "success" ? view.appointment : null;
3265
+ }
3191
3266
  //#endregion
3192
3267
  //#region ../blocks/src/system/runtime/nodes/booking-form.submit-handler.ts
3193
3268
  function appendRebookFlag(url, enabled) {
@@ -3351,6 +3426,8 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
3351
3426
  children: /* @__PURE__ */ jsx(BookingFormCompletion, {
3352
3427
  successMessage: render.display.successMessage,
3353
3428
  resourceName: viewState.resourceName,
3429
+ appointment: bookingViewAppointment(booking.view, verification.state),
3430
+ dateContext: render.hydration.dateContext,
3354
3431
  redirectState,
3355
3432
  localNote: localMailingListNote,
3356
3433
  customerEmail: localCustomerEmail,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
3
- import { t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
4
- import { t as BookingFormClient } from "./booking-form.client-q-RpJ4aF.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
3
+ import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
4
+ import { t as BookingFormClient } from "./booking-form.client-RICCQ0h2.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Chu5BHra.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DYBioANh.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/bookingForm.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
3
- import { Er as normalizeEventRegistrationPageSurfaceSubject, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kn as normalizeBookingFormConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Ot as getSingleSelectedPricingOptionId, P as resolveHeadlessEventRegistrationView, Vt as resolveRegistrationDisplay, Wt as createHostedBlockApiConfig, ar as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, br as readRuntimeNow, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, qn as normalizeBookingServices, xn as resolveRuntimeEventDestination } from "./wizardSteps-BkZc-hKH.mjs";
4
- import { U as publicEventSchema } from "./noop-B7H6gCbj.mjs";
5
- import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-CG2tQx8K.mjs";
6
- import { n as useBlockApi, t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
3
+ import { Er as normalizeEventRegistrationPageSurfaceSubject, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kn as normalizeBookingFormConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Ot as getSingleSelectedPricingOptionId, P as resolveHeadlessEventRegistrationView, Vt as resolveRegistrationDisplay, Wt as createHostedBlockApiConfig, ar as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, br as readRuntimeNow, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, qn as normalizeBookingServices, xn as resolveRuntimeEventDestination } from "./wizardSteps-BO2OmMO9.mjs";
4
+ import { W as publicEventSchema } from "./noop-B3RNPVrt.mjs";
5
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-C3g8_Hqb.mjs";
6
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
7
7
  import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
8
- 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-q-RpJ4aF.mjs";
8
+ 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-RICCQ0h2.mjs";
9
9
  import * as React$1 from "react";
10
10
  import React, { useCallback, useEffect, useMemo, useReducer } from "react";
11
11
  //#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
3
3
  import { i as carouselRegionAttributes } from "./carousel.shared-DBnWEJzo.mjs";
4
- import { t as CarouselNodeClient } from "./carousel.client-ArlGmYWV.mjs";
4
+ import { t as CarouselNodeClient } from "./carousel.client-CEWtoZd3.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
4
4
  import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
5
5
  import React, { useCallback, useEffect, useRef, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
3
- import { t as CartClient } from "./cart.client-DHOxZbJ7.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
3
+ import { t as CartClient } from "./cart.client-dC938WrX.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-D-yh-P7g.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-TJYCBO_H.mjs";
2
+ import { t as CartController } from "./shop-commerce-DQznNBEo.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-G0j0HXBO.mjs";
3
- import { t as CheckoutClient } from "./checkout.client-DsBb2Pkm.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-CefG0d2F.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-D-yh-P7g.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-TJYCBO_H.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-DQznNBEo.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx