@riverbankcms/sdk 0.183.0 → 0.185.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 (236) hide show
  1. package/README.md +34 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
  3. package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
  5. package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
  6. package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
  7. package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
  9. package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
  10. package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
  11. package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
  12. package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
  13. package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
  14. package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
  16. package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
  17. package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  29. package/dist/_dts/sdk/src/index.d.ts +7 -7
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
  54. package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
  55. package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
  56. package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
  57. package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
  58. package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
  61. package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
  62. package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
  63. package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
  66. package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
  67. package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
  68. package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
  69. package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
  70. package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
  72. package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
  73. package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
  74. package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
  75. package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
  76. package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
  77. package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
  78. package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
  79. package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
  80. package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
  81. package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
  82. package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
  83. package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
  84. package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
  85. package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
  86. package/dist/client/bookings.mjs +5 -5
  87. package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
  88. package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
  89. package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
  90. package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
  91. package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
  92. package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
  93. package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
  94. package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
  95. package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
  96. package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
  97. package/dist/client/client.mjs +61 -48
  98. package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
  99. package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
  100. package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
  101. package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
  102. package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
  103. package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
  104. package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
  105. package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
  106. package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
  107. package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
  108. package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
  109. package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
  110. package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
  111. package/dist/client/gifting/client.mjs +8 -8
  112. package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
  113. package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
  114. package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
  115. package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
  116. package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
  117. package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
  118. package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
  119. package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
  120. package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
  121. package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
  122. package/dist/client/portal/client.mjs +999 -81
  123. package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
  124. package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
  125. package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
  126. package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
  127. package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
  128. package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
  129. package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
  130. package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
  131. package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
  132. package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
  133. package/dist/client/rendering/client.mjs +28 -27
  134. package/dist/client/rendering/islands.mjs +1 -1
  135. package/dist/client/rendering.mjs +5 -5
  136. package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
  137. package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
  138. package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
  139. package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
  140. package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
  141. package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
  142. package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
  143. package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
  144. package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
  145. package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
  146. package/dist/client/spam-protection.mjs +1 -1
  147. package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
  148. package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
  149. package/dist/client/src-CXOxpNtj.mjs +3 -0
  150. package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
  151. package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
  152. package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
  153. package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
  154. package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
  155. package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
  156. package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
  157. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
  158. package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
  159. package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
  160. package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
  161. package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
  162. package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
  163. package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
  164. package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
  165. package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
  166. package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
  167. package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
  168. package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
  169. package/dist/preview-next/client/runtime.mjs +3 -3
  170. package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
  171. package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
  172. package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
  173. package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
  174. package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
  175. package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
  176. package/dist/preview-next/container-responsive.css +158 -3
  177. package/dist/preview-next/keepAlive.mjs +1 -1
  178. package/dist/preview-next/middleware.mjs +1 -1
  179. package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
  180. package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
  181. package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
  182. package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
  183. package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
  184. package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
  185. package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
  186. package/dist/server/config-validation.mjs +1 -1
  187. package/dist/server/config.mjs +2 -2
  188. package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
  189. package/dist/server/data/resolveBlockData.mjs +1 -1
  190. package/dist/server/index.mjs +3 -3
  191. package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
  192. package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
  193. package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
  194. package/dist/server/manifest.mjs +2 -2
  195. package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
  196. package/dist/server/navigation.mjs +1 -1
  197. package/dist/server/next.mjs +9 -9
  198. package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
  199. package/dist/server/page-converter.mjs +17 -4
  200. package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
  201. package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
  202. package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
  203. package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
  204. package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
  205. package/dist/server/portal.mjs +3 -3
  206. package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
  207. package/dist/server/prebuild.mjs +1 -1
  208. package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
  209. package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
  210. package/dist/server/rendering/components/pageShared.mjs +1 -1
  211. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  212. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  213. package/dist/server/rendering/server.mjs +4 -4
  214. package/dist/server/rendering.mjs +9 -9
  215. package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
  216. package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
  217. package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
  218. package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
  221. package/dist/server/theme-bridge.mjs +5 -4
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
  224. package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
  225. package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
  226. package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
  227. package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
  228. package/dist/styles/index.css +684 -181
  229. package/package.json +1 -1
  230. package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
  231. package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
  232. package/dist/client/src-DqMbCjI1.mjs +0 -3
  233. package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
  234. package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
  235. package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
  236. package/dist/server/media-gvfIw3z8.mjs +0 -216
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -1,27 +1,28 @@
1
1
  "use client";
2
- import { An as formatCurrencyAmount, Cn as toUtcIsoDateTimeString, D as isBookingRequirementConsentFieldId, Fn as unsafeAsAppointmentResourceId, In as unsafeAsAppointmentServiceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Zt as hasText, a as clearWorkflowFeedback, an as formatDateTimeRange, cn as formatTime, dn as inferSiteDateLocale, fn as resolveBookingDisplayContext, i as okWith, n as err, nn as formatDate, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever, un as formatTimeZoneCityLabel, wn as resolveBookingBusinessTimeZone } from "./src-Do_s2lqH.mjs";
3
- import { $i as resolveDefaultBookingServiceId, $r as formatValidity, Aa as bookingHasPackagePaymentChoices, Ba as resolveBookingPurchasablePackages, Bi as getBookingSuccessCopy, Da as BOOKING_FORM_DATA_RESERVED_KEYS, Fa as resolveBookingPackagePaymentSelection, Fi as buildBookingFormInteractiveIslandProps, Gi as normalizeBookingFormConfig, Ha as getBookingServiceSlidingScale, Ia as resolveBookingPackageSources, Ii as readOverrideServiceCategories, Ji as prepareBookingSubmission, Js as formatCreditProductBalance, Ki as normalizeBookingServices, Ks as repriceBookingCollectionOptions, La as resolveBookingPaymentAvailability, Li as deriveBookingFormViewState, Ma as bookingPackageRequestKey, Ms as resolveDateRuntimeContext, Na as bookingRequiresResourceSelection, Pa as reconcileBookingPackagePurchase, Pr as createSignInReturnDraftStore, Qi as resolveBookingSiteId, Ra as resolveBookingPaymentChoice, Ri as formatBookingSubmissionPreparationError, Sa as toBookingQuestionsAnswerDraft, Ta as formatCentsAsCurrencyInput, Tc as unsafeAsSiteId, Ui as isBookingServiceSlidingAmountInRange, Va as toBookingPurchasablePackages, Wi as isSameOpenCheckout, Xi as resolveBookingPaymentStep, Xs as formatCreditProductUnits, Yi as resolveAppointmentCheckoutVerificationState, Ys as formatCreditProductPayment, Zi as resolveBookingSelectedService, Zr as formatCommercePrice, _a as decideBookingQuestionsRestoration, aa as resolveSelectedAppointmentConsent, ao as leavePage, ca as appointmentQuestionsRefusal, da as needsAppointmentQuestionsRefresh, dt as paymentChoiceDetails, ea as resolveLowestBookingPaymentStep, fa as resolveSelectedAppointmentQuestions, ft as paymentChoicePrice, ga as bookingQuestionsTabDraftSchema, gt as createBookingBrowserDraftStore, ha as bookingQuestionsOwnerSchema, ia as projectSelectedAppointmentConsentIntoForm, ic as resolveBookingSignupOffer, ja as bookingPackagePurchaseId, js as readRuntimeNow, ka as applyBookingPaymentAdmission, la as deriveAppointmentBookingQuestions, lo as bookingPresentation, lt as buildBookingPaymentSelectionViewModel, ma as bookingQuestionsOwnerOf, mr as isEmailAddress, na as snapshotBookingShownTerms, oa as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, pa as bookingQuestionsAnswerDraftSchema, qi as parseBookingCurrencyInputToCents, ra as toSelectedCollectionOptionKind, sa as applyAppointmentBookingQuestionsEvent, st as onlineBookingUnavailableMessage, ta as selectedBookingCollectionOptionKind, ua as isAppointmentBookingQuestionsEvent, ut as buildReviewedBookingPaymentViewModel, wa as toBookingQuestionsTabDraft, xa as restoreBookingQuestionsAnswers, ya as isBookingQuestionsOwner, za as resolveBookingPaymentMode, zi as getBookingRedirectStateFromLocation } from "./wizardSteps-DDvL3iza.mjs";
4
- import { f as unsafeAsCustomerPassId, p as unsafeAsPassId } from "./portalRoutes-DTHlWg_F.mjs";
5
- import { c as checkBookingQuestionsAnswered, h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
6
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DQNkfNLA.mjs";
7
- import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
8
- import { o as clientPersonPhrases, r as OptionalMark } from "./BookingQuestionFields-DCh9MUIF.mjs";
9
- import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-D1L0pe__.mjs";
10
- import { c as logger } from "./islands-DJDLGQEm.mjs";
11
- import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
12
- import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-DvPekKeM.mjs";
13
- import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
14
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-D0UsiFmm.mjs";
2
+ import { An as formatCurrencyAmount, Cn as toUtcIsoDateTimeString, D as isBookingRequirementConsentFieldId, Fn as unsafeAsAppointmentResourceId, In as unsafeAsAppointmentServiceId, Mn as parseAppointmentId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Zt as hasText, a as clearWorkflowFeedback, an as formatDateTimeRange, cn as formatTime, dn as inferSiteDateLocale, fn as resolveBookingDisplayContext, i as okWith, n as err, nn as formatDate, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever, un as formatTimeZoneCityLabel, wn as resolveBookingBusinessTimeZone } from "./src-CJf3u16T.mjs";
3
+ import { $i as resolveBookingSiteId, $s as formatCreditProductPayment, Aa as applyBookingPaymentAdmission, Ba as resolveBookingPaymentMode, Bi as getBookingRedirectStateFromLocation, Ca as toBookingQuestionsAnswerDraft, Ea as formatCentsAsCurrencyInput, Fa as reconcileBookingPackagePurchase, Fr as createSignInReturnDraftStore, Gi as isSameOpenCheckout, Ha as toBookingPurchasablePackages, Ia as resolveBookingPackagePaymentSelection, Ii as buildBookingFormInteractiveIslandProps, Ji as parseBookingCurrencyInputToCents, Ki as normalizeBookingFormConfig, La as resolveBookingPackageSources, Li as readOverrideServiceCategories, Ma as bookingPackagePurchaseId, Na as bookingPackageRequestKey, Ns as readRuntimeNow, Oa as BOOKING_FORM_DATA_RESERVED_KEYS, Pa as bookingRequiresResourceSelection, Ps as resolveDateRuntimeContext, Qi as resolveBookingSelectedService, Qr as formatCommercePrice, Qs as formatCreditProductBalance, Ra as resolveBookingPaymentAvailability, Ri as deriveBookingFormViewState, Sa as restoreBookingQuestionsAnswers, Ta as toBookingQuestionsTabDraft, Ua as getBookingServiceSlidingScale, Va as resolveBookingPurchasablePackages, Vi as getBookingSuccessCopy, Wi as isBookingServiceSlidingAmountInRange, Xi as resolveAppointmentCheckoutVerificationState, Xs as repriceBookingCollectionOptions, Yi as prepareBookingSubmission, Zi as resolveBookingPaymentStep, _a as bookingQuestionsTabDraftSchema, _t as createBookingBrowserDraftStore, aa as projectSelectedAppointmentConsentIntoForm, ba as isBookingQuestionsOwner, ca as applyAppointmentBookingQuestionsEvent, cc as resolveBookingSignupOffer, ct as onlineBookingUnavailableMessage, da as isAppointmentBookingQuestionsEvent, dt as buildReviewedBookingPaymentViewModel, ea as resolveDefaultBookingServiceId, ec as formatCreditProductUnits, ei as formatValidity, fa as needsAppointmentQuestionsRefresh, ft as paymentChoiceDetails, ga as bookingQuestionsOwnerSchema, ha as bookingQuestionsOwnerOf, hr as isEmailAddress, ia as toSelectedCollectionOptionKind, ja as bookingHasPackagePaymentChoices, kc as unsafeAsSiteId, la as appointmentQuestionsRefusal, ma as bookingQuestionsAnswerDraftSchema, na as selectedBookingCollectionOptionKind, oa as resolveSelectedAppointmentConsent, oo as leavePage, pa as resolveSelectedAppointmentQuestions, pt as paymentChoicePrice, qi as normalizeBookingServices, ra as snapshotBookingShownTerms, sa as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, ta as resolveLowestBookingPaymentStep, ua as deriveAppointmentBookingQuestions, uo as bookingPresentation, ut as buildBookingPaymentSelectionViewModel, va as decideBookingQuestionsRestoration, za as resolveBookingPaymentChoice, zi as formatBookingSubmissionPreparationError } from "./wizardSteps-BbroaNkT.mjs";
4
+ import { m as unsafeAsPassId, p as unsafeAsCustomerPassId } from "./portalRoutes-D3Ttfv5x.mjs";
5
+ import { c as checkBookingQuestionsAnswered, h as assertNever$1 } from "./bookingCalendar-9nFa_do4.mjs";
6
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
7
+ import { o as layoutServicesByCategory, r as formatAppointmentPrice } from "./presentation-CudSUZ6Q.mjs";
8
+ import { c as clientPersonPhrases, i as OptionalMark, o as isFieldsetQuestion, r as BookingQuestionFrame } from "./BookingQuestionFields-Bia1E7Cj.mjs";
9
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-CG77Keax.mjs";
10
+ import { c as logger } from "./islands-C95FyxUF.mjs";
11
+ import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
12
+ import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-BWrXAKvs.mjs";
13
+ import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
14
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CP-rQOZV.mjs";
15
15
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
16
- import { t as CheckboxChoice } from "./CheckboxChoice-BdGxZWeg.mjs";
16
+ import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
17
17
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
18
18
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
19
19
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
20
- import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, i as SignInNotice, l as useBookingNowIso, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, s as usePolling, t as BookingMailingListNote, u as portalSessionIdentity } from "./BookingMailingListNote-qqTxGGS4.mjs";
21
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DvdFFWOT.mjs";
22
- import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-DcjtDpUu.mjs";
23
- import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-BunFTnIq.mjs";
24
- import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-L1Vge8tG.mjs";
20
+ import { a as SignInNotice, c as usePolling, d as portalSessionIdentity, f as useSignInReturn, i as BookingQuestionSections, l as parseBookingSubmissionFailure, m as PaymentChoiceRows, n as BookingNextStep, p as useBookingQuestionsRefresh, r as OrganiserContactLine, s as BookingConsentAgreement, t as BookingMailingListNote, u as useBookingNowIso } from "./BookingMailingListNote-D_khdttF.mjs";
21
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DMtTHqex.mjs";
22
+ import { n as SiteChoiceOptions } from "./SiteChoiceGroup-BZ5I0Vhy.mjs";
23
+ import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-nD6nuvSW.mjs";
24
+ import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
25
+ import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-p4aXtVsF.mjs";
25
26
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
26
27
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
27
28
  import { z } from "zod";
@@ -405,6 +406,10 @@ function summariseBookingHeldPackages(source, packages, heldWithTeamMembers) {
405
406
  }
406
407
  //#endregion
407
408
  //#region ../blocks/src/system/runtime/nodes/booking-form.payment-confirmation.ts
409
+ /** Whether pressing the button goes on to a card payment. */
410
+ function confirmationLeadsToPayment(summary) {
411
+ return summary !== null && summary.kind !== "pay_directly";
412
+ }
408
413
  function resolveBookingPaymentConfirmationSummary(input) {
409
414
  const service = input.service;
410
415
  if (!service || !service.durationMinutes || !Number.isFinite(input.priceAmount) || input.priceAmount <= 0) return null;
@@ -422,15 +427,30 @@ function resolveBookingPaymentConfirmationSummary(input) {
422
427
  };
423
428
  case "held_package": return null;
424
429
  case "per_session":
425
- case "unselected": return bookingPaymentNeedsCardConfirmation(input.paymentResolution) ? {
430
+ case "unselected": return perSessionConfirmationSummary({
426
431
  ...base,
427
- kind: "per_session",
428
432
  priceCurrency: service.priceCurrency ?? service.pricing?.currency ?? "USD"
429
- } : null;
433
+ }, input.paymentResolution, input.businessName);
430
434
  }
431
435
  }
432
- function bookingPaymentNeedsCardConfirmation(payment) {
433
- return payment.kind === "ready" && payment.choice.kind === "selected" && payment.choice.option.kind !== "deferred_manual";
436
+ /** A single session: paid by card here, or straight to the business. */
437
+ function perSessionConfirmationSummary(base, payment, businessName) {
438
+ switch (perSessionConfirmationKind(payment)) {
439
+ case "per_session": return {
440
+ ...base,
441
+ kind: "per_session"
442
+ };
443
+ case "pay_directly": return {
444
+ ...base,
445
+ kind: "pay_directly",
446
+ payee: businessName?.trim() || null
447
+ };
448
+ case null: return null;
449
+ }
450
+ }
451
+ function perSessionConfirmationKind(payment) {
452
+ if (payment.kind !== "ready" || payment.choice.kind !== "selected") return null;
453
+ return payment.choice.option.kind === "deferred_manual" ? "pay_directly" : "per_session";
434
454
  }
435
455
  /** The discounted amount actually shown is the submission's ceiling, using the existing term snapshot. */
436
456
  function discountedBookingShownTerms(payment, totalCents, currency) {
@@ -2947,7 +2967,8 @@ function useHeadlessBookingFlow(options) {
2947
2967
  service: selectedService,
2948
2968
  priceAmount: discountedPriceAmount(manualDiscount.discount, paymentPriceAmount),
2949
2969
  choice: paymentChoice,
2950
- paymentResolution
2970
+ paymentResolution,
2971
+ businessName: options.siteName
2951
2972
  });
2952
2973
  const availabilityDisplay = resolveBookingFormDateDisplay({
2953
2974
  viewerTimeZone,
@@ -3507,6 +3528,20 @@ function BookingPaymentConfirmationText({ booking, summary }) {
3507
3528
  const dateTime = formatBookingConfirmationDateTime(booking);
3508
3529
  const price = formatCurrencyAmount(summary.priceAmount, summary.priceCurrency, { decimals: "auto" });
3509
3530
  const when = dateTime ? ` · ${dateTime}` : "";
3531
+ if (summary.kind === "pay_directly") return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("p", {
3532
+ className: "ab-text rb-on-surface--muted",
3533
+ children: [
3534
+ summary.serviceTitle,
3535
+ " · ",
3536
+ summary.durationMinutes,
3537
+ " min · ",
3538
+ price,
3539
+ when
3540
+ ]
3541
+ }), /* @__PURE__ */ jsx("p", {
3542
+ className: "ab-text",
3543
+ children: payDirectlyLine(price, summary.payee)
3544
+ })] });
3510
3545
  if (summary.kind === "buy_package") return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("p", {
3511
3546
  className: "ab-text rb-on-surface--muted",
3512
3547
  children: [
@@ -3537,6 +3572,10 @@ function BookingPaymentConfirmationText({ booking, summary }) {
3537
3572
  ]
3538
3573
  });
3539
3574
  }
3575
+ /** Nothing is taken online, so say so before the client confirms, and who they'll pay. */
3576
+ function payDirectlyLine(price, payee) {
3577
+ return `You’ll pay ${price} to ${payee ?? "the business"} directly. Nothing is taken online.`;
3578
+ }
3540
3579
  function BookingFormSubmitActions({ booking, onSubmit }) {
3541
3580
  const currentStepIndex = booking.currentStep?.visibleIndex ?? 0;
3542
3581
  const isFirstStep = currentStepIndex === 0;
@@ -3616,7 +3655,7 @@ function BookingOfferReview({ review, booking }) {
3616
3655
  });
3617
3656
  }
3618
3657
  function bookingPrimaryActionLabel(booking, isLastStep, summary) {
3619
- return isLastStep ? lastStepActionLabel(booking, summary) : resolvePrimaryActionLabel(false, Boolean(summary));
3658
+ return isLastStep ? lastStepActionLabel(booking, summary) : resolvePrimaryActionLabel(false, confirmationLeadsToPayment(summary));
3620
3659
  }
3621
3660
  function lastStepActionLabel(booking, summary) {
3622
3661
  if (booking.services.selected?.requiresApproval) return "Send request";
@@ -3624,7 +3663,7 @@ function lastStepActionLabel(booking, summary) {
3624
3663
  if (summary?.kind === "buy_package") return resolvePrimaryActionLabel(true, true);
3625
3664
  const discount = booking.discount.preview?.discount;
3626
3665
  if (discount) return discountedActionLabel(booking, discount);
3627
- return resolvePrimaryActionLabel(true, Boolean(summary));
3666
+ return resolvePrimaryActionLabel(true, confirmationLeadsToPayment(summary));
3628
3667
  }
3629
3668
  function discountedActionLabel(booking, discount) {
3630
3669
  if (discount.totalAfterDiscountCents === 0) return "Confirm booking";
@@ -3868,17 +3907,14 @@ function DefaultBookingQuestions({ booking }) {
3868
3907
  disabled: booking.status.tag === "submitting"
3869
3908
  });
3870
3909
  }
3871
- /** Radios and multi-choice checkboxes answer one question with several controls, so they're a named group. */
3872
- function isChoiceGroupField(field) {
3873
- return field.type === "radio" || field.type === "checkbox" && (field.options?.length ?? 0) > 1;
3874
- }
3875
3910
  function DefaultDynamicField({ booking, field }) {
3876
3911
  const error = field.error;
3877
3912
  const errorId = error ? field.errorId ?? `${field.inputId}-error` : `${field.inputId}-error`;
3878
3913
  const describedBy = [field.helpTextId, error ? errorId : null].filter(Boolean).join(" ") || void 0;
3879
- return /* @__PURE__ */ jsxs(DynamicFieldFrame, {
3880
- field,
3914
+ return /* @__PURE__ */ jsxs(BookingQuestionFrame, {
3915
+ field: field.field,
3881
3916
  describedBy,
3917
+ required: field.required,
3882
3918
  children: [
3883
3919
  /* @__PURE__ */ jsx(DynamicFieldLabel, { field }),
3884
3920
  field.helpText ? /* @__PURE__ */ jsx("p", {
@@ -3903,22 +3939,6 @@ function DefaultDynamicField({ booking, field }) {
3903
3939
  ]
3904
3940
  });
3905
3941
  }
3906
- /** A choice group is a fieldset whose legend is the question, as in the shared question fields. */
3907
- function DynamicFieldFrame({ children, describedBy, field }) {
3908
- if (!isChoiceGroupField(field.field)) return /* @__PURE__ */ jsx("div", {
3909
- className: "rb-space-y-2",
3910
- children
3911
- });
3912
- return /* @__PURE__ */ jsx("fieldset", {
3913
- className: "rb-space-y-2 rb-border-0 rb-p-0 rb-m-0 rb-min-w-0",
3914
- "aria-describedby": describedBy,
3915
- ...field.field.type === "radio" ? {
3916
- role: "radiogroup",
3917
- ...field.required ? { "aria-required": true } : {}
3918
- } : {},
3919
- children
3920
- });
3921
- }
3922
3942
  /** Optional fields say so and required ones carry no mark, matching the question fields beside them. */
3923
3943
  function DynamicFieldLabel({ field }) {
3924
3944
  if (field.field.type === "booking_requirement_consent") return /* @__PURE__ */ jsx(BookingConsentAgreement, {
@@ -3928,7 +3948,7 @@ function DynamicFieldLabel({ field }) {
3928
3948
  requiredMark: "none"
3929
3949
  });
3930
3950
  const text = /* @__PURE__ */ jsxs(Fragment, { children: [field.label, field.required ? null : /* @__PURE__ */ jsx(OptionalMark, {})] });
3931
- return isChoiceGroupField(field.field) ? /* @__PURE__ */ jsx("legend", {
3951
+ return isFieldsetQuestion(field.field) ? /* @__PURE__ */ jsx("legend", {
3932
3952
  id: field.labelId,
3933
3953
  className: "form-label rb-p-0",
3934
3954
  children: text
@@ -4032,26 +4052,17 @@ function SelectInput({ control }) {
4032
4052
  });
4033
4053
  }
4034
4054
  function RadioInput({ control }) {
4035
- const { field, value, onChange, onBlur } = control.props;
4036
- return /* @__PURE__ */ jsx("div", {
4037
- className: "rb-space-y-2",
4038
- children: fieldOptions(control).map((option) => /* @__PURE__ */ jsxs("label", {
4039
- className: "form-check",
4040
- children: [/* @__PURE__ */ jsx("input", {
4041
- type: "radio",
4042
- name: field.id,
4043
- value: option.value,
4044
- checked: value === option.value,
4045
- onChange: (event) => onChange(event.target.value),
4046
- onBlur,
4047
- required: field.required,
4048
- ...control.validation,
4049
- className: "form-radio"
4050
- }), /* @__PURE__ */ jsx("span", {
4051
- className: "form-check-label",
4052
- children: option.label
4053
- })]
4054
- }, option.value))
4055
+ const { field, onChange, onBlur } = control.props;
4056
+ return /* @__PURE__ */ jsx(SiteChoiceOptions, {
4057
+ size: "row",
4058
+ name: field.id,
4059
+ options: fieldOptions(control),
4060
+ value: control.text,
4061
+ required: field.required,
4062
+ invalid: control.validation["aria-invalid"] === "true",
4063
+ describedBy: control.validation["aria-describedby"],
4064
+ onChange,
4065
+ onBlur
4055
4066
  });
4056
4067
  }
4057
4068
  function CheckboxGroupInput({ control }) {
@@ -4378,9 +4389,25 @@ function DefaultResourceChoices({ allowAnyResource, booking, resources, selected
4378
4389
  ]
4379
4390
  });
4380
4391
  }
4392
+ /** The listing's own price label; a tiered service carries no tiers here, so its session price stands in. */
4393
+ function selectedServicePrice(service) {
4394
+ return formatAppointmentPrice({
4395
+ pricing: service.pricing && service.pricing.pricingStrategy !== "tiered" ? {
4396
+ ...service.pricing,
4397
+ singlePriceAmount: service.pricing.singlePriceAmount ?? null,
4398
+ slidingMinAmount: service.pricing.slidingMinAmount ?? null,
4399
+ slidingMaxAmount: service.pricing.slidingMaxAmount ?? null,
4400
+ options: []
4401
+ } : void 0,
4402
+ priceAmount: service.priceAmount ?? null,
4403
+ priceCurrency: service.priceCurrency ?? null,
4404
+ onlinePaymentMode: service.onlinePaymentMode
4405
+ });
4406
+ }
4381
4407
  function BookingSelectedServiceSummary({ services }) {
4382
4408
  const service = services.items.length === 1 ? services.items[0] : void 0;
4383
4409
  if (!service) return null;
4410
+ const price = selectedServicePrice(service);
4384
4411
  return /* @__PURE__ */ jsxs("div", {
4385
4412
  className: "rb-reg-summary",
4386
4413
  children: [
@@ -4400,6 +4427,10 @@ function BookingSelectedServiceSummary({ services }) {
4400
4427
  service.durationMinutes,
4401
4428
  " minutes"
4402
4429
  ]
4430
+ }) : null,
4431
+ price ? /* @__PURE__ */ jsxs("p", {
4432
+ className: "ab-text rb-on-surface--muted",
4433
+ children: ["Price: ", price]
4403
4434
  }) : null
4404
4435
  ]
4405
4436
  });
@@ -4738,18 +4769,25 @@ const SuccessMessage = ({ copy, resourceName, appointment, dateContext, classNam
4738
4769
  },
4739
4770
  noteClassName: "ab-text"
4740
4771
  }),
4741
- secondaryBody: /* @__PURE__ */ jsx(AppointmentDetails, {
4772
+ secondaryBody: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(AppointmentDetails, {
4742
4773
  appointment,
4743
4774
  dateContext,
4744
4775
  resourceName,
4745
4776
  person
4746
- }),
4777
+ }), demoEmailSuppressed ? null : /* @__PURE__ */ jsx(BookingNextStep, { target: appointmentNextStep(appointment) })] }),
4747
4778
  className: ["ab-center", className ?? ""].join(" ").trim(),
4748
4779
  titleClassName: "ab-terminal-title",
4749
4780
  role: "alert",
4750
4781
  live: "polite"
4751
4782
  });
4752
4783
  };
4784
+ function appointmentNextStep(appointment) {
4785
+ const id = appointment ? parseAppointmentId(appointment.id) : null;
4786
+ return id?.ok ? {
4787
+ kind: "appointment",
4788
+ appointmentId: id.value
4789
+ } : { kind: "bookings" };
4790
+ }
4753
4791
  function AppointmentDetails({ appointment, dateContext, resourceName, person }) {
4754
4792
  if (!appointment) return resourceName ? /* @__PURE__ */ jsx("p", {
4755
4793
  className: "ab-text rb-on-surface--muted",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as calendarLinks } from "./src-uwCpbHXG.mjs";
2
+ import { n as calendarLinks, r as customerBookingCalendarUid } from "./src-CMuv8vSO.mjs";
3
3
  //#region ../core/src/assert-never.ts
4
4
  function assertNever(value, message = "Unexpected variant") {
5
5
  throw new Error(`${message}: ${String(value)}`);
@@ -136,7 +136,11 @@ function bookingCalendar(event, outcome) {
136
136
  }];
137
137
  const bookingId = identity.scope === "occurrence" ? identity.attendeeId : identity.registrationId;
138
138
  const entries = sessions.map((session) => ({
139
- uid: `booking-${bookingId}-${session.occurrenceId}@riverbankcms.com`,
139
+ uid: customerBookingCalendarUid({
140
+ kind: "event",
141
+ bookingId,
142
+ occurrenceId: session.occurrenceId
143
+ }),
140
144
  sequence: 0,
141
145
  title: event.title,
142
146
  startsAt: new Date(session.startsAt),
@@ -1,14 +1,15 @@
1
1
  "use client";
2
- import { t as BookingFormClient } from "./booking-form.client-DycPGtke.mjs";
3
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
2
+ import { t as BookingFormClient } from "./booking-form.client-DAlWWWjV.mjs";
3
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
5
+ import { t as resolveFormPortalToken } from "./portalSession-0XhXyTxT.mjs";
5
6
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
7
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
7
8
  import "react";
8
9
  import { jsx } from "react/jsx-runtime";
9
10
  //#region src/rendering/islands/enhancers/bookingForm.tsx
10
11
  const decode = defineIslandPropsDecoder("booking-form");
11
- const enhance = (root, props) => {
12
+ const enhance = async (root, props) => {
12
13
  const { apiBaseUrl, portalToken } = props;
13
14
  if (!props.render.hydration.formId) throw new Error("[sdk:islands] booking-form requires formId");
14
15
  const siteId = props.siteId;
@@ -19,7 +20,7 @@ const enhance = (root, props) => {
19
20
  ...buildRouteIslandApiConfig({
20
21
  apiBaseUrl,
21
22
  readAuthority: props.readAuthority,
22
- portalToken,
23
+ portalToken: await resolveFormPortalToken(portalToken),
23
24
  siteId
24
25
  }),
25
26
  pageNavigation: props.render.hydration.pageNavigation
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { S as publicEventSchema, t as assertNever } from "./src-Do_s2lqH.mjs";
3
- import { $ as deriveEventRegistrationSteps, Gi as normalizeBookingFormConfig, Hr as resolveRegistrationDisplay, Ki as normalizeBookingServices, Oa as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Tr as getSingleSelectedPricingOptionId, at as toHeadlessPaymentSelection, it as resolveHeadlessEventRegistrationView, js as readRuntimeNow, nt as resolveEventRegistrationSubmitPlan, ot as toInternalPaymentSelection, rt as resolveHeadlessEventRegistrationStatus, to as createHostedBlockApiConfig, tt as normalizeEventRegistrationMaxTickets, vi as normalizeEventRegistrationPageSurfaceSubject, yo as resolveRuntimeEventDestination, yt as entryChoosesEvent } from "./wizardSteps-DDvL3iza.mjs";
4
- 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-DycPGtke.mjs";
5
- import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-BTLYhVxD.mjs";
6
- import { n as useBlockApi, t as BlockApiProvider } from "./context-D1L0pe__.mjs";
2
+ import { S as publicEventSchema, t as assertNever } from "./src-CJf3u16T.mjs";
3
+ import { Er as getSingleSelectedPricingOptionId, Ki as normalizeBookingFormConfig, Ns as readRuntimeNow, Ur as resolveRegistrationDisplay, at as resolveHeadlessEventRegistrationView, bt as entryChoosesEvent, et as deriveEventRegistrationSteps, it as resolveHeadlessEventRegistrationStatus, ka as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, no as createHostedBlockApiConfig, nt as normalizeEventRegistrationMaxTickets, ot as toHeadlessPaymentSelection, qi as normalizeBookingServices, rt as resolveEventRegistrationSubmitPlan, st as toInternalPaymentSelection, xo as resolveRuntimeEventDestination, yi as normalizeEventRegistrationPageSurfaceSubject } from "./wizardSteps-BbroaNkT.mjs";
4
+ 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-DAlWWWjV.mjs";
5
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-CARdr15t.mjs";
6
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-CG77Keax.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { useCallback, useEffect, useMemo, useReducer } from "react";
9
9
  //#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { xs as asPartialObject } from "./wizardSteps-DDvL3iza.mjs";
3
- import { Cn as openCardRoleValue, Sn as itemRoleValues, _n as runtimeBoxBackgroundSchema, gn as boxBackgroundSchema, hn as boxBackgroundOverlaySchema, xn as cardVariantRoleValues, yn as boxlessCardVariantValue } from "./islands-DJDLGQEm.mjs";
2
+ import { Cs as asPartialObject } from "./wizardSteps-BbroaNkT.mjs";
3
+ import { An as boxlessCardVariantValue, Dn as boxBackgroundSchema, En as boxBackgroundOverlaySchema, Mn as cardVariantRoleValues, Nn as itemRoleValues, On as runtimeBoxBackgroundSchema, Pn as openCardRoleValue } from "./islands-C95FyxUF.mjs";
4
4
  import { z } from "zod";
5
5
  z.enum(itemRoleValues);
6
6
  z.enum(cardVariantRoleValues);
@@ -1,36 +1,7 @@
1
1
  "use client";
2
- import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
3
- import { useEffect, useRef, useState } from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  //#region \0rolldown/runtime.js
6
3
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
7
4
  //#endregion
8
- //#region ../commerce/src/purchase/checkoutPresentation.ts
9
- function publishableKeyMode(publishableKey) {
10
- if (publishableKey.startsWith("pk_live_")) return "live";
11
- if (publishableKey.startsWith("pk_test_")) return "test";
12
- return null;
13
- }
14
- function checkBrowserStripeKey(publishableKey, livemode) {
15
- const key = publishableKey?.trim();
16
- if (!key) return {
17
- tag: "unavailable",
18
- reason: "missing_key"
19
- };
20
- const mode = publishableKeyMode(key);
21
- if (mode === null) return {
22
- tag: "unavailable",
23
- reason: "invalid_key"
24
- };
25
- return mode === (livemode ? "live" : "test") ? {
26
- tag: "ready",
27
- publishableKey: key
28
- } : {
29
- tag: "unavailable",
30
- reason: "mode_mismatch"
31
- };
32
- }
33
- //#endregion
34
5
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
35
6
  var require_pure$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
36
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -196,120 +167,43 @@ function loadBrowserStripe(context) {
196
167
  stripeByContext.set(cacheKey, loading);
197
168
  return loading;
198
169
  }
199
- //#endregion
200
- //#region ../blocks/src/system/runtime/nodes/event-registration/EventEmbeddedCheckoutStep.tsx
201
- function useStripeMount(props, container, load) {
202
- const [status, setStatus] = useState("loading");
203
- const callbacks = useRef(props);
204
- callbacks.current = props;
205
- useEffect(() => {
206
- const lifecycle = {
207
- active: true,
208
- instance: null
209
- };
210
- setStatus("loading");
211
- const fail = () => {
212
- if (!lifecycle.active) return;
213
- lifecycle.active = false;
214
- lifecycle.instance?.destroy();
215
- lifecycle.instance = null;
216
- setStatus("failed");
217
- };
218
- const timeout = window.setTimeout(fail, 3e4);
219
- const mount = async () => {
220
- if (checkBrowserStripeKey(props.checkout.browser.publishableKey, props.checkout.livemode).tag !== "ready") throw new Error("Invalid payment configuration");
221
- const stripe = await load(props.checkout.browser);
222
- if (!lifecycle.active) return;
223
- if (!stripe) throw new Error("Payment form unavailable");
224
- const instance = await stripe.createEmbeddedCheckoutPage({
225
- clientSecret: props.checkout.clientSecret,
226
- onComplete: () => {
227
- if (lifecycle.active) callbacks.current.onComplete();
228
- }
229
- });
230
- if (!lifecycle.active || !container.current) {
231
- instance.destroy();
232
- return;
233
- }
234
- lifecycle.instance = instance;
235
- instance.mount(container.current);
236
- clearTimeout(timeout);
237
- setStatus("ready");
238
- };
239
- mount().catch(fail);
240
- return () => {
241
- lifecycle.active = false;
242
- clearTimeout(timeout);
243
- lifecycle.instance?.destroy();
244
- };
245
- }, [
246
- props.checkout,
247
- container,
248
- load
249
- ]);
250
- return status;
170
+ const PAYMENT_RETURN_PARAMETERS = [
171
+ "payment_intent",
172
+ "payment_intent_client_secret",
173
+ "redirect_status"
174
+ ];
175
+ function replaceUrl(url) {
176
+ window.history.replaceState(window.history.state, "", url.toString());
251
177
  }
252
- function EventEmbeddedCheckoutStep(props) {
253
- return /* @__PURE__ */ jsx(EventEmbeddedCheckoutStepWithDeps, {
254
- ...props,
255
- load: loadBrowserStripe
256
- });
178
+ /**
179
+ * Reads the invoice ID kept in `param` and strips Stripe's payment return
180
+ * parameters. The ID is nonsecret and stays in the URL until the page has
181
+ * verified completion, so a reload can still read it back.
182
+ */
183
+ function readInvoiceReturn(param) {
184
+ const url = new URL(window.location.href);
185
+ PAYMENT_RETURN_PARAMETERS.forEach((key) => url.searchParams.delete(key));
186
+ replaceUrl(url);
187
+ const invoiceId = url.searchParams.get(param);
188
+ return invoiceId && /^in_[A-Za-z0-9]+$/.test(invoiceId) && invoiceId.length <= 255 ? invoiceId : null;
257
189
  }
258
- function EventEmbeddedCheckoutStepWithDeps(props) {
259
- const container = useRef(null);
260
- const heading = useRef(null);
261
- const status = useStripeMount(props, container, props.load);
262
- useEffect(() => {
263
- if (props.onBack) heading.current?.focus();
264
- }, [props.onBack]);
265
- return /* @__PURE__ */ jsxs("section", {
266
- className: "er-embedded-payment",
267
- children: [
268
- props.onBack ? /* @__PURE__ */ jsx("button", {
269
- type: "button",
270
- className: "er-back-btn er-embedded-payment__back",
271
- onClick: props.onBack,
272
- children: "← Back"
273
- }) : null,
274
- /* @__PURE__ */ jsx("h2", {
275
- ref: heading,
276
- tabIndex: -1,
277
- className: "rb-sr-only",
278
- children: "Payment"
279
- }),
280
- status === "loading" && /* @__PURE__ */ jsxs("div", {
281
- className: "er-center er-message",
282
- role: "status",
283
- "aria-live": "polite",
284
- children: [/* @__PURE__ */ jsx("div", {
285
- className: "er-icon",
286
- children: /* @__PURE__ */ jsx(SpinnerNode, { size: "lg" })
287
- }), /* @__PURE__ */ jsx("p", {
288
- className: "er-text--muted",
289
- children: "Loading secure payment…"
290
- })]
291
- }),
292
- status === "failed" && /* @__PURE__ */ jsxs("div", {
293
- className: "er-center er-message",
294
- role: "alert",
295
- children: [/* @__PURE__ */ jsx("p", {
296
- className: "er-text--muted er-message",
297
- children: "We couldn’t load the payment form."
298
- }), /* @__PURE__ */ jsx(ThemedButton, {
299
- type: "button",
300
- variant: props.buttonVariant,
301
- size: "md",
302
- onClick: props.onRetry,
303
- label: "Try again"
304
- })]
305
- }),
306
- /* @__PURE__ */ jsx("div", {
307
- ref: container,
308
- className: "er-message",
309
- style: { width: "100%" }
310
- })
311
- ]
312
- });
190
+ function rememberInvoiceReturn(param, invoiceId) {
191
+ const url = new URL(window.location.href);
192
+ url.searchParams.set(param, invoiceId);
193
+ replaceUrl(url);
194
+ }
195
+ function clearInvoiceReturn(param) {
196
+ const url = new URL(window.location.href);
197
+ url.searchParams.delete(param);
198
+ replaceUrl(url);
199
+ }
200
+ /** A Stripe `return_url` that carries only our nonsecret invoice ID. */
201
+ function invoiceStripeReturnUrl(param) {
202
+ const current = new URL(window.location.href);
203
+ const url = new URL(current.pathname, current.origin);
204
+ const invoiceId = readInvoiceReturn(param);
205
+ if (invoiceId) url.searchParams.set(param, invoiceId);
206
+ return url.toString();
313
207
  }
314
208
  //#endregion
315
- export { EventEmbeddedCheckoutStepWithDeps, EventEmbeddedCheckoutStep as default };
209
+ export { rememberInvoiceReturn as i, invoiceStripeReturnUrl as n, loadBrowserStripe as r, clearInvoiceReturn as t };
@@ -151,9 +151,16 @@ const PALETTE_TOKEN_NAMES = [
151
151
  "border"
152
152
  ];
153
153
  const paletteTokenNameSchema = z.enum(PALETTE_TOKEN_NAMES);
154
+ /** Fixed solver endpoints, distinct from the palette-local legacy `white`. Not picker options. */
155
+ const absoluteInkColors = {
156
+ absoluteBlack: "#000000",
157
+ absoluteWhite: "#ffffff"
158
+ };
154
159
  const themeColorBaseTokenNames = [
155
160
  ...PALETTE_TOKEN_NAMES,
156
161
  ...blockColorTokenNames,
162
+ "absoluteBlack",
163
+ "absoluteWhite",
157
164
  "white",
158
165
  "neutral",
159
166
  "primaryText",
@@ -181,7 +188,7 @@ function isKnownShadeToken(value) {
181
188
  const match = value.match(/^([a-zA-Z][a-zA-Z0-9]*)(?:-([0-9]{2,3}))$/);
182
189
  if (!match) return false;
183
190
  const [, base, shade] = match;
184
- return Boolean(base && shade && isKnownBaseToken(base) && shadeStepSet.has(shade));
191
+ return Boolean(base && shade && isKnownBaseToken(base) && !(base in absoluteInkColors) && shadeStepSet.has(shade));
185
192
  }
186
193
  function isThemeColorTokenBase(value) {
187
194
  return isKnownBaseToken(value) || isKnownShadeToken(value);
@@ -1508,4 +1515,4 @@ function buttonPartsCss(variant, selector, paint) {
1508
1515
  ].join("\n\n");
1509
1516
  }
1510
1517
  //#endregion
1511
- export { normalizePaletteHex as A, parseOpaqueButtonColourToken as C, blockColorTokenNames as D, PALETTE_TOKEN_NAMES as E, parseColorTokenParts as F, parseThemeColorToken as I, themeColorTokenSchema as L, paletteColorsFromEntries as M, paletteColorsSchema as N, hexColorSchema as O, paletteModeSchema as P, SYSTEM_BLOCK_KINDS as R, opaqueButtonColourTokenSchema as S, isFreeButtonRadius as T, buttonEffectApplicationSchema as _, partOwnedPseudoElements as a, buttonVariantIdSchema as b, STANDARD_BUTTON_SURFACE_POLICY as c, createStandardButtonSurfacePolicy as d, isVariantRole as f, actionVariablePrefix as g, actionVariableName as h, buttonShadowLayersValue as i, paletteColorEntries as j, isThemeColorToken as k, asSpecialVariantId as l, actionVariableFallback as m, BUTTON_LABEL_CLASS as n, affordanceIconMaskUrl as o, unsafeAsOpaqueButtonColourToken as p, buttonPartsCss as r, DEFAULT_VARIANT_ALIAS_ID as s, BUTTON_LABEL_ATTRIBUTE as t, buttonSizeNameSchema as u, buttonPressOffsetSchema as v, buttonKeyframesSchema as w, buttonVisualStatesSchema as x, buttonSystemSchema as y, VARIANT_ROLES as z };
1518
+ export { isThemeColorToken as A, VARIANT_ROLES as B, parseOpaqueButtonColourToken as C, absoluteInkColors as D, PALETTE_TOKEN_NAMES as E, paletteModeSchema as F, parseColorTokenParts as I, parseThemeColorToken as L, paletteColorEntries as M, paletteColorsFromEntries as N, blockColorTokenNames as O, paletteColorsSchema as P, themeColorTokenSchema as R, opaqueButtonColourTokenSchema as S, isFreeButtonRadius as T, buttonEffectApplicationSchema as _, partOwnedPseudoElements as a, buttonVariantIdSchema as b, STANDARD_BUTTON_SURFACE_POLICY as c, createStandardButtonSurfacePolicy as d, isVariantRole as f, actionVariablePrefix as g, actionVariableName as h, buttonShadowLayersValue as i, normalizePaletteHex as j, hexColorSchema as k, asSpecialVariantId as l, actionVariableFallback as m, BUTTON_LABEL_CLASS as n, affordanceIconMaskUrl as o, unsafeAsOpaqueButtonColourToken as p, buttonPartsCss as r, DEFAULT_VARIANT_ALIAS_ID as s, BUTTON_LABEL_ATTRIBUTE as t, buttonSizeNameSchema as u, buttonPressOffsetSchema as v, buttonKeyframesSchema as w, buttonVisualStatesSchema as x, buttonSystemSchema as y, SYSTEM_BLOCK_KINDS as z };