@riverbankcms/sdk 0.170.0 → 0.171.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 (219) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
  3. package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4fzXy8H9.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
  5. package/dist/_dts/{client-x82SZgwK.d.ts → client-BPoU758C.d.ts} +32 -1
  6. package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-TnkhoSls.d.ts} +3 -3
  7. package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-7wrMA79U.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
  10. package/dist/_dts/{index-BisbMZTW.d.ts → index-585vn6qb.d.ts} +72 -36
  11. package/dist/_dts/{index-B7Mq5M6P.d.ts → index-CZKSUcDs.d.ts} +4 -4
  12. package/dist/_dts/{index-B82pqQAC.d.ts → index-Cbw0IiY7.d.ts} +2 -2
  13. package/dist/_dts/{index-DXc_ewhR.d.ts → index-ChNbrcgD.d.ts} +1 -1
  14. package/dist/_dts/{index-C3rMEJ5a.d.ts → index-DDKJfaLY.d.ts} +2 -2
  15. package/dist/_dts/{index-CCugONHM.d.ts → index-DNCDENic.d.ts} +1 -1
  16. package/dist/_dts/{index-CstY6ZMa.d.ts → index-W9R3Bnf2.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
  18. package/dist/_dts/{request-CJ_ClHLv.d.ts → request-jXTRN1Y4.d.ts} +3554 -1370
  19. package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-BBgih00D.d.ts} +2 -2
  21. package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +4 -4
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +4740 -3
  55. package/dist/_dts/{types-CbjK5ZLy.d.ts → types-BXuVxDYo.d.ts} +2 -2
  56. package/dist/_dts/{types-CpuxuS40.d.ts → types-DEAKoDNi.d.ts} +3 -3
  57. package/dist/_dts/{types-990t4t99.d.ts → types-kWvBwYK6.d.ts} +7 -7
  58. package/dist/_dts/{validation-BN95LiS0.d.ts → validation-BAO0_ntM.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-DXD5i0Ar.mjs} +8 -8
  68. package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
  69. package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-BnwcoFQN.mjs} +10 -7
  70. package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DuG6z02f.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
  72. package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BM7rTVSL.mjs} +42 -396
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.mjs} +13 -13
  74. package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
  75. package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
  76. package/dist/client/{Page-PW4Ojv9r.mjs → Page-DH2sm4Cf.mjs} +2696 -2426
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-CsRlU46Y.mjs +894 -0
  79. package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
  80. package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
  81. package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-Bbn1-jJ8.mjs} +52 -2
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.mjs} +2 -2
  88. package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
  89. package/dist/client/{cart-wlRXnOjO.mjs → cart-BozMM5NK.mjs} +3 -3
  90. package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-CqOOxPbW.mjs} +1 -1
  91. package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-CTWF5nbB.mjs} +3 -3
  92. package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
  94. package/dist/client/client.mjs +640 -218
  95. package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
  96. package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
  97. package/dist/client/{cta-CfuyGqXL.mjs → cta-pzQkBLgS.mjs} +2 -2
  98. package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
  100. package/dist/client/{display-DDNmyb0z.mjs → display-Cl6mgSJa.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
  104. package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
  105. package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-dELKxxIe.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
  107. package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-B2HTUWLq.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
  109. package/dist/client/{form-Cfl8d6qc.mjs → form-DX70QG-J.mjs} +3 -3
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.mjs} +3 -3
  112. package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJuPX_1K.mjs} +2 -2
  115. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
  116. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
  117. package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-D1MHoPbh.mjs} +3 -3
  118. package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
  119. package/dist/client/portal/client.mjs +294 -48
  120. package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DOQ7El1d.mjs} +1 -1
  121. package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
  122. package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-BN3zv5sa.mjs} +3 -3
  123. package/dist/client/{productList-BNZAsfaP.mjs → productList-GN_Id4bF.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
  125. package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-BOyra8CA.mjs} +1015 -926
  126. package/dist/client/rendering/client.mjs +57 -32
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +1956 -191
  129. package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-DnaJ8PQc.mjs} +1 -1
  131. package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
  132. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
  133. package/dist/client/{shop-PgmiVKSV.mjs → shop-LjBLDBqF.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
  135. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
  136. package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
  137. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
  138. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-D1jDTbms.mjs} +11 -11
  141. package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
  142. package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
  143. package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-CHGYDxdM.mjs} +2 -2
  144. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
  145. package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
  146. package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
  147. package/dist/client/{view-CgComegl.mjs → view-ShYH3WXh.mjs} +3 -3
  148. package/dist/preview-next/before-render.mjs +33 -13
  149. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
  150. package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-lW2aLGWd.mjs} +1 -1
  151. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
  152. package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-DsSqwrMS.mjs} +392 -11
  153. package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3264 -3199
  154. package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-C86Out4V.mjs} +5 -6
  155. package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-CBWYjBvQ.mjs} +20 -10
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
  157. package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1155 -330
  158. package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
  159. package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-DygTyy7K.mjs} +1 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3558 -2230
  161. package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-DPeV7KaP.mjs} +1 -1
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-zTTFZ4MM.mjs} +2 -2
  164. package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
  165. package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +28 -3
  166. package/dist/preview-next/container-responsive.css +43 -0
  167. package/dist/preview-next/keepAlive.mjs +1 -1
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-CtSgU8UZ.mjs} +547 -188
  170. package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-ifgaBglp.mjs} +4 -4
  171. package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-DGDOH6OU.mjs} +3 -3
  172. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
  173. package/dist/server/bindings-CiYpie1M.mjs +1802 -0
  174. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  175. package/dist/server/{client-Djjv-NuA.mjs → client-ngWuFsmN.mjs} +638 -216
  176. package/dist/server/config-template-validation.mjs +30 -4
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +3 -34
  179. package/dist/server/data/resolveBlockData.mjs +1 -1
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
  182. package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-D4J747FQ.mjs} +2 -2
  183. package/dist/server/manifest.mjs +1 -1
  184. package/dist/server/next.mjs +8 -6
  185. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
  186. package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
  187. package/dist/server/page-converter.mjs +3 -3
  188. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  189. package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-DFv3h4Ib.mjs} +306 -287
  190. package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
  191. package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-CAZD0LcY.mjs} +848 -315
  192. package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
  193. package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-BKOCND3b.mjs} +1 -1
  194. package/dist/server/prebuild.mjs +1 -1
  195. package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
  196. package/dist/server/{registry-Djrj9gWy.mjs → registry-BogXzcOD.mjs} +4000 -1989
  197. package/dist/server/rendering/components/pageShared.mjs +1 -1
  198. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  199. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  200. package/dist/server/rendering/server.mjs +3 -3
  201. package/dist/server/rendering.mjs +7 -7
  202. package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
  203. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
  204. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  205. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  206. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
  207. package/dist/server/server.mjs +3 -3
  208. package/dist/server/theme-bridge.mjs +2 -2
  209. package/dist/server/theme.mjs +2 -1
  210. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  211. package/dist/server/{validation-Dh8htd6l.mjs → validation-vSBCWU3w.mjs} +9 -9
  212. package/dist/server/{version-LMwnoksN.mjs → version-Cw5vFmUY.mjs} +1 -1
  213. package/dist/styles/index.css +408 -10
  214. package/package.json +1 -1
  215. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  216. package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
  217. package/dist/server/bindings-C1-MNwwS.mjs +0 -257
  218. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  219. package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $ as pageEvidenceEvents, $c as formatTime$1, $f as anglePolygonCss, $g as oklabToOklch, $h as formatButtonColourContractError, $i as getEventIdentity, $m as Presence, $o as paymentChoiceDetails, $r as shopProductPresentation, $s as getTicketTypeLineMax, $v as resolvePricingOptionsPriceDisplay, Ac as toBookingQuestionsPaymentSnapshot, Ad as sanitizeHref, Af as requireCuratedSiteStyle, Ag as paddingDeclarations, Al as blockBookingPaymentTermsSchema, Am as DialogContent, Ao as getDeclinedPass, Ap as MQ_TABLET_ONLY, Ar as getBlockDefinition, As as confirmationPaymentRows, Au as lookListPresentationSchemaShape, Av as formatTimeZoneCityLabel, B_ as generateUuidV4, Ba as EVENT_BOOKING_ARRIVAL_QUERY, Bc as formatEventTeacherLine, Bd as coerceInlineTextWithFallback, Bf as generateDefaultCardSystem, Bg as surfaceInkPublication, Bi as eventCollectionHydrationSchema, Bo as planRegistrationDetailsContinuation, Bp as observeEditorAdmission, Br as giftingBlockDefinition, Bs as formatTime$3, Bv as parseLocalScheduleTime, Ca as computeMediaTransformStyle, Cc as bookingQuestionsRefusal, Cg as actionVariableFallback, Ci as buildEventCalendarListingDisplay, Cl as canonicalUrl, Co as registrationPresentation, Cs as assertNever$2, Cu as defineInteractiveIslandMetaKeys, D_ as siteChromeBackgroundOverrideOwner, Dc as needsBookingQuestionsRefresh, Dd as RichTextDocSchema, Df as headerStyleRecipeForTheme, Dg as buttonStateAppearanceDeclarations, Dh as useComposedRefs, Dl as publicPassProductCollectionSchema, Do as areEventRegistrationPaymentSelectionsEqual, Dp as MQ_MD_UP, Ds as clearWorkflowFeedback, Du as listItemPresentation, E_ as parseGradientPresetId, Ea as renderVideo, Ec as isBookingQuestionsAnswerEvent, Eg as buttonShadow, El as requestSignIn, Eo as registrationStepLabelContext, Ep as MQ_MD_DOWN, Es as okWith, Eu as defineProgressiveBlockRuntime, Ev as formatDate$2, F_ as authoredValuesEqual, Fc as buildMonthDay, Fd as resolveBlockIconRenderValue, Ff as getGradientPreset, Fg as mapButtonVisualAppearances, Fh as unmanagedSurfaceEditability, Fi as eventListingBlockRuntime, Fl as beforeBookingQuestionsPresentationSchema, Fm as DialogTrigger, Fo as shouldPromptForLogin, Fp as EDITOR_LOADING_NOTICE, Fs as formatBookingWhen, Fv as addLocalScheduleDays, Ga as bookingNowSchema, Gc as formatCalendarTitle, Gd as inlineTextToPlainText, Gf as formatSiteChromeBackgroundTokenLabel, Gg as inkReference, Gi as calendarWindowBounds, Gl as siteFooterManifest, Go as settledRemainingPlaces, Gr as productListBlockDefinition, Gs as occurrenceTitleOverride, Gv as toUtcIsoDateTimeString, Ha as buildEventRegistrationDisplayFromScopedEvents, Hc as buildCalendarViewport, Hf as generateFooterCss, Hg as HOVER_TEXT_THRESHOLD, Hi as calendarMonthKey, Hl as shouldReserveFeatureCardIconZone, Ho as resolveRegistrationAdmission, Hp as API_ENDPOINTS, Hr as checkoutBlockDefinition, Hs as getPortalSubjectEmail, Hv as resolveBookingTimeZoneId, I_ as CANCELLED_SESSION_STATUS, Ic as resolveMonthSelectedDay, Ig as freezeOwnedThemeValue, Ih as bindingSchema, Ii as buildEventCollectionDisplay, Io as fullyBookedLabel, Ir as newsletterSignupBlockDefinition, Is as formatDate$3, Iv as formatLocalScheduleDate, J_ as parseMailingListPlacementTargeting, Ja as resolveEventCalendarReadPlan, Jc as formatEventCompactDateRail, Jf as boundaryRuntimeMetricsForDecorativeTransition, Ji as planCalendarMonthRanges, Jn as planArrangementContent, Jo as normalizeEventRegistrationMaxTickets, Jp as ApiEnvelopeError, Jr as buildCheckoutInteractiveIslandProps, Js as formatPrice, Jv as publicEventPricingCurrency, K as createSessionJournalBindings, Ka as previewStageSchema, Kc as formatDate$1, Kd as isInlineTextEmpty, Kf as headerNeedsPhotoShade, Kg as resolveConcreteColorHex, Ki as calendarWindowMonths$1, Kl as siteHeaderManifest, Ko as visitorHoldsOwnPlace, Kp as pageCommitReasonMessage, Kr as shopBlockDefinition, Ks as transformRegistrationOptionsResponse, Kv as formatBookingPriceDisplay, L_ as nextLiveRunSessionStartMs, La as getCardOrientation, Lc as formatEventPrice, Lg as ownedThemeSnapshot, Li as buildEventCollectionHydration, Ll as FEATURE_CARD_ICON_TREATMENTS, Lo as getTicketSelectionPurpose, Lr as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Ls as formatEventDateTime, Lv as getBookingLocalDateKey, M_ as resolveAvailableBookingCollectionOptions, Mc as getInitialFieldValue, Mf as surfaceResolutionContextFromTheme, Mg as DEFAULT_BUTTON_SIZES, Mo as registrationFlowReducer, Ms as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Mu as itemRole, Mv as resolveBookingDisplayContext, N_ as getBookingLaterInstalments, Nc as buildEventListWeek, Nf as gradientToCss, Ng as FONT_SIZE_MAP, Ni as eventListingBlockDefinition, Nl as isBookingRequirementConsentFieldId, Nm as DialogPortal, No as buildEventRegistrationPaymentOptionsViewModel, Np as isObjectRecord, Nr as normalizeLocationMapProps, Ns as areEntitlementsDisabledForTicketCount, Nv as formatBookingCompactEnglishTime, O_ as asDesignBlockId, Oc as restoreBookingQuestionsAnswers, Og as buttonTypographyDeclarations, Oh as cn$1, Ol as groupPublicEventsByRun, Om as Dialog, Oo as createInitialRegistrationFlowState, Op as MQ_SM_DOWN, Os as reportWorkflowError, Ou as listLookControl, Ov as formatDateTimeRange, P_ as journalReplayValue, Pc as eventListWeekDays, Pd as parseBlockIconValue, Pg as generateShadowValue$1, Pi as buildEventListingInteractiveIslandProps, Pl as toBookingRequirementConsentField, Pm as DialogTitle, Po as decideEventRegistrationPayment, Pp as isRecord$14, Ps as findSelectedTicketType, Pu as Grid, Pv as toScheduledBookingDateTime, Q_ as sameMailingListPlacementTargeting, Qc as formatEventTimeRange, Qg as hexToRgb, Qh as BUTTON_CONTRAST_POLICY, Qi as eventPaginationLoadReducer, Ql as measureSiteTopChromeBottomPx, Qm as createRovingFocusGroupScope, Qo as buildReviewedBookingPaymentViewModel, Qr as getShopDisplayForItems, Qs as getTicketSelectionTotal, Qv as resolveExactOrFreePriceDisplay, R_ as orderedLiveRunSessions, Ra as getContainerClass, Rc as formatEventPriceAmount, Rg as resolveSurfaceForeground, Ri as buildEventCollectionListingDisplay, Ro as placeCountCeiling, Rp as editorAdmissionRefusal, Rr as buildNewsletterFormInteractiveIslandProps, Rs as formatPassCreditUsageLabel, Rv as getLocalScheduleDate, Sa as MediaPlaceholder, Sc as bookingQuestionsPaymentSnapshotSchema, Sd as parseStoredVariant, Sf as resolveEffectiveArrangement, Sg as compositeHex, Sh as useControlReadiness, Si as buildEventCalendarInteractiveIslandProps, Sl as PAGE_NAVIGATION, So as registrationPaymentRoute, Ss as validateFormData, Su as createInteractiveIslandCodec, T_ as surfaceCardRoleValues, Ta as renderAudio, Tc as deriveBookingQuestions, Tf as designRuntimeRulesForTheme, Tg as buttonRadius, Tl as pageNavigationSchema, To as registrationStepLabel, Tp as MQ_LG_UP, Ts as ok, Tu as defineClientOwnedBlockRuntime, U_ as parseMailingListRuntimeContext, Ua as buildEventRegistrationInteractiveIslandProps, Uc as eventCalendarWeekStart, Uf as buildTextContrastShadow, Ug as certifyPaint, Ui as calendarPageResponseError, Uo as resolveRegistrationAvailabilityBlocker, Up as BEFORE_BOOKING_QUESTIONS_ROUTE, Ur as cartBlockDefinition, Us as getTicketTypeAvailabilityLabel, Uv as toBookingTimeZone, Va as eventRegistrationBlockDefinition, Vc as formatEventDuration, Vd as deriveInlineTextFieldChanges, Vg as solveSurfaceInks, Vi as eventCollectionSourceSchemaShape, Vl as resolveFeatureCardGeneratedIconSizePx, Vo as resolveGuestNextStepCheck, Vr as buildGiftingInteractiveIslandProps, Vs as getImplicitSingleTicketType, Vv as resolveBookingBusinessTimeZone, W_ as resolveBookingSignupOffer, Wa as displayButtonText, Wc as eventDateOptions, Wf as generateNavLinkCSS, Wg as contrastThresholdByPolicy, Wi as calendarQueryKey, Wo as resolveRegistrationTicketContinuation, Wp as calendarMonthDate, Wr as productDetailBlockDefinition, Ws as getVisibleTicketTypes, Wt as ApiRequestError, Wv as parseUtcIsoDateTimeString, Xa as resolveEventRegistrationScopedEvents, Xc as formatEventHourLabel, Xg as expandPalette, Xh as generateInteractiveChildInheritanceCSS, Xi as createInitialEventPaginationLoadState, Xm as Item$1, Xo as calculateEventRegistrationPreviewTotal, Xp as unwrapResponse, Xr as buildProductListInteractiveIslandProps, Xs as getSingleSelectedPricingOptionId, Xu as isBlockButtonRole, Xv as publicEventPricingStrategy, Y as SessionJournalProvider, Y_ as parseMailingListVisitorSelection, Ya as normalizeEventRegistrationPageSurfaceSubject, Yc as formatEventDateParts, Yd as parseInlineTextFromUnknown, Yg as TokenResolver, Yh as generateEffectsCSS, Yi as resolveCalendarReadProfile, Yo as resolveEventRegistrationSubmitPlan, Yp as extractApiEnvelopeErrorDetails, Yr as buildProductDetailInteractiveIslandProps, Ys as canRequestTicketOption, Yv as publicEventPricingDisplay, Za as offeringNounForEvent, Zc as formatEventNextDateFact, Zg as contrastRatio, Zh as compileButtonColourStates, Zi as eventPageOperationQuery, Zm as Root$1, Zo as buildBookingPaymentSelectionViewModel, Zr as buildShopInteractiveIslandProps, Zs as getTicketLineQuantity, Zv as publicEventPricingType, _ as applyBindingsToContent, _a as MapPinIcon, _c as sweepExpiredSignInReturnDrafts, _d as asPartialObject, _g as opaqueSurfaceDeclarations, _h as composeEventHandlers, _l as isEventFull, _m as FIELD_SURFACE_CLASS, _n as renderSourceFor, _o as bookingEntryProgress, _s as parseCurrencyInputToCents, _u as uiTransforms, a_ as blockCustomCssRuleSchema, aa as getEventRuntimeFiltersKey, ac as toWholeSeriesRegistrationEvents, ad as parseBackgroundOverlay, ag as surfaceForegroundStyle, ai as formatValidity, al as resolveRuntimeEventDestination, am as SelectTrigger, as as resolveRouteRequiresPayment, au as contentTransforms, bc as applyBookingQuestionsAnswerEvent, bd as el, bf as arrangementManifestFromVariants, bg as resolveSurface, bh as Button, bi as eventCalendarBlockDefinition, bl as blockSiteTermsSchema, bo as getEventSelectionMode, bs as withRegistrationAvailability, bu as buildFormInteractiveIslandProps, c as usePreviewShownTheme, ca as normalizeOptionalId, cc as eventSignInEnds, cd as resolveSurfaceForegroundStyles, cg as surfaceInkDeclarations, ci as passCardListContent, cl as placesLeftLabel, cm as usePrevious, cp as introCompositionTreatmentValues, cr as EVENT_REGISTRATION_ANCHOR_ID, cs as createRegistrationDraftData, cu as teamMemberCardBiography, da as EmptyState, dc as clearSignInReturnDrafts, dd as BACKGROUND_POSITION_PRESET_VALUES, dg as cssVarValue, di as buildProductCartItem, dl as canJoinEventWaitlistOnAnyMode, do as resolveOfferingsPreviewGroups, dr as deriveEventScheduleSummary, ds as getCurrentTicketSelection, dt as JournalWriteRefused, du as mediaTransforms, dy as parseUuidBrand, e_ as oklabToSrgb, ea as getEventPaginationView, ec as hasValidPricingOptionSelection, ed as boxStylesTransforms, eg as DEFAULT_SURFACE_TEXT_COLOR, ei as buildCartDisplay, el as groupEventsByDate, ep as transitionCatalogueEntries, es as paymentChoicePrice, eu as siteTopChromeMeasurementTargets$1, ey as parsePositiveCents, fa as CardListCollection, fc as createSignInReturnDraftStore, fd as getAnchorClasses, ff as restoreCompiledRuntimeFieldsFromContent, fg as mergeStyles, fh as useDirection, fi as deriveCommerceCheckoutState, fl as formatEventRemainingPlaces, fo as resolveOfferingsRenderInput, fr as derivePreviewRunSchedule, fs as getEligibilityFlowFlags, ft as journalFailureReason, fu as headerRuntimeTransforms, fv as EDITOR_SESSION_GENERATION_HEADER, g_ as runtimeMediaSchema, ga as CalendarIcon, gc as signInReturnPath, gd as lookSkinSlotTransform, gg as opaqueSurfaceContextFromTheme, gh as createContextScope, gl as getRemainingPlaces, gn as remoteDraftValues, go as bookingEntry, gs as getTicketSelectionRemainingPlaces, h as composePreviewTheme, ha as eventCategoryBadge, hc as readSignInReturn, hd as lookQuoteLimitTransform, hf as readHeaderNavFontSizePreference, hg as textColorValue, hh as useLayoutEffect2, hi as reduceCommerceCart, hl as getEventAvailabilityStatus, hm as FIELD_FOCUS_CLASS, ho as bookingCardEntry, hs as getSlidingScaleSelectionMessage, hu as staticHeaderChromeRuntime, ia as buildEventRuntimeFilters, ic as toRegistrationEvents, id as parseBackgroundContent, if as readOpeningToneProjection, ig as surfaceForegroundInputFromResolved, ii as formatInterval, il as resolveEventLinkProps, im as SelectItem, ir as getAtPath, is as resolveRegistrationTarget, iu as splitPositioningClasses, j_ as normalizeCurrencyCode, ja as resolvePublicMediaUrl, jc as checkBookingQuestionsAnswered, jd as buildGeneratedBlockIconRenderAssetLookupFromUnknown, jf as compiledRuntimeStyleFieldNames, jg as BORDER_WIDTH_MAP, jl as blockBookingConsentSchema, jo as isRegistrationLocked, js as resolveFinishedPresentation, ju as resolvedItemSurfaceProps, jv as inferSiteDateLocale, ka as resolveMediaNodeResponsiveImage, kc as toBookingQuestionsAnswerDraft, kg as materializeRuntimeButtonAppearance, km as DialogClose, ko as decideEventChoice, kp as MQ_SM_UP, ks as reportWorkflowSuccess, ku as listLookSlot, kv as formatTime$2, la as catalogueEventCardProps, lc as eventSignInRestoration, ld as resolveBackgroundColorValue, lf as applyCompiledRuntimeFieldsToContent, lg as surfaceInkStyle, li as EMPTY_COMMERCE_CART_STATE, ll as shownVenue, lo as resolveOfferingsPreviewGroupCta, lp as offeringsPreviewCompositionTreatmentValues, lr as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, ls as invitationSubmission, lt as getEditorClientId, lu as readRuntimeNow, ly as unsafeAsSiteId, ma as EventItem, mc as nextSignInReturnExpiry, md as lookLeadSlotTransform, mf as mergeHeaderNavTypographyPreference, mg as textColorStyle, mh as useControllableState, mi as productItemKey, ml as getEventAvailability, mm as FIELD_CONTROL_CLASS, mo as bookingBarPlacement, mr as EventListingFrameView, ms as getSlidingScaleForEvent, mu as layoutTransforms, n_ as rgbToHex, na as toEventPaginationLoadError, nc as setTicketLineQuantity, nd as normalizeBoxStylesBorder, nf as heroPhotoPaintsGround, ng as SURFACE_INK_CSS_VARS, ni as buildProductDetailDisplay, nl as resolveEventCardBooking, nm as Select, no as buildOfferingsPreviewListing, ns as resolveDiscountContext, nu as composeHeaderSectionWrapperClassName, ny as formatCurrencyAmount, o_ as customCssRuleSchema, oa as normalizeCsvIds, oc as EVENT_SIGN_IN_FORM_ID, od as parseRuntimeBackgroundContent, og as surfaceForegroundValue, oh as useSize, oi as membershipCardListContent, ol as browserReadAuthoritySchema, om as SelectValue, oo as normalizeOfferingsPreviewItemLimit, or as withValueAtPath, os as toRegistrationRequestSubject, ou as parseTeamMemberSpecialties, oy as unsafeAsPositiveByteCount, pa as CardListItems, pc as decideSignInReturn, pd as lookCarouselRegionTransform, pf as skinTokenCssVars, pg as rgbColorValue, ph as createCollection, pi as parseStoredCommerceCartState, pl as formatTotalCapacity, po as DEFAULT_BOOKING_BUTTON_TEXT, pp as PUBLIC_DOWNLOAD_MEDIA_TYPES, pr as MonthLookView, ps as getRegistrationOccurrenceId, pt as sendPageCommand, pu as chromeLogoTransforms, qa as eventCalendarListGroupingDecision, qc as formatEventClockLabel, qf as headerRootPaint, qg as resolveOpaqueSurfaceHex, qi as calendarWindowPageSchema, ql as SITE_CHROME_VISIBLE_HEADER_SELECTOR, qo as isEventRegistrationAvailable, qp as pageCommitReasonTag, qr as buildCartInteractiveIslandProps, qs as withOccurrenceTitle, qv as isPublicEventPricingOptionDisplayable, r_ as srgbToOklab, ra as toError, rc as getRegistrationStartAt, rd as resolveCardRoleForBoxStyles, rf as effectiveHeaderNavLinkStyle, rg as surfaceForegroundDeclarations, ri as formatCommercePrice, rl as resolveEventCta, rm as SelectContent, rr as lookPartShown, rs as resolveEventRequiresPayment, ru as markEditableSurfaceForwarding, rv as knownSocialPlatformLabels, ry as assertNever$1, s as usePreviewPageDesignRenderState, s_ as boxBackgroundSchema, sa as normalizeCsvString, sc as eventSignInDraftStore, sd as resolveSectionSurfaceForeground, sg as surfaceForegroundValueWithOpacity, sh as useId$1, si as membershipClassesLabel, sl as getBlockApiReadStage, so as offeringsListingFor, sp as featureCardCompositionTreatmentValues, sr as EventHeader, ss as beginWaitlistInvitation, su as teamMemberBiography, sv as publishedContactDetails, sy as unsafeAsPositiveSeconds, t_ as oklchToHexGamut, ta as planEventPageOperation, tc as normalizeTicketSelectionLines, td as boxStyleClassNames, tf as selectItemSurfacePresentation, tg as SURFACE_FOREGROUND_CSS_VARS, ti as buildProductCardDisplay, tl as resolveEventTimeZone, tm as trustedJournalState, tn as useOptionalEditorUiStoreInstance, to as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, tp as resolveCompiledSectionContextFromContent, ts as findPreSelectedEvent, ty as toNonNegativeCents, u as useSiteChromeCustomizeOptional, ua as listingEventCardProps, uc as toEventSignInDraft, uf as compileEditorModelRuntime, ug as backgroundColorStyle, ui as buildPassCartItem, ul as canJoinEventWaitlist, up as testimonialsCompositionTreatmentValues, ur as eventCardListContent, us as formatCentsAsCurrencyInput, ut as createSessionJournal, uu as resolveDateRuntimeContext, va as MediaNodeServer, vc as EMPTY_BOOKING_QUESTIONS_ANSWERS, vd as createTransformRegistry, vf as arrangementLookHooks, vg as parseSurfaceTree, vh as Primitive, vi as buildOfferingsCatalogueListing, vl as selectEventCapacitySource, vm as FIELD_TEXTAREA_CLASS, vo as bookingPanelHeading, vs as resolveHeldTicketPlaces, vu as formattingTransforms, wa as mediaImageHostProps, wc as decideBookingQuestionsRestoration, wf as componentRuntimeRulesForTheme, wg as buttonBorder, wi as buildEventCalendarListingRender, wl as leavePage, wo as registrationRoute, ws as err, wu as createZodCodec, wv as unsafeAsEditorBlockId, xa as ImagePresets, xc as bookingQuestionsAnswerDraftSchema, xd as when, xg as serializeSurfaceTree, xl as verifiedSiteTermsAcceptanceSchema, xo as panelShouldOpen, xs as registrationQuestionsMessage, xu as buildInteractiveIslandProps, y_ as indexRenderableMediaAssets, ya as RichText, yc as NO_BOOKING_QUESTIONS, yd as runTransforms, yg as prepareSurfaceIndex, yi as offeringsCatalogueShape, yl as selectMostOpenCapacitySource, ym as NATIVE_CHOICE_CLASS, yn as resolveRenderedValues, yo as courseTitleOf, ys as shouldLoadRegistrationOptions, yu as formBlockDefinition, z_ as resolveWholeSeriesBookingPhase, za as resolveEventSelection, zc as formatEventPriceDisplay, zf as resolveCardRole, zg as safeTokenOr, zi as eventCollectionDisplaySchemaShape, zo as planRegistrationDetailsCheck, zp as editorAdmissionSession, zr as newsletterBlockSubmissionMessage, zs as formatRegistrationSchedule, zv as parseBookingLocalDate } from "./previewAssistantSlot-CSs9S8wr.mjs";
3
- import { At as sameMeaningfulAddress, Ct as LOCATION_MATCH_THRESHOLDS_METRES, D as Minus, Dt as editLocationValue, Et as decideLocationSave, Ft as locationPinSchema, Gt as err$1, Kt as ok$1, Lt as normalizeLocationAddressText, Mt as decideLocationSourcePermission, Nt as formatLocationAddress, Ot as locationDistanceMetres, Pt as locationAddressSchema, R as Info, Rt as parseLocationValue, T as Mountain, Tt as decideLocationRelationship, U as House, Wt as mapDrawingSchema, _ as RotateCcw, _t as Building2, b as Pencil, c as Trash2, ct as CircleMinus, d as Sparkles, ft as ChevronRight, g as Route, h as Search, k as MapPin, kt as sameLocationSpatialPair, lt as CircleCheck, mt as ChevronDown, n as X, ot as Circle, pt as ChevronLeft, r as WifiOff, s as TriangleAlert, st as CirclePlus, tt as Crosshair, u as Store, w as Move, wt as confirmLocationPair, xt as ArrowDown, y as Plus } from "./lucide-react-DbC1o6_9.mjs";
4
- import { A as buttonSizeNameSchema, C as MinusIcon, D as AFFORDANCE_SUPPRESS_CLASS, E as themeButtonSelector, M as unsafeAsOpaqueButtonColourToken, O as DEFAULT_VARIANT_ALIAS_ID, S as FileTextIcon, T as parseThemeButtonVariantId, X as parseThemeColorToken, Y as parseColorTokenParts, _ as ClockIcon$1, a as ThemedDownloadLink, b as FileAudioIcon, g as CirclePlusIcon, h as CircleMinusIcon, j as createStandardButtonSurfacePolicy, m as ChevronDownIcon, n as ThemedButton, nt as SpinnerNode, o as getIconComponent, p as ArrowDownIcon, r as ThemedButtonLink, rt as clsx, t as ThemedAuthoredButton, w as PlusIcon, x as FileSpreadsheetIcon, y as FileArchiveIcon } from "./ThemedButton-BQU45t-E.mjs";
2
+ import { $ as pageEvidenceEvents, $_ as generateUuidV4, $a as eventCalendarListGroupingDecision, $c as formatEventClockLabel, $d as inlineTextToPlainText, $f as formatSiteChromeBackgroundTokenLabel, $g as contrastThresholdByPolicy, $i as createInitialEventPaginationLoadState, $l as siteFooterManifest, $o as isEventRegistrationAvailable, $r as buildProductListInteractiveIslandProps, $s as formatCentsAsCurrencyInput, $v as parseLocalScheduleTime, Ac as decideBookingQuestionsRestoration, Ad as parseStoredVariant, Af as resolveEffectiveArrangement, Ag as serializeSurfaceTree, Al as canonicalUrl, Ao as registrationRoute, As as ok, Au as createInteractiveIslandCodec, Ba as EventQuickFacts, Bc as eventListWeekDays, Bf as surfaceResolutionContextFromTheme, Bg as BORDER_WIDTH_MAP, Bi as buildEventCollectionHydration, Bo as decideEventRegistrationPayment, Br as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Bs as formatBookingWhen, Bu as itemRole, Cc as sweepExpiredSignInReturnDrafts, Cd as lookLeadSlotTransform, Cf as readHeaderNavFontSizePreference, Cg as textColorStyle, Ch as useControllableState, Ci as eventCalendarBlockDefinition, Cl as getRemainingPlaces, Cm as FIELD_CONTROL_CLASS, Co as bookingEntryProgress, Cs as resolveHeldTicketPlaces, Cu as staticHeaderChromeRuntime, Da as mediaImageHostProps, Dc as bookingQuestionsAnswerDraftSchema, Dd as createTransformRegistry, Dg as parseSurfaceTree, Dh as Primitive, Di as buildEventCalendarListingRender, Dl as blockSiteTermsSchema, Dm as FIELD_TEXTAREA_CLASS, Do as panelShouldOpen, Ds as validateFormData, Du as formBlockDefinition, Ea as computeMediaTransformStyle, Ec as applyBookingQuestionsAnswerEvent, Ed as asPartialObject, Ef as arrangementLookHooks, Eg as opaqueSurfaceDeclarations, Eh as composeEventHandlers, Ei as buildEventCalendarListingDisplay, El as selectMostOpenCapacitySource, Em as FIELD_SURFACE_CLASS, Eo as getEventSelectionMode, Es as registrationQuestionsMessage, Eu as formattingTransforms, Ey as parseUuidBrand, F_ as parseGradientPresetId, Fc as toBookingQuestionsAnswerDraft, Fd as RichTextDocSchema, Ff as headerStyleRecipeForTheme, Fg as buttonShadow, Fl as bookingPageKindSchema, Fo as decideEventChoice, Fp as MQ_MD_UP, Fs as confirmationPaymentRows, Fu as listItemPresentation, G_ as authoredValuesEqual, Ga as EVENT_BOOKING_ARRIVAL_QUERY, Gc as formatEventPriceDisplay, Gg as freezeOwnedThemeValue, Gh as bindingSchema, Gi as calendarMonthKey, Gl as FEATURE_CARD_ICON_TREATMENTS, Go as planRegistrationDetailsCheck, Gr as checkoutBlockDefinition, Gs as formatTime$3, Gv as resolveBookingDisplayContext, H_ as resolveAvailableBookingCollectionOptions, Ha as getContainerClass, Hc as resolveMonthSelectedDay, Hd as parseBlockIconValue, Hg as FONT_SIZE_MAP, Hi as eventCollectionDisplaySchemaShape, Hl as toBookingRequirementConsentField, Hm as DialogPortal, Ho as fullyBookedLabel, Hp as isRecord$14, Hr as newsletterBlockSubmissionMessage, Hs as formatEventDateTime, Hu as Grid, Hv as formatTime$2, I_ as siteChromeBackgroundOverrideOwner, Ic as toBookingQuestionsPaymentSnapshot, Ig as buttonStateAppearanceDeclarations, Ih as useComposedRefs, Ii as eventListingBlockDefinition, Il as groupPublicEventsByRun, Io as getDeclinedPass, Ip as MQ_SM_DOWN, Ir as normalizeLocationMapProps, Is as resolveFinishedPresentation, Iu as listLookControl, J_ as CANCELLED_SESSION_STATUS, Ja as buildEventRegistrationInteractiveIslandProps, Jc as buildCalendarViewport, Jd as coerceInlineTextWithFallback, Jf as generateDefaultCardSystem, Jg as safeTokenOr, Ji as calendarWindowBounds, Jn as planArrangementContent, Jo as resolveRegistrationAdmission, Jp as observeEditorAdmission, Jr as productListBlockDefinition, Js as getTicketTypeAvailabilityLabel, Jv as addLocalScheduleDays, K as createSessionJournalBindings, K_ as formatCreditProductBalance, Ka as eventRegistrationBlockDefinition, Kc as formatEventTeacherLine, Kg as ownedThemeSnapshot, Ki as calendarPageResponseError, Ko as planRegistrationDetailsContinuation, Kp as editorAdmissionRefusal, Kr as cartBlockDefinition, Ks as getImplicitSingleTicketType, Kv as formatBookingCompactEnglishTime, Lc as checkBookingQuestionsAnswered, Lg as buttonTypographyDeclarations, Lh as cn$1, Li as buildEventListingInteractiveIslandProps, Lm as Dialog, Lo as isRegistrationLocked, Lp as MQ_SM_UP, Ls as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Lu as listLookSlot, Lv as unsafeAsEditorBlockId, Ma as resolveMediaNodeResponsiveImage, Mc as isBookingQuestionsAnswerEvent, Mf as componentRuntimeRulesForTheme, Mg as actionVariableFallback, Ml as pageNavigationSchema, Mo as registrationStepLabelContext, Ms as clearWorkflowFeedback, Mu as createZodCodec, Nc as needsBookingQuestionsRefresh, Nf as designRuntimeRulesForTheme, Ng as buttonBorder, Nl as requestSignIn, No as areEventRegistrationPaymentSelectionsEqual, Np as MQ_LG_UP, Nr as getBlockDefinition, Ns as reportWorkflowError, Nu as defineClientOwnedBlockRuntime, O_ as indexRenderableMediaAssets, Oa as renderAudio, Oc as bookingQuestionsPaymentSnapshotSchema, Od as runTransforms, Of as arrangementManifestFromVariants, Og as prepareSurfaceIndex, Ol as verifiedSiteTermsAcceptanceSchema, Om as NATIVE_CHOICE_CLASS, Oo as registrationPaymentRoute, Os as assertNever$2, Ou as buildFormInteractiveIslandProps, P_ as surfaceCardRoleValues, Pa as resolvePublicMediaUrl, Pc as restoreBookingQuestionsAnswers, Pg as buttonRadius, Pl as closedRunCopy, Po as createInitialRegistrationFlowState, Pp as MQ_MD_DOWN, Ps as reportWorkflowSuccess, Pu as defineProgressiveBlockRuntime, Q_ as resolveWholeSeriesBookingPhase, Qa as previewStageSchema, Qc as formatDate$1, Qf as generateNavLinkCSS, Qg as certifyPaint, Qi as resolveCalendarReadProfile, Qo as visitorHoldsOwnPlace, Qp as calendarMonthDate, Qr as buildProductDetailInteractiveIslandProps, Qs as withOccurrenceTitle, Qv as parseBookingLocalDate, R_ as asDesignBlockId, Rc as getInitialFieldValue, Rd as sanitizeHref, Rf as requireCuratedSiteStyle, Rg as materializeRuntimeButtonAppearance, Ri as eventListingBlockRuntime, Rl as blockBookingPaymentTermsSchema, Rm as DialogClose, Ro as registrationFlowReducer, Rp as MQ_TABLET_ONLY, Rs as areEntitlementsDisabledForTicketCount, Ru as lookListPresentationSchemaShape, Sa as RichText, Sc as signInReturnPath, Sd as lookCarouselRegionTransform, Sf as mergeHeaderNavTypographyPreference, Sg as rgbColorValue, Sh as createCollection, Si as offeringsCatalogueShape, Sl as getEventAvailabilityStatus, So as bookingEntry, Ss as parseCurrencyInputToCents, Su as layoutTransforms, Sy as unsafeAsPositiveSeconds, T_ as runtimeMediaSchema, Ta as MediaPlaceholder, Tc as NO_BOOKING_QUESTIONS, Td as lookSkinSlotTransform, Tg as opaqueSurfaceContextFromTheme, Th as createContextScope, Ti as buildEventCalendarInteractiveIslandProps, Tl as selectEventCapacitySource, To as courseTitleOf, Ts as withRegistrationAvailability, Tu as uiTransforms, Tv as EDITOR_SESSION_GENERATION_HEADER, U_ as getBookingLaterInstalments, Ua as resolveEventSelection, Uc as formatEventPrice, Ud as resolveBlockIconRenderValue, Uf as getGradientPreset, Ug as generateShadowValue$1, Ui as eventCollectionHydrationSchema, Ul as beforeBookingQuestionsPresentationSchema, Um as DialogTitle, Uo as getTicketSelectionPurpose, Up as EDITOR_LOADING_NOTICE, Ur as giftingBlockDefinition, Us as formatPassCreditUsageLabel, Uu as BACKGROUND_POSITION_PRESET_VALUES, Uv as formatTimeZoneCityLabel, V_ as normalizeCurrencyCode, Va as getCardOrientation, Vc as buildMonthDay, Vf as gradientToCss, Vg as DEFAULT_BUTTON_SIZES, Vi as buildEventCollectionListingDisplay, Vl as isBookingRequirementConsentFieldId, Vo as shouldPromptForLogin, Vp as isObjectRecord, Vr as buildNewsletterFormInteractiveIslandProps, Vs as formatDate$3, Vv as formatDateTimeRange, W_ as journalReplayValue, Wa as publicPassProductCollectionSchema, Wc as formatEventPriceAmount, Wg as mapButtonVisualAppearances, Wh as unmanagedSurfaceEditability, Wi as eventCollectionSourceSchemaShape, Wm as DialogTrigger, Wo as placeCountCeiling, Wr as buildGiftingInteractiveIslandProps, Ws as formatRegistrationSchedule, Wt as ApiRequestError, Wu as getAnchorClasses, Wv as inferSiteDateLocale, X_ as nextLiveRunSessionStartMs, Xa as resolveEventRegistrationEventSource, Xc as eventDateOptions, Xf as generateFooterCss, Xg as solveSurfaceInks, Xi as calendarWindowPageSchema, Xl as shouldReserveFeatureCardIconZone, Xo as resolveRegistrationTicketContinuation, Xp as API_ENDPOINTS, Xr as buildCartInteractiveIslandProps, Xs as occurrenceTitleOverride, Xv as getBookingLocalDateKey, Y as SessionJournalProvider, Y_ as firstLiveRunSessionStartMs, Ya as displayButtonText, Yc as eventCalendarWeekStart, Yd as deriveInlineTextFieldChanges, Yg as surfaceInkPublication, Yi as calendarWindowMonths$1, Yl as resolveFeatureCardGeneratedIconSizePx, Yo as resolveRegistrationAvailabilityBlocker, Yr as shopBlockDefinition, Ys as getVisibleTicketTypes, Yv as formatLocalScheduleDate, Z_ as orderedLiveRunSessions, Za as bookingNowSchema, Zc as formatCalendarTitle, Zf as buildTextContrastShadow, Zg as HOVER_TEXT_THRESHOLD, Zi as planCalendarMonthRanges, Zo as settledRemainingPlaces, Zp as BEFORE_BOOKING_QUESTIONS_ROUTE, Zr as buildCheckoutInteractiveIslandProps, Zs as transformRegistrationOptionsResponse, Zv as getLocalScheduleDate, _ as applyBindingsToContent, _a as EventItem, _c as clearSignInReturnDrafts, _d as resolveBackgroundColorValue, _f as applyCompiledRuntimeFieldsToContent, _g as surfaceInkDeclarations, _i as productItemKey, _l as canJoinEventWaitlist, _m as usePrevious, _n as renderSourceFor, _o as resolveOfferingsPreviewGroups, _p as offeringsPreviewCompositionTreatmentValues, _s as getEligibilityFlowFlags, _u as readRuntimeNow, _y as unsafeAsAppointmentResourceId, a_ as expandPalette, aa as toEventPaginationLoadError, ac as getTicketTypeLineMax, ag as generateInteractiveChildInheritanceCSS, ah as Item$1, ai as buildProductDetailDisplay, al as formatTime$1, as as paymentChoiceDetails, ay as formatBookingPriceDisplay, ba as MapPinIcon, bc as nextSignInReturnExpiry, bd as el, bf as restoreCompiledRuntimeFieldsFromContent, bg as cssVarValue, bl as formatTotalCapacity, bo as bookingBarPlacement, bs as getSlidingScaleSelectionMessage, bu as headerRuntimeTransforms, bv as publishedContactDetails, c as usePreviewShownTheme, c_ as oklabToOklch, ca as getEventRuntimeFiltersKey, cc as setTicketLineQuantity, cd as boxStylesTransforms, cg as formatButtonColourContractError, ch as Presence, ci as formatValidity, cl as resolveEventCardBooking, co as buildOfferingsPreviewListing, cp as transitionCatalogueEntries, cr as EVENT_REGISTRATION_ANCHOR_ID, cs as resolveDiscountContext, cu as siteTopChromeMeasurementTargets$1, cv as parseMailingListVisitorSelection, cy as publicEventPricingDisplay, d_ as rgbToHex, da as normalizeOptionalId, dc as toWholeSeriesRegistrationEvents, dd as resolveCardRoleForBoxStyles, df as effectiveHeaderNavLinkStyle, dg as SURFACE_INK_CSS_VARS, di as passCardListContent, dl as resolveRuntimeEventDestination, dm as Select, dr as deriveEventScheduleSummary, ds as resolveRouteRequiresPayment, dt as JournalWriteRefused, du as markEditableSurfaceForwarding, dv as sameMailingListPlacementTargeting, dy as resolveExactOrFreePriceDisplay, e_ as inkReference, ea as eventPageOperationQuery, ec as formatPrice, ef as isInlineTextEmpty, ei as buildShopInteractiveIslandProps, el as formatEventCompactDateRail, em as pageCommitReasonMessage, eo as resolveEventCalendarReadPlan, ep as headerNeedsPhotoShade, es as normalizeEventRegistrationMaxTickets, eu as siteHeaderManifest, ey as resolveBookingBusinessTimeZone, f_ as srgbToOklab, fa as catalogueEventCardProps, fc as EVENT_SIGN_IN_FORM_ID, fd as parseBackgroundContent, ff as readOpeningToneProjection, fg as surfaceForegroundDeclarations, fi as EMPTY_COMMERCE_CART_STATE, fl as bookingPresentation, fm as SelectContent, fo as normalizeOfferingsPreviewItemLimit, fr as derivePreviewRunSchedule, fs as toRegistrationRequestSubject, ft as journalFailureReason, fu as splitPositioningClasses, fy as resolvePricingOptionsPriceDisplay, g_ as boxBackgroundSchema, ga as CardListItems, gc as toEventSignInDraft, gd as resolveSurfaceForegroundStyles, gg as surfaceForegroundValueWithOpacity, gh as useId$1, gi as parseStoredCommerceCartState, gl as shownVenue, gn as remoteDraftValues, gp as introCompositionTreatmentValues, gs as getCurrentTicketSelection, gu as teamMemberCardBiography, gv as knownSocialPlatformLabels, gy as assertNever$1, h as composePreviewTheme, h_ as customCssRuleSchema, ha as CardListCollection, hc as eventSignInRestoration, hd as resolveSectionSurfaceForeground, hg as surfaceForegroundValue, hh as useSize, hi as deriveCommerceCheckoutState, hl as placesLeftLabel, hm as SelectValue, ho as resolveOfferingsPreviewGroupCta, hp as featureCardCompositionTreatmentValues, hs as invitationSubmission, hu as teamMemberBiography, hy as formatCurrencyAmount, i_ as TokenResolver, ia as planEventPageOperation, ic as getTicketSelectionTotal, ig as generateEffectsCSS, ii as buildProductCardDisplay, il as formatEventTimeRange, im as unwrapResponse, ir as getAtPath, is as buildReviewedBookingPaymentViewModel, iy as toUtcIsoDateTimeString, jc as deriveBookingQuestions, jg as compositeHex, jh as useControlReadiness, jl as leavePage, jo as registrationStepLabel, js as okWith, ju as defineInteractiveIslandMetaKeys, ka as renderVideo, kc as bookingQuestionsRefusal, kg as resolveSurface, kh as Button, kl as PAGE_NAVIGATION, ko as registrationPresentation, ks as err, ku as buildInteractiveIslandProps, l_ as oklabToSrgb, la as normalizeCsvIds, lc as getRegistrationStartAt, ld as boxStyleClassNames, lf as selectItemSurfacePresentation, lg as DEFAULT_SURFACE_TEXT_COLOR, li as membershipCardListContent, ll as resolveEventCta, lp as resolveCompiledSectionContextFromContent, lr as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, ls as resolveEventRequiresPayment, lt as getEditorClientId, ly as publicEventPricingStrategy, m_ as blockCustomCssRuleSchema, ma as EmptyState, mc as eventSignInEnds, md as parseRuntimeBackgroundContent, mg as surfaceForegroundStyle, mi as buildProductCartItem, ml as getBlockApiReadStage, mm as SelectTrigger, mr as EventListingFrameView, ms as createRegistrationDraftData, mu as parseTeamMemberSpecialties, my as toNonNegativeCents, n_ as resolveOpaqueSurfaceHex, na as getEventIdentity, nc as getSingleSelectedPricingOptionId, ni as shopProductPresentation, nl as formatEventHourLabel, nm as ApiEnvelopeError, no as resolveEventRegistrationScopedEvents, np as boundaryRuntimeMetricsForDecorativeTransition, ns as calculateEventRegistrationPreviewTotal, nv as parseMailingListRuntimeContext, ny as toBookingTimeZone, o_ as contrastRatio, oa as toError, oc as hasValidPricingOptionSelection, od as isBlockButtonRole, og as compileButtonColourStates, oh as Root$1, oi as formatCommercePrice, ol as groupEventsByDate, or as withValueAtPath, os as paymentChoicePrice, ou as measureSiteTopChromeBottomPx, oy as isPublicEventPricingOptionDisplayable, pa as listingEventCardProps, pc as eventSignInDraftStore, pd as parseBackgroundOverlay, pg as surfaceForegroundInputFromResolved, pi as buildPassCartItem, pl as browserReadAuthoritySchema, pm as SelectItem, po as offeringsListingFor, pr as MonthLookView, ps as beginWaitlistInvitation, pt as sendPageCommand, pu as contentTransforms, py as parsePositiveCents, q_ as formatCreditProductUnits, qa as buildEventRegistrationDisplayFromScopedEvents, qc as formatEventDuration, qf as resolveCardRole, qg as resolveSurfaceForeground, qi as calendarQueryKey, qo as resolveGuestNextStepCheck, qp as editorAdmissionSession, qr as productDetailBlockDefinition, qs as getPortalSubjectEmail, qv as toScheduledBookingDateTime, ra as getEventPaginationView, rc as getTicketLineQuantity, rf as parseInlineTextFromUnknown, ri as buildCartDisplay, rl as formatEventNextDateFact, rm as extractApiEnvelopeErrorDetails, ro as offeringNounForEvent, rr as lookPartShown, rs as buildBookingPaymentSelectionViewModel, rv as resolveBookingSignupOffer, ry as parseUtcIsoDateTimeString, s as usePreviewPageDesignRenderState, s_ as hexToRgb, sa as buildEventRuntimeFilters, sc as normalizeTicketSelectionLines, sg as BUTTON_CONTRAST_POLICY, sh as createRovingFocusGroupScope, si as formatInterval, sl as resolveEventTimeZone, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sp as anglePolygonCss, sr as EventHeader, ss as findPreSelectedEvent, sv as parseMailingListPlacementTargeting, sy as publicEventPricingCurrency, t_ as resolveConcreteColorHex, ta as eventPaginationLoadReducer, tc as canRequestTicketOption, ti as getShopDisplayForItems, tl as formatEventDateParts, tm as pageCommitReasonTag, tn as useOptionalEditorUiStoreInstance, to as normalizeEventRegistrationPageSurfaceSubject, tp as headerRootPaint, ts as resolveEventRegistrationSubmitPlan, tu as SITE_CHROME_VISIBLE_HEADER_SELECTOR, ty as resolveBookingTimeZoneId, u as useSiteChromeCustomizeOptional, u_ as oklchToHexGamut, ua as normalizeCsvString, uc as toRegistrationEvents, ud as normalizeBoxStylesBorder, uf as heroPhotoPaintsGround, ug as SURFACE_FOREGROUND_CSS_VARS, ui as membershipClassesLabel, ul as resolveEventLinkProps, um as trustedJournalState, ur as eventCardListContent, us as resolveRegistrationTarget, ut as createSessionJournal, uu as composeHeaderSectionWrapperClassName, uy as publicEventPricingType, va as eventCategoryBadge, vc as createSignInReturnDraftStore, vf as compileEditorModelRuntime, vg as surfaceInkStyle, vi as reduceCommerceCart, vl as canJoinEventWaitlistOnAnyMode, vo as resolveOfferingsRenderInput, vp as testimonialsCompositionTreatmentValues, vs as getRegistrationOccurrenceId, vu as resolveDateRuntimeContext, vy as unsafeAsAppointmentServiceId, wa as ImagePresets, wc as EMPTY_BOOKING_QUESTIONS_ANSWERS, wd as lookQuoteLimitTransform, wg as textColorValue, wh as useLayoutEffect2, wl as isEventFull, wm as FIELD_FOCUS_CLASS, wo as bookingPanelHeading, ws as shouldLoadRegistrationOptions, wy as unsafeAsSiteId, xa as MediaNodeServer, xc as readSignInReturn, xd as when, xf as skinTokenCssVars, xg as mergeStyles, xh as useDirection, xi as buildOfferingsCatalogueListing, xl as getEventAvailability, xo as bookingCardEntry, xp as PUBLIC_DOWNLOAD_MEDIA_TYPES, xs as getTicketSelectionRemainingPlaces, xu as chromeLogoTransforms, xy as unsafeAsPositiveByteCount, ya as CalendarIcon, yc as decideSignInReturn, yg as backgroundColorStyle, yl as formatEventRemainingPlaces, yn as resolveRenderedValues, yo as DEFAULT_BOOKING_BUTTON_TEXT, ys as getSlidingScaleForEvent, yu as mediaTransforms, zc as buildEventListWeek, zd as buildGeneratedBlockIconRenderAssetLookupFromUnknown, zf as compiledRuntimeStyleFieldNames, zg as paddingDeclarations, zi as buildEventCollectionDisplay, zl as blockBookingConsentSchema, zm as DialogContent, zo as buildEventRegistrationPaymentOptionsViewModel, zr as newsletterSignupBlockDefinition, zs as findSelectedTicketType, zu as resolvedItemSurfaceProps, zv as formatDate$2 } from "./previewAssistantSlot-CuOcsG_N.mjs";
3
+ import { A as MapPin, At as locationDistanceMetres, Bt as parseLocationValue, Ct as ArrowDown, Dt as decideLocationRelationship, E as Mountain, Et as confirmLocationPair, Ft as formatLocationAddress, It as locationAddressSchema, Jt as ok$1, Kt as mapDrawingSchema, Lt as locationPinSchema, Mt as sameMeaningfulAddress, O as Minus, Ot as decideLocationSave, Pt as decideLocationSourcePermission, T as Move, Tt as LOCATION_MATCH_THRESHOLDS_METRES, W as House, _ as Route, b as Plus, c as Trash2, ct as CirclePlus, d as Sparkles, h as Search, ht as ChevronDown, jt as sameLocationSpatialPair, kt as editLocationValue, lt as CircleMinus, mt as ChevronLeft, n as X, nt as Crosshair, pt as ChevronRight, qt as err$1, r as WifiOff, s as TriangleAlert, st as Circle, u as Store, ut as CircleCheck, v as RotateCcw, vt as Building2, x as Pencil, z as Info, zt as normalizeLocationAddressText } from "./lucide-react-DygTyy7K.mjs";
4
+ import { A as buttonSizeNameSchema, C as MinusIcon, D as AFFORDANCE_SUPPRESS_CLASS, E as themeButtonSelector, M as unsafeAsOpaqueButtonColourToken, O as DEFAULT_VARIANT_ALIAS_ID, S as FileTextIcon, T as parseThemeButtonVariantId, X as parseThemeColorToken, Y as parseColorTokenParts, _ as ClockIcon$1, a as ThemedDownloadLink, b as FileAudioIcon, g as CirclePlusIcon, h as CircleMinusIcon, j as createStandardButtonSurfacePolicy, m as ChevronDownIcon, n as ThemedButton, nt as SpinnerNode, o as getIconComponent, p as ArrowDownIcon, r as ThemedButtonLink, rt as clsx, t as ThemedAuthoredButton, w as PlusIcon, x as FileSpreadsheetIcon, y as FileArchiveIcon } from "./ThemedButton-CKYjeU_M.mjs";
5
5
  import { a as buildTimetableModel$1, b as shiftCalendarAnchorDate, f as formatDateKey, g as getWeekCalendarDayTuple, h as getOrderedDayNames, l as addMonths, p as getDayOfWeek, v as isSameCalendarDay, y as isToday } from "./src-DzXUmsyK.mjs";
6
- import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-CwxRbAs2.mjs";
6
+ import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-lW2aLGWd.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, lazy, startTransition, useCallback, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -20,10 +20,6 @@ const unsafeAsCustomerPassId = (id) => id;
20
20
  const unsafeAsFormId = (id) => id;
21
21
  const parseFormId = (value) => parseUuidBrand(value, unsafeAsFormId);
22
22
  //#endregion
23
- //#region ../core/src/branded/appointments.ts
24
- const unsafeAsAppointmentServiceId = (id) => id;
25
- const unsafeAsAppointmentResourceId = (id) => id;
26
- //#endregion
27
23
  //#region ../core/src/site-terms.ts
28
24
  function siteTermsApplies(operation, items) {
29
25
  if (operation === "join_waitlist" || operation === "pay_existing_order") return false;
@@ -10752,6 +10748,192 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
10752
10748
  } : null;
10753
10749
  }
10754
10750
  //#endregion
10751
+ //#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
10752
+ /**
10753
+ * What a system-managed Event URL actually selected.
10754
+ *
10755
+ * The resolver used to assume that one returned `PublicEvent` meant one
10756
+ * occurrence. A whole-series Event breaks that assumption in two directions: a
10757
+ * parent Event path selects nothing concrete until a run is chosen, and a run
10758
+ * path selects a run whose identity spans every one of its sessions. This
10759
+ * module parses those cases once, so the renderer switches over a closed set of
10760
+ * page states instead of probing booking scopes at render time.
10761
+ *
10762
+ * Everything here is pure. Loading events and resolving run slugs is the
10763
+ * resolver's job; deciding what the page is and which runs the chooser
10764
+ * advertises happens here. When a run is open to join, and where it sits in its
10765
+ * own life, come from `@riverbankcms/core`: the same authority the
10766
+ * public read projection and the write-side run-facts loader use, so a run
10767
+ * cannot report itself open on the storefront and closed at the point of
10768
+ * booking.
10769
+ */
10770
+ function planWholeSeriesParentBooking(eligibleRuns) {
10771
+ const [first, ...rest] = eligibleRuns;
10772
+ return rest.length === 0 ? {
10773
+ kind: "single",
10774
+ run: first
10775
+ } : {
10776
+ kind: "choice",
10777
+ runs: eligibleRuns
10778
+ };
10779
+ }
10780
+ function isOrdinaryPublicEvent(event) {
10781
+ return event.bookingScope === "single_occurrence";
10782
+ }
10783
+ /**
10784
+ * Whether a parent Event page advertises this run.
10785
+ *
10786
+ * Visibility admission belongs to the scoped public read. Active, still-open
10787
+ * admitted runs are advertised, and a run that has started,
10788
+ * finished or been cancelled is informational wherever it appears.
10789
+ *
10790
+ * Capacity is deliberately not consulted (decision A24/A30): a full date is
10791
+ * still one of the dates on offer, and its own page shows the full or waitlist
10792
+ * state that the registration engine decides. Hiding it here would leave a
10793
+ * visitor unable to see that the date exists at all.
10794
+ */
10795
+ function resolveWholeSeriesChooserEligibility(group, now) {
10796
+ const status = group.representative.status;
10797
+ if (status !== void 0 && status !== "active") return {
10798
+ kind: "excluded",
10799
+ reason: "series-not-active"
10800
+ };
10801
+ const phase = resolveWholeSeriesBookingPhase(group.run, now);
10802
+ return phase.kind === "open" ? { kind: "eligible" } : {
10803
+ kind: "excluded",
10804
+ reason: phase.reason
10805
+ };
10806
+ }
10807
+ /**
10808
+ * Runs in the order a visitor reads them: soonest first session first.
10809
+ *
10810
+ * A run with no session left to attend has no place in the sequence, so it
10811
+ * sorts last rather than being given an arbitrary date.
10812
+ */
10813
+ function orderRunsBySchedule(groups) {
10814
+ return [...groups].sort((left, right) => {
10815
+ const leftStart = firstLiveRunSessionStartMs(left.run.sessions);
10816
+ const rightStart = firstLiveRunSessionStartMs(right.run.sessions);
10817
+ if (leftStart === null) return rightStart === null ? 0 : 1;
10818
+ if (rightStart === null) return -1;
10819
+ return leftStart - rightStart;
10820
+ });
10821
+ }
10822
+ function asNonEmpty(groups) {
10823
+ const [first, ...rest] = groups;
10824
+ return first ? [first, ...rest] : null;
10825
+ }
10826
+ /**
10827
+ * What a parent Event path selects.
10828
+ *
10829
+ * The scoped read admits public and unlisted runs for the offering's own page.
10830
+ * The chooser lists the ones still open; when none is, the most recent
10831
+ * admitted run supplies the page's name and copy. Runs from another offering
10832
+ * cannot speak for this page.
10833
+ */
10834
+ function planWholeSeriesParentSelection(input) {
10835
+ const offeringRuns = orderRunsBySchedule(groupPublicEventsByRun(input.events).filter((group) => group.run.eventOfferingId === input.offeringId));
10836
+ const eligibleRuns = asNonEmpty(offeringRuns.filter((group) => resolveWholeSeriesChooserEligibility(group, input.now).kind === "eligible"));
10837
+ if (eligibleRuns) return {
10838
+ kind: "wholeSeriesParent",
10839
+ admittedRuns: offeringRuns,
10840
+ offeringId: input.offeringId,
10841
+ eligibleRuns
10842
+ };
10843
+ const informationalRun = offeringRuns.at(-1);
10844
+ return informationalRun ? {
10845
+ kind: "wholeSeriesParentUnavailable",
10846
+ admittedRuns: offeringRuns,
10847
+ offeringId: input.offeringId,
10848
+ informationalRun,
10849
+ bookingClosedDetail: resolveParentBookingClosedDetail(offeringRuns, input.now)
10850
+ } : null;
10851
+ }
10852
+ /**
10853
+ * What a course page says when none of its runs is bookable.
10854
+ *
10855
+ * A run whose page is up without bookings carries its own reason, so the course
10856
+ * speaks for the runs it has: if any of them was live and has been taken
10857
+ * offline the course is closed for now, and otherwise it is waiting to open. A
10858
+ * course whose runs are simply cancelled, under way or finished carries no
10859
+ * reason at all, and the page keeps the words it already has for that.
10860
+ *
10861
+ * Only a run with a session still to come counts. A run that was paused a year
10862
+ * ago and whose dates have all passed says nothing about the course now, and
10863
+ * letting it speak would tell a visitor that a newly announced run is closed.
10864
+ */
10865
+ function resolveParentBookingClosedDetail(runs, now) {
10866
+ const details = runs.flatMap((group) => {
10867
+ const detail = group.representative.bookingClosedDetail;
10868
+ return detail && hasSessionAhead(group, now) ? [detail] : [];
10869
+ });
10870
+ if (details.length === 0) return null;
10871
+ return details.some((detail) => detail.kind === "paused") ? { kind: "paused" } : { kind: "opensSoon" };
10872
+ }
10873
+ /** Whether the run still has a session a visitor could attend. */
10874
+ function hasSessionAhead(group, now) {
10875
+ return orderedLiveRunSessions(group.run.sessions).some((session) => Date.parse(session.startsAt) > now.getTime());
10876
+ }
10877
+ /** What a targeted run path selects, when the named run projected any data. */
10878
+ function planWholeSeriesRunSelection(input) {
10879
+ const group = groupPublicEventsByRun(input.events).find((candidate) => candidate.eventSeriesId === input.eventSeriesId);
10880
+ if (!group) return null;
10881
+ return {
10882
+ kind: "wholeSeriesRun",
10883
+ offeringId: group.run.eventOfferingId,
10884
+ run: group
10885
+ };
10886
+ }
10887
+ /**
10888
+ * The Event record that speaks for a selection.
10889
+ *
10890
+ * Page metadata, the destination mode and the shared presentation all need one
10891
+ * record; every variant has one, so callers never re-derive it.
10892
+ */
10893
+ function selectionRepresentativeEvent(selection) {
10894
+ switch (selection.kind) {
10895
+ case "occurrence": return selection.event;
10896
+ case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
10897
+ case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
10898
+ case "wholeSeriesRun": return selection.run.representative;
10899
+ }
10900
+ }
10901
+ /**
10902
+ * Why this page is not taking bookings, when its own state says so.
10903
+ *
10904
+ * A parent course page answers for its runs; everything else answers for the
10905
+ * record the page is about. `null` leaves the booking column exactly as it was.
10906
+ */
10907
+ function resolveSelectionBookingClosedDetail(selection) {
10908
+ switch (selection.kind) {
10909
+ case "occurrence": return selection.event.bookingClosedDetail ?? null;
10910
+ case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
10911
+ case "wholeSeriesParent": return null;
10912
+ case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
10913
+ }
10914
+ }
10915
+ function planDropInPanel(selection) {
10916
+ const detail = resolveSelectionBookingClosedDetail(selection);
10917
+ if (detail === null) return { kind: "comeAlong" };
10918
+ switch (detail.kind) {
10919
+ case "opensSoon":
10920
+ case "paused": return { kind: "notRunning" };
10921
+ }
10922
+ }
10923
+ function getPublicEventCanonicalPath(event) {
10924
+ if (event.path) return event.path;
10925
+ return event.destination.kind === "native" ? event.destination.path : null;
10926
+ }
10927
+ function eventOccurrenceContext(event) {
10928
+ return {
10929
+ id: event.occurrenceId,
10930
+ seriesId: event.seriesId,
10931
+ startsAt: event.startsAt,
10932
+ endsAt: event.endsAt,
10933
+ timeZone: event.timeZone
10934
+ };
10935
+ }
10936
+ //#endregion
10755
10937
  //#region ../blocks/src/system/runtime/nodes/events/domain/bookability.ts
10756
10938
  /**
10757
10939
  * Whether a public event has a registration path a visitor can take.
@@ -11787,7 +11969,7 @@ function TerminalPanel({ tone, title, titleAs: Title = "h3", body, secondaryBody
11787
11969
  function slotClasses(slot, classPrefix, emitSharedClasses) {
11788
11970
  return [emitSharedClasses ? `rb-${slot}` : null, classPrefix ? `${classPrefix}-${slot}` : null].filter((name) => name !== null).join(" ");
11789
11971
  }
11790
- function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emitSharedClasses }) {
11972
+ function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emitSharedClasses, labelAs: Label = "span" }) {
11791
11973
  const slot = (name) => slotClasses(name, classPrefix, emitSharedClasses);
11792
11974
  const current = Math.min(Math.max(currentStep, 1), Math.max(totalSteps, 1));
11793
11975
  const label = stepLabels?.[current - 1];
@@ -11797,7 +11979,7 @@ function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emi
11797
11979
  className: slot("progress"),
11798
11980
  children: [/* @__PURE__ */ jsxs("div", {
11799
11981
  className: slot("progress__head"),
11800
- children: [label ? /* @__PURE__ */ jsx("span", {
11982
+ children: [label ? /* @__PURE__ */ jsx(Label, {
11801
11983
  className: slot("progress__label"),
11802
11984
  "aria-current": "step",
11803
11985
  children: label
@@ -12154,6 +12336,10 @@ function EventCardContent(props) {
12154
12336
  children: props.title
12155
12337
  })
12156
12338
  }),
12339
+ /* @__PURE__ */ jsx(EventQuickFacts, {
12340
+ facts: event.facts,
12341
+ context: "card"
12342
+ }),
12157
12343
  /* @__PURE__ */ jsx("div", {
12158
12344
  ...listLookSlot(props, "item-meta"),
12159
12345
  className: "rb-mb-2 rb-caption",
@@ -12372,30 +12558,37 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
12372
12558
  className: "event-compact-row-body",
12373
12559
  children: [/* @__PURE__ */ jsxs("div", {
12374
12560
  className: "event-compact-row-content",
12375
- children: [/* @__PURE__ */ jsx("h3", {
12376
- className: "event-compact-row-title",
12377
- children: /* @__PURE__ */ jsx("a", {
12378
- className: "event-title-link",
12379
- ...resolveEventLinkProps(event),
12380
- children: event.title
12381
- })
12382
- }), /* @__PURE__ */ jsxs("div", {
12383
- className: "event-compact-row-meta",
12384
- children: [
12385
- showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
12386
- className: "event-compact-row-venue",
12387
- children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
12388
- }),
12389
- teacherLine && /* @__PURE__ */ jsx("span", {
12390
- className: "event-compact-row-teacher",
12391
- children: teacherLine
12392
- }),
12393
- /* @__PURE__ */ jsx("span", {
12394
- className: "event-compact-row-price",
12395
- children: price
12561
+ children: [
12562
+ /* @__PURE__ */ jsx("h3", {
12563
+ className: "event-compact-row-title",
12564
+ children: /* @__PURE__ */ jsx("a", {
12565
+ className: "event-title-link",
12566
+ ...resolveEventLinkProps(event),
12567
+ children: event.title
12396
12568
  })
12397
- ]
12398
- })]
12569
+ }),
12570
+ /* @__PURE__ */ jsx(EventQuickFacts, {
12571
+ facts: event.facts,
12572
+ context: "card"
12573
+ }),
12574
+ /* @__PURE__ */ jsxs("div", {
12575
+ className: "event-compact-row-meta",
12576
+ children: [
12577
+ showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
12578
+ className: "event-compact-row-venue",
12579
+ children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
12580
+ }),
12581
+ teacherLine && /* @__PURE__ */ jsx("span", {
12582
+ className: "event-compact-row-teacher",
12583
+ children: teacherLine
12584
+ }),
12585
+ /* @__PURE__ */ jsx("span", {
12586
+ className: "event-compact-row-price",
12587
+ children: price
12588
+ })
12589
+ ]
12590
+ })
12591
+ ]
12399
12592
  }), /* @__PURE__ */ jsxs("div", {
12400
12593
  className: "event-compact-row-action",
12401
12594
  children: [/* @__PURE__ */ jsxs("span", {
@@ -12572,6 +12765,17 @@ function OfferingTitle({ className, path, title }) {
12572
12765
  });
12573
12766
  }
12574
12767
  //#endregion
12768
+ //#region ../blocks/src/system/transforms/registry/eventRegistrationPageKind.ts
12769
+ const eventRegistrationPageReadAdmission = {
12770
+ id: "events.registrationPageReadAdmission",
12771
+ kind: "formatter",
12772
+ summary: "Read booking-page runs on their own page; retain full-page subject admission",
12773
+ run(value, _options, context) {
12774
+ if (context.data?.pageKind === "bookingPage") return "own-page";
12775
+ return asPartialObject(asPartialObject(value)?.subject)?.detailAdmission === "own-page" ? "own-page" : void 0;
12776
+ }
12777
+ };
12778
+ //#endregion
12575
12779
  //#region ../blocks/src/system/transforms/registry/offeringsPreview.ts
12576
12780
  /** Reuse the existing occurrence read for the date strip and card date rows. */
12577
12781
  const offeringsPreviewDatesReadEnabled = {
@@ -12967,6 +13171,194 @@ function sectionFallbackBackground(token) {
12967
13171
  color: token
12968
13172
  };
12969
13173
  }
13174
+ //#endregion
13175
+ //#region ../blocks/src/contracts/booking-policy.ts
13176
+ function describePublicRefundPolicy(refunds) {
13177
+ const refundDestination = refunds.method === "site_credit" ? "as credit to use with this business" : "to your original payment method";
13178
+ if (refunds.mode === "cutoff" && refunds.cutoffHours === 0) return `Cancel before the booking starts for a full refund ${refundDestination}.`;
13179
+ switch (refunds.mode) {
13180
+ case "always": return `Cancel before the booking starts for a full refund ${refundDestination}.`;
13181
+ case "never": return "Bookings are non-refundable.";
13182
+ case "cutoff": return `Cancel up to ${formatCutoff(refunds.cutoffHours)} before it starts for a full refund ${refundDestination}.`;
13183
+ }
13184
+ }
13185
+ function formatCutoff(cutoffHours) {
13186
+ const hours = Math.max(0, Math.round(cutoffHours));
13187
+ if (hours % 24 === 0) {
13188
+ const days = hours / 24;
13189
+ return `${days} ${days === 1 ? "day" : "days"}`;
13190
+ }
13191
+ return `${hours} ${hours === 1 ? "hour" : "hours"}`;
13192
+ }
13193
+ //#endregion
13194
+ //#region ../blocks/src/system/blocks/appointments/presentation.ts
13195
+ const publicVenueSchema = z.object({
13196
+ name: z.string(),
13197
+ area: z.string().nullable()
13198
+ });
13199
+ const publicAppointmentLocationSchema = z.discriminatedUnion("mode", [
13200
+ z.object({ mode: z.literal("online") }),
13201
+ z.object({
13202
+ mode: z.literal("in_person"),
13203
+ venue: publicVenueSchema.nullable()
13204
+ }),
13205
+ z.object({
13206
+ mode: z.literal("either"),
13207
+ venue: publicVenueSchema.nullable()
13208
+ })
13209
+ ]);
13210
+ const publicPricingOptionSchema = z.object({
13211
+ priceAmount: z.number().finite(),
13212
+ isActive: z.boolean(),
13213
+ saleStartsAt: z.string().nullable(),
13214
+ saleEndsAt: z.string().nullable()
13215
+ });
13216
+ const publicAppointmentPricingSchema = z.object({
13217
+ pricingStrategy: z.enum([
13218
+ "free",
13219
+ "single",
13220
+ "tiered",
13221
+ "sliding_scale"
13222
+ ]),
13223
+ currency: z.string().min(1),
13224
+ singlePriceAmount: z.number().nullable(),
13225
+ slidingMinAmount: z.number().nullable(),
13226
+ slidingMaxAmount: z.number().nullable(),
13227
+ options: z.array(publicPricingOptionSchema).readonly()
13228
+ });
13229
+ function formatAppointmentDuration(durationMinutes) {
13230
+ return `${durationMinutes} ${durationMinutes === 1 ? "minute" : "minutes"}`;
13231
+ }
13232
+ function formatAppointmentLocation(location) {
13233
+ switch (location.mode) {
13234
+ case "online": return "Online";
13235
+ case "in_person": return formatVenue(location.venue);
13236
+ case "either": {
13237
+ const venue = formatVenue(location.venue);
13238
+ return venue ? `${venue} or online` : "In person or online";
13239
+ }
13240
+ default: return assertNever$1(location);
13241
+ }
13242
+ }
13243
+ function formatVenue(venue) {
13244
+ if (!venue) return null;
13245
+ return venue.area ? `${venue.name}, ${venue.area}` : venue.name;
13246
+ }
13247
+ function formatAppointmentPrice(service) {
13248
+ if (service.onlinePaymentMode === "package_only") return "Book with a package";
13249
+ const pricing = service.pricing;
13250
+ if (pricing) {
13251
+ const display = appointmentPricingDisplay(pricing);
13252
+ return display.kind === "unavailable" ? null : formatBookingPriceDisplay(display, { decimals: "auto" });
13253
+ }
13254
+ return formatAmountOrFree(service.priceAmount, service.priceCurrency);
13255
+ }
13256
+ function formatAmountOrFree(amount, currency) {
13257
+ if (amount === null || currency === null) return null;
13258
+ if (amount === 0) return "Free";
13259
+ return formatBookingPriceDisplay({
13260
+ kind: "exact",
13261
+ amount,
13262
+ currency
13263
+ }, { decimals: "auto" });
13264
+ }
13265
+ function appointmentPricingDisplay(pricing) {
13266
+ switch (pricing.pricingStrategy) {
13267
+ case "free": return {
13268
+ kind: "free",
13269
+ currency: pricing.currency
13270
+ };
13271
+ case "single": return resolveExactOrFreePriceDisplay(pricing.singlePriceAmount, pricing.currency);
13272
+ case "tiered": return resolvePricingOptionsPriceDisplay({
13273
+ options: pricing.options,
13274
+ currency: pricing.currency,
13275
+ purpose: "available_now"
13276
+ });
13277
+ case "sliding_scale": return pricing.slidingMinAmount === null || pricing.slidingMaxAmount === null ? {
13278
+ kind: "unavailable",
13279
+ currency: pricing.currency
13280
+ } : {
13281
+ kind: "range",
13282
+ minAmount: pricing.slidingMinAmount,
13283
+ maxAmount: pricing.slidingMaxAmount,
13284
+ currency: pricing.currency
13285
+ };
13286
+ default: return assertNever$1(pricing.pricingStrategy);
13287
+ }
13288
+ }
13289
+ //#endregion
13290
+ //#region ../blocks/src/system/blocks/appointments/serviceDetailsFacts.ts
13291
+ /** Only the facts the details view uses, read from the public service payload. */
13292
+ const serviceDetailsSourceSchema = z.object({
13293
+ durationMinutes: z.number().int().positive(),
13294
+ pricing: publicAppointmentPricingSchema.optional(),
13295
+ priceAmount: z.number().nullable(),
13296
+ priceCurrency: z.string().nullable(),
13297
+ onlinePaymentMode: z.enum(["session_or_package", "package_only"]).optional(),
13298
+ location: publicAppointmentLocationSchema,
13299
+ cancellationPolicy: z.object({ refunds: z.object({
13300
+ mode: z.enum([
13301
+ "always",
13302
+ "never",
13303
+ "cutoff"
13304
+ ]),
13305
+ cutoffHours: z.number(),
13306
+ method: z.enum(["original_payment_method", "site_credit"])
13307
+ }) }),
13308
+ practitioners: z.array(z.object({
13309
+ name: z.string(),
13310
+ roleLabel: z.string().nullable().optional()
13311
+ })).optional()
13312
+ });
13313
+ /**
13314
+ * The block reads services the way `getPublicBookingServices` returns them:
13315
+ * the catalogue `{ services }` or a bare list. A code-owned page hands over the
13316
+ * same shape, so both kinds of page show the same facts.
13317
+ */
13318
+ const serviceDetailsDataSchema = z.union([z.array(z.unknown()), z.object({ services: z.array(z.unknown()) }).transform((catalogue) => catalogue.services)]);
13319
+ function serviceDetailsFacts(service) {
13320
+ const price = formatAppointmentPrice(service);
13321
+ const location = formatAppointmentLocation(service.location);
13322
+ const practitioners = service.practitioners ?? [];
13323
+ return [
13324
+ {
13325
+ label: "How long",
13326
+ value: formatAppointmentDuration(service.durationMinutes)
13327
+ },
13328
+ ...price ? [{
13329
+ label: "Price",
13330
+ value: price
13331
+ }] : [],
13332
+ ...location ? [{
13333
+ label: "Where",
13334
+ value: location
13335
+ }] : [],
13336
+ {
13337
+ label: "Cancelling",
13338
+ value: describePublicRefundPolicy(service.cancellationPolicy.refunds)
13339
+ },
13340
+ ...practitioners.length ? [{
13341
+ label: practitioners.length === 1 ? "Practitioner" : "Practitioners",
13342
+ value: practitioners.map((person) => person.roleLabel ? `${person.name}, ${person.roleLabel}` : person.name).join("; ")
13343
+ }] : []
13344
+ ];
13345
+ }
13346
+ /** No facts when the read is missing, failed or doesn't hold exactly one service. */
13347
+ function readServiceDetailsFacts(data) {
13348
+ const services = serviceDetailsDataSchema.safeParse(data);
13349
+ if (!services.success || services.data.length !== 1) return [];
13350
+ const service = serviceDetailsSourceSchema.safeParse(services.data[0]);
13351
+ return service.success ? serviceDetailsFacts(service.data) : [];
13352
+ }
13353
+ //#endregion
13354
+ //#region ../blocks/src/system/transforms/registry/serviceDetails.ts
13355
+ /** The service details block lists these; none means the block has nothing to show. */
13356
+ const serviceDetailsFactsTransform = {
13357
+ id: "appointments.serviceDetailsFacts",
13358
+ kind: "collection",
13359
+ summary: "Read the facts shown for one appointment service",
13360
+ run: (value) => readServiceDetailsFacts(value)
13361
+ };
12970
13362
  const eventCalendarSelectionParam = {
12971
13363
  id: "events.calendarSelectionParam",
12972
13364
  kind: "formatter",
@@ -13011,6 +13403,7 @@ const eventCalendarReadEnabled = {
13011
13403
  }
13012
13404
  };
13013
13405
  const defaultTransforms = createTransformRegistry([
13406
+ eventRegistrationPageReadAdmission,
13014
13407
  offeringsPreviewDatesReadEnabled,
13015
13408
  lookLeadSlotTransform,
13016
13409
  lookQuoteLimitTransform,
@@ -13054,7 +13447,8 @@ const defaultTransforms = createTransformRegistry([
13054
13447
  ...boxStylesTransforms,
13055
13448
  ...contentTransforms,
13056
13449
  ...headerRuntimeTransforms,
13057
- mapDrawingStyleTransform
13450
+ mapDrawingStyleTransform,
13451
+ serviceDetailsFactsTransform
13058
13452
  ]);
13059
13453
  //#endregion
13060
13454
  //#region ../blocks/src/system/runtime/nodes/carousel.shared.ts
@@ -13506,8 +13900,10 @@ const GridNode = (props) => /* @__PURE__ */ jsx(Grid, { ...props });
13506
13900
  const DivNode = (props) => /* @__PURE__ */ jsx("div", { ...props });
13507
13901
  const FigureNode = (props) => /* @__PURE__ */ jsx("figure", { ...props });
13508
13902
  const OrderedListNode = (props) => /* @__PURE__ */ jsx("ol", { ...props });
13903
+ const UnorderedListNode = (props) => /* @__PURE__ */ jsx("ul", { ...props });
13509
13904
  const ListItemNode = (props) => /* @__PURE__ */ jsx("li", { ...props });
13510
13905
  const FigcaptionNode = (props) => /* @__PURE__ */ jsx("figcaption", { ...props });
13906
+ const DescriptionListNode = (props) => /* @__PURE__ */ jsx("dl", { ...props });
13511
13907
  //#endregion
13512
13908
  //#region ../blocks/src/primitives/content/components/Text.tsx
13513
13909
  function Text({ as: Comp = "span", children, className = "", path, style, "data-slot": dataSlot, "data-surface": dataSurface, maxLength: _maxLength }) {
@@ -14660,40 +15056,6 @@ function ListGroup({ presentation, title, intro, Heading, sectionProps, children
14660
15056
  }
14661
15057
  //#endregion
14662
15058
  //#region ../blocks/src/system/runtime/nodes/appointment-services.tsx
14663
- const publicVenueSchema = z.object({
14664
- name: z.string(),
14665
- area: z.string().nullable()
14666
- });
14667
- const publicLocationSchema = z.discriminatedUnion("mode", [
14668
- z.object({ mode: z.literal("online") }),
14669
- z.object({
14670
- mode: z.literal("in_person"),
14671
- venue: publicVenueSchema.nullable()
14672
- }),
14673
- z.object({
14674
- mode: z.literal("either"),
14675
- venue: publicVenueSchema.nullable()
14676
- })
14677
- ]);
14678
- const publicPricingOptionSchema = z.object({
14679
- priceAmount: z.number().finite(),
14680
- isActive: z.boolean(),
14681
- saleStartsAt: z.string().nullable(),
14682
- saleEndsAt: z.string().nullable()
14683
- });
14684
- const publicPricingSchema = z.object({
14685
- pricingStrategy: z.enum([
14686
- "free",
14687
- "single",
14688
- "tiered",
14689
- "sliding_scale"
14690
- ]),
14691
- currency: z.string().min(1),
14692
- singlePriceAmount: z.number().nullable(),
14693
- slidingMinAmount: z.number().nullable(),
14694
- slidingMaxAmount: z.number().nullable(),
14695
- options: z.array(publicPricingOptionSchema).readonly()
14696
- });
14697
15059
  const publicAppointmentServiceSchema = z.object({
14698
15060
  id: z.string().min(1),
14699
15061
  image: runtimeMediaSchema.nullable().optional(),
@@ -14701,11 +15063,11 @@ const publicAppointmentServiceSchema = z.object({
14701
15063
  title: z.string(),
14702
15064
  description: z.string().nullable().optional(),
14703
15065
  durationMinutes: z.number().int().positive(),
14704
- pricing: publicPricingSchema.optional(),
15066
+ pricing: publicAppointmentPricingSchema.optional(),
14705
15067
  priceAmount: z.number().nullable(),
14706
15068
  priceCurrency: z.string().nullable(),
14707
15069
  onlinePaymentMode: z.enum(["session_or_package", "package_only"]).optional(),
14708
- location: publicLocationSchema,
15070
+ location: publicAppointmentLocationSchema,
14709
15071
  categoryId: z.string().nullable().optional().transform((value) => value ?? null)
14710
15072
  });
14711
15073
  const publicServiceCategorySchema = z.object({
@@ -14742,65 +15104,6 @@ function readCategoryFilter(value) {
14742
15104
  const trimmed = value.trim();
14743
15105
  return trimmed.length > 0 ? trimmed : null;
14744
15106
  }
14745
- function formatAppointmentDuration(durationMinutes) {
14746
- return `${durationMinutes} min`;
14747
- }
14748
- function formatAppointmentLocation(location) {
14749
- switch (location.mode) {
14750
- case "online": return "Online";
14751
- case "in_person": return formatVenue(location.venue);
14752
- case "either": {
14753
- const venue = formatVenue(location.venue);
14754
- return venue ? `${venue} or online` : "In person or online";
14755
- }
14756
- default: return assertNever$1(location);
14757
- }
14758
- }
14759
- function formatVenue(venue) {
14760
- if (!venue) return null;
14761
- return venue.area ? `${venue.name}, ${venue.area}` : venue.name;
14762
- }
14763
- function formatAppointmentPrice(service) {
14764
- if (service.onlinePaymentMode === "package_only") return "Book with a package";
14765
- const pricing = service.pricing;
14766
- if (pricing) {
14767
- const display = (() => {
14768
- switch (pricing.pricingStrategy) {
14769
- case "free": return {
14770
- kind: "free",
14771
- currency: pricing.currency
14772
- };
14773
- case "single": return resolveExactOrFreePriceDisplay(pricing.singlePriceAmount, pricing.currency);
14774
- case "tiered": return resolvePricingOptionsPriceDisplay({
14775
- options: pricing.options,
14776
- currency: pricing.currency,
14777
- purpose: "available_now"
14778
- });
14779
- case "sliding_scale": return pricing.slidingMinAmount === null || pricing.slidingMaxAmount === null ? {
14780
- kind: "unavailable",
14781
- currency: pricing.currency
14782
- } : {
14783
- kind: "range",
14784
- minAmount: pricing.slidingMinAmount,
14785
- maxAmount: pricing.slidingMaxAmount,
14786
- currency: pricing.currency
14787
- };
14788
- default: return assertNever$1(pricing.pricingStrategy);
14789
- }
14790
- })();
14791
- return display.kind === "unavailable" ? null : formatBookingPriceDisplay(display, { decimals: "auto" });
14792
- }
14793
- return formatAmountOrFree(service.priceAmount, service.priceCurrency);
14794
- }
14795
- function formatAmountOrFree(amount, currency) {
14796
- if (amount === null || currency === null) return null;
14797
- if (amount === 0) return "Free";
14798
- return formatBookingPriceDisplay({
14799
- kind: "exact",
14800
- amount,
14801
- currency
14802
- }, { decimals: "auto" });
14803
- }
14804
15107
  function buildRows(services, pathname, servicePathPrefix) {
14805
15108
  return services.map((service) => ({
14806
15109
  id: service.id,
@@ -15208,6 +15511,16 @@ function TeamMembersNode(props) {
15208
15511
  });
15209
15512
  }
15210
15513
  //#endregion
15514
+ //#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
15515
+ /** The `[data-arrangement]` ancestor skin card rules need around an in-place booking panel. */
15516
+ function BookingPanelArrangement({ pageKind, children }) {
15517
+ const attributes = bookingPresentation(pageKind).arrangementAttributes;
15518
+ return attributes ? /* @__PURE__ */ jsx("div", {
15519
+ ...attributes,
15520
+ children
15521
+ }) : /* @__PURE__ */ jsx(Fragment$1, { children });
15522
+ }
15523
+ //#endregion
15211
15524
  //#region ../blocks/src/system/runtime/nodes/booking-form.service-pricing.ts
15212
15525
  function getBookingServiceSlidingScale(service) {
15213
15526
  const pricing = service?.pricing;
@@ -15650,9 +15963,6 @@ function parseBookingCurrencyInputToCents(value) {
15650
15963
  if (!Number.isFinite(parsed) || parsed < 0) return null;
15651
15964
  return Math.round(parsed * 100);
15652
15965
  }
15653
- function formatBookingCentsAsCurrencyInput(amount) {
15654
- return amount % 100 === 0 ? String(amount / 100) : (amount / 100).toFixed(2);
15655
- }
15656
15966
  function isBookingServiceSlidingAmountInRange(slidingScale, selectedAmount) {
15657
15967
  return selectedAmount !== null && selectedAmount >= slidingScale.minAmount && selectedAmount <= slidingScale.maxAmount;
15658
15968
  }
@@ -16128,6 +16438,7 @@ const bookingDateContextSchema = z.object({
16128
16438
  timeZone: z.string().transform(resolveBookingBusinessTimeZone)
16129
16439
  });
16130
16440
  const bookingSourceSchema = z.object({
16441
+ pageKind: bookingPageKindSchema.optional(),
16131
16442
  dateContext: bookingDateContextSchema,
16132
16443
  now: bookingNowSchema,
16133
16444
  demoEmailSuppressed: z.boolean().optional(),
@@ -16164,6 +16475,7 @@ const bookingDisplaySchema = z.object({
16164
16475
  });
16165
16476
  const bookingHydrationSchema = z.object({
16166
16477
  now: bookingNowSchema,
16478
+ pageKind: bookingPageKindSchema.optional(),
16167
16479
  dateContext: bookingDateContextSchema,
16168
16480
  demoEmailSuppressed: z.boolean().optional(),
16169
16481
  mailingList: bookingMailingListContextSchema.optional(),
@@ -16216,6 +16528,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
16216
16528
  return {
16217
16529
  display: buildBookingFormDisplay(source, form),
16218
16530
  hydration: {
16531
+ pageKind: source.pageKind,
16219
16532
  now: source.now,
16220
16533
  dateContext: source.dateContext,
16221
16534
  demoEmailSuppressed: source.demoEmailSuppressed,
@@ -16293,48 +16606,53 @@ function BookingFormSSR({ blockId, children, ...sourceProps }) {
16293
16606
  id: blockId,
16294
16607
  attributes: { "data-block": "appointment-booking" },
16295
16608
  value: islandProps,
16296
- children: [display.state === "missing" ? /* @__PURE__ */ jsx("div", {
16297
- className: `rb-reg-surface booking-form-ssr ${sourceProps.className ?? ""}`.trim(),
16298
- children: /* @__PURE__ */ jsx("div", {
16299
- className: "alert alert-error",
16300
- role: "alert",
16301
- children: /* @__PURE__ */ jsx("p", {
16302
- className: "ab-text",
16303
- children: display.message
16609
+ children: [/* @__PURE__ */ jsx(BookingPanelArrangement, {
16610
+ pageKind: sourceProps.pageKind,
16611
+ children: display.state === "missing" ? /* @__PURE__ */ jsx("div", {
16612
+ ...bookingPresentation(sourceProps.pageKind).panelAttributes,
16613
+ className: `rb-reg-surface booking-form-ssr ${sourceProps.className ?? ""}`.trim(),
16614
+ children: /* @__PURE__ */ jsx("div", {
16615
+ className: "alert alert-error",
16616
+ role: "alert",
16617
+ children: /* @__PURE__ */ jsx("p", {
16618
+ className: "ab-text",
16619
+ children: display.message
16620
+ })
16304
16621
  })
16305
- })
16306
- }) : /* @__PURE__ */ jsxs("div", {
16307
- className: `rb-reg-surface booking-form-ssr ab-shell ${sourceProps.className ?? ""}`.trim(),
16308
- "aria-busy": true,
16309
- "aria-label": "Loading booking form",
16310
- role: "status",
16311
- children: [/* @__PURE__ */ jsx("span", {
16312
- className: "rb-sr-only",
16313
- children: "Loading booking form..."
16314
- }), /* @__PURE__ */ jsxs("div", {
16315
- className: "rb-reg-stack",
16316
- "aria-hidden": "true",
16317
- children: [
16318
- /* @__PURE__ */ jsx("div", {
16319
- className: "rb-reg-summary",
16320
- children: /* @__PURE__ */ jsxs("div", {
16622
+ }) : /* @__PURE__ */ jsxs("div", {
16623
+ ...bookingPresentation(sourceProps.pageKind).panelAttributes,
16624
+ className: `rb-reg-surface booking-form-ssr ab-shell ${sourceProps.className ?? ""}`.trim(),
16625
+ "aria-busy": true,
16626
+ "aria-label": "Loading booking form",
16627
+ role: "status",
16628
+ children: [/* @__PURE__ */ jsx("span", {
16629
+ className: "rb-sr-only",
16630
+ children: "Loading booking form..."
16631
+ }), /* @__PURE__ */ jsxs("div", {
16632
+ className: "rb-reg-stack",
16633
+ "aria-hidden": "true",
16634
+ children: [
16635
+ bookingPresentation(sourceProps.pageKind).showShellHeading ? /* @__PURE__ */ jsx("div", {
16636
+ className: "rb-reg-summary",
16637
+ children: /* @__PURE__ */ jsxs("div", {
16638
+ className: "rb-reg-stack rb-reg-stack--sm",
16639
+ children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
16640
+ })
16641
+ }) : null,
16642
+ /* @__PURE__ */ jsxs("div", {
16321
16643
  className: "rb-reg-stack rb-reg-stack--sm",
16322
- children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
16323
- })
16324
- }),
16325
- /* @__PURE__ */ jsxs("div", {
16326
- className: "rb-reg-stack rb-reg-stack--sm",
16327
- children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs" })]
16328
- }),
16329
- /* @__PURE__ */ jsx("div", {
16330
- className: "rb-wizard-actions",
16331
- children: /* @__PURE__ */ jsx("div", {
16332
- className: "ab-shell-button",
16333
- children: display.submitLabel
16644
+ children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs" })]
16645
+ }),
16646
+ /* @__PURE__ */ jsx("div", {
16647
+ className: "rb-wizard-actions",
16648
+ children: /* @__PURE__ */ jsx("div", {
16649
+ className: "ab-shell-button",
16650
+ children: display.submitLabel
16651
+ })
16334
16652
  })
16335
- })
16336
- ]
16337
- })]
16653
+ ]
16654
+ })]
16655
+ })
16338
16656
  }), children]
16339
16657
  });
16340
16658
  }
@@ -16486,7 +16804,7 @@ function resolveSelection(input) {
16486
16804
  events: input.events ?? null,
16487
16805
  occurrenceContext: input.occurrenceContext ?? null,
16488
16806
  subject: input.subject,
16489
- nowIso: input.nowIso,
16807
+ nowIso: input.now,
16490
16808
  otherDatesLimit: input.otherDatesLimit
16491
16809
  });
16492
16810
  }
@@ -16519,6 +16837,7 @@ function resolveEventDetailsPresentation(input) {
16519
16837
  return {
16520
16838
  selection,
16521
16839
  arrangement: input.arrangement,
16840
+ quickFacts: input.quickFacts,
16522
16841
  entryTitle: input.entryTitle,
16523
16842
  actionSize: input.actionSize,
16524
16843
  lookSlots: input.lookSlots,
@@ -16532,8 +16851,12 @@ function resolveEventDetailsPresentation(input) {
16532
16851
  }
16533
16852
  //#endregion
16534
16853
  //#region ../blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.tsx
16854
+ /** A course lists every active option, whether or not its sale window is open. */
16855
+ function wholeSeriesPriceOptions(pricing) {
16856
+ return pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
16857
+ }
16535
16858
  function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
16536
- const options = pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
16859
+ const options = wholeSeriesPriceOptions(pricing);
16537
16860
  return /* @__PURE__ */ jsxs("div", {
16538
16861
  className: "rb-mt-6",
16539
16862
  children: [
@@ -16552,7 +16875,7 @@ function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
16552
16875
  className: "rb-caption status-muted",
16553
16876
  children: option.description
16554
16877
  }) : null] }, option.id))
16555
- }) : /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: formatBookingPriceDisplay(publicEventPricingDisplay(pricing)) }) }),
16878
+ }) : /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: formatBookingPriceDisplay(publicEventPricingDisplay(pricing), { decimals: "auto" }) }) }),
16556
16879
  acceptedItems.length > 0 ? /* @__PURE__ */ jsxs("p", {
16557
16880
  className: "rb-caption rb-mt-1",
16558
16881
  children: ["You can also attend with: ", acceptedItems.join(", ")]
@@ -16620,7 +16943,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
16620
16943
  className: "rb-caption rb-mt-1",
16621
16944
  children: formatAutoApplyDiscountLine(autoApplyDiscount, eventPricingCurrency)
16622
16945
  }) : null,
16623
- eventPricingCurrency ? /* @__PURE__ */ jsx(TicketTypePriceList, {
16946
+ eventPricingCurrency && ticketTypes.length > 1 ? /* @__PURE__ */ jsx(TicketTypePriceList, {
16624
16947
  ticketTypes,
16625
16948
  currency: eventPricingCurrency
16626
16949
  }) : null,
@@ -16931,10 +17254,10 @@ function EventDetailsView(input) {
16931
17254
  });
16932
17255
  if (props.selection.kind === "empty") return /* @__PURE__ */ jsxs("div", {
16933
17256
  ...listLookSlot(props, "layout"),
16934
- children: [props.entryTitle ? /* @__PURE__ */ jsx("h1", {
17257
+ children: [props.entryTitle ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("h1", {
16935
17258
  ...listLookSlot(props, "headline"),
16936
17259
  children: props.entryTitle
16937
- }) : null, /* @__PURE__ */ jsx(LegacyEventDetailsView, { ...props })]
17260
+ }), /* @__PURE__ */ jsx(EventQuickFacts, { facts: props.quickFacts })] }) : null, /* @__PURE__ */ jsx(LegacyEventDetailsView, { ...props })]
16938
17261
  });
16939
17262
  return /* @__PURE__ */ jsxs("div", {
16940
17263
  ...listLookSlot(props, "layout"),
@@ -16943,16 +17266,79 @@ function EventDetailsView(input) {
16943
17266
  presentation: props,
16944
17267
  showCost: props.showCost ?? true,
16945
17268
  showCapacity: props.showCapacity ?? false
16946
- }), /* @__PURE__ */ jsx("div", {
16947
- ...listLookSlot(props, "panel"),
16948
- children: /* @__PURE__ */ jsx(LegacyEventDetailsView, {
16949
- ...props,
16950
- showCost: props.showCost,
16951
- showCapacity: false
16952
- })
17269
+ }), /* @__PURE__ */ jsx(EventHeaderPanel, {
17270
+ ...props,
17271
+ selection: props.selection
16953
17272
  })]
16954
17273
  });
16955
17274
  }
17275
+ function EventHeaderPanel(props) {
17276
+ const content = headerPanelContent(props);
17277
+ if (!content.hasFacts && !content.hasMap && !content.hasDates) return null;
17278
+ return /* @__PURE__ */ jsx("div", {
17279
+ ...listLookSlot(props, "panel"),
17280
+ children: /* @__PURE__ */ jsxs("div", {
17281
+ className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
17282
+ children: [content.hasFacts || content.hasMap ? /* @__PURE__ */ jsxs("div", {
17283
+ className: "rb-grid rb-grid-cols-1 rb-gap-6 rb-items-start rb-sm-grid-cols-2",
17284
+ children: [content.hasFacts ? /* @__PURE__ */ jsx(HeaderPanelFacts, { ...content }) : null, /* @__PURE__ */ jsx(EventVenueMap, {
17285
+ venue: content.venue,
17286
+ showMap: props.showMap,
17287
+ drawing: props.selectedVenueDrawing,
17288
+ mapHeight: props.mapHeight ?? 200,
17289
+ mapClassName: props.mapClassName ?? "event-details-map"
17290
+ })]
17291
+ }) : null, content.hasDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection: props.selection }) : null]
17292
+ })
17293
+ });
17294
+ }
17295
+ function HeaderPanelFacts({ venue, teamMembers, pricing }) {
17296
+ return /* @__PURE__ */ jsxs("div", {
17297
+ className: "rb-flex rb-flex-col rb-gap-4",
17298
+ children: [
17299
+ /* @__PURE__ */ jsx(EventVenueFact, { venue }),
17300
+ /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
17301
+ pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
17302
+ ]
17303
+ });
17304
+ }
17305
+ /** What the panel has to add to the header, decided once. */
17306
+ function headerPanelContent(props) {
17307
+ const { selection } = props;
17308
+ const venue = props.showVenue ? selection.selected.venue : void 0;
17309
+ const teamMembers = selection.selected.teamMembers ?? [];
17310
+ const pricing = headerPanelPricing(props, selection.selected);
17311
+ const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
17312
+ return {
17313
+ venue,
17314
+ teamMembers,
17315
+ pricing,
17316
+ hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
17317
+ hasFacts: Boolean(venue) || teamMembers.length > 0 || pricing !== null,
17318
+ hasDates: props.showOtherDates && scheduled > 0
17319
+ };
17320
+ }
17321
+ /**
17322
+ * Price detail beyond the header's one Price line: several options, a
17323
+ * discount, or passes that also admit. Decided from the same projection
17324
+ * `EventPricingDetails` renders, so a panel is only drawn when it will show something.
17325
+ */
17326
+ function headerPanelPricing(props, event) {
17327
+ const pricing = selectedEventPricing(event, props.showCost ?? true);
17328
+ if (pricing.isDropIn) return null;
17329
+ const detail = {
17330
+ ...pricing,
17331
+ acceptedItems: acceptedProductNames(props),
17332
+ autoApplyDiscount: props.autoApplyDiscount ?? null
17333
+ };
17334
+ return pricingAddsDetail(detail) ? detail : null;
17335
+ }
17336
+ /** True when `EventPricingDetails` would show more than the header's one price. */
17337
+ function pricingAddsDetail(pricing) {
17338
+ const priced = Boolean(pricing.eventCostLabel && pricing.eventPricingCurrency);
17339
+ const courseOptions = pricing.wholeSeriesPricingDisplay ? wholeSeriesPriceOptions(pricing.wholeSeriesPricingDisplay).length : 0;
17340
+ return pricing.acceptedItems.length > 0 || courseOptions > 1 || priced && (pricing.ticketTypes.length > 1 || pricing.autoApplyDiscount !== null);
17341
+ }
16956
17342
  /** Turns off the toggles the arrangement leaves out, as `lookParts` declares them. */
16957
17343
  function withLookParts(props, arrangement) {
16958
17344
  const shown = (field) => lookPartShown("block.event-details", field, arrangement);
@@ -16964,7 +17350,7 @@ function withLookParts(props, arrangement) {
16964
17350
  }
16965
17351
  //#endregion
16966
17352
  //#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
16967
- function eventDetailsIslandValue({ props, presentation, scopedEvents, subject, nowIso }) {
17353
+ function eventDetailsIslandValue({ props, presentation, scopedEvents, subject }) {
16968
17354
  return {
16969
17355
  ...props.arrangement ? {
16970
17356
  arrangement: props.arrangement,
@@ -16974,6 +17360,7 @@ function eventDetailsIslandValue({ props, presentation, scopedEvents, subject, n
16974
17360
  surfacePresentation: props.surfacePresentation,
16975
17361
  panelHeading: props.panelHeading
16976
17362
  } : {},
17363
+ quickFacts: props.quickFacts,
16977
17364
  occurrenceContext: props.occurrenceContext ?? null,
16978
17365
  subject,
16979
17366
  events: scopedEvents,
@@ -16992,12 +17379,11 @@ function eventDetailsIslandValue({ props, presentation, scopedEvents, subject, n
16992
17379
  siteMemberships: props.siteMemberships,
16993
17380
  autoApplyDiscount: presentation.autoApplyDiscount,
16994
17381
  className: props.className,
16995
- nowIso
17382
+ now: props.now
16996
17383
  };
16997
17384
  }
16998
17385
  function EventDetailsSSR(props) {
16999
17386
  const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
17000
- const nowIso = props.now;
17001
17387
  const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
17002
17388
  const scopedEvents = events === null ? null : resolveEventRegistrationScopedEvents(events, {
17003
17389
  occurrenceContext,
@@ -17007,8 +17393,7 @@ function EventDetailsSSR(props) {
17007
17393
  ...props,
17008
17394
  events: scopedEvents,
17009
17395
  occurrenceContext,
17010
- subject: normalizedSubject,
17011
- nowIso
17396
+ subject: normalizedSubject
17012
17397
  });
17013
17398
  return /* @__PURE__ */ jsxs(IslandRoot, {
17014
17399
  kind: "event-details",
@@ -17021,8 +17406,7 @@ function EventDetailsSSR(props) {
17021
17406
  props,
17022
17407
  presentation,
17023
17408
  scopedEvents,
17024
- subject: normalizedSubject,
17025
- nowIso
17409
+ subject: normalizedSubject
17026
17410
  }),
17027
17411
  children: [/* @__PURE__ */ jsx(EventDetailsView, {
17028
17412
  ...presentation,
@@ -17682,27 +18066,34 @@ function FeaturedOfferingSummary({ item }) {
17682
18066
  if (!details) return null;
17683
18067
  return /* @__PURE__ */ jsxs("article", {
17684
18068
  className: "offerings-preview-summary rb-flex rb-flex-1 rb-flex-col",
17685
- children: [/* @__PURE__ */ jsxs("p", {
17686
- className: "offerings-preview-summary-date",
17687
- children: [/* @__PURE__ */ jsx("time", {
17688
- dateTime: details.startDateTime,
17689
- children: details.startDate
17690
- }), details.endDate ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
17691
- "aria-hidden": "true",
17692
- children: " – "
17693
- }), /* @__PURE__ */ jsx("time", {
17694
- dateTime: details.endDateTime,
17695
- children: details.endDate
17696
- })] }) : null]
17697
- }), /* @__PURE__ */ jsxs("dl", {
17698
- className: "offerings-preview-summary-facts",
17699
- children: [
17700
- details.recurrence ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Repeats" }), /* @__PURE__ */ jsx("dd", { children: details.recurrence })] }) : null,
17701
- details.sessionCount ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Sessions" }), /* @__PURE__ */ jsx("dd", { children: details.sessionCount })] }) : null,
17702
- details.timeRange ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }) : null,
17703
- details.venue ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Venue" }), /* @__PURE__ */ jsx("dd", { children: details.venue })] }) : null
17704
- ]
17705
- })]
18069
+ children: [
18070
+ /* @__PURE__ */ jsx(EventQuickFacts, {
18071
+ facts: item.kind === "event" ? item.event.facts : item.run.representative.facts,
18072
+ context: "card"
18073
+ }),
18074
+ /* @__PURE__ */ jsxs("p", {
18075
+ className: "offerings-preview-summary-date",
18076
+ children: [/* @__PURE__ */ jsx("time", {
18077
+ dateTime: details.startDateTime,
18078
+ children: details.startDate
18079
+ }), details.endDate ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
18080
+ "aria-hidden": "true",
18081
+ children: " – "
18082
+ }), /* @__PURE__ */ jsx("time", {
18083
+ dateTime: details.endDateTime,
18084
+ children: details.endDate
18085
+ })] }) : null]
18086
+ }),
18087
+ /* @__PURE__ */ jsxs("dl", {
18088
+ className: "offerings-preview-summary-facts",
18089
+ children: [
18090
+ details.recurrence ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Repeats" }), /* @__PURE__ */ jsx("dd", { children: details.recurrence })] }) : null,
18091
+ details.sessionCount ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Sessions" }), /* @__PURE__ */ jsx("dd", { children: details.sessionCount })] }) : null,
18092
+ details.timeRange ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }) : null,
18093
+ details.venue ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Venue" }), /* @__PURE__ */ jsx("dd", { children: details.venue })] }) : null
18094
+ ]
18095
+ })
18096
+ ]
17706
18097
  });
17707
18098
  }
17708
18099
  function featuredSummaryDetails(item) {
@@ -17866,31 +18257,38 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
17866
18257
  }),
17867
18258
  /* @__PURE__ */ jsxs("div", {
17868
18259
  className: "event-compact-row-content",
17869
- children: [/* @__PURE__ */ jsx(OfferingTitle, {
17870
- className: "event-compact-row-title",
17871
- path,
17872
- title: group.representative.title
17873
- }), /* @__PURE__ */ jsxs("div", {
17874
- className: "event-compact-row-meta",
17875
- children: [
17876
- group.representative.venue ? /* @__PURE__ */ jsx("span", {
17877
- className: "event-compact-row-venue",
17878
- children: group.representative.venue.name
17879
- }) : null,
17880
- /* @__PURE__ */ jsx("span", {
17881
- className: "event-compact-row-price",
17882
- children: price
17883
- }),
17884
- /* @__PURE__ */ jsxs("span", {
17885
- className: "event-compact-row-price",
17886
- children: [
17887
- sessionsCount,
17888
- " session",
17889
- sessionsCount === 1 ? "" : "s"
17890
- ]
17891
- })
17892
- ]
17893
- })]
18260
+ children: [
18261
+ /* @__PURE__ */ jsx(OfferingTitle, {
18262
+ className: "event-compact-row-title",
18263
+ path,
18264
+ title: group.representative.title
18265
+ }),
18266
+ /* @__PURE__ */ jsx(EventQuickFacts, {
18267
+ facts: group.representative.facts,
18268
+ context: "card"
18269
+ }),
18270
+ /* @__PURE__ */ jsxs("div", {
18271
+ className: "event-compact-row-meta",
18272
+ children: [
18273
+ group.representative.venue ? /* @__PURE__ */ jsx("span", {
18274
+ className: "event-compact-row-venue",
18275
+ children: group.representative.venue.name
18276
+ }) : null,
18277
+ /* @__PURE__ */ jsx("span", {
18278
+ className: "event-compact-row-price",
18279
+ children: price
18280
+ }),
18281
+ /* @__PURE__ */ jsxs("span", {
18282
+ className: "event-compact-row-price",
18283
+ children: [
18284
+ sessionsCount,
18285
+ " session",
18286
+ sessionsCount === 1 ? "" : "s"
18287
+ ]
18288
+ })
18289
+ ]
18290
+ })
18291
+ ]
17894
18292
  }),
17895
18293
  /* @__PURE__ */ jsxs("div", {
17896
18294
  className: "event-compact-row-action",
@@ -17939,6 +18337,10 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
17939
18337
  path,
17940
18338
  title: group.representative.title
17941
18339
  }),
18340
+ /* @__PURE__ */ jsx(EventQuickFacts, {
18341
+ facts: group.representative.facts,
18342
+ context: "card"
18343
+ }),
17942
18344
  /* @__PURE__ */ jsxs("div", {
17943
18345
  className: "rb-mb-2 rb-caption",
17944
18346
  children: [/* @__PURE__ */ jsx("time", { children: formattedDate }), /* @__PURE__ */ jsx("p", { children: timeRange })]
@@ -18033,6 +18435,10 @@ function RunWithoutLiveDates({ group, path }) {
18033
18435
  path,
18034
18436
  title: group.representative.title
18035
18437
  }),
18438
+ /* @__PURE__ */ jsx(EventQuickFacts, {
18439
+ facts: group.representative.facts,
18440
+ context: "card"
18441
+ }),
18036
18442
  /* @__PURE__ */ jsx("p", { children: "No dates available." }),
18037
18443
  /* @__PURE__ */ jsx("span", {
18038
18444
  className: "event-compact-row-status",
@@ -20024,6 +20430,279 @@ const EventListingSSR = (props) => {
20024
20430
  });
20025
20431
  };
20026
20432
  //#endregion
20433
+ //#region ../blocks/src/system/runtime/nodes/event-registration/BookingPanel.tsx
20434
+ function EventBookingPanelView({ panel, pageKind, children }) {
20435
+ const body = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(EventBookingPanelBody, { panel }), children] });
20436
+ return bookingPresentation(pageKind).wrapInCard ? /* @__PURE__ */ jsx(BookingPanelArrangement, {
20437
+ pageKind,
20438
+ children: /* @__PURE__ */ jsx("div", {
20439
+ ...bookingPresentation(pageKind).panelAttributes,
20440
+ className: boxStyleClassNames({}, {
20441
+ cardRoleFallback: "default",
20442
+ includeSpacing: false
20443
+ }),
20444
+ children: /* @__PURE__ */ jsx("div", {
20445
+ className: "card-content",
20446
+ children: body
20447
+ })
20448
+ })
20449
+ }) : body;
20450
+ }
20451
+ function EventBookingPanelBody({ panel }) {
20452
+ switch (panel.kind) {
20453
+ case "registration": return null;
20454
+ case "dropIn": return /* @__PURE__ */ jsx(DropInPanel, { panel: panel.panel });
20455
+ case "bookingClosed": return /* @__PURE__ */ jsx(BookingClosedPanel, { detail: panel.detail });
20456
+ case "closedRun": return /* @__PURE__ */ jsx(ClosedRunPanel, { reason: panel.reason });
20457
+ case "single": return /* @__PURE__ */ jsx(SingleDateBooking, { run: panel.run });
20458
+ case "choice": return /* @__PURE__ */ jsx(RunChooser, { runs: panel.runs });
20459
+ case "unavailable": return /* @__PURE__ */ jsxs("div", {
20460
+ className: "event-booking-panel__unavailable",
20461
+ children: [/* @__PURE__ */ jsx("h2", {
20462
+ className: "card-title rb-mb-3",
20463
+ children: "No dates open right now"
20464
+ }), /* @__PURE__ */ jsx("p", {
20465
+ className: "status-muted rb-text-base rb-leading-relaxed",
20466
+ children: "There is nothing to book at the moment. Please check back later for the next set of dates."
20467
+ })]
20468
+ });
20469
+ }
20470
+ }
20471
+ function SingleDateBooking({ run }) {
20472
+ const href = getPublicEventCanonicalPath(run.representative);
20473
+ return /* @__PURE__ */ jsxs("div", {
20474
+ className: "event-booking-panel__single-date",
20475
+ children: [
20476
+ /* @__PURE__ */ jsx("h2", {
20477
+ className: "card-title rb-mb-3",
20478
+ children: "Book your place"
20479
+ }),
20480
+ /* @__PURE__ */ jsx("p", {
20481
+ className: "event-booking-panel__run-dates status-muted rb-mb-4 rb-text-base rb-leading-relaxed",
20482
+ children: describeRun(run)
20483
+ }),
20484
+ href ? /* @__PURE__ */ jsx(ThemedButtonLink, {
20485
+ variant: "primary",
20486
+ size: "md",
20487
+ extraClassName: "event-booking-panel__book-link rb-block rb-w-full rb-text-center",
20488
+ href,
20489
+ label: "Book now"
20490
+ }) : null
20491
+ ]
20492
+ });
20493
+ }
20494
+ /** What a drop-in event's column says: come along, or not right now. */
20495
+ function DropInPanel({ panel }) {
20496
+ switch (panel.kind) {
20497
+ case "comeAlong": return /* @__PURE__ */ jsxs("div", {
20498
+ className: "event-booking-panel__drop-in",
20499
+ children: [/* @__PURE__ */ jsx("h2", {
20500
+ className: "card-title rb-mb-3",
20501
+ children: "No booking needed"
20502
+ }), /* @__PURE__ */ jsx("p", {
20503
+ className: "status-muted rb-text-base rb-leading-relaxed",
20504
+ children: "You can come along without reserving a place."
20505
+ })]
20506
+ });
20507
+ case "notRunning": return /* @__PURE__ */ jsx("div", {
20508
+ className: "event-booking-panel__drop-in",
20509
+ children: /* @__PURE__ */ jsx("p", {
20510
+ className: "status-muted rb-text-base rb-leading-relaxed",
20511
+ children: "This isn’t running at the moment."
20512
+ })
20513
+ });
20514
+ }
20515
+ }
20516
+ /** The page is up, but bookings are not open. One line, and why. */
20517
+ function BookingClosedPanel({ detail }) {
20518
+ return /* @__PURE__ */ jsx("div", {
20519
+ className: "event-booking-panel__booking-closed",
20520
+ children: /* @__PURE__ */ jsx("h2", {
20521
+ className: "card-title",
20522
+ children: detail.kind === "opensSoon" ? "Bookings open soon." : "Bookings are closed for now."
20523
+ })
20524
+ });
20525
+ }
20526
+ /** Dates that cannot be booked keep their details and say why. */
20527
+ function ClosedRunPanel({ reason }) {
20528
+ const copy = closedRunCopy(reason);
20529
+ return /* @__PURE__ */ jsxs("div", {
20530
+ className: "event-booking-panel__closed-run",
20531
+ children: [/* @__PURE__ */ jsx("h2", {
20532
+ className: "card-title rb-mb-3",
20533
+ children: copy.titleText
20534
+ }), /* @__PURE__ */ jsx("p", {
20535
+ className: "status-muted rb-text-base rb-leading-relaxed",
20536
+ children: copy.bodyText
20537
+ })]
20538
+ });
20539
+ }
20540
+ /**
20541
+ * Server-rendered run links.
20542
+ *
20543
+ * Choosing a run is a navigation, not client state: each entry is a plain link
20544
+ * to that run's canonical page, so the chooser works before hydration and the
20545
+ * chosen run gets a shareable URL.
20546
+ */
20547
+ function RunChooser({ runs }) {
20548
+ return /* @__PURE__ */ jsxs("div", {
20549
+ className: "event-booking-panel__run-chooser",
20550
+ children: [/* @__PURE__ */ jsx("h2", {
20551
+ className: "card-title rb-mb-4",
20552
+ children: "Choose your dates"
20553
+ }), /* @__PURE__ */ jsx("ul", {
20554
+ className: "rb-flex rb-flex-col rb-gap-3",
20555
+ children: runs.map((run) => {
20556
+ const href = getPublicEventCanonicalPath(run.representative);
20557
+ const label = describeRun(run);
20558
+ return /* @__PURE__ */ jsx("li", { children: href ? /* @__PURE__ */ jsxs("a", {
20559
+ className: "event-booking-panel__run-link rb-block rb-w-full",
20560
+ href,
20561
+ children: [/* @__PURE__ */ jsx("span", {
20562
+ className: "event-booking-panel__run-name",
20563
+ children: run.representative.title
20564
+ }), /* @__PURE__ */ jsx("span", {
20565
+ className: "event-booking-panel__run-dates status-muted rb-block rb-text-sm",
20566
+ children: label
20567
+ })]
20568
+ }) : /* @__PURE__ */ jsx("span", {
20569
+ className: "event-booking-panel__run-name",
20570
+ children: run.representative.title
20571
+ }) }, run.eventSeriesId);
20572
+ })
20573
+ })]
20574
+ });
20575
+ }
20576
+ /** "12 sessions from 5 March" — enough to tell two runs apart in a list. */
20577
+ function describeRun(run) {
20578
+ const sessionCount = run.run.sessions.length;
20579
+ const sessionLabel = sessionCount === 1 ? "1 session" : `${sessionCount} sessions`;
20580
+ const first = orderedLiveRunSessions(run.run.sessions)[0];
20581
+ if (!first) return sessionLabel;
20582
+ return `${sessionLabel} from ${formatDate$2({
20583
+ kind: "instant",
20584
+ value: toUtcIsoDateTimeString(first.startsAt)
20585
+ }, eventDateOptions({
20586
+ ...run.representative,
20587
+ timeZone: first.timeZone
20588
+ }), {
20589
+ date: "long",
20590
+ weekday: "long"
20591
+ })}`;
20592
+ }
20593
+ //#endregion
20594
+ //#region ../blocks/src/system/runtime/nodes/event-registration/bookingPanelSelection.ts
20595
+ /** Adapt a loaded page surface to the existing page planners. Catalogues keep their picker. */
20596
+ function resolveBookingPanelSelection(source) {
20597
+ const eventSource = resolveEventRegistrationEventSource({
20598
+ events: source.events,
20599
+ wholeSeriesRunEvents: source.wholeSeriesRunEvents,
20600
+ failures: source.eventLoaderFailures
20601
+ });
20602
+ if (eventSource.kind !== "loaded") return null;
20603
+ const subject = normalizeEventRegistrationPageSurfaceSubject(source.subject);
20604
+ const events = resolveEventRegistrationScopedEvents(eventSource.events, {
20605
+ occurrenceContext: source.occurrenceContext,
20606
+ subject
20607
+ });
20608
+ const selection = selectPagePanel({
20609
+ ...source,
20610
+ subject
20611
+ }, events);
20612
+ return selection ? {
20613
+ selection,
20614
+ subject
20615
+ } : null;
20616
+ }
20617
+ function selectPagePanel(source, events) {
20618
+ if (source.subject?.kind === "eventOffering" && source.subject.bookingScope === "whole_series") {
20619
+ if (source.pageKind !== "bookingPage") return null;
20620
+ return planWholeSeriesParentSelection({
20621
+ offeringId: source.subject.eventOfferingId,
20622
+ events,
20623
+ now: new Date(source.now)
20624
+ });
20625
+ }
20626
+ if (source.subject?.kind === "eventSeries" && source.subject.bookingScope === "whole_series") return planWholeSeriesRunSelection({
20627
+ eventSeriesId: source.subject.eventSeriesId,
20628
+ events
20629
+ });
20630
+ return selectOccurrenceForPanel(events, source.occurrenceContext?.id);
20631
+ }
20632
+ /** The decided target is also retained for recovery when fresh booking is closed. */
20633
+ function registrationSourceForPanel(source, panel) {
20634
+ if (!panel.registration) return null;
20635
+ return {
20636
+ ...source,
20637
+ ...panel.registration,
20638
+ wholeSeriesRunEvents: null,
20639
+ admission: panel.kind === "registration" ? "newBookings" : "recoveryOnly"
20640
+ };
20641
+ }
20642
+ function selectOccurrenceForPanel(events, occurrenceId) {
20643
+ const event = occurrenceId ? events.find((candidate) => candidate.occurrenceId === occurrenceId) : null;
20644
+ return event && isOrdinaryPublicEvent(event) ? {
20645
+ kind: "occurrence",
20646
+ event
20647
+ } : null;
20648
+ }
20649
+ function planEventBookingPanel({ selection, subject }, now) {
20650
+ const nonBookingPanel = planNonBookingPanel(selection);
20651
+ switch (selection.kind) {
20652
+ case "occurrence":
20653
+ case "wholeSeriesRun": {
20654
+ const registration = selectionRegistrationTarget(selection, subject);
20655
+ if (nonBookingPanel) return {
20656
+ ...nonBookingPanel,
20657
+ registration
20658
+ };
20659
+ const phase = selection.kind === "wholeSeriesRun" ? resolveWholeSeriesBookingPhase(selection.run.run, now) : null;
20660
+ return phase?.kind === "closed" ? {
20661
+ kind: "closedRun",
20662
+ reason: phase.reason,
20663
+ registration
20664
+ } : {
20665
+ kind: "registration",
20666
+ registration
20667
+ };
20668
+ }
20669
+ case "wholeSeriesParent": return {
20670
+ ...nonBookingPanel ?? planWholeSeriesParentBooking(selection.eligibleRuns),
20671
+ registration: null
20672
+ };
20673
+ case "wholeSeriesParentUnavailable": return {
20674
+ ...nonBookingPanel ?? { kind: "unavailable" },
20675
+ registration: null
20676
+ };
20677
+ }
20678
+ }
20679
+ /** Drop-in and page-level closure take precedence over fresh booking and run selection. */
20680
+ function planNonBookingPanel(selection) {
20681
+ if (!selectionRepresentativeEvent(selection).requiresRegistration) return {
20682
+ kind: "dropIn",
20683
+ panel: planDropInPanel(selection)
20684
+ };
20685
+ const detail = resolveSelectionBookingClosedDetail(selection);
20686
+ return detail ? {
20687
+ kind: "bookingClosed",
20688
+ detail
20689
+ } : null;
20690
+ }
20691
+ function selectionRegistrationTarget(selection, subject) {
20692
+ switch (selection.kind) {
20693
+ case "occurrence": return {
20694
+ events: [selection.event],
20695
+ occurrenceContext: eventOccurrenceContext(selection.event),
20696
+ subject
20697
+ };
20698
+ case "wholeSeriesRun": return {
20699
+ events: [selection.run.representative],
20700
+ occurrenceContext: null,
20701
+ subject
20702
+ };
20703
+ }
20704
+ }
20705
+ //#endregion
20027
20706
  //#region ../blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.tsx
20028
20707
  function RegistrationClosedState({ title, body }) {
20029
20708
  return /* @__PURE__ */ jsx("div", {
@@ -20452,35 +21131,76 @@ function StepIndicator(props) {
20452
21131
  * Server-safe placeholder for event registration.
20453
21132
  * Provides a static container for island hydration without importing client hooks.
20454
21133
  */
20455
- function EventRegistrationSSR({ blockId, subject, loaderFailures, children, ...sourceProps }) {
21134
+ function EventRegistrationSSR({ subject, loaderFailures, ...props }) {
21135
+ const selection = resolveBookingPanelSelection({
21136
+ ...props,
21137
+ subject,
21138
+ eventLoaderFailures: props.blockId ? loaderFailures?.[props.blockId] : void 0
21139
+ });
21140
+ if (!selection) return /* @__PURE__ */ jsx(BookingPanelArrangement, {
21141
+ pageKind: props.pageKind,
21142
+ children: /* @__PURE__ */ jsx(EventRegistrationIsland, {
21143
+ ...props,
21144
+ subject: normalizeEventRegistrationPageSurfaceSubject(subject),
21145
+ loaderFailures
21146
+ })
21147
+ });
21148
+ return /* @__PURE__ */ jsx(SelectedEventRegistration, {
21149
+ selection,
21150
+ island: {
21151
+ ...props,
21152
+ subject: selection.subject,
21153
+ loaderFailures
21154
+ }
21155
+ });
21156
+ }
21157
+ /** Once admitted, render the decided target without re-parsing its subject. */
21158
+ function SelectedEventRegistration({ selection, island }) {
21159
+ const panel = planEventBookingPanel(selection, new Date(island.now));
21160
+ const registration = registrationSourceForPanel(island, panel);
21161
+ return /* @__PURE__ */ jsx(EventBookingPanelView, {
21162
+ panel,
21163
+ pageKind: island.pageKind ?? "fullPage",
21164
+ children: registration ? /* @__PURE__ */ jsx(EventRegistrationIsland, {
21165
+ ...island,
21166
+ ...registration,
21167
+ insidePanel: true
21168
+ }) : null
21169
+ });
21170
+ }
21171
+ function EventRegistrationIsland({ blockId, subject, loaderFailures, children, insidePanel, ...sourceProps }) {
20456
21172
  const islandProps = buildEventRegistrationInteractiveIslandProps({
20457
21173
  ...sourceProps,
20458
21174
  eventLoaderFailures: blockId ? loaderFailures?.[blockId] : void 0,
20459
- subject: normalizeEventRegistrationPageSurfaceSubject(subject)
21175
+ subject
20460
21176
  });
20461
21177
  const display = islandProps.render.display;
20462
- const className = sourceProps.className;
21178
+ const className = display.className;
20463
21179
  return /* @__PURE__ */ jsxs(IslandRoot, {
20464
21180
  kind: "event-registration",
20465
21181
  id: blockId,
20466
21182
  attributes: {
20467
21183
  className: `event-registration ${className ?? ""}`.trim(),
20468
21184
  "data-block": "event-registration",
21185
+ ...insidePanel ? void 0 : bookingPresentation(sourceProps.pageKind).panelAttributes,
20469
21186
  "data-rb-island-required": "true",
20470
21187
  "data-rb-island-error-message": "We couldn’t load the booking options for this event. Please refresh this page and try again. If this keeps happening, contact the organiser for help.",
20471
21188
  "data-rb-island-error-class": "event-registration__hydration-error"
20472
21189
  },
20473
21190
  value: islandProps,
20474
- children: [display.state === "booking-card" ? /* @__PURE__ */ jsx("div", {
21191
+ children: [islandProps.render.hydration.admission === "recoveryOnly" ? null : display.state === "booking-card" ? /* @__PURE__ */ jsx("div", {
20475
21192
  id: EVENT_REGISTRATION_ANCHOR_ID,
20476
21193
  children: /* @__PURE__ */ jsx(BookingEntryCard, {
20477
21194
  entry: display.entry,
20478
21195
  buttonVariant: display.buttonVariant ?? "primary"
20479
21196
  })
20480
- }) : /* @__PURE__ */ jsx(EventRegistrationShell, { display }), children]
21197
+ }) : /* @__PURE__ */ jsx(EventRegistrationShell, {
21198
+ display,
21199
+ showHeading: bookingPresentation(sourceProps.pageKind).showShellHeading
21200
+ }), children]
20481
21201
  });
20482
21202
  }
20483
- function EventRegistrationShell({ display }) {
21203
+ function EventRegistrationShell({ display, showHeading }) {
20484
21204
  if (display.state === "registration-closed") return /* @__PURE__ */ jsx(RegistrationClosedState, {
20485
21205
  title: display.titleText,
20486
21206
  body: display.bodyText
@@ -20502,32 +21222,9 @@ function EventRegistrationShell({ display }) {
20502
21222
  totalSteps: display.stepLabels.length,
20503
21223
  stepLabels: [...display.stepLabels]
20504
21224
  })
20505
- }), /* @__PURE__ */ jsxs("div", {
20506
- className: "rb-reg-stack er-stack",
20507
- children: [/* @__PURE__ */ jsxs("div", { children: [
20508
- /* @__PURE__ */ jsx("p", {
20509
- className: "er-registration-shell__eyebrow",
20510
- children: "Registration"
20511
- }),
20512
- /* @__PURE__ */ jsx("h3", {
20513
- className: "er-title er-registration-shell__title",
20514
- children: display.titleText
20515
- }),
20516
- /* @__PURE__ */ jsx("p", {
20517
- className: "er-text er-text--muted er-registration-shell__copy",
20518
- children: display.bodyText
20519
- })
20520
- ] }), /* @__PURE__ */ jsxs("div", {
20521
- className: "er-event-grid er-registration-shell__cards",
20522
- "aria-hidden": "true",
20523
- children: [/* @__PURE__ */ jsxs("div", {
20524
- className: "er-event-card er-registration-shell__card",
20525
- children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg er-registration-shell__line er-registration-shell__line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm er-registration-shell__line er-registration-shell__line--sm" })]
20526
- }), /* @__PURE__ */ jsxs("div", {
20527
- className: "er-event-card er-registration-shell__card",
20528
- children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md er-registration-shell__line er-registration-shell__line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs er-registration-shell__line er-registration-shell__line--xs" })]
20529
- })]
20530
- })]
21225
+ }), /* @__PURE__ */ jsx(RegistrationShellBody, {
21226
+ display,
21227
+ showHeading
20531
21228
  })]
20532
21229
  }), /* @__PURE__ */ jsx("div", {
20533
21230
  className: "er-payment-layout-footer",
@@ -20546,6 +21243,32 @@ function EventRegistrationShell({ display }) {
20546
21243
  })
20547
21244
  });
20548
21245
  }
21246
+ /** Copy and skeleton cards for the first step, before its island is ready. */
21247
+ function RegistrationShellBody({ display, showHeading }) {
21248
+ return /* @__PURE__ */ jsxs("div", {
21249
+ className: "rb-reg-stack er-stack",
21250
+ children: [/* @__PURE__ */ jsxs("div", { children: [showHeading ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("p", {
21251
+ className: "er-registration-shell__eyebrow",
21252
+ children: "Registration"
21253
+ }), /* @__PURE__ */ jsx("h3", {
21254
+ className: "er-title er-registration-shell__title",
21255
+ children: display.titleText
21256
+ })] }) : null, /* @__PURE__ */ jsx("p", {
21257
+ className: "er-text er-text--muted er-registration-shell__copy",
21258
+ children: display.bodyText
21259
+ })] }), /* @__PURE__ */ jsxs("div", {
21260
+ className: "er-event-grid er-registration-shell__cards",
21261
+ "aria-hidden": "true",
21262
+ children: [/* @__PURE__ */ jsxs("div", {
21263
+ className: "er-event-card er-registration-shell__card",
21264
+ children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg er-registration-shell__line er-registration-shell__line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm er-registration-shell__line er-registration-shell__line--sm" })]
21265
+ }), /* @__PURE__ */ jsxs("div", {
21266
+ className: "er-event-card er-registration-shell__card",
21267
+ children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md er-registration-shell__line er-registration-shell__line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs er-registration-shell__line er-registration-shell__line--xs" })]
21268
+ })]
21269
+ })]
21270
+ });
21271
+ }
20549
21272
  //#endregion
20550
21273
  //#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
20551
21274
  /** Verification readiness is decided here, never recomputed by individual forms. */
@@ -21234,9 +21957,11 @@ typedObjectKeys(runtimeBackedBlockServerEntries);
21234
21957
  //#region ../blocks/src/system/runtime/components/registry.server.ts
21235
21958
  const serverComponentRegistry = {
21236
21959
  div: DivNode,
21960
+ dl: DescriptionListNode,
21237
21961
  figure: FigureNode,
21238
21962
  figcaption: FigcaptionNode,
21239
21963
  ol: OrderedListNode,
21964
+ ul: UnorderedListNode,
21240
21965
  li: ListItemNode,
21241
21966
  svg: SvgNode,
21242
21967
  section: SectionNode,
@@ -23758,6 +24483,12 @@ const PORTAL = {
23758
24483
  authScope: "portal",
23759
24484
  skipPreviewStage: true
23760
24485
  },
24486
+ getRegularSessions: {
24487
+ path: "/portal/appointments/regular-sessions",
24488
+ method: "GET",
24489
+ authScope: "portal",
24490
+ skipPreviewStage: true
24491
+ },
23761
24492
  getAppointmentBookingQuestions: {
23762
24493
  path: "/portal/appointments/{appointmentId}/booking-questions",
23763
24494
  method: "GET",
@@ -24522,6 +25253,9 @@ function createBlockApi(config) {
24522
25253
  async getPortalAppointments() {
24523
25254
  return (await request(PORTAL.getAppointments)).appointments;
24524
25255
  },
25256
+ async getPortalRegularSessions() {
25257
+ return (await request(PORTAL.getRegularSessions)).arrangements;
25258
+ },
24525
25259
  async getPortalAppointmentBookingQuestions(appointmentId) {
24526
25260
  const path = buildPath(PORTAL.getAppointmentBookingQuestions.path, { appointmentId });
24527
25261
  return (await request(PORTAL.getAppointmentBookingQuestions, { path })).task;
@@ -27184,7 +27918,7 @@ function changesBookingPaymentFacts(event) {
27184
27918
  }
27185
27919
  function bookingSlidingAmountDefault(services, serviceId) {
27186
27920
  const sliding = getBookingServiceSlidingScale(services.find((service) => service.id === serviceId) ?? null);
27187
- return sliding?.suggestedAmount !== null && sliding?.suggestedAmount !== void 0 ? formatBookingCentsAsCurrencyInput(sliding.suggestedAmount) : "";
27921
+ return sliding?.suggestedAmount !== null && sliding?.suggestedAmount !== void 0 ? formatCentsAsCurrencyInput(sliding.suggestedAmount) : "";
27188
27922
  }
27189
27923
  function planBookingNavigation(input) {
27190
27924
  if (input.direction === "next") return planBookingNext(input);
@@ -28698,7 +29432,7 @@ function DateFieldLabel({ labelId }) {
28698
29432
  return /* @__PURE__ */ jsx("span", {
28699
29433
  className: "form-label",
28700
29434
  id: labelId,
28701
- children: "Select Date"
29435
+ children: "Choose a date"
28702
29436
  });
28703
29437
  }
28704
29438
  /** Focus is the only effect: newly loaded dates continue keyboard selection. */
@@ -28863,7 +29597,7 @@ const TimeSlotSelector = ({ value, onChange, slots, isLoading, dateContext, zone
28863
29597
  /* @__PURE__ */ jsx("span", {
28864
29598
  className: "form-label",
28865
29599
  id: labelId,
28866
- children: "Select Time"
29600
+ children: "Choose a time"
28867
29601
  }),
28868
29602
  /* @__PURE__ */ jsx(TimeSlotZoneNote, {
28869
29603
  id: noteId,
@@ -29125,7 +29859,7 @@ function BookingReviewIdentity({ booking }) {
29125
29859
  /** Copy for one package the client can buy and use for this booking. */
29126
29860
  function purchasablePackageRowCopy(item, serviceTitle) {
29127
29861
  const heldWith = item.heldWithTeamMember;
29128
- const sessions = item.creditsTotal === 1 ? "1 session" : `${item.creditsTotal} sessions`;
29862
+ const sessions = formatCreditProductUnits("appointment_package", item.creditsTotal);
29129
29863
  return {
29130
29864
  label: heldWith ? `${item.name} with ${heldWith.name}` : item.name,
29131
29865
  details: [
@@ -29140,8 +29874,11 @@ function heldPackageRows(booking) {
29140
29874
  return booking.payment.appointmentPackages.items.map((held) => ({
29141
29875
  id: held.customerPassId,
29142
29876
  label: held.passName,
29143
- details: ["Use 1 package credit", `Balance: ${held.creditsRemaining} of ${held.creditsTotal} credits remaining`],
29144
- price: "1 credit",
29877
+ details: ["This booking uses one session.", formatCreditProductBalance("appointment_package", {
29878
+ remaining: held.creditsRemaining,
29879
+ total: held.creditsTotal
29880
+ })],
29881
+ price: formatCreditProductUnits("appointment_package", 1),
29145
29882
  selected: booking.payment.choice.kind === "held_package" && booking.payment.choice.customerPassId === held.customerPassId,
29146
29883
  onSelect: () => booking.actions.selectAppointmentPackage(held.customerPassId)
29147
29884
  }));
@@ -30350,10 +31087,18 @@ function toStringArray(value) {
30350
31087
  }
30351
31088
  //#endregion
30352
31089
  //#region ../blocks/src/system/runtime/nodes/booking-form.default-ui.tsx
31090
+ function BookingStepPrompt({ presentation, as: Heading, className, id, children }) {
31091
+ return /* @__PURE__ */ jsx(presentation.promptAsHeading ? Heading : "p", {
31092
+ id,
31093
+ className: presentation.promptAsHeading ? className : "form-label",
31094
+ children
31095
+ });
31096
+ }
30353
31097
  function formatBookingAmount(amount, currency) {
30354
31098
  return formatCurrencyAmount(amount, currency, { decimals: "auto" });
30355
31099
  }
30356
- function HeadlessBookingDefaultForm({ booking, onSubmit }) {
31100
+ function HeadlessBookingDefaultForm({ booking, onSubmit, pageKind }) {
31101
+ const presentation = bookingPresentation(pageKind);
30357
31102
  const currentStep = booking.currentStep;
30358
31103
  const errorSummaryId = React.useId();
30359
31104
  const currentStepIndex = currentStep?.visibleIndex ?? 0;
@@ -30371,14 +31116,16 @@ function HeadlessBookingDefaultForm({ booking, onSubmit }) {
30371
31116
  currentStep: currentStepIndex + 1,
30372
31117
  totalSteps: booking.steps.length,
30373
31118
  stepLabels: booking.steps.map((step) => step.label),
30374
- emitSharedClasses: true
31119
+ emitSharedClasses: true,
31120
+ labelAs: presentation.stepLabelAs
30375
31121
  }) : null,
30376
31122
  /* @__PURE__ */ jsx(DefaultQuestionsRefusal, { booking }),
30377
31123
  /* @__PURE__ */ jsx("div", {
30378
31124
  className: "step-content",
30379
31125
  children: /* @__PURE__ */ jsx(DefaultBookingStepContent, {
30380
31126
  booking,
30381
- errorSummaryId
31127
+ errorSummaryId,
31128
+ presentation
30382
31129
  })
30383
31130
  }),
30384
31131
  /* @__PURE__ */ jsx(DefaultBookingErrorSummary, {
@@ -30409,21 +31156,28 @@ function DefaultQuestionsRefusal({ booking }) {
30409
31156
  children: presentation.message
30410
31157
  });
30411
31158
  }
30412
- function DefaultBookingStepContent({ booking, errorSummaryId }) {
31159
+ function DefaultBookingStepContent({ booking, errorSummaryId, presentation }) {
30413
31160
  const stepId = booking.currentStep?.id;
30414
31161
  if (!stepId) return null;
30415
31162
  switch (stepId) {
30416
- case "service-selection": return /* @__PURE__ */ jsx(DefaultServiceSelectionStep, { booking });
31163
+ case "service-selection": return /* @__PURE__ */ jsx(DefaultServiceSelectionStep, {
31164
+ booking,
31165
+ presentation
31166
+ });
30417
31167
  case "datetime-selection": return /* @__PURE__ */ jsx(DefaultDateTimeSelectionStep, {
30418
31168
  booking,
30419
- errorSummaryId
31169
+ errorSummaryId,
31170
+ presentation
31171
+ });
31172
+ case "payment-selection": return /* @__PURE__ */ jsx(HeadlessBookingPaymentSelectionStep, {
31173
+ booking,
31174
+ presentation
30420
31175
  });
30421
- case "payment-selection": return /* @__PURE__ */ jsx(HeadlessBookingPaymentSelectionStep, { booking });
30422
31176
  case "custom-fields": return /* @__PURE__ */ jsx(DefaultBookingDetailsStep, { booking });
30423
31177
  default: return assertNever$2(stepId);
30424
31178
  }
30425
31179
  }
30426
- function DefaultServiceSelectionStep({ booking }) {
31180
+ function DefaultServiceSelectionStep({ booking, presentation }) {
30427
31181
  const services = booking.services.items;
30428
31182
  const resources = booking.resources.items;
30429
31183
  const selectedResourceId = booking.resources.selectedResourceId;
@@ -30433,7 +31187,9 @@ function DefaultServiceSelectionStep({ booking }) {
30433
31187
  return /* @__PURE__ */ jsxs("div", {
30434
31188
  className: "rb-reg-stack",
30435
31189
  children: [
30436
- showServiceSelect ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("h2", {
31190
+ showServiceSelect ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(BookingStepPrompt, {
31191
+ presentation,
31192
+ as: "h2",
30437
31193
  className: "ab-title",
30438
31194
  children: "Choose a service"
30439
31195
  }), /* @__PURE__ */ jsx(DefaultServiceChoices, { booking })] }) : null,
@@ -30463,19 +31219,22 @@ function DefaultServiceSelectionStep({ booking }) {
30463
31219
  booking,
30464
31220
  resources,
30465
31221
  selectedResourceId,
30466
- allowAnyResource
31222
+ allowAnyResource,
31223
+ presentation
30467
31224
  }) : null
30468
31225
  ]
30469
31226
  });
30470
31227
  }
30471
- function DefaultResourceChoices({ allowAnyResource, booking, resources, selectedResourceId }) {
31228
+ function DefaultResourceChoices({ allowAnyResource, booking, resources, selectedResourceId, presentation }) {
30472
31229
  const headingId = React.useId();
30473
31230
  return /* @__PURE__ */ jsxs("div", {
30474
31231
  className: "rb-reg-stack rb-reg-stack--sm",
30475
31232
  role: "group",
30476
31233
  "aria-labelledby": headingId,
30477
31234
  children: [
30478
- /* @__PURE__ */ jsxs("h3", {
31235
+ /* @__PURE__ */ jsxs(BookingStepPrompt, {
31236
+ presentation,
31237
+ as: "h3",
30479
31238
  id: headingId,
30480
31239
  className: "ab-subtitle",
30481
31240
  children: ["Who would you like to see?", booking.resources.requiresSelection ? null : /* @__PURE__ */ jsx(OptionalMark$1, {})]
@@ -30544,7 +31303,7 @@ function BookingAvailabilityFeedback({ availability }) {
30544
31303
  children: error
30545
31304
  }) : null;
30546
31305
  }
30547
- function DefaultDateTimeSelectionStep({ booking, errorSummaryId }) {
31306
+ function DefaultDateTimeSelectionStep({ booking, errorSummaryId, presentation }) {
30548
31307
  const selectedDate = booking.availability.selectedDate ?? "";
30549
31308
  const selectedSlotKey = booking.availability.selectedSlot?.key ?? "";
30550
31309
  const slots = deriveBookingSlotDisplayOptions({
@@ -30556,7 +31315,7 @@ function DefaultDateTimeSelectionStep({ booking, errorSummaryId }) {
30556
31315
  return /* @__PURE__ */ jsxs("div", {
30557
31316
  className: "rb-reg-stack",
30558
31317
  children: [
30559
- /* @__PURE__ */ jsx(BookingSelectedServiceSummary, { services: booking.services }),
31318
+ presentation.showSelectedServiceSummary ? /* @__PURE__ */ jsx(BookingSelectedServiceSummary, { services: booking.services }) : null,
30560
31319
  /* @__PURE__ */ jsx(BookingAvailabilityFeedback, { availability: booking.availability }),
30561
31320
  /* @__PURE__ */ jsx(DatePicker, {
30562
31321
  dateContext: booking.availability.dateContext,
@@ -30615,7 +31374,7 @@ function paymentStepUnavailableMessage(booking) {
30615
31374
  function paymentStepTitle(booking) {
30616
31375
  return booking.payment.selection?.sectionTitle ?? "How would you like to pay?";
30617
31376
  }
30618
- function HeadlessBookingPaymentSelectionStep({ booking }) {
31377
+ function HeadlessBookingPaymentSelectionStep({ booking, presentation = bookingPresentation() }) {
30619
31378
  const service = booking.services.selected;
30620
31379
  const { perSessionOffered, perSessionOptions, otherRows, onlyOneWayToPay } = planPaymentStepChoices(booking);
30621
31380
  const unavailableMessage = paymentStepUnavailableMessage(booking);
@@ -30630,7 +31389,9 @@ function HeadlessBookingPaymentSelectionStep({ booking }) {
30630
31389
  children: [
30631
31390
  /* @__PURE__ */ jsxs("div", {
30632
31391
  className: "rb-reg-summary",
30633
- children: [/* @__PURE__ */ jsx("h3", {
31392
+ children: [/* @__PURE__ */ jsx(BookingStepPrompt, {
31393
+ presentation,
31394
+ as: "h3",
30634
31395
  className: "ab-subtitle",
30635
31396
  children: paymentStepTitle(booking)
30636
31397
  }), /* @__PURE__ */ jsx("p", {
@@ -31191,11 +31952,16 @@ function getBookingRedirectLocationSnapshot() {
31191
31952
  * Themed surface container for every booking view state (wizard, success,
31192
31953
  * verifying). Styled by the shared registration-surface layer.
31193
31954
  */
31194
- function BookingSurface({ id, className, children }) {
31195
- return /* @__PURE__ */ jsx("div", {
31196
- id,
31197
- className: ["rb-reg-surface", className ?? ""].join(" ").trim(),
31198
- children
31955
+ function BookingSurface({ id, className, pageKind, children }) {
31956
+ const classes = ["rb-reg-surface", className ?? ""].join(" ").trim();
31957
+ return /* @__PURE__ */ jsx(BookingPanelArrangement, {
31958
+ pageKind,
31959
+ children: /* @__PURE__ */ jsx("div", {
31960
+ id,
31961
+ ...bookingPresentation(pageKind).panelAttributes,
31962
+ className: classes,
31963
+ children
31964
+ })
31199
31965
  });
31200
31966
  }
31201
31967
  const BookingFormClient = ({ siteId: siteIdProp, render }) => {
@@ -31306,6 +32072,7 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
31306
32072
  setLocalCustomerEmail
31307
32073
  });
31308
32074
  if (viewState.kind === "success") return /* @__PURE__ */ jsx(BookingSurface, {
32075
+ pageKind: render.hydration.pageKind,
31309
32076
  id: bookingAnchorId,
31310
32077
  className: render.display.className,
31311
32078
  children: /* @__PURE__ */ jsx(BookingFormCompletion, {
@@ -31321,6 +32088,7 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
31321
32088
  })
31322
32089
  });
31323
32090
  if (viewState.kind === "verifying") return /* @__PURE__ */ jsx(BookingSurface, {
32091
+ pageKind: render.hydration.pageKind,
31324
32092
  id: bookingAnchorId,
31325
32093
  className: render.display.className,
31326
32094
  children: /* @__PURE__ */ jsx(FeedbackMessage, {
@@ -31334,6 +32102,7 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
31334
32102
  })
31335
32103
  });
31336
32104
  if (viewState.kind === "timeout") return /* @__PURE__ */ jsxs(BookingSurface, {
32105
+ pageKind: render.hydration.pageKind,
31337
32106
  id: bookingAnchorId,
31338
32107
  className: render.display.className,
31339
32108
  children: [/* @__PURE__ */ jsx(FeedbackMessage, {
@@ -31353,6 +32122,7 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
31353
32122
  })]
31354
32123
  });
31355
32124
  return /* @__PURE__ */ jsx(BookingSurface, {
32125
+ pageKind: render.hydration.pageKind,
31356
32126
  id: bookingAnchorId,
31357
32127
  className: render.display.className,
31358
32128
  children: /* @__PURE__ */ jsxs(AppointmentNavigationContent, {
@@ -31379,7 +32149,8 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
31379
32149
  }) : null,
31380
32150
  /* @__PURE__ */ jsx(HeadlessBookingDefaultForm, {
31381
32151
  booking,
31382
- onSubmit: handleComplete
32152
+ onSubmit: handleComplete,
32153
+ pageKind: render.hydration.pageKind
31383
32154
  })
31384
32155
  ]
31385
32156
  })
@@ -32229,7 +33000,7 @@ function key(siteId, submissionId) {
32229
33000
  }
32230
33001
  function savePendingRegistration(siteId, submissionId, data) {
32231
33002
  try {
32232
- const entry = schema.safeParse({
33003
+ const entry = z.safeParse(schema, {
32233
33004
  ...data,
32234
33005
  ticketSelections: normalizeTicketSelectionLines(data.ticketSelections),
32235
33006
  version: 6,
@@ -32241,7 +33012,7 @@ function savePendingRegistration(siteId, submissionId, data) {
32241
33012
  function getPendingRegistration(siteId, submissionId) {
32242
33013
  try {
32243
33014
  const stored = sessionStorage.getItem(key(siteId, submissionId));
32244
- const parsed = schema.safeParse(stored ? JSON.parse(stored) : null);
33015
+ const parsed = z.safeParse(schema, stored ? JSON.parse(stored) : null);
32245
33016
  if (!parsed.success || Date.now() - parsed.data.timestamp > STALE_THRESHOLD_MS) {
32246
33017
  clearPendingRegistration(siteId, submissionId);
32247
33018
  return null;
@@ -32260,7 +33031,7 @@ function cleanupStaleRegistrations() {
32260
33031
  try {
32261
33032
  Array.from({ length: sessionStorage.length }, (_, index) => sessionStorage.key(index)).filter((item) => item !== null && item.startsWith(STORAGE_PREFIX)).forEach((item) => {
32262
33033
  try {
32263
- const parsed = schema.safeParse(JSON.parse(sessionStorage.getItem(item) ?? "null"));
33034
+ const parsed = z.safeParse(schema, JSON.parse(sessionStorage.getItem(item) ?? "null"));
32264
33035
  if (!parsed.success || Date.now() - parsed.data.timestamp > STALE_THRESHOLD_MS) sessionStorage.removeItem(item);
32265
33036
  } catch {
32266
33037
  sessionStorage.removeItem(item);
@@ -34515,12 +35286,12 @@ function getSelectedPassCreditsRemaining(wizard) {
34515
35286
  function resolveEntitlementSummaryCopy(method, passCreditsRemaining) {
34516
35287
  switch (method) {
34517
35288
  case "pass": return {
34518
- productPrice: "1 credit",
35289
+ productPrice: formatCreditProductUnits("event_pass", 1),
34519
35290
  pricingNote: formatPassCreditUsageLabel(passCreditsRemaining)
34520
35291
  };
34521
35292
  case "pass_bundle": return {
34522
35293
  productPrice: null,
34523
- pricingNote: "1 pass credit"
35294
+ pricingNote: formatPassCreditUsageLabel(null)
34524
35295
  };
34525
35296
  case "membership": return {
34526
35297
  productPrice: "Included",
@@ -34588,11 +35359,15 @@ function DeclinedPassRow(props) {
34588
35359
  children: /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
34589
35360
  className: "er-summary-bar-product-name",
34590
35361
  children: props.passName
34591
- }), /* @__PURE__ */ jsx("button", {
35362
+ }), /* @__PURE__ */ jsxs("button", {
34592
35363
  type: "button",
34593
35364
  className: "er-summary-bar-pass-escape",
34594
35365
  onClick: props.onUsePass,
34595
- children: "Use 1 credit instead"
35366
+ children: [
35367
+ "Use ",
35368
+ formatCreditProductUnits("event_pass", 1),
35369
+ " from your pass instead"
35370
+ ]
34596
35371
  })] })
34597
35372
  });
34598
35373
  }
@@ -34929,7 +35704,7 @@ function EventRegistrationWizardActions(props) {
34929
35704
  }
34930
35705
  //#endregion
34931
35706
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
34932
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-8-qtHjpb.mjs"));
35707
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-CKe4cjZ4.mjs"));
34933
35708
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
34934
35709
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
34935
35710
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
@@ -35394,7 +36169,7 @@ function TicketCounter(props) {
35394
36169
  onClick: () => onTicketsChange(stepNumber(ticketsCount, -1, { min: minAllowed })),
35395
36170
  disabled: ticketsCount <= minAllowed,
35396
36171
  className: "er-counter-btn",
35397
- children: "-"
36172
+ children: "−"
35398
36173
  }),
35399
36174
  /* @__PURE__ */ jsx("span", {
35400
36175
  className: "er-counter-value",
@@ -35426,7 +36201,7 @@ function TicketCounterLimit(props) {
35426
36201
  }
35427
36202
  function BookingUnitSessionHint(props) {
35428
36203
  const count = props.bookingUnit.includedSessionCount;
35429
- return props.bookingUnit.kind === "place" && count ? /* @__PURE__ */ jsxs("p", {
36204
+ return props.bookingUnit.kind === "place" && count && count > 1 ? /* @__PURE__ */ jsxs("p", {
35430
36205
  className: "er-text er-text--muted",
35431
36206
  children: [
35432
36207
  "Every place includes all ",
@@ -35450,10 +36225,6 @@ function BookingQuantityPrompt(props) {
35450
36225
  ]
35451
36226
  });
35452
36227
  }
35453
- function formatCurrencyInputAmount(amount) {
35454
- const major = amount / 100;
35455
- return Number.isInteger(major) ? String(major) : major.toFixed(2);
35456
- }
35457
36228
  function SlidingScaleAmountField(props) {
35458
36229
  const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
35459
36230
  const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
@@ -35469,8 +36240,8 @@ function SlidingScaleAmountField(props) {
35469
36240
  /* @__PURE__ */ jsx("input", {
35470
36241
  id: "er-sliding-amount",
35471
36242
  type: "number",
35472
- min: formatCurrencyInputAmount(props.slidingScale.minAmount),
35473
- max: formatCurrencyInputAmount(props.slidingScale.maxAmount),
36243
+ min: formatCentsAsCurrencyInput(props.slidingScale.minAmount),
36244
+ max: formatCentsAsCurrencyInput(props.slidingScale.maxAmount),
35474
36245
  step: "0.01",
35475
36246
  inputMode: "decimal",
35476
36247
  className: "form-input",
@@ -36382,8 +37153,8 @@ function ownedPassChoices(eligibility) {
36382
37153
  productName: pass.passName
36383
37154
  },
36384
37155
  label: pass.passName,
36385
- details: [`${pass.creditsRemaining} credit${pass.creditsRemaining !== 1 ? "s" : ""} left`],
36386
- price: "1 credit"
37156
+ details: [`${formatCreditProductUnits("event_pass", pass.creditsRemaining)} left`],
37157
+ price: formatCreditProductUnits("event_pass", 1)
36387
37158
  }));
36388
37159
  }
36389
37160
  function ownedMembershipChoices(eligibility) {
@@ -37699,6 +38470,18 @@ function waitForRetry(milliseconds, signal) {
37699
38470
  }
37700
38471
  //#endregion
37701
38472
  //#region ../blocks/src/system/runtime/nodes/event-registration.client.tsx
38473
+ /** Editor rendering uses the same panel as SSR; closed panels retain a recovery-only island. */
38474
+ function EventRegistrationBlockClient(props) {
38475
+ const selection = resolveBookingPanelSelection(props);
38476
+ if (!selection) return /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props });
38477
+ const panel = planEventBookingPanel(selection, new Date(props.now));
38478
+ const registration = registrationSourceForPanel(props, panel);
38479
+ return /* @__PURE__ */ jsx(EventBookingPanelView, {
38480
+ panel,
38481
+ pageKind: props.pageKind ?? "fullPage",
38482
+ children: registration ? /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...buildEventRegistrationInteractiveIslandProps(registration) }) : null
38483
+ });
38484
+ }
37702
38485
  function toEventRegistrationClientProps(props, display) {
37703
38486
  return {
37704
38487
  ...props.render.hydration,
@@ -37749,7 +38532,7 @@ const EventRegistrationIslandClient = (props) => {
37749
38532
  const recoveryRequest = useEventRegistrationRecoveryRequest();
37750
38533
  const display = props.render.display;
37751
38534
  const surface = registrationAdmissionSurface({
37752
- availability: display.state === "registration-closed" ? "closed" : "open",
38535
+ availability: props.render.hydration.admission === "recoveryOnly" ? "empty" : display.state === "registration-closed" ? "closed" : "open",
37753
38536
  recoveryRequested: recoveryRequest !== "none"
37754
38537
  });
37755
38538
  switch (surface) {
@@ -37782,7 +38565,10 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
37782
38565
  default: return assertNever$2(recoveryRequest);
37783
38566
  }
37784
38567
  switch (recovery.kind) {
37785
- case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, { display });
38568
+ case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, {
38569
+ display,
38570
+ pageKind: props.render.hydration.pageKind
38571
+ });
37786
38572
  case "exhausted": return /* @__PURE__ */ jsx(UnavailableEventRegistrationSource, {
37787
38573
  retry: recovery.retry,
37788
38574
  buttonVariant: props.render.hydration.buttonVariant
@@ -37795,21 +38581,20 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
37795
38581
  default: return assertNever$2(recovery);
37796
38582
  }
37797
38583
  }
37798
- function LoadingEventRegistrationSource({ display }) {
38584
+ function LoadingEventRegistrationSource({ display, pageKind }) {
37799
38585
  return /* @__PURE__ */ jsxs("div", {
37800
38586
  id: EVENT_REGISTRATION_ANCHOR_ID,
37801
38587
  className: "rb-reg-surface er-container er-registration-shell",
37802
38588
  "aria-busy": "true",
37803
38589
  role: "status",
37804
38590
  children: [
37805
- /* @__PURE__ */ jsx("p", {
38591
+ bookingPresentation(pageKind).showShellHeading ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("p", {
37806
38592
  className: "er-registration-shell__eyebrow",
37807
38593
  children: "Registration"
37808
- }),
37809
- /* @__PURE__ */ jsx("h3", {
38594
+ }), /* @__PURE__ */ jsx("h3", {
37810
38595
  className: "er-title er-registration-shell__title",
37811
38596
  children: display.state === "generic-shell" ? display.titleText : "Event registration"
37812
- }),
38597
+ })] }) : null,
37813
38598
  /* @__PURE__ */ jsx("p", {
37814
38599
  className: "er-text er-text--muted",
37815
38600
  children: "Loading event dates…"
@@ -37861,6 +38646,7 @@ function RecoveredEventRegistrationClient({ props, display, events: recoveredEve
37861
38646
  function toEventDetailsClientProps(props) {
37862
38647
  return {
37863
38648
  arrangement: props.arrangement,
38649
+ quickFacts: props.quickFacts,
37864
38650
  entryTitle: props.entryTitle,
37865
38651
  actionSize: props.actionSize,
37866
38652
  lookSlots: props.lookSlots,
@@ -37884,7 +38670,7 @@ function toEventDetailsClientProps(props) {
37884
38670
  siteMemberships: props.siteMemberships ? { memberships: [...props.siteMemberships.memberships] } : props.siteMemberships,
37885
38671
  autoApplyDiscount: props.autoApplyDiscount ?? null,
37886
38672
  className: props.className,
37887
- nowIso: props.nowIso
38673
+ now: props.now
37888
38674
  };
37889
38675
  }
37890
38676
  function EventDetailsClient(props) {
@@ -40003,7 +40789,8 @@ function createInitialGiftingClientState(initialOffers) {
40003
40789
  offers: initialOffers,
40004
40790
  submittingOfferId: null,
40005
40791
  errorMessage: null,
40006
- purchaseNotice: null
40792
+ purchaseNotice: null,
40793
+ submissions: /* @__PURE__ */ new Map()
40007
40794
  };
40008
40795
  }
40009
40796
  function giftingClientReducer(state, action) {
@@ -40020,7 +40807,8 @@ function giftingClientReducer(state, action) {
40020
40807
  case "checkoutStarted": return {
40021
40808
  ...state,
40022
40809
  submittingOfferId: action.offerId,
40023
- errorMessage: null
40810
+ errorMessage: null,
40811
+ submissions: new Map([...state.submissions, [action.offerId, action.submission]])
40024
40812
  };
40025
40813
  case "checkoutFailed": return {
40026
40814
  ...state,
@@ -40031,6 +40819,10 @@ function giftingClientReducer(state, action) {
40031
40819
  ...state,
40032
40820
  purchaseNotice: action.notice
40033
40821
  };
40822
+ case "pageRestored": return {
40823
+ ...state,
40824
+ submittingOfferId: null
40825
+ };
40034
40826
  default: return assertNever$2(action);
40035
40827
  }
40036
40828
  }
@@ -40077,6 +40869,7 @@ function buildGiftingCheckoutInput(formData, input) {
40077
40869
  const customAmount = formData.get("customAmount");
40078
40870
  const amountCents = input.kind === "gift_card" ? selectedAmount === "custom" ? Math.round(Number(customAmount ?? 0) * 100) : Number(selectedAmount ?? 0) : null;
40079
40871
  return {
40872
+ purchaseToken: input.purchaseToken,
40080
40873
  offerId: input.offerId,
40081
40874
  purchaserName: readFormString("purchaserName") || null,
40082
40875
  purchaserEmail: readFormString("purchaserEmail"),
@@ -40089,6 +40882,13 @@ function buildGiftingCheckoutInput(formData, input) {
40089
40882
  cancelUrl: input.cancelUrl
40090
40883
  };
40091
40884
  }
40885
+ /** Retries of the same form keep one purchase; changed details start another. */
40886
+ function giftingSubmission(previous, fields, createToken) {
40887
+ return previous?.fields === fields ? previous : {
40888
+ fields,
40889
+ token: createToken()
40890
+ };
40891
+ }
40092
40892
  //#endregion
40093
40893
  //#region ../blocks/src/system/runtime/nodes/gifting.client.tsx
40094
40894
  function formatCurrency(amountCents, currency) {
@@ -40135,18 +40935,29 @@ function GiftingClient(props) {
40135
40935
  cancelled = true;
40136
40936
  };
40137
40937
  }, [api, state.offers]);
40938
+ useEffect(() => {
40939
+ const onPageShow = (event) => {
40940
+ if (event.persisted) dispatch({ type: "pageRestored" });
40941
+ };
40942
+ window.addEventListener("pageshow", onPageShow);
40943
+ return () => window.removeEventListener("pageshow", onPageShow);
40944
+ }, []);
40138
40945
  const hasOffers = hasPublicGiftingOffers(state.offers);
40139
40946
  async function handleSubmit(event, offerId, kind) {
40140
40947
  event.preventDefault();
40141
40948
  if (!siteTerms.requireAgreement("commerce")) return;
40142
40949
  const formData = new FormData(event.currentTarget);
40950
+ const fields = JSON.stringify([...formData.entries()]);
40951
+ const submission = giftingSubmission(state.submissions.get(offerId), fields, () => crypto.randomUUID());
40143
40952
  dispatch({
40144
40953
  type: "checkoutStarted",
40145
- offerId
40954
+ offerId,
40955
+ submission
40146
40956
  });
40147
40957
  try {
40148
40958
  const checkout = await siteTerms.api.createGiftingCheckout(buildGiftingCheckoutInput(formData, {
40149
40959
  offerId,
40960
+ purchaseToken: submission.token,
40150
40961
  kind,
40151
40962
  successUrl: buildGiftingCheckoutReturnUrl(window.location.href, "success"),
40152
40963
  cancelUrl: buildGiftingCheckoutReturnUrl(window.location.href, "cancelled")
@@ -44579,7 +45390,7 @@ const runtimeBackedBlockClientEntries = {
44579
45390
  cart: defineRuntimeBackedBlockClientEntry("cart", CartClient),
44580
45391
  checkout: defineRuntimeBackedBlockClientEntry("checkout", CheckoutClient),
44581
45392
  gifting: defineRuntimeBackedBlockClientEntry("gifting", GiftingClient),
44582
- "event-registration": defineRuntimeBackedBlockClientEntry("event-registration", EventRegistrationIslandClient),
45393
+ "event-registration": defineRuntimeBackedBlockClientEntry("event-registration", EventRegistrationBlockClient),
44583
45394
  shop: defineRuntimeBackedBlockClientEntry("shop", ShopClient)
44584
45395
  };
44585
45396
  const runtimeBackedBlockClientRegistry = {
@@ -47939,7 +48750,7 @@ function usePreviewTheme(siteId, enabled) {
47939
48750
  }
47940
48751
  //#endregion
47941
48752
  //#region ../editor-blocks/src/widgets/location/PickerMapArea.tsx
47942
- const LazyEditMap = lazy(() => import("./MapLibreEditMap-CKjYUp_E.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
48753
+ const LazyEditMap = lazy(() => import("./MapLibreEditMap-C9InQJpd.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
47943
48754
  function EditMap(props) {
47944
48755
  return /* @__PURE__ */ jsx(Suspense, {
47945
48756
  fallback: null,
@@ -49353,6 +50164,20 @@ const locationWidgetOverrides = {
49353
50164
  locationSourceSelect: LocationSourceSelectField
49354
50165
  };
49355
50166
  //#endregion
50167
+ //#region ../preview-next/src/client/preview/siteColourCss.ts
50168
+ /** A token's colour as CSS: the site's value when known, otherwise the variable in scope. */
50169
+ function siteColourCss(variables, token) {
50170
+ const channels = variables?.[`--tb-${token}`];
50171
+ return channels ? `rgb(${channels})` : `rgb(var(--tb-${token}))`;
50172
+ }
50173
+ /**
50174
+ * The colour variables a compiled theme's CSS variables paint with, for
50175
+ * controls drawn outside the site (the preview sidebar, the dashboard).
50176
+ */
50177
+ function siteColourVariablesFrom(cssVars) {
50178
+ return Object.fromEntries(Object.entries(cssVars).flatMap(([key, value]) => key.startsWith("--tb-") && typeof value === "string" ? [[key, value]] : []));
50179
+ }
50180
+ //#endregion
49356
50181
  //#region ../preview-next/src/client/blocks/renderPrecedence.ts
49357
50182
  /** A block's content as the preview renders it, from the tab's render source. */
49358
50183
  function renderedBlockContent(uiStore, blockId) {
@@ -49603,7 +50428,7 @@ function PreviewCompiledThemeProvider({ children, responsiveMode }) {
49603
50428
  return {
49604
50429
  theme,
49605
50430
  runtime,
49606
- colourVariables: Object.fromEntries(Object.entries(runtime.cssVars).flatMap(([key, value]) => key.startsWith("--tb-") && typeof value === "string" ? [[key, value]] : []))
50431
+ colourVariables: siteColourVariablesFrom(runtime.cssVars)
49607
50432
  };
49608
50433
  }, [theme, responsiveMode]);
49609
50434
  return /* @__PURE__ */ jsx(CompiledPreviewThemeContext.Provider, {
@@ -51090,4 +51915,4 @@ function tokenSwatchCss(token) {
51090
51915
  return `rgb(var(--tb-${token}))`;
51091
51916
  }
51092
51917
  //#endregion
51093
- export { useMediaEditorOptional as $, TabsTrigger as $t, applyPreviewRuntimeContentProjections as A, Text as At, resolveFooterLayoutHints as B, themeRuntimeScopeProps as Bt, isHeaderMenuSurfaceState as C, blockLookFromContent as Ct, usePreviewCompiledThemeOptional as D, buildAppointmentServicesView as Dt, usePreviewCompiledTheme as E, buildLoadedOfferingsPreviewListing as Et, locationWidgetOverrides as F, resolveEntryRouteTarget as Ft, getFooterEngagementAuthoringOptions as G, getResponsiveScopeSpec as Gt, SiteOptionWidgetProvider as H, escapeStyleContent as Ht, SessionJournalHost as I, resolvePageRouteTarget as It, updateFooterCredit as J, SearchInput as Jt, getPublicProfile as K, Toaster as Kt, useSiteEditorAdmission as L, resolveRouteTarget as Lt, runtimeContentDecorationProjectionFromServerPage as M, coerceLinkedContentEntriesPayload as Mt, mergeResolvedDataContext as N, getLinkedContentEntryMeta as Nt, pageDesignRuntimeProjectionFromSource as O, renderInlineText as Ot, withRenderedContentEntry as P, defaultTransforms as Pt, useMediaEditor as Q, TabsList as Qt, renderSiteChromeBlock as R, buildThemeDataAttrs as Rt, HeaderMenuControls as S, arrangementHooksFromContent as St, PreviewThemeRenderingProvider as T, getDefaultComponentRegistry as Tt, useSiteOptionWidgetContext as U, mergeContentWithBlockStyleOverrides as Ut, createEditorApiClientFactory as V, buildThemeRuntime as Vt, getFooterComposition as W, DEFAULT_THEME_RESPONSIVE_MODE as Wt, footerCreditLine as X, Tabs as Xt, updatePublicProfile as Y, Input as Yt, MediaEditorContextProvider as Z, TabsContent as Zt, resolvePreviewEditorGuidanceModel as _, validateFooterComposition as _n, useField as _t, PreviewChromeLayerProvider as a, Root as an, useImageResolveContextOptional as at, SiteFontStorageProvider as b, ThemeScopeCore as bt, PREVIEW_SITE_BANNER_ATTRIBUTE as c, classifyKnownMimeType as cn, BlockContextProvider as ct, CustomizeBackgroundColorPicker as d, parseFooterEngagementSection as dn, hasEmptyOption as dt, Content as en, useApiMediaUploader as et, canInspectSiteStyle as f, parseFooterModuleId as fn, mapCurrentValueForSelect as ft, sanitizeDashboardPath as g, upsertFooterEngagementSection as gn, FieldLabelText as gt, resolvePreviewDashboardSetupHandoff as h, setFooterSectionSelected as hn, FieldFrame as ht, PreviewChromeFloatingControl as i, Content$1 as in, ImageResolveContextProvider as it, entryFieldRebindingProjection as j, LINKED_CONTENT_ENTRY_META_KEY as jt, resolveRuntimePreviewSourceForTheme as k, logger as kt, planBlockToolbarPlacement as l, deriveFooterEditorOverview as ln, useBlockContext as lt, buildPreviewDashboardSetupUrl as m, resolveFooterSections as mn, unmapValueFromSelect as mt, SiteChromeSurfaceControls as n, Root2$1 as nn, clientComponentRegistry as nt, readThemeCustomProperties as o, Trigger$1 as on, FormNodeClient as ot, resolveSiteStyleAccess as p, removeFooterEngagementSection as pn, mapOptionValueForSelect as pt, updateFooterComposition as q, Textarea as qt, PreviewChromeFloatingBar as r, Trigger as rn, NewsletterFormClient as rt, measureSiteTopChromeClearance as s, defaultThemeTokens as sn, BlockApiProvider as st, SiteChromeCustomizeButton as t, List as tn, TransferError as tt, CustomizeBackgroundControlRows as u, normalizeLegacyFooterContentToV1 as un, SelectField as ut, resolvePreviewSetupBannerModel as v, footerArrangementPolicy as vn, useLinkedInlineTextField as vt, PreviewCompiledThemeProvider as w, readBlockComposition as wt, useSiteFontStorageUrl as x, makeDefaultBlockComponent as xt, resolvePreviewSidebarChromeModel as y, planFooterArrangement as yn, revealEditorElement as yt, buildFooterRuntimeViewModel as z, readThemeScopeContext as zt };
51918
+ export { useMediaEditor as $, TabsList as $t, applyPreviewRuntimeContentProjections as A, logger as At, buildFooterRuntimeViewModel as B, readThemeScopeContext as Bt, isHeaderMenuSurfaceState as C, arrangementHooksFromContent as Ct, usePreviewCompiledThemeOptional as D, buildLoadedOfferingsPreviewListing as Dt, usePreviewCompiledTheme as E, getDefaultComponentRegistry as Et, siteColourCss as F, defaultTransforms as Ft, getFooterComposition as G, DEFAULT_THEME_RESPONSIVE_MODE as Gt, createEditorApiClientFactory as H, buildThemeRuntime as Ht, locationWidgetOverrides as I, resolveEntryRouteTarget as It, updateFooterComposition as J, Textarea as Jt, getFooterEngagementAuthoringOptions as K, getResponsiveScopeSpec as Kt, SessionJournalHost as L, resolvePageRouteTarget as Lt, runtimeContentDecorationProjectionFromServerPage as M, LINKED_CONTENT_ENTRY_META_KEY as Mt, mergeResolvedDataContext as N, coerceLinkedContentEntriesPayload as Nt, pageDesignRuntimeProjectionFromSource as O, buildAppointmentServicesView as Ot, withRenderedContentEntry as P, getLinkedContentEntryMeta as Pt, MediaEditorContextProvider as Q, TabsContent as Qt, useSiteEditorAdmission as R, resolveRouteTarget as Rt, HeaderMenuControls as S, makeDefaultBlockComponent as St, PreviewThemeRenderingProvider as T, readBlockComposition as Tt, SiteOptionWidgetProvider as U, escapeStyleContent as Ut, resolveFooterLayoutHints as V, themeRuntimeScopeProps as Vt, useSiteOptionWidgetContext as W, mergeContentWithBlockStyleOverrides as Wt, updatePublicProfile as X, Input as Xt, updateFooterCredit as Y, SearchInput as Yt, footerCreditLine as Z, Tabs as Zt, resolvePreviewEditorGuidanceModel as _, upsertFooterEngagementSection as _n, FieldLabelText as _t, PreviewChromeLayerProvider as a, Content$1 as an, ImageResolveContextProvider as at, SiteFontStorageProvider as b, planFooterArrangement as bn, revealEditorElement as bt, PREVIEW_SITE_BANNER_ATTRIBUTE as c, defaultThemeTokens as cn, BlockApiProvider as ct, CustomizeBackgroundColorPicker as d, normalizeLegacyFooterContentToV1 as dn, SelectField as dt, TabsTrigger as en, useMediaEditorOptional as et, canInspectSiteStyle as f, parseFooterEngagementSection as fn, hasEmptyOption as ft, sanitizeDashboardPath as g, setFooterSectionSelected as gn, FieldFrame as gt, resolvePreviewDashboardSetupHandoff as h, resolveFooterSections as hn, unmapValueFromSelect as ht, PreviewChromeFloatingControl as i, Trigger as in, NewsletterFormClient as it, entryFieldRebindingProjection as j, Text as jt, resolveRuntimePreviewSourceForTheme as k, renderInlineText as kt, planBlockToolbarPlacement as l, classifyKnownMimeType as ln, BlockContextProvider as lt, buildPreviewDashboardSetupUrl as m, removeFooterEngagementSection as mn, mapOptionValueForSelect as mt, SiteChromeSurfaceControls as n, List as nn, TransferError as nt, readThemeCustomProperties as o, Root as on, useImageResolveContextOptional as ot, resolveSiteStyleAccess as p, parseFooterModuleId as pn, mapCurrentValueForSelect as pt, getPublicProfile as q, Toaster as qt, PreviewChromeFloatingBar as r, Root2$1 as rn, clientComponentRegistry as rt, measureSiteTopChromeClearance as s, Trigger$1 as sn, FormNodeClient as st, SiteChromeCustomizeButton as t, Content as tn, useApiMediaUploader as tt, CustomizeBackgroundControlRows as u, deriveFooterEditorOverview as un, useBlockContext as ut, resolvePreviewSetupBannerModel as v, validateFooterComposition as vn, useField as vt, PreviewCompiledThemeProvider as w, blockLookFromContent as wt, useSiteFontStorageUrl as x, ThemeScopeCore as xt, resolvePreviewSidebarChromeModel as y, footerArrangementPolicy as yn, useLinkedInlineTextField as yt, renderSiteChromeBlock as z, buildThemeDataAttrs as zt };