@riverbankcms/sdk 0.171.1 → 0.172.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 (210) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-DViYbakk.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-DZBOzd3U.d.ts} +1 -2
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
  9. package/dist/_dts/{index-BQPJbOkU.d.ts → index-BnMavhoh.d.ts} +2 -2
  10. package/dist/_dts/{index-DScYSl03.d.ts → index-C0zjLMAW.d.ts} +49 -38
  11. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-CpOkfBt1.d.ts} +3 -3
  12. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-Da4UMgbs.d.ts} +2 -2
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-DkFV_1Bc.d.ts} +1 -1
  14. package/dist/_dts/{index-Sua-7CF1.d.ts → index-Dns7OHyl.d.ts} +1 -1
  15. package/dist/_dts/{index-B3gfKNI-.d.ts → index-MuMYjetm.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-wQ28JWbr.d.ts} +1021 -247
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-Cc4zqaEC.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-BCzfYDW2.d.ts → types-CpjyP5I4.d.ts} +7 -7
  54. package/dist/_dts/{types-JD-36x3P.d.ts → types-DrinAfeW.d.ts} +3 -3
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-ZuZoGsZV.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-sKBofjiW.mjs} +40 -14
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-Ds1s3DuC.mjs} +1426 -486
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-OsAseM7H.mjs} +36 -18
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-DgwFZJSx.mjs} +1 -1
  81. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
  82. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
  83. package/dist/client/bookings.mjs +5 -5
  84. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
  85. package/dist/client/{carousel-DeI76SEP.mjs → carousel-0sw2Kc3a.mjs} +2 -2
  86. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  87. package/dist/client/{cart-D_uxULCO.mjs → cart-CPfvMDGJ.mjs} +3 -3
  88. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BJBPUTmg.mjs} +1 -1
  89. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-DU4JFjGT.mjs} +3 -3
  90. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
  91. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
  92. package/dist/client/client.mjs +135 -4
  93. package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
  94. package/dist/client/{cta-CP9l112u.mjs → cta-CNVQHLKs.mjs} +53 -11
  95. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
  97. package/dist/client/{display-ChgDe9Da.mjs → display-B5DfNb6A.mjs} +1869 -333
  98. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
  99. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
  100. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
  101. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
  102. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
  103. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
  104. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-EhSDk4UL.mjs} +4 -4
  105. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
  106. package/dist/client/{form-ERv_X_oZ.mjs → form-BfChzSkS.mjs} +3 -3
  107. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D1zehtPk.mjs} +4 -4
  108. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-rMDlUQIv.mjs} +3 -3
  109. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
  110. package/dist/client/gifting/client.mjs +3 -3
  111. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BX9bQ84k.mjs} +2 -2
  112. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
  114. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
  115. package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
  116. package/dist/client/portal/client.mjs +231 -117
  117. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
  118. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-CDL-jihv.mjs} +1 -1
  119. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-B97m0uZy.mjs} +3 -3
  120. package/dist/client/{productList-HoFGQXFl.mjs → productList-DE4vSSG_.mjs} +3 -3
  121. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
  122. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cn8XjRte.mjs} +1458 -1178
  123. package/dist/client/rendering/client.mjs +27 -27
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +22 -16
  126. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
  128. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
  129. package/dist/client/runtimeResponse-CPcA8xSm.mjs +3 -0
  130. package/dist/client/{shop-DXyeSNgi.mjs → shop-BC4H0oYT.mjs} +3 -3
  131. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
  132. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
  133. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-WgGVGelc.mjs} +12 -12
  134. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
  135. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-BE6TEk2A.mjs} +2 -2
  136. package/dist/client/spam-protection.mjs +1 -1
  137. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
  138. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  139. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
  140. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
  141. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
  142. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
  143. package/dist/client/{view-DhEwiTJG.mjs → view-B0TFnP4y.mjs} +198 -60
  144. package/dist/client/{view-C_brMDU2.mjs → view-DNNNbnNj.mjs} +3 -3
  145. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  146. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  147. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  148. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-D59tHj_L.mjs} +25 -20
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +100 -70
  150. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI--kS9Cwsc.mjs} +5 -5
  151. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  152. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  153. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bi8-rclb.mjs} +311 -62
  154. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +301 -125
  155. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +584 -286
  156. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  157. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  158. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-Caofnr1Z.mjs} +7190 -4065
  159. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
  160. package/dist/preview-next/client/runtime.mjs +5 -4
  161. package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
  162. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
  163. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +20 -8
  164. package/dist/preview-next/container-responsive.css +215 -4
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-DsKDQoVW.mjs} +131 -0
  168. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
  169. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  170. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  171. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Bp6OnR3n.mjs} +109 -20
  172. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  173. package/dist/server/{client-DCwLR0kQ.mjs → client-dROAfMRa.mjs} +133 -2
  174. package/dist/server/config-template-validation.mjs +3 -0
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +2 -2
  177. package/dist/server/data/resolveBlockData.mjs +1 -1
  178. package/dist/server/index.mjs +3 -3
  179. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-zOIrtqz-.mjs} +19 -14
  180. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
  181. package/dist/server/next.mjs +6 -6
  182. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  183. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-DjboggbB.mjs} +1 -1
  184. package/dist/server/page-converter.mjs +1 -1
  185. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
  186. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
  187. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-BJjptSGp.mjs} +1039 -853
  188. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
  189. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-CntSkZQI.mjs} +1 -1
  190. package/dist/server/prebuild.mjs +1 -1
  191. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
  192. package/dist/server/{registry-CaeRTf4E.mjs → registry-wYH0LH5f.mjs} +7257 -4959
  193. package/dist/server/rendering/components/pageShared.mjs +1 -1
  194. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  195. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  196. package/dist/server/rendering/server.mjs +3 -3
  197. package/dist/server/rendering.mjs +7 -7
  198. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
  199. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  200. package/dist/server/{schema-CxBsE9Dv.mjs → schema-BFOqYIMQ.mjs} +2 -1
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/theme-bridge.mjs +2 -2
  203. package/dist/server/theme.mjs +2 -2
  204. package/dist/server/{validation-CvmhnkDr.mjs → validation-DAQdPDku.mjs} +4 -4
  205. package/dist/server/{version-Clp2evCf.mjs → version-DAB0O3yx.mjs} +1 -1
  206. package/dist/styles/index.css +1260 -15
  207. package/package.json +1 -1
  208. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  209. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  210. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
@@ -1,9 +1,10 @@
1
1
  "use client";
2
- import { $ as pageEvidenceEvents, $_ as sameMailingListPlacementTargeting, $a as eventCalendarListGroupingDecision, $c as formatEventClockLabel, $d as inlineTextToPlainText, $f as formatSiteChromeBackgroundTokenLabel, $g as rgbToHex, $h as SURFACE_INK_CSS_VARS, $i as createInitialEventPaginationLoadState, $l as siteFooterManifest, $m as Arrow, $o as isEventRegistrationAvailable, $r as buildProductListInteractiveIslandProps, $s as formatCentsAsCurrencyInput, $v as resolveExactOrFreePriceDisplay, A_ as resolveAvailableBookingCollectionOptions, Ac as decideBookingQuestionsRestoration, Ad as parseStoredVariant, Af as arrangementManifestFromVariants, Ag as FONT_SIZE_MAP, Al as canonicalUrl, Am as DialogPortal, Ao as registrationRoute, As as ok, Au as createInteractiveIslandCodec, Av as formatTime$2, B_ as resolveWholeSeriesBookingPhase, Ba as EventQuickFacts, Bc as eventListWeekDays, Bf as requireCuratedSiteStyle, Bg as certifyPaint, Bi as buildEventCollectionHydration, Bo as decideEventRegistrationPayment, Br as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Bs as formatBookingWhen, Bu as itemRole, Bv as parseBookingLocalDate, C_ as parseGradientPresetId, Cc as sweepExpiredSignInReturnDrafts, Cd as lookLeadSlotTransform, Cf as readHeaderNavFontSizePreference, Cg as buttonShadow, Ci as eventCalendarBlockDefinition, Cl as getRemainingPlaces, Co as bookingEntryProgress, Cs as resolveHeldTicketPlaces, Cu as staticHeaderChromeRuntime, Da as mediaImageHostProps, Dc as bookingQuestionsAnswerDraftSchema, Dd as createTransformRegistry, Dg as paddingDeclarations, Di as buildEventCalendarListingRender, Dl as blockSiteTermsSchema, Dm as DialogContent, Do as panelShouldOpen, Ds as validateFormData, Du as formBlockDefinition, Dv as formatDate$2, E_ as asDesignBlockId, Ea as computeMediaTransformStyle, Ec as applyBookingQuestionsAnswerEvent, Ed as asPartialObject, Eg as materializeRuntimeButtonAppearance, Ei as buildEventCalendarListingDisplay, El as selectMostOpenCapacitySource, Em as DialogClose, Eo as getEventSelectionMode, Es as registrationQuestionsMessage, Eu as formattingTransforms, F_ as formatCreditProductUnits, Fc as toBookingQuestionsAnswerDraft, Fd as RichTextDocSchema, Ff as designRuntimeRulesForTheme, Fg as resolveSurfaceForeground, Fl as bookingPageKindSchema, Fo as decideEventChoice, Fp as MQ_MD_UP, Fs as confirmationPaymentRows, Fu as listItemPresentation, Fv as toScheduledBookingDateTime, G_ as resolveBookingSignupOffer, Ga as EVENT_BOOKING_ARRIVAL_QUERY, Gc as formatEventPriceDisplay, Gf as getGradientPreset, Gi as calendarMonthKey, Gl as FEATURE_CARD_ICON_TREATMENTS, Go as planRegistrationDetailsCheck, Gr as checkoutBlockDefinition, Gs as formatTime$3, Gv as parseUtcIsoDateTimeString, Ha as getContainerClass, Hc as resolveMonthSelectedDay, Hd as parseBlockIconValue, Hf as surfaceResolutionContextFromTheme, Hg as inkReference, Hi as eventCollectionDisplaySchemaShape, Hl as toBookingRequirementConsentField, Ho as fullyBookedLabel, Hp as isRecord$14, Hr as newsletterBlockSubmissionMessage, Hs as formatEventDateTime, Hu as Grid, Hv as resolveBookingBusinessTimeZone, I_ as CANCELLED_SESSION_STATUS, Ic as toBookingQuestionsPaymentSnapshot, Ig as safeTokenOr, Ii as eventListingBlockDefinition, Il as groupPublicEventsByRun, Im as usePortalContainer, Io as getDeclinedPass, Ip as MQ_SM_DOWN, Ir as normalizeLocationMapProps, Is as resolveFinishedPresentation, Iu as listLookControl, Iv as addLocalScheduleDays, Ja as buildEventRegistrationInteractiveIslandProps, Jc as buildCalendarViewport, Jd as coerceInlineTextWithFallback, Jf as generateDefaultCardSystem, Jg as contrastRatio, Jh as compileButtonColourStates, Ji as calendarWindowBounds, Jm as Root$1, Jn as planArrangementContent, Jo as resolveRegistrationAdmission, Jp as observeEditorAdmission, Jr as productListBlockDefinition, Js as getTicketTypeAvailabilityLabel, Jv as isPublicEventPricingOptionDisplayable, K as createSessionJournalBindings, Ka as eventRegistrationBlockDefinition, Kc as formatEventTeacherLine, Kg as TokenResolver, Kh as generateEffectsCSS, Ki as calendarPageResponseError, Km as hideOthers, Ko as planRegistrationDetailsContinuation, Kp as editorAdmissionRefusal, Kr as cartBlockDefinition, Ks as getImplicitSingleTicketType, Kv as toUtcIsoDateTimeString, L_ as firstLiveRunSessionStartMs, Lc as checkBookingQuestionsAnswered, Lf as headerStyleRecipeForTheme, Lg as surfaceInkPublication, Li as buildEventListingInteractiveIslandProps, Lm as ReactRemoveScroll, Lo as isRegistrationLocked, Lp as MQ_SM_UP, Ls as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Lu as listLookSlot, Lv as formatLocalScheduleDate, M_ as journalReplayValue, Ma as resolveMediaNodeResponsiveImage, Mc as isBookingQuestionsAnswerEvent, Mf as resolveEffectiveArrangement, Mg as mapButtonVisualAppearances, Mh as unmanagedSurfaceEditability, Ml as pageNavigationSchema, Mm as DialogTrigger, Mo as registrationStepLabelContext, Ms as clearWorkflowFeedback, Mu as createZodCodec, Mv as inferSiteDateLocale, N_ as authoredValuesEqual, Nc as needsBookingQuestionsRefresh, Ng as freezeOwnedThemeValue, Nh as bindingSchema, Nl as requestSignIn, Nm as menuItemInteractionClassName, No as areEventRegistrationPaymentSelectionsEqual, Np as MQ_LG_UP, Nr as getBlockDefinition, Ns as reportWorkflowError, Nu as defineClientOwnedBlockRuntime, Nv as resolveBookingDisplayContext, Oa as renderAudio, Oc as bookingQuestionsPaymentSnapshotSchema, Od as runTransforms, Of as arrangementLookHooks, Og as BORDER_WIDTH_MAP, Ol as verifiedSiteTermsAcceptanceSchema, Oo as registrationPaymentRoute, Os as assertNever$2, Ou as buildFormInteractiveIslandProps, P_ as formatCreditProductBalance, Pa as resolvePublicMediaUrl, Pc as restoreBookingQuestionsAnswers, Pf as componentRuntimeRulesForTheme, Pg as ownedThemeSnapshot, Pl as closedRunCopy, Po as createInitialRegistrationFlowState, Pp as MQ_MD_DOWN, Ps as reportWorkflowSuccess, Pu as defineProgressiveBlockRuntime, Pv as formatBookingCompactEnglishTime, Qa as previewStageSchema, Qc as formatDate$1, Qf as generateNavLinkCSS, Qg as oklchToHexGamut, Qh as SURFACE_FOREGROUND_CSS_VARS, Qi as resolveCalendarReadProfile, Qm as Anchor, Qo as visitorHoldsOwnPlace, Qp as calendarMonthDate, Qr as buildProductDetailInteractiveIslandProps, Qs as withOccurrenceTitle, Qv as publicEventPricingType, R_ as nextLiveRunSessionStartMs, Rc as getInitialFieldValue, Rd as sanitizeHref, Rg as solveSurfaceInks, Ri as eventListingBlockRuntime, Rl as blockBookingPaymentTermsSchema, Ro as registrationFlowReducer, Rp as MQ_TABLET_ONLY, Rs as areEntitlementsDisabledForTicketCount, Ru as lookListPresentationSchemaShape, Rv as getBookingLocalDateKey, S_ as surfaceCardRoleValues, Sa as RichText, Sc as signInReturnPath, Sd as lookCarouselRegionTransform, Sf as mergeHeaderNavTypographyPreference, Sg as buttonRadius, Si as offeringsCatalogueShape, Sl as getEventAvailabilityStatus, So as bookingEntry, Ss as parseCurrencyInputToCents, Su as layoutTransforms, Ta as MediaPlaceholder, Tc as NO_BOOKING_QUESTIONS, Td as lookSkinSlotTransform, Tg as buttonTypographyDeclarations, Th as cn$1, Ti as buildEventCalendarInteractiveIslandProps, Tl as selectEventCapacitySource, Tm as Dialog, To as courseTitleOf, Ts as withRegistrationAvailability, Tu as uiTransforms, Tv as unsafeAsEditorBlockId, Ua as resolveEventSelection, Uc as formatEventPrice, Ud as resolveBlockIconRenderValue, Uf as gradientToCss, Ug as resolveConcreteColorHex, Ui as eventCollectionHydrationSchema, Ul as beforeBookingQuestionsPresentationSchema, Uo as getTicketSelectionPurpose, Up as EDITOR_LOADING_NOTICE, Ur as giftingBlockDefinition, Us as formatPassCreditUsageLabel, Uu as BACKGROUND_POSITION_PRESET_VALUES, Uv as resolveBookingTimeZoneId, V_ as generateUuidV4, Va as getCardOrientation, Vc as buildMonthDay, Vf as compiledRuntimeStyleFieldNames, Vg as contrastThresholdByPolicy, Vi as buildEventCollectionListingDisplay, Vl as isBookingRequirementConsentFieldId, Vo as shouldPromptForLogin, Vp as isObjectRecord, Vr as buildNewsletterFormInteractiveIslandProps, Vs as formatDate$3, Vv as parseLocalScheduleTime, W_ as parseMailingListRuntimeContext, Wa as publicPassProductCollectionSchema, Wc as formatEventPriceAmount, Wg as resolveOpaqueSurfaceHex, Wi as eventCollectionSourceSchemaShape, Wo as placeCountCeiling, Wr as buildGiftingInteractiveIslandProps, Ws as formatRegistrationSchedule, Wt as ApiRequestError, Wu as getAnchorClasses, Wv as toBookingTimeZone, X_ as parseMailingListVisitorSelection, Xa as resolveEventRegistrationEventSource, Xc as eventDateOptions, Xf as generateFooterCss, Xg as oklabToOklch, Xh as formatButtonColourContractError, Xi as calendarWindowPageSchema, Xl as shouldReserveFeatureCardIconZone, Xm as Presence, Xo as resolveRegistrationTicketContinuation, Xp as API_ENDPOINTS, Xr as buildCartInteractiveIslandProps, Xs as occurrenceTitleOverride, Xv as publicEventPricingDisplay, Y as SessionJournalProvider, Y_ as parseMailingListPlacementTargeting, Ya as displayButtonText, Yc as eventCalendarWeekStart, Yd as deriveInlineTextFieldChanges, Yg as hexToRgb, Yh as BUTTON_CONTRAST_POLICY, Yi as calendarWindowMonths$1, Yl as resolveFeatureCardGeneratedIconSizePx, Ym as createRovingFocusGroupScope, Yo as resolveRegistrationAvailabilityBlocker, Yr as shopBlockDefinition, Ys as getVisibleTicketTypes, Yv as publicEventPricingCurrency, Za as bookingNowSchema, Zc as formatCalendarTitle, Zf as buildTextContrastShadow, Zg as oklabToSrgb, Zh as DEFAULT_SURFACE_TEXT_COLOR, Zi as planCalendarMonthRanges, Zm as Portal, Zo as settledRemainingPlaces, Zp as BEFORE_BOOKING_QUESTIONS_ROUTE, Zr as buildCheckoutInteractiveIslandProps, Zs as transformRegistrationOptionsResponse, Zv as publicEventPricingStrategy, _ as applyBindingsToContent, _a as EventItem, _c as clearSignInReturnDrafts, _d as resolveBackgroundColorValue, _f as applyCompiledRuntimeFieldsToContent, _g as resolveSurface, _h as Button, _i as productItemKey, _l as canJoinEventWaitlist, _n as renderSourceFor, _o as resolveOfferingsPreviewGroups, _p as offeringsPreviewCompositionTreatmentValues, _s as getEligibilityFlowFlags, _u as readRuntimeNow, aa as toEventPaginationLoadError, ac as getTicketTypeLineMax, ag as surfaceInkDeclarations, ah as FocusScope, ai as buildProductDetailDisplay, al as formatTime$1, as as paymentChoiceDetails, ay as unsafeAsAppointmentResourceId, ba as MapPinIcon, bc as nextSignInReturnExpiry, bd as el, bf as restoreCompiledRuntimeFieldsFromContent, bg as actionVariableFallback, bl as formatTotalCapacity, bo as bookingBarPlacement, bs as getSlidingScaleSelectionMessage, bu as headerRuntimeTransforms, c as usePreviewShownTheme, ca as getEventRuntimeFiltersKey, cc as setTicketLineQuantity, cd as boxStylesTransforms, cg as cssVarValue, ch as useCallbackRef, 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 publishedContactDetails, da as normalizeOptionalId, dc as toWholeSeriesRegistrationEvents, dd as resolveCardRoleForBoxStyles, df as effectiveHeaderNavLinkStyle, dg as textColorStyle, dh as useControllableState, di as passCardListContent, dl as resolveRuntimeEventDestination, dr as deriveEventScheduleSummary, ds as resolveRouteRequiresPayment, dt as JournalWriteRefused, du as markEditableSurfaceForwarding, e_ as srgbToOklab, ea as eventPageOperationQuery, ec as formatPrice, ef as isInlineTextEmpty, eg as surfaceForegroundDeclarations, eh as Content$2, ei as buildShopInteractiveIslandProps, el as formatEventCompactDateRail, em as pageCommitReasonMessage, eo as resolveEventCalendarReadPlan, ep as headerNeedsPhotoShade, es as normalizeEventRegistrationMaxTickets, eu as siteHeaderManifest, ey as resolvePricingOptionsPriceDisplay, fa as catalogueEventCardProps, fc as EVENT_SIGN_IN_FORM_ID, fd as parseBackgroundContent, ff as readOpeningToneProjection, fg as textColorValue, fh as useLayoutEffect2, fi as EMPTY_COMMERCE_CART_STATE, fl as bookingPresentation, fm as VISUALLY_HIDDEN_STYLES, fo as normalizeOfferingsPreviewItemLimit, fr as derivePreviewRunSchedule, fs as toRegistrationRequestSubject, ft as journalFailureReason, fu as splitPositioningClasses, fy as unsafeAsSiteId, g_ as indexRenderableMediaAssets, ga as CardListItems, gc as toEventSignInDraft, gd as resolveSurfaceForegroundStyles, gg as prepareSurfaceIndex, gi as parseStoredCommerceCartState, gl as shownVenue, gn as remoteDraftValues, gp as introCompositionTreatmentValues, gs as getCurrentTicketSelection, gu as teamMemberCardBiography, h as composePreviewTheme, ha as CardListCollection, hc as eventSignInRestoration, hd as resolveSectionSurfaceForeground, hg as parseSurfaceTree, hh as Primitive, hi as deriveCommerceCheckoutState, hl as placesLeftLabel, ho as resolveOfferingsPreviewGroupCta, hp as featureCardCompositionTreatmentValues, hs as invitationSubmission, hu as teamMemberBiography, i_ as boxBackgroundSchema, ia as planEventPageOperation, ic as getTicketSelectionTotal, ig as surfaceForegroundValueWithOpacity, ih as useId$1, ii as buildProductCardDisplay, il as formatEventTimeRange, im as unwrapResponse, ir as getAtPath, is as buildReviewedBookingPaymentViewModel, iv as knownSocialPlatformLabels, iy as assertNever$1, j_ as getBookingLaterInstalments, jc as deriveBookingQuestions, jg as generateShadowValue$1, jl as leavePage, jm as DialogTitle, jo as registrationStepLabel, js as okWith, ju as defineInteractiveIslandMetaKeys, jv as formatTimeZoneCityLabel, k_ as normalizeCurrencyCode, ka as renderVideo, kc as bookingQuestionsRefusal, kg as DEFAULT_BUTTON_SIZES, kl as PAGE_NAVIGATION, ko as registrationPresentation, ks as err, ku as buildInteractiveIslandProps, kv as formatDateTimeRange, la as normalizeCsvIds, lc as getRegistrationStartAt, ld as boxStyleClassNames, lf as selectItemSurfacePresentation, lg as mergeStyles, lh as useDirection, li as membershipCardListContent, ll as resolveEventCta, lp as resolveCompiledSectionContextFromContent, lr as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, ls as resolveEventRequiresPayment, lt as getEditorClientId, ly as unsafeAsPositiveByteCount, ma as EmptyState, mc as eventSignInEnds, md as parseRuntimeBackgroundContent, mg as opaqueSurfaceDeclarations, mh as composeEventHandlers, mi as buildProductCartItem, ml as getBlockApiReadStage, mr as EventListingFrameView, ms as createRegistrationDraftData, mu as parseTeamMemberSpecialties, my as parseUuidBrand, n_ as blockCustomCssRuleSchema, na as getEventIdentity, nc as getSingleSelectedPricingOptionId, ng as surfaceForegroundStyle, nh as createPopperScope, ni as shopProductPresentation, nl as formatEventHourLabel, nm as ApiEnvelopeError, no as resolveEventRegistrationScopedEvents, np as boundaryRuntimeMetricsForDecorativeTransition, ns as calculateEventRegistrationPreviewTotal, ny as toNonNegativeCents, oa as toError, oc as hasValidPricingOptionSelection, od as isBlockButtonRole, og as surfaceInkStyle, oh as useFocusGuards, oi as formatCommercePrice, ol as groupEventsByDate, or as withValueAtPath, os as paymentChoicePrice, ou as measureSiteTopChromeBottomPx, oy as unsafeAsAppointmentServiceId, p_ as runtimeMediaSchema, pa as listingEventCardProps, pc as eventSignInDraftStore, pd as parseBackgroundOverlay, pg as opaqueSurfaceContextFromTheme, ph as createContextScope, pi as buildPassCartItem, pl as browserReadAuthoritySchema, po as offeringsListingFor, pr as MonthLookView, ps as beginWaitlistInvitation, pt as sendPageCommand, pu as contentTransforms, pv as EDITOR_SESSION_GENERATION_HEADER, qa as buildEventRegistrationDisplayFromScopedEvents, qc as formatEventDuration, qf as resolveCardRole, qg as expandPalette, qh as generateInteractiveChildInheritanceCSS, qi as calendarQueryKey, qm as Item$1, qo as resolveGuestNextStepCheck, qp as editorAdmissionSession, qr as productDetailBlockDefinition, qs as getPortalSubjectEmail, qv as formatBookingPriceDisplay, r_ as customCssRuleSchema, ra as getEventPaginationView, rc as getTicketLineQuantity, rf as parseInlineTextFromUnknown, rg as surfaceForegroundValue, rh as useSize, ri as buildCartDisplay, rl as formatEventNextDateFact, rm as extractApiEnvelopeErrorDetails, ro as offeringNounForEvent, rr as lookPartShown, rs as buildBookingPaymentSelectionViewModel, ry as formatCurrencyAmount, s as usePreviewPageDesignRenderState, sa as buildEventRuntimeFilters, sc as normalizeTicketSelectionLines, sg as backgroundColorStyle, sh as DismissableLayer, si as formatInterval, sl as resolveEventTimeZone, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sp as anglePolygonCss, sr as EventHeader, ss as findPreSelectedEvent, ta as eventPaginationLoadReducer, tc as canRequestTicketOption, tg as surfaceForegroundInputFromResolved, th as Root2$2, 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 parsePositiveCents, u as useSiteChromeCustomizeOptional, ua as normalizeCsvString, uc as toRegistrationEvents, ud as normalizeBoxStylesBorder, uf as heroPhotoPaintsGround, ug as rgbColorValue, uh as createCollection, ui as membershipClassesLabel, ul as resolveEventLinkProps, um as trustedJournalState, ur as eventCardListContent, us as resolveRegistrationTarget, ut as createSessionJournal, uu as composeHeaderSectionWrapperClassName, uy as unsafeAsPositiveSeconds, va as eventCategoryBadge, vc as createSignInReturnDraftStore, vf as compileEditorModelRuntime, vg as serializeSurfaceTree, vi as reduceCommerceCart, vl as canJoinEventWaitlistOnAnyMode, vo as resolveOfferingsRenderInput, vp as testimonialsCompositionTreatmentValues, vs as getRegistrationOccurrenceId, vu as resolveDateRuntimeContext, w_ as siteChromeBackgroundOverrideOwner, wa as ImagePresets, wc as EMPTY_BOOKING_QUESTIONS_ANSWERS, wd as lookQuoteLimitTransform, wg as buttonStateAppearanceDeclarations, wh as useComposedRefs, wl as isEventFull, wo as bookingPanelHeading, ws as shouldLoadRegistrationOptions, xa as MediaNodeServer, xc as readSignInReturn, xd as when, xf as skinTokenCssVars, xg as buttonBorder, xh as createSlot, xi as buildOfferingsCatalogueListing, xl as getEventAvailability, xo as bookingCardEntry, xp as PUBLIC_DOWNLOAD_MEDIA_TYPES, xs as getTicketSelectionRemainingPlaces, xu as chromeLogoTransforms, ya as CalendarIcon, yc as decideSignInReturn, yg as compositeHex, yh as useControlReadiness, yl as formatEventRemainingPlaces, yn as resolveRenderedValues, yo as DEFAULT_BOOKING_BUTTON_TEXT, ys as getSlidingScaleForEvent, yu as mediaTransforms, z_ as orderedLiveRunSessions, zc as buildEventListWeek, zd as buildGeneratedBlockIconRenderAssetLookupFromUnknown, zg as HOVER_TEXT_THRESHOLD, zi as buildEventCollectionDisplay, zl as blockBookingConsentSchema, zo as buildEventRegistrationPaymentOptionsViewModel, zr as newsletterSignupBlockDefinition, zs as findSelectedTicketType, zu as resolvedItemSurfaceProps, zv as getLocalScheduleDate } from "./previewAssistantSlot-3FZrzbK8.mjs";
3
- import { $ as Crosshair, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, Gt as ok$1, I as Info, It as normalizeLocationAddressText, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, T as Minus, Tt as decideLocationSave, Ut as mapDrawingSchema, V as House, Wt as err$1, at as CirclePlus, bt as ArrowDown, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, ot as CircleMinus, p as Search, pt as Check, r as WifiOff, s as TriangleAlert, st as CircleCheck, u as Sparkles, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-X0DjcFij.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";
2
+ import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
3
+ import { $ as pageEvidenceEvents, $_ as authoredValuesEqual, $a as buildEventRegistrationDisplayFromScopedEvents, $c as selectQuickDateEvents, $f as componentRuntimeRulesForTheme, $g as freezeOwnedThemeValue, $i as EmptyState, $n as getAtPath, $o as planRegistrationDetailsCheck, $p as MQ_MD_DOWN, $r as buildShopInteractiveIslandProps, $s as formatTime$3, $u as publicPassProductCollectionSchema, $v as formatBookingCompactEnglishTime, Aa as eventReadinessLoaderKey, Ac as signInReturnPath, Ad as resolveCardRoleForBoxStyles, Af as readOpeningToneProjection, Ag as rgbColorValue, Ah as useControllableState, Al as getEventAvailability, Ao as bookingEntry, As as parseCurrencyInputToCents, Au as formBlockDefinition, Ba as normalizeCsvIds, Bc as isBookingQuestionsAnswerEvent, Bd as lookCarouselRegionTransform, Bf as skinTokenCssVars, Bg as actionVariableFallback, Bh as createSlot, Bi as eventCollectionDisplaySchemaShape, Bl as leavePage, Bo as registrationStepLabelContext, Bp as PUBLIC_DOWNLOAD_MEDIA_TYPES, Br as buildNewsletterFormInteractiveIslandProps, Bs as clearWorkflowFeedback, Bu as listLookSlot, C_ as customCssRuleSchema, Cc as eventSignInRestoration, Cg as surfaceForegroundValue, Ch as useId$1, Cl as getBlockApiReadStage, Cm as unwrapResponse, Co as resolveOfferingsPreviewGroupCta, Cs as invitationSubmission, Cu as chromeLogoTransforms, Cv as knownSocialPlatformLabels, Cy as assertNever$1, Da as EventQuickFacts, Dc as decideSignInReturn, Dd as boxStylesTransforms, Dg as backgroundColorStyle, Dh as useCallbackRef, Dl as canJoinEventWaitlistOnAnyMode, Do as DEFAULT_BOOKING_BUTTON_TEXT, Dp as transitionCatalogueEntries, Ds as getSlidingScaleForEvent, Dv as publishedContactDetails, Ec as createSignInReturnDraftStore, Eg as surfaceInkStyle, Eh as DismissableLayer, Ei as buildEventCalendarListingRender, El as canJoinEventWaitlist, Eo as resolveOfferingsRenderInput, Ep as anglePolygonCss, Es as getRegistrationOccurrenceId, Eu as staticHeaderChromeRuntime, Fa as eventScopeQuery, Fc as bookingQuestionsAnswerDraftSchema, Fd as resolveSurfaceForegroundStyles, Fg as parseSurfaceTree, Fi as buildEventListingInteractiveIslandProps, Fl as selectMostOpenCapacitySource, Fo as panelShouldOpen, Fp as introCompositionTreatmentValues, Fr as normalizeLocationMapProps, Fs as validateFormData, Fu as createZodCodec, Ga as calendarQueryKey, Gc as checkBookingQuestionsAnswered, Gd as createTransformRegistry, Gg as buttonTypographyDeclarations, Gi as eventPaginationLoadReducer, Gl as groupPublicEventsByRun, Gm as DialogClose, Gn as planArrangementContent, Go as isRegistrationLocked, Gr as cartBlockDefinition, Gs as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, H_ as surfaceCardRoleValues, Ha as normalizeOptionalId, Hc as restoreBookingQuestionsAnswers, Hd as lookQuoteLimitTransform, Hf as readHeaderNavFontSizePreference, Hg as buttonRadius, Hi as eventCollectionSourceSchemaShape, Hl as requestSignIn, Ho as createInitialRegistrationFlowState, Hr as giftingBlockDefinition, Hs as reportWorkflowSuccess, Hu as resolvedItemSurfaceProps, I_ as indexRenderableMediaAssets, Ia as eventScopeQueryKeys, Ic as bookingQuestionsPaymentSnapshotSchema, Id as resolveBackgroundColorValue, If as applyCompiledRuntimeFieldsToContent, Ig as prepareSurfaceIndex, Ih as Button, Ii as eventListingBlockRuntime, Il as blockSiteTermsSchema, Io as registrationPaymentRoute, Ip as offeringsPreviewCompositionTreatmentValues, Is as assertNever$2, Iu as defineClientOwnedBlockRuntime, Ja as calendarWindowPageSchema, Jc as eventListWeekDays, Jd as when, Jg as BORDER_WIDTH_MAP, Ji as planEventPageOperation, Jo as decideEventRegistrationPayment, Jr as shopBlockDefinition, Js as formatBookingWhen, Ju as classPricesDataSchema, Jv as formatDateTimeRange, K as createSessionJournalBindings, K_ as asDesignBlockId, Ka as calendarWindowBounds, Kc as getInitialFieldValue, Kd as runTransforms, Kg as materializeRuntimeButtonAppearance, Ki as getEventIdentity, Km as DialogContent, Ko as registrationFlowReducer, Kr as productDetailBlockDefinition, Ks as areEntitlementsDisabledForTicketCount, Ku as Grid, Kv as formatDate$2, La as resolveEventScope, Lc as bookingQuestionsRefusal, Lf as compileEditorModelRuntime, Lg as resolveSurface, Li as buildEventCollectionDisplay, Ll as verifiedSiteTermsAcceptanceSchema, Lo as registrationPresentation, Lp as testimonialsCompositionTreatmentValues, Ls as err, Lu as defineProgressiveBlockRuntime, Ma as eventReadinessQueryKeys, Mc as EMPTY_BOOKING_QUESTIONS_ANSWERS, Md as parseBackgroundOverlay, Mf as heroPhotoPaintsGround, Mg as textColorValue, Mh as createContextScope, Ml as getRemainingPlaces, Mm as Callout, Mo as bookingPanelHeading, Mr as getBlockDefinition, Ms as shouldLoadRegistrationOptions, Mu as buildInteractiveIslandProps, Mv as EDITOR_SESSION_GENERATION_HEADER, N_ as runtimeMediaSchema, Na as eventDiscoveryFilterKeys, Nc as NO_BOOKING_QUESTIONS, Nd as parseRuntimeBackgroundContent, Ng as opaqueSurfaceContextFromTheme, Nh as composeEventHandlers, Nl as isEventFull, No as courseTitleOf, Ns as withRegistrationAvailability, Nu as createInteractiveIslandCodec, Ny as parseUuidBrand, Oa as getCardOrientation, Oc as nextSignInReturnExpiry, Od as boxStyleClassNames, Of as selectItemSurfacePresentation, Og as cssVarValue, Oh as useDirection, Ol as formatEventRemainingPlaces, Oo as bookingBarPlacement, Op as resolveCompiledSectionContextFromContent, Os as getSlidingScaleSelectionMessage, Ou as uiTransforms, Oy as unsafeAsPositiveByteCount, Pa as eventScopeLoaderParam, Pc as applyBookingQuestionsAnswerEvent, Pd as resolveSectionSurfaceForeground, Pg as opaqueSurfaceDeclarations, Ph as Primitive, Pi as eventListingBlockDefinition, Pl as selectEventCapacitySource, Po as getEventSelectionMode, Pp as featureCardCompositionTreatmentValues, Ps as registrationQuestionsMessage, Pu as defineInteractiveIslandMetaKeys, Q_ as journalReplayValue, Qa as eventRegistrationBlockDefinition, Qc as formatEventQuickDate, Qg as mapButtonVisualAppearances, Qh as bindingSchema, Qi as listingEventCardProps, Ql as shouldReserveFeatureCardIconZone, Qm as menuItemInteractionClassName, Qo as placeCountCeiling, Qp as MQ_LG_UP, Qr as buildProductListInteractiveIslandProps, Qs as formatRegistrationSchedule, Qt as useOptionalEditorUiStoreInstance, Qu as formatEventPriceDisplay, Qv as resolveBookingDisplayContext, Ra as buildEventRuntimeFilters, Rc as decideBookingQuestionsRestoration, Rg as serializeSurfaceTree, Rh as useControlReadiness, Ri as buildEventCollectionHydration, Rl as PAGE_NAVIGATION, Ro as registrationRoute, Rr as newsletterSignupBlockDefinition, Rs as ok, Ru as listItemPresentation, S_ as blockCustomCssRuleSchema, Sc as eventSignInEnds, Sf as parseInlineTextFromUnknown, Sg as surfaceForegroundStyle, Sh as useSize, Si as eventCalendarBlockDefinition, Sl as browserReadAuthoritySchema, Sm as extractApiEnvelopeErrorDetails, Ss as createRegistrationDraftData, Su as headerRuntimeTransforms, Sy as formatCurrencyAmount, Tc as clearSignInReturnDrafts, Td as isBlockButtonRole, Tg as surfaceInkDeclarations, Th as useFocusGuards, Ti as buildEventCalendarListingDisplay, Tl as shownVenue, To as resolveOfferingsPreviewGroups, Ts as getEligibilityFlowFlags, Tu as layoutTransforms, Ty as unsafeAsAppointmentServiceId, U_ as parseGradientPresetId, Ua as calendarMonthKey, Uc as toBookingQuestionsAnswerDraft, Ud as lookSkinSlotTransform, Ug as buttonShadow, Uh as useComposedRefs, Ui as createInitialEventPaginationLoadState, Ul as closedRunCopy, Uo as decideEventChoice, Ur as buildGiftingInteractiveIslandProps, Us as confirmationPaymentRows, Uu as itemRole, Va as normalizeCsvString, Vc as needsBookingQuestionsRefresh, Vd as lookLeadSlotTransform, Vf as mergeHeaderNavTypographyPreference, Vg as buttonBorder, Vi as eventCollectionHydrationSchema, Vl as pageNavigationSchema, Vo as areEventRegistrationPaymentSelectionsEqual, Vr as newsletterBlockSubmissionMessage, Vs as reportWorkflowError, Vt as ApiRequestError, Vu as lookListPresentationSchemaShape, W_ as siteChromeBackgroundOverrideOwner, Wa as calendarPageResponseError, Wc as toBookingQuestionsPaymentSnapshot, Wd as asPartialObject, Wg as buttonStateAppearanceDeclarations, Wh as cn$1, Wi as eventPageOperationQuery, Wl as bookingPageKindSchema, Wm as Dialog, Wo as getDeclinedPass, Wr as checkoutBlockDefinition, Ws as resolveFinishedPresentation, Wv as unsafeAsEditorBlockId, X_ as resolveAvailableBookingCollectionOptions, Xa as resolveCalendarReadProfile, Xc as buildMonthDay, Xg as FONT_SIZE_MAP, Xi as toError, Xm as DialogTitle, Xo as fullyBookedLabel, Xr as buildCheckoutInteractiveIslandProps, Xs as formatEventDateTime, Xu as formatEventPrice, Xv as formatTimeZoneCityLabel, Y as SessionJournalProvider, Y_ as normalizeCurrencyCode, Ya as planCalendarMonthRanges, Yc as eventWeekGroupingContext, Yd as parseStoredVariant, Yf as arrangementManifestFromVariants, Yg as DEFAULT_BUTTON_SIZES, Yi as toEventPaginationLoadError, Ym as DialogPortal, Yo as shouldPromptForLogin, Yr as buildCartInteractiveIslandProps, Ys as formatDate$3, Yu as resolveClassPriceItems, Yv as formatTime$2, Z_ as getBookingLaterInstalments, Zc as resolveMonthSelectedDay, Zf as resolveEffectiveArrangement, Zg as generateShadowValue$1, Zh as unmanagedSurfaceEditability, Zi as catalogueEventCardProps, Zl as resolveFeatureCardGeneratedIconSizePx, Zm as DialogTrigger, Zo as getTicketSelectionPurpose, Zr as buildProductDetailInteractiveIslandProps, Zs as formatPassCreditUsageLabel, Zu as formatEventPriceAmount, Zv as inferSiteDateLocale, _ as applyBindingsToContent, __ as oklabToSrgb, _c as getRegistrationStartAt, _g as DEFAULT_SURFACE_TEXT_COLOR, _h as Anchor, _i as reduceCommerceCart, _l as resolveEventCta, _m as calendarMonthDate, _p as generateNavLinkCSS, _s as resolveEventRequiresPayment, _u as teamMemberBiography, _y as publicEventPricingType, a_ as HOVER_TEXT_THRESHOLD, aa as MapPinIcon, ac as transformRegistrationOptionsResponse, ad as toBookingRequirementConsentField, ai as formatCommercePrice, al as formatCalendarTitle, ao as eventCalendarListGroupingDecision, ap as requireCuratedSiteStyle, ar as EVENT_REGISTRATION_ANCHOR_ID, as as settledRemainingPlaces, av as resolveWholeSeriesBookingPhase, ay as parseBookingLocalDate, b_ as srgbToOklab, bc as EVENT_SIGN_IN_FORM_ID, bg as surfaceForegroundDeclarations, bh as Root2$2, bi as buildOfferingsCatalogueListing, bl as isBookableEvent, bm as pageCommitReasonTag, bo as offeringRunLifecycle, bp as headerRootPaint, bs as toRegistrationRequestSubject, bu as resolveDateRuntimeContext, by as parsePositiveCents, c as usePreviewShownTheme, c_ as inkReference, ca as MediaNodeServer, cc as formatPrice, cd as BACKGROUND_POSITION_PRESET_VALUES, cf as resolveBlockIconRenderValue, ci as membershipCardListContent, cl as formatEventCompactDateRail, cm as EDITOR_LOADING_NOTICE, co as resolveEventRegistrationScopedEvents, cp as gradientToCss, cr as EventListingFrameView, cs as normalizeEventRegistrationMaxTickets, cu as measureSiteTopChromeBottomPx, cy as resolveBookingTimeZoneId, da as ImagePresets, dc as getTicketLineQuantity, dg as generateEffectsCSS, dh as hideOthers, di as EMPTY_COMMERCE_CART_STATE, dl as formatEventNextDateFact, dm as editorAdmissionRefusal, dr as offeringDatesBySeries, ds as buildBookingPaymentSelectionViewModel, dt as JournalWriteRefused, dy as toUtcIsoDateTimeString, e_ as ownedThemeSnapshot, ea as CardListCollection, ec as getImplicitSingleTicketType, ef as RichTextDocSchema, ei as getShopDisplayForItems, el as formatEventTeacherLine, em as MQ_MD_UP, eo as buildEventRegistrationInteractiveIslandProps, ep as designRuntimeRulesForTheme, es as planRegistrationDetailsContinuation, ev as formatCreditProductBalance, ey as toScheduledBookingDateTime, f_ as TokenResolver, fa as MediaPlaceholder, fc as getTicketSelectionTotal, fg as generateInteractiveChildInheritanceCSS, fh as Item$1, fi as buildPassCartItem, fl as formatEventTimeRange, fm as editorAdmissionSession, fp as resolveCardRole, fr as deriveEventScheduleSummary, fs as buildReviewedBookingPaymentViewModel, ft as journalFailureReason, fu as composeHeaderSectionWrapperClassName, fy as formatBookingPriceDisplay, g_ as oklabToOklch, ga as renderVideo, gc as setTicketLineQuantity, gg as formatButtonColourContractError, gh as Portal, gi as productItemKey, gl as resolveEventCardBooking, gm as BEFORE_BOOKING_QUESTIONS_ROUTE, gn as resolveRenderedValues, gp as buildTextContrastShadow, gs as resolveDiscountContext, gu as parseTeamMemberSpecialties, gy as publicEventPricingStrategy, h as composePreviewTheme, h_ as hexToRgb, ha as renderAudio, hc as normalizeTicketSelectionLines, hg as BUTTON_CONTRAST_POLICY, hh as Presence, hi as parseStoredCommerceCartState, hl as resolveEventTimeZone, hm as API_ENDPOINTS, hp as generateFooterCss, hs as findPreSelectedEvent, hu as contentTransforms, hv as parseMailingListVisitorSelection, hy as publicEventPricingDisplay, i_ as solveSurfaceInks, ia as CalendarIcon, ic as occurrenceTitleOverride, id as isBookingRequirementConsentFieldId, if as buildGeneratedBlockIconRenderAssetLookupFromUnknown, ii as buildProductDetailDisplay, il as eventDateOptions, io as previewStageSchema, ir as EventHeader, is as resolveRegistrationTicketContinuation, iv as orderedLiveRunSessions, iy as getLocalScheduleDate, ja as eventReadinessQuery, jc as sweepExpiredSignInReturnDrafts, jd as parseBackgroundContent, jg as textColorStyle, jh as useLayoutEffect2, jl as getEventAvailabilityStatus, jm as VISUALLY_HIDDEN_STYLES, jo as bookingEntryProgress, js as resolveHeldTicketPlaces, ju as buildFormInteractiveIslandProps, jy as unsafeAsSiteId, ka as getContainerClass, kc as readSignInReturn, kd as normalizeBoxStylesBorder, kf as effectiveHeaderNavLinkStyle, kg as mergeStyles, kh as createCollection, kl as formatTotalCapacity, km as trustedJournalState, ko as bookingCardEntry, ks as getTicketSelectionRemainingPlaces, ku as formattingTransforms, ky as unsafeAsPositiveSeconds, l_ as resolveConcreteColorHex, la as RichText, lc as canRequestTicketOption, ld as getAnchorClasses, li as membershipClassesLabel, ll as formatEventDateParts, lo as offeringNounForEvent, lr as OfferingCourseCards, ls as resolveEventRegistrationSubmitPlan, lt as getEditorClientId, lv as parseMailingListRuntimeContext, ly as toBookingTimeZone, m_ as contrastRatio, ma as mediaImageHostProps, mc as hasValidPricingOptionSelection, mf as deriveInlineTextFieldChanges, mg as resolveSolidButtonColour, mh as createRovingFocusGroupScope, mi as deriveCommerceCheckoutState, ml as groupEventsByDate, mn as renderSourceFor, mo as buildOfferingsPreviewListing, ms as paymentChoicePrice, mu as splitPositioningClasses, mv as parseMailingListPlacementTargeting, my as publicEventPricingCurrency, n_ as safeTokenOr, na as EventItem, nc as getTicketTypeAvailabilityLabel, nd as blockBookingConsentSchema, nh as ReactRemoveScroll, ni as buildCartDisplay, nl as buildCalendarViewport, nm as MQ_SM_UP, no as resolveEventRegistrationEventSource, np as headerStyleRecipeForTheme, ns as resolveRegistrationAdmission, nu as siteHeaderManifest, nv as CANCELLED_SESSION_STATUS, ny as formatLocalScheduleDate, o_ as certifyPaint, oa as CardListContentPart, oc as withOccurrenceTitle, od as beforeBookingQuestionsPresentationSchema, oi as formatInterval, ol as formatDate$1, om as isObjectRecord, oo as resolveEventCalendarReadPlan, op as compiledRuntimeStyleFieldNames, or as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, os as visitorHoldsOwnPlace, ov as generateUuidV4, oy as parseLocalScheduleTime, p_ as expandPalette, pa as computeMediaTransformStyle, pc as getTicketTypeLineMax, pf as coerceInlineTextWithFallback, pg as compileButtonColourStates, ph as Root$1, pi as buildProductCartItem, pl as formatTime$1, pm as observeEditorAdmission, pn as remoteDraftValues, po as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, pp as generateDefaultCardSystem, pr as derivePreviewRunSchedule, ps as paymentChoiceDetails, pt as sendPageCommand, pu as markEditableSurfaceForwarding, py as isPublicEventPricingOptionDisplayable, qa as calendarWindowMonths$1, qc as buildEventListWeek, qd as el, qf as arrangementLookHooks, qg as paddingDeclarations, qi as getEventPaginationView, ql as FEATURE_CARD_ICON_TREATMENTS, qo as buildEventRegistrationPaymentOptionsViewModel, qr as productListBlockDefinition, qs as findSelectedTicketType, qu as classPricesCopySchema, r_ as surfaceInkPublication, ra as eventCategoryBadge, rc as getVisibleTicketTypes, rf as sanitizeHref, ri as buildProductCardDisplay, rl as eventCalendarWeekStart, rm as MQ_TABLET_ONLY, ro as bookingNowSchema, rr as lookPartShown, rs as resolveRegistrationAvailabilityBlocker, ru as SITE_CHROME_VISIBLE_HEADER_SELECTOR, rv as firstLiveRunSessionStartMs, ry as getBookingLocalDateKey, s as usePreviewPageDesignRenderState, s_ as contrastThresholdByPolicy, sc as formatCentsAsCurrencyInput, sd as EVENT_BOOKING_ARRIVAL_QUERY, sf as parseBlockIconValue, si as formatValidity, sl as formatEventClockLabel, sm as isRecord$14, so as normalizeEventRegistrationPageSurfaceSubject, sp as surfaceResolutionContextFromTheme, sr as MonthLookView, ss as isEventRegistrationAvailable, sy as resolveBookingBusinessTimeZone, t_ as resolveSurfaceForeground, ta as CardListItems, tc as getPortalSubjectEmail, td as blockBookingPaymentTermsSchema, th as usePortalContainer, ti as shopProductPresentation, tl as formatEventDuration, tm as MQ_SM_DOWN, to as displayButtonText, tr as withValueAtPath, ts as resolveGuestNextStepCheck, tu as siteFooterManifest, tv as formatCreditProductUnits, ty as addLocalScheduleDays, u as useSiteChromeCustomizeOptional, u_ as resolveOpaqueSurfaceHex, uc as getSingleSelectedPricingOptionId, ui as passCardListContent, ul as formatEventHourLabel, up as getGradientPreset, ur as eventCardListContent, us as calculateEventRegistrationPreviewTotal, ut as createSessionJournal, uu as siteTopChromeMeasurementTargets$1, uv as resolveBookingSignupOffer, uy as parseUtcIsoDateTimeString, v_ as oklchToHexGamut, vc as toRegistrationEvents, vf as inlineTextToPlainText, vg as SURFACE_FOREGROUND_CSS_VARS, vh as Arrow, vl as resolveEventLinkProps, vp as formatSiteChromeBackgroundTokenLabel, vs as resolveRegistrationTarget, vu as teamMemberCardBiography, vv as sameMailingListPlacementTargeting, vy as resolveExactOrFreePriceDisplay, w_ as boxBackgroundSchema, wc as toEventSignInDraft, wg as surfaceForegroundValueWithOpacity, wh as FocusScope, wi as buildEventCalendarInteractiveIslandProps, wl as placesLeftLabel, ws as getCurrentTicketSelection, wu as headerLogoMayBeHardToSee, wy as unsafeAsAppointmentResourceId, xa as resolvePublicMediaUrl, xc as eventSignInDraftStore, xg as surfaceForegroundInputFromResolved, xh as createPopperScope, xi as offeringsCatalogueShape, xl as bookingPresentation, xm as ApiEnvelopeError, xo as offeringsListingFor, xp as boundaryRuntimeMetricsForDecorativeTransition, xs as beginWaitlistInvitation, xu as mediaTransforms, xy as toNonNegativeCents, y_ as rgbToHex, ya as resolveMediaNodeResponsiveImage, yc as toWholeSeriesRegistrationEvents, yf as isInlineTextEmpty, yg as SURFACE_INK_CSS_VARS, yh as Content$2, yl as resolveRuntimeEventDestination, ym as pageCommitReasonMessage, yo as normalizeOfferingsPreviewItemLimit, yp as headerNeedsPhotoShade, ys as resolveRouteRequiresPayment, yu as readRuntimeNow, yy as resolvePricingOptionsPriceDisplay, za as getEventRuntimeFiltersKey, zc as deriveBookingQuestions, zf as restoreCompiledRuntimeFieldsFromContent, zg as compositeHex, zi as buildEventCollectionListingDisplay, zl as canonicalUrl, zo as registrationStepLabel, zr as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, zs as okWith, zu as listLookControl } from "./previewAssistantSlot-Caofnr1Z.mjs";
4
+ import { At as sameMeaningfulAddress, C as Move, Ct as LOCATION_MATCH_THRESHOLDS_METRES, D as MapPin, Dt as editLocationValue, Et as decideLocationSave, Ft as locationPinSchema, Gt as err$1, I as Info, Kt as ok$1, Lt as normalizeLocationAddressText, Mt as decideLocationSourcePermission, Nt as formatLocationAddress, Ot as locationDistanceMetres, Pt as locationAddressSchema, Q as ExternalLink, Rt as parseLocationValue, T as Minus, Tt as decideLocationRelationship, V as House, Wt as mapDrawingSchema, at as Circle, c as Trash2, ct as CircleCheck, dt as ChevronRight, et as Crosshair, ft as ChevronLeft, g as RotateCcw, gt as Building2, h as Route, kt as sameLocationSpatialPair, l as Store, mt as Check, n as X, ot as CirclePlus, p as Search, pt as ChevronDown, r as WifiOff, s as TriangleAlert, st as CircleMinus, u as Sparkles, ut as ChevronUp, v as Plus, w as Mountain, wt as confirmLocationPair, xt as ArrowDown, y as Pencil } from "./lucide-react-BCNn8dEQ.mjs";
5
+ 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-CVYz7h68.mjs";
5
6
  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-OwAxA2C0.mjs";
7
+ import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-D4F_5rnr.mjs";
7
8
  import * as React$1 from "react";
8
9
  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
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -9311,26 +9312,22 @@ function generateHeaderNavLinkStyles(header, themeId, tokens, theme, contrastTre
9311
9312
  //#endregion
9312
9313
  //#region ../theme-core/src/header/generateHeaderLogoStyles.ts
9313
9314
  function generateHeaderLogoStyles(input) {
9314
- const { logo, themeId, tokens } = input;
9315
+ const { logo, themeId } = input;
9315
9316
  return `\n${`:where([data-theme-scope="${themeId}"]) .header-logo-text`} {\n ${[
9316
9317
  ...logoTextColorRules(input),
9317
9318
  logo?.fontFamily === "body" ? "font-family: var(--font-body);" : "font-family: var(--font-heading);",
9318
9319
  ...logoLetterSpacingRules(logo),
9319
- ...logoGradientRules(logo, tokens),
9320
9320
  ...logoContrastRules(input)
9321
9321
  ].join("\n ")}\n}\n${mobilePanelLogoColor(input)}`;
9322
9322
  }
9323
9323
  function mobilePanelLogoColor(input) {
9324
- if (input.logo?.gradient) return "";
9325
9324
  const { themeId, tokens, textColor, fallbackTextColor } = input;
9326
9325
  const fallback = tokens.getColor(textColor ?? fallbackTextColor ?? "text");
9327
9326
  return `\n${`:where([data-theme-scope="${themeId}"]) .nav-mobile-panel .header-logo-text`},\n${`:where(.nav-mobile-panel[data-theme-scope="${themeId}"]) .header-logo-text`} {\n color: ${surfaceForegroundValue("text", fallback)};\n}\n`;
9328
9327
  }
9329
9328
  function logoTextColorRules(input) {
9330
- const { logo, textColor, fallbackTextColor, tokens, useSurfaceTextColor } = input;
9331
- if (logo?.gradient || !textColor && !useSurfaceTextColor) return [];
9332
- const authoredColor = tokens.getColor(textColor ?? fallbackTextColor ?? "text");
9333
- return [`color: ${useSurfaceTextColor ? surfaceForegroundValue("text", authoredColor) : authoredColor};`];
9329
+ const { textColor, fallbackTextColor, tokens } = input;
9330
+ return [`color: ${surfaceForegroundValue("text", tokens.getColor(textColor ?? fallbackTextColor ?? "text"))};`];
9334
9331
  }
9335
9332
  function logoLetterSpacingRules(logo) {
9336
9333
  const spacing = logo?.letterSpacing;
@@ -9341,18 +9338,7 @@ function logoLetterSpacingRules(logo) {
9341
9338
  widest: "0.15em"
9342
9339
  }[spacing]};`];
9343
9340
  }
9344
- function logoGradientRules(logo, tokens) {
9345
- if (!logo?.gradient) return [];
9346
- return [
9347
- `background: linear-gradient(to right, ${tokens.getColor("primary")}, ${tokens.getColor("accent")});`,
9348
- "-webkit-background-clip: text;",
9349
- "-webkit-text-fill-color: transparent;",
9350
- "background-clip: text;",
9351
- "color: transparent;"
9352
- ];
9353
- }
9354
9341
  function logoContrastRules(input) {
9355
- if (input.logo?.gradient || input.useSurfaceTextColor) return [];
9356
9342
  const colorToken = input.textColor?.trim() || input.fallbackTextColor?.trim() || "text";
9357
9343
  const shadow = buildTextContrastShadow({
9358
9344
  theme: input.theme,
@@ -9387,8 +9373,7 @@ function generateHeaderCss(options) {
9387
9373
  theme,
9388
9374
  textColor: header.textColor,
9389
9375
  fallbackTextColor: header.navLinkStyle?.colorToken,
9390
- contrastTreatment: headerContrastTreatment ?? void 0,
9391
- useSurfaceTextColor: header.background?.contentOwner === siteChromeBackgroundOverrideOwner
9376
+ contrastTreatment: header.background?.contentOwner === "site-chrome-editor" ? void 0 : headerContrastTreatment ?? void 0
9392
9377
  }));
9393
9378
  cssChunks.push(generateLogoTextBehaviorStyles(header.logoText, themeId));
9394
9379
  cssChunks.push(generateHeaderNavLinkStyles(header, themeId, tokens, theme, headerContrastTreatment, headerNavTextSize));
@@ -9400,7 +9385,7 @@ function generateHeaderCss(options) {
9400
9385
  cssChunks.push(generateMobilePanelStyles(themeId, dropdown));
9401
9386
  if (header.variant === "floating" && header.container) cssChunks.push(generateFloatingContainerStyles(header, themeId, tokens, responsiveMode));
9402
9387
  cssChunks.push(generateNavContainerStyles(header, themeId, tokens, theme, solvedInks));
9403
- cssChunks.push(generateHeaderCtaTreatmentStyles(header, themeId, tokens));
9388
+ cssChunks.push(generateHeaderCtaTreatmentStyles(header, themeId, tokens, headerGroundButton(header, theme)));
9404
9389
  cssChunks.push(generateCtaGapStyles(header, themeId));
9405
9390
  return cssChunks.filter(Boolean).join("\n\n");
9406
9391
  }
@@ -9732,10 +9717,10 @@ const HEADER_CTA_GAP_MAP = {
9732
9717
  * Keep the shared button's structure/effects while making the header own the
9733
9718
  * palette relationship for both desktop and mobile CTAs.
9734
9719
  */
9735
- function generateHeaderCtaTreatmentStyles(header, themeId, tokens) {
9720
+ function generateHeaderCtaTreatmentStyles(header, themeId, tokens, groundButton) {
9736
9721
  if (header.ctaTreatment !== "inverted") return "";
9737
9722
  const desktopSelector = `:where([data-theme-scope="${themeId}"]) .header-cta`;
9738
- const mobileSelector = `:where([data-theme-scope="${themeId}"]) .nav-mobile-cta`;
9723
+ const mobileSelector = `:where([data-theme-scope="${themeId}"]) :is(.nav-mobile-cta, .header-mobile-bar-cta)`;
9739
9724
  const selectors = `${desktopSelector},\n${mobileSelector}`;
9740
9725
  const hoverSelectors = [
9741
9726
  `${desktopSelector}:hover`,
@@ -9746,10 +9731,10 @@ function generateHeaderCtaTreatmentStyles(header, themeId, tokens) {
9746
9731
  const focusSelectors = [`${desktopSelector}:focus-visible`, `${mobileSelector}:focus-visible`].join(",\n");
9747
9732
  return `
9748
9733
  ${selectors} {
9749
- background-color: ${tokens.getColor("background")};
9734
+ background-color: ${groundButton?.backgroundCss ?? tokens.getColor("background")};
9750
9735
  background-image: none;
9751
- color: ${tokens.getColor("onBackground")};
9752
- border-color: currentColor;
9736
+ color: ${groundButton?.foregroundCss ?? tokens.getColor("onBackground")};
9737
+ border-color: ${groundButton?.backgroundCss ?? "currentColor"};
9753
9738
  }
9754
9739
 
9755
9740
  ${hoverSelectors} {
@@ -9766,6 +9751,24 @@ ${focusSelectors} {
9766
9751
  `;
9767
9752
  }
9768
9753
  /**
9754
+ * A style that names the main button's label colour on the header's own
9755
+ * ground (issue 1713) dresses the inverted CTA as that button, with its fill
9756
+ * as the edge. The colours come from the shared solid-button resolution, so the
9757
+ * label falls back exactly as that button's would. Styles that name only a fill
9758
+ * keep the page-colour CTA with its outline.
9759
+ */
9760
+ function headerGroundButton(header, theme) {
9761
+ const ground = header.background?.type === "color" ? header.background.color : void 0;
9762
+ const request = typeof ground === "string" ? theme.buttons?.surfaceContexts?.[ground] : void 0;
9763
+ if (!request?.primaryText) return null;
9764
+ const resolved = resolveSolidButtonColour({
9765
+ variantId: "primary",
9766
+ state: "base",
9767
+ palette: expandPalette(theme.palette)
9768
+ }, request.primary, request.primaryText);
9769
+ return resolved.ok ? resolved.colour : null;
9770
+ }
9771
+ /**
9769
9772
  * Generate CTA button gap styles (left margin between nav links and CTA)
9770
9773
  */
9771
9774
  function generateCtaGapStyles(header, themeId) {
@@ -9833,6 +9836,18 @@ const waveMaskSvgPaths = {
9833
9836
  bold: "M0 72V44C90 14 270 14 360 44C450 74 630 74 720 44C810 14 990 14 1080 44C1170 74 1350 74 1440 44V72H0Z",
9834
9837
  drift: "M0 72V39C115 31 205 54 340 48C505 41 610 16 760 33C920 51 1015 64 1160 44C1280 27 1375 35 1440 50V72H0Z"
9835
9838
  };
9839
+ /**
9840
+ * The arc (issue 1713): the next section's colour rises to a shallow peak in the
9841
+ * middle. With echo, two lines follow the arc below it, cut part-way into the
9842
+ * shape so the colour behind shows through them; that keeps them a blend of the
9843
+ * two sections' colours, whatever the palette. They fade out towards the peak.
9844
+ */
9845
+ const arcShapePath = "M0 110V60Q720 -30 1440 60V110Z";
9846
+ const arcEchoLinePaths = ["M0 84Q720 -6 1440 84", "M0 102Q720 12 1440 102"];
9847
+ function arcMaskDataUrl(echo) {
9848
+ const lines = arcEchoLinePaths.map((d) => `<path d='${d}' fill='none' stroke='url(#fade)' stroke-width='1.5' vector-effect='non-scaling-stroke'/>`).join("");
9849
+ return svgDataUrl(`<svg viewBox='0 0 1440 110' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>${echo ? `<defs><linearGradient id='fade' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='1440' y2='0'><stop offset='0' stop-color='black' stop-opacity='0.42'/><stop offset='0.5' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='0.42'/></linearGradient><mask id='lines'><rect width='1440' height='110' fill='white'/>${lines}</mask></defs><path d='${arcShapePath}' fill='white' mask='url(#lines)'/>` : `<path d='${arcShapePath}' fill='white'/>`}</svg>`);
9850
+ }
9836
9851
  function waveMaskDataUrl(mask) {
9837
9852
  return svgDataUrl(`<svg viewBox='0 0 1440 72' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='${waveMaskSvgPaths[mask]}' fill='white'/></svg>`);
9838
9853
  }
@@ -9912,18 +9927,8 @@ function shapeDeclarations(entry) {
9912
9927
  "background: linear-gradient(to bottom, transparent 0%, var(--boundary-shape-paint) 100%);",
9913
9928
  "background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--boundary-shape-paint) 16%, transparent) 34%, color-mix(in srgb, var(--boundary-shape-paint) 68%, transparent) 78%, var(--boundary-shape-paint) 100%);"
9914
9929
  ];
9915
- case "wave": {
9916
- const mask = waveMaskDataUrl(entry.shape.mask);
9917
- return [
9918
- "background: var(--boundary-shape-paint);",
9919
- `mask-image: url("${mask}");`,
9920
- "mask-repeat: no-repeat;",
9921
- "mask-size: 100% 100%;",
9922
- `-webkit-mask-image: url("${mask}");`,
9923
- "-webkit-mask-repeat: no-repeat;",
9924
- "-webkit-mask-size: 100% 100%;"
9925
- ];
9926
- }
9930
+ case "wave": return maskDeclarations(waveMaskDataUrl(entry.shape.mask));
9931
+ case "arc": return [...maskDeclarations(arcMaskDataUrl(entry.shape.echo === true)), "height: calc(var(--boundary-height) + 2px);"];
9927
9932
  case "angle": return [
9928
9933
  "height: calc(var(--boundary-height) + 2px);",
9929
9934
  "background: var(--boundary-shape-paint);",
@@ -9931,6 +9936,17 @@ function shapeDeclarations(entry) {
9931
9936
  ];
9932
9937
  }
9933
9938
  }
9939
+ function maskDeclarations(mask) {
9940
+ return [
9941
+ "background: var(--boundary-shape-paint);",
9942
+ `mask-image: url("${mask}");`,
9943
+ "mask-repeat: no-repeat;",
9944
+ "mask-size: 100% 100%;",
9945
+ `-webkit-mask-image: url("${mask}");`,
9946
+ "-webkit-mask-repeat: no-repeat;",
9947
+ "-webkit-mask-size: 100% 100%;"
9948
+ ];
9949
+ }
9934
9950
  function rule(selector, declarations) {
9935
9951
  return `${selector} {\n ${declarations.join("\n ")}\n}`;
9936
9952
  }
@@ -10334,7 +10350,8 @@ ${root} :where(h1.heading-display) {
10334
10350
  font-size: var(--fs-h1-display-fluid, var(--fs-h1-display, calc(var(--fs-h1) * 1.5)));
10335
10351
  }
10336
10352
 
10337
- ${root} :where(h2.heading-display) {
10353
+ ${root} :where(h2.heading-display),
10354
+ ${root} :where(h1.rb-heading-level-2.heading-display) {
10338
10355
  font-size: var(--fs-h2-display-fluid, var(--fs-h2-display, calc(var(--fs-h2) * 1.35)));
10339
10356
  }`;
10340
10357
  }
@@ -10348,7 +10365,8 @@ ${root} :where(h1.heading-compact) {
10348
10365
  font-size: calc(var(--fs-h1) * 0.75);
10349
10366
  }
10350
10367
 
10351
- ${root} :where(h2.heading-compact) {
10368
+ ${root} :where(h2.heading-compact),
10369
+ ${root} :where(h1.rb-heading-level-2.heading-compact) {
10352
10370
  font-size: calc(var(--fs-h2) * 0.8);
10353
10371
  }
10354
10372
 
@@ -10375,15 +10393,18 @@ ${root} :where(p, li, td, th, label, span) {
10375
10393
  }`;
10376
10394
  }
10377
10395
  function headingLevelsCss(root) {
10378
- return `/* Heading level styles with fluid typography */\n${[
10396
+ return `/* Heading level styles with fluid typography */\n${[...[
10379
10397
  1,
10380
10398
  2,
10381
10399
  3,
10382
10400
  4,
10383
10401
  5,
10384
10402
  6
10385
- ].map((level) => {
10386
- return `${root} :where(h${level}) {
10403
+ ].map((level) => headingLevelCss(root, level, `h${level}`)), headingLevelCss(root, 2, "h1.rb-heading-level-2")].join("\n\n")}`;
10404
+ }
10405
+ /** The semantic tag and visual heading role can differ for a promoted page title. */
10406
+ function headingLevelCss(root, level, selector) {
10407
+ return `${root} :where(${selector}) {
10387
10408
  font-size: var(--fs-h${level}-fluid, ${level < 4 ? `var(--fs-h${level})` : `var(--fs-h${level}, ${level === 4 ? "var(--fs-h3)" : "var(--fs-body)"})`});
10388
10409
  font-weight: var(--fw-h${level}, var(--font-weight-heading));
10389
10410
  font-style: var(--fi-h${level}, var(--fi-heading, normal));
@@ -10391,7 +10412,6 @@ function headingLevelsCss(root) {
10391
10412
  line-height: var(--lh-h${level}, var(--lh-heading));
10392
10413
  color: ${surfaceForegroundValue("heading", globalHeadingColorFallback(level))};
10393
10414
  }`;
10394
- }).join("\n\n")}`;
10395
10415
  }
10396
10416
  /** Optional width rules leave the historical CSS bytes unchanged. */
10397
10417
  function generateFontWidthCss(root, typography) {
@@ -10425,6 +10445,7 @@ function generateFontWidthCss(root, typography) {
10425
10445
  "h5",
10426
10446
  "h6"
10427
10447
  ].map((level) => rule(`${root} :where(${level})`, typography.headings[level]?.width)),
10448
+ rule(`${root} :where(h1.rb-heading-level-2)`, typography.headings.h2?.width ?? headingWidth),
10428
10449
  `${root} :where(h1, h2, h3, h4, h5, h6) :where(span) { font-stretch: inherit; }`,
10429
10450
  rule(`${root} :where(.rb-eyebrow)`, typography.eyebrow ? typography.eyebrow.width ?? 100 : bodyWidth)
10430
10451
  ].filter(Boolean).join("\n");
@@ -12208,20 +12229,6 @@ function eventOccurrenceContext(event) {
12208
12229
  };
12209
12230
  }
12210
12231
  //#endregion
12211
- //#region ../blocks/src/system/runtime/nodes/events/domain/bookability.ts
12212
- /**
12213
- * Whether a public event has a registration path a visitor can take.
12214
- *
12215
- * Lifecycle admission comes from the public booking-availability contract;
12216
- * capacity comes from the shared event-domain helpers so uncapped, fallback,
12217
- * and hybrid attendance-mode cases agree with the registration runtime.
12218
- */
12219
- function isBookableEvent(event) {
12220
- if (!event.requiresRegistration) return false;
12221
- if (event.bookingAvailability.kind !== "open") return false;
12222
- return !isEventFull(event) || canJoinEventWaitlistOnAnyMode(event);
12223
- }
12224
- //#endregion
12225
12232
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
12226
12233
  function formatEventLocation(event) {
12227
12234
  switch (event.deliveryMode) {
@@ -12241,39 +12248,6 @@ function eventVenuePlace(venue) {
12241
12248
  addressWithBooking: false
12242
12249
  };
12243
12250
  }
12244
- /**
12245
- * Select the next occurrence-targeted events for a quick-book rail.
12246
- *
12247
- * The API normally returns valid timestamps, but malformed values sort after
12248
- * valid events so one bad record cannot displace an otherwise useful rail.
12249
- * Sorting before deduplication means a duplicate occurrence keeps its earliest
12250
- * deterministic representation.
12251
- */
12252
- function selectQuickDateEvents(events) {
12253
- return orderedUniqueEventOccurrences(events.filter((event) => event.bookingScope !== "whole_series" && isBookableEvent(event))).slice(0, 4);
12254
- }
12255
- /** Shared ordering and identity selection, independent of booking capacity. */
12256
- function orderedUniqueEventOccurrences(events) {
12257
- const sorted = [...events].sort(compareQuickDateEvents);
12258
- return sorted.filter((event, index) => sorted.findIndex((candidate) => candidate.occurrenceId === event.occurrenceId) === index);
12259
- }
12260
- function formatEventQuickDate(event, style = "legacy") {
12261
- const options = eventDateOptions(event);
12262
- const dateRail = formatEventCompactDateRail(event.startsAt, options, style === "site" ? "as-written" : "capitals");
12263
- return {
12264
- dateTime: event.startsAt,
12265
- label: `${dateRail.weekday} ${dateRail.day} ${dateRail.month}, ${formatTime$1(event.startsAt, options)}`
12266
- };
12267
- }
12268
- function compareQuickDateEvents(left, right) {
12269
- const startsAtOrder = compareTimestamp(left.startsAt, right.startsAt);
12270
- return startsAtOrder === 0 ? left.occurrenceId.localeCompare(right.occurrenceId) : startsAtOrder;
12271
- }
12272
- function compareTimestamp(left, right) {
12273
- const leftTime = Date.parse(left);
12274
- const rightTime = Date.parse(right);
12275
- return (Number.isNaN(leftTime) ? Number.POSITIVE_INFINITY : leftTime) - (Number.isNaN(rightTime) ? Number.POSITIVE_INFINITY : rightTime);
12276
- }
12277
12251
  //#endregion
12278
12252
  //#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
12279
12253
  /**
@@ -13485,7 +13459,7 @@ function cropHeightStyle(height, heightAs) {
13485
13459
  *
13486
13460
  * This component is server-safe (uses no client APIs like Intl).
13487
13461
  */
13488
- const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext }) => {
13462
+ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, now }) => {
13489
13463
  const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
13490
13464
  event,
13491
13465
  presentation,
@@ -13495,7 +13469,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
13495
13469
  showCategory,
13496
13470
  showImage,
13497
13471
  showCapacity,
13498
- orientation
13472
+ orientation,
13473
+ now
13499
13474
  });
13500
13475
  return /* @__PURE__ */ jsxs("article", {
13501
13476
  ...listLookSlot({
@@ -13747,13 +13722,13 @@ function EventLookDate({ event, ...presentation }) {
13747
13722
  })]
13748
13723
  });
13749
13724
  }
13750
- function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation }) {
13725
+ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation, now }) {
13751
13726
  const { presentation: cardPresentation, presentationClass, headingLevel: cardHeadingLevel } = resolveEventCardOptions({
13752
13727
  presentation,
13753
13728
  headingLevel
13754
13729
  });
13755
13730
  const { formattedDate, formattedTime } = formatEventCardWhen(event);
13756
- const booking = resolveEventCardBooking(event, presentation === "catalogue" ? "series" : "occurrence", buttonText);
13731
+ const booking = eventCardBooking(event, presentation, buttonText, now);
13757
13732
  const { cta } = booking;
13758
13733
  const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
13759
13734
  const title = event.title;
@@ -13785,6 +13760,9 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
13785
13760
  orientationClass: eventCardOrientationClass(orientation)
13786
13761
  };
13787
13762
  }
13763
+ function eventCardBooking(event, presentation, buttonText, now) {
13764
+ return resolveEventCardBooking(event, presentation === "catalogue" ? "series" : "occurrence", buttonText, { now: now ?? null });
13765
+ }
13788
13766
  //#endregion
13789
13767
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCompactRow.tsx
13790
13768
  /**
@@ -13902,6 +13880,7 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
13902
13880
  * external events retain their canonical destination and target behaviour.
13903
13881
  */
13904
13882
  function EventQuickDates({ events, pathname, buttonVariant = "primary", dateStyle }) {
13883
+ const headingId = React.useId();
13905
13884
  const quickDateEvents = selectQuickDateEvents(events);
13906
13885
  if (quickDateEvents.length === 0) return null;
13907
13886
  return /* @__PURE__ */ jsxs("div", {
@@ -13909,9 +13888,13 @@ function EventQuickDates({ events, pathname, buttonVariant = "primary", dateStyl
13909
13888
  "data-event-quick-dates": "true",
13910
13889
  children: [/* @__PURE__ */ jsx("h2", {
13911
13890
  className: "event-quick-dates-heading",
13891
+ id: headingId,
13912
13892
  children: "Next few dates"
13913
13893
  }), /* @__PURE__ */ jsx("div", {
13914
- className: "event-quick-dates-rail rb-overflow-x-auto rb-flex rb-gap-4",
13894
+ className: "event-quick-dates-rail rb-overflow-x-auto",
13895
+ role: "region",
13896
+ "aria-labelledby": headingId,
13897
+ tabIndex: 0,
13915
13898
  children: quickDateEvents.map((event) => /* @__PURE__ */ jsx(EventQuickDateCard, {
13916
13899
  event,
13917
13900
  pathname,
@@ -13952,7 +13935,7 @@ function EventQuickDateCard(props) {
13952
13935
  const { event } = props;
13953
13936
  const { date, bookingLink } = quickDateCardPresentation(props);
13954
13937
  return /* @__PURE__ */ jsxs("article", {
13955
- className: "event-quick-date rb-flex rb-min-w-12rem rb-shrink-0 rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-p-4",
13938
+ className: "event-quick-date rb-flex rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-p-4",
13956
13939
  children: [
13957
13940
  /* @__PURE__ */ jsx("time", {
13958
13941
  className: "event-quick-date-when",
@@ -14039,6 +14022,18 @@ function OfferingTitle({ className, path, title }) {
14039
14022
  });
14040
14023
  }
14041
14024
  //#endregion
14025
+ //#region ../blocks/src/system/transforms/registry/classPrices.ts
14026
+ const classPriceItemsTransform = {
14027
+ id: "events.classPriceItems",
14028
+ kind: "collection",
14029
+ summary: "Live class price items with editable copy",
14030
+ run(value, _options, context) {
14031
+ const data = classPricesDataSchema.safeParse(value);
14032
+ const copy = classPricesCopySchema.safeParse(context.viewModel?.content);
14033
+ return data.success ? resolveClassPriceItems(data.data, copy.success ? copy.data : {}) : [];
14034
+ }
14035
+ };
14036
+ //#endregion
14042
14037
  //#region ../blocks/src/system/transforms/registry/eventRegistrationPageKind.ts
14043
14038
  const eventRegistrationPageReadAdmission = {
14044
14039
  id: "events.registrationPageReadAdmission",
@@ -14568,6 +14563,7 @@ const serviceDetailsSourceSchema = z.object({
14568
14563
  pricing: publicAppointmentPricingSchema.optional(),
14569
14564
  priceAmount: z.number().nullable(),
14570
14565
  priceCurrency: z.string().nullable(),
14566
+ requiresApproval: z.boolean().optional(),
14571
14567
  onlinePaymentMode: z.enum(["session_or_package", "package_only"]).optional(),
14572
14568
  location: publicAppointmentLocationSchema,
14573
14569
  cancellationPolicy: z.object({ refunds: z.object({
@@ -14595,6 +14591,10 @@ function serviceDetailsFacts(service) {
14595
14591
  const location = formatAppointmentLocation(service.location);
14596
14592
  const practitioners = service.practitioners ?? [];
14597
14593
  return [
14594
+ ...service.requiresApproval ? [{
14595
+ label: "Booking",
14596
+ value: "You ask for a time, and it’s booked once it’s accepted."
14597
+ }] : [],
14598
14598
  {
14599
14599
  label: "How long",
14600
14600
  value: formatAppointmentDuration(service.durationMinutes)
@@ -14633,24 +14633,26 @@ const serviceDetailsFactsTransform = {
14633
14633
  summary: "Read the facts shown for one appointment service",
14634
14634
  run: (value) => readServiceDetailsFacts(value)
14635
14635
  };
14636
+ /** Display props for the client: the section's scope in content-field shape. */
14636
14637
  const eventCalendarSelectionParam = {
14637
14638
  id: "events.calendarSelectionParam",
14638
14639
  kind: "formatter",
14639
14640
  summary: "Resolve selected events instead of discovery filters",
14640
- schema: z.object({ key: z.enum([
14641
- "seriesIds",
14642
- "eventSurface",
14643
- "filterEventPresets",
14644
- "scheduleScope",
14645
- "filterCategoryIds",
14646
- "filterStaffMemberId",
14647
- "filterVenueId"
14648
- ]) }),
14641
+ schema: z.object({ key: z.enum(["seriesIds", ...eventDiscoveryFilterKeys]) }),
14649
14642
  run(value, { key }) {
14650
- const content = asPartialObject(value) ?? {};
14651
- const selection = resolveEventSelection(content.eventSelection, content.selectedEventSeriesIds);
14652
- if (selection.kind === "selected") return key === "seriesIds" ? selection.seriesIds : void 0;
14653
- return key === "seriesIds" ? void 0 : content[key];
14643
+ const scope = resolveEventScope(asPartialObject(value) ?? {});
14644
+ if (scope.kind === "selected") return key === "seriesIds" ? scope.seriesIds : void 0;
14645
+ return key === "seriesIds" ? void 0 : scope.filters[key];
14646
+ }
14647
+ };
14648
+ /** Public event query params for the section's scope, shared by render loaders and readiness. */
14649
+ const eventScopeParam = {
14650
+ id: "events.scopeParam",
14651
+ kind: "formatter",
14652
+ summary: "Public event query params for the section scope",
14653
+ schema: z.object({ key: z.enum(eventScopeQueryKeys) }),
14654
+ run(value, { key }) {
14655
+ return eventScopeLoaderParam(eventScopeQuery(resolveEventScope(asPartialObject(value) ?? {})), key);
14654
14656
  }
14655
14657
  };
14656
14658
  const readJobSchema = z.object({ job: z.enum([
@@ -14676,7 +14678,41 @@ const eventCalendarReadEnabled = {
14676
14678
  return plan.jobs === options.job || plan.jobs === "both" && options.job !== "schedule";
14677
14679
  }
14678
14680
  };
14681
+ /**
14682
+ * The week board's authored band paints `surfaceAlt` across the whole
14683
+ * section, under whatever foreground the section resolved. That foreground is
14684
+ * the page's only when the section paints nothing itself, so the band is
14685
+ * honoured on a plain section and dropped when a Look or override already
14686
+ * paints one (light band text on a pale board band otherwise).
14687
+ */
14688
+ const eventCalendarBanded = {
14689
+ id: "events.calendarBanded",
14690
+ kind: "formatter",
14691
+ summary: "Paint the week-board band only on a section with no background of its own",
14692
+ run(value) {
14693
+ const content = asPartialObject(value) ?? {};
14694
+ const sectionStyles = asPartialObject(content._sectionStyles);
14695
+ return content.banded === true && parseBackgroundContent(sectionStyles?.background) === null;
14696
+ }
14697
+ };
14698
+ /** The list loader keeps its one request and adds bounds only for weekly lists. */
14699
+ const eventCalendarListWindow = {
14700
+ id: "events.calendarListWindow",
14701
+ kind: "formatter",
14702
+ schema: z.object({ key: z.enum(["from", "to"]) }),
14703
+ run(_value, { key }, context) {
14704
+ const content = context.data ?? {};
14705
+ if (eventCalendarListGroupingDecision({
14706
+ ...content,
14707
+ arrangementLooks: content._lookSlots !== void 0
14708
+ }).grouping !== "week") return void 0;
14709
+ const timeZone = context.dateContext.timeZone;
14710
+ const startOfWeek = eventCalendarWeekStart(timeZone, content.startOfWeek === "sunday" || content.startOfWeek === "monday" ? content.startOfWeek : void 0);
14711
+ return buildEventListWeek(getLocalScheduleDate(new Date(readRuntimeNow(context.now)), timeZone), startOfWeek, timeZone)[key];
14712
+ }
14713
+ };
14679
14714
  const defaultTransforms = createTransformRegistry([
14715
+ classPriceItemsTransform,
14680
14716
  eventRegistrationPageReadAdmission,
14681
14717
  offeringsPreviewDatesReadEnabled,
14682
14718
  lookLeadSlotTransform,
@@ -14684,33 +14720,27 @@ const defaultTransforms = createTransformRegistry([
14684
14720
  lookCarouselRegionTransform,
14685
14721
  lookSkinSlotTransform,
14686
14722
  {
14687
- id: "events.calendarListWindow",
14723
+ id: "events.readinessEnabled",
14688
14724
  kind: "formatter",
14689
- schema: z.object({ key: z.enum(["from", "to"]) }),
14690
- run(_value, { key }, context) {
14691
- const content = context.data ?? {};
14692
- if (eventCalendarListGroupingDecision({
14693
- ...content,
14694
- arrangementLooks: content._lookSlots !== void 0
14695
- }).grouping !== "week") return void 0;
14696
- const timeZone = context.dateContext.timeZone;
14697
- const startOfWeek = eventCalendarWeekStart(timeZone, content.startOfWeek === "sunday" || content.startOfWeek === "monday" ? content.startOfWeek : void 0);
14698
- return buildEventListWeek(getLocalScheduleDate(new Date(readRuntimeNow(context.now)), timeZone), startOfWeek, timeZone)[key];
14725
+ run(value) {
14726
+ const content = asPartialObject(value) ?? {};
14727
+ return content.emptyBehavior === "hide" && eventReadinessLoaderKey(content) !== "schedule";
14699
14728
  }
14700
14729
  },
14701
- eventCalendarSelectionParam,
14702
- eventCalendarReadEnabled,
14703
- eventCalendarReadProfile,
14704
14730
  {
14705
- id: "events.calendarBanded",
14731
+ id: "events.readinessParam",
14706
14732
  kind: "formatter",
14707
- summary: "Paint the week-board band only on a section with no background of its own",
14708
- run(value) {
14709
- const content = asPartialObject(value) ?? {};
14710
- const sectionStyles = asPartialObject(content._sectionStyles);
14711
- return content.banded === true && parseBackgroundContent(sectionStyles?.background) === null;
14733
+ schema: z.object({ key: z.enum(eventReadinessQueryKeys) }),
14734
+ run(value, { key }) {
14735
+ return eventScopeLoaderParam(eventReadinessQuery(asPartialObject(value) ?? {}), key);
14712
14736
  }
14713
14737
  },
14738
+ eventCalendarListWindow,
14739
+ eventCalendarSelectionParam,
14740
+ eventScopeParam,
14741
+ eventCalendarReadEnabled,
14742
+ eventCalendarReadProfile,
14743
+ eventCalendarBanded,
14714
14744
  ...formattingTransforms,
14715
14745
  ...layoutTransforms,
14716
14746
  ...chromeLogoTransforms,
@@ -15821,8 +15851,10 @@ const VideoEmbedNode = ({ value, className, style, aspectRatio, blockId: _blockI
15821
15851
  });
15822
15852
  const title = getVideoTitle(embedInfo);
15823
15853
  const shouldDeferSrc = getVideoEmbedLoadingStrategy(embedInfo.provider) === "defer-until-near-viewport";
15854
+ const providerHook = "data-slot" in rest ? { "data-video-provider": embedInfo.provider } : {};
15824
15855
  return /* @__PURE__ */ jsx("div", {
15825
15856
  ...rest,
15857
+ ...providerHook,
15826
15858
  children: /* @__PURE__ */ jsxs("div", {
15827
15859
  className,
15828
15860
  "data-rb-video-embed-wrapper": shouldDeferSrc ? "true" : void 0,
@@ -16295,7 +16327,7 @@ function listGroupPresentation(presentation) {
16295
16327
  * Every renderer of grouped offerings frames its groups from this one answer.
16296
16328
  */
16297
16329
  function listGroupFrames(presentation) {
16298
- const panels = presentation.cardArrangement === "type-columns";
16330
+ const panels = presentation.cardArrangement === "type-columns" || presentation.cardArrangement === "next-cards";
16299
16331
  return {
16300
16332
  list: panels ? listLookSlot(presentation, "list") : {},
16301
16333
  panel: panels ? listLookSlot(presentation, "panel") : {}
@@ -16905,13 +16937,13 @@ function bookingPackageRequestKey(enabled, serviceId, resourceId) {
16905
16937
  return enabled && serviceId ? `${serviceId}:${resourceId ?? "any"}` : null;
16906
16938
  }
16907
16939
  /** Resolve form admission and existing holdings before any payment/resource consumer sees service offers. */
16908
- function applyBookingPaymentAdmission(services, requiresApproval, unrestrictedHeldServiceId) {
16940
+ function applyBookingPaymentAdmission(services, unrestrictedHeldServiceId) {
16909
16941
  return services.map((service) => {
16910
16942
  const choices = service.onlinePaymentChoices;
16911
- if (requiresApproval) return {
16943
+ if (service.requiresApproval) return {
16912
16944
  ...service,
16913
16945
  onlinePaymentChoices: {
16914
- perSession: choices?.perSession ?? true,
16946
+ perSession: true,
16915
16947
  heldPackage: false,
16916
16948
  buyPackage: false,
16917
16949
  anyAvailable: true
@@ -17205,7 +17237,6 @@ function normalizeBookingSettings(value) {
17205
17237
  serviceId: readOptionalString(value.serviceId),
17206
17238
  serviceIds: readStringArray(value.serviceIds),
17207
17239
  resourceId: readOptionalString(value.resourceId),
17208
- requiresApproval: typeof value.requiresApproval === "boolean" ? value.requiresApproval : void 0,
17209
17240
  successMessage: readOptionalString(value.successMessage)
17210
17241
  };
17211
17242
  }
@@ -17631,7 +17662,6 @@ const bookingSettingsSchema = z.object({
17631
17662
  serviceId: z.string().optional(),
17632
17663
  serviceIds: z.array(z.string()).optional(),
17633
17664
  resourceId: z.string().optional(),
17634
- requiresApproval: z.boolean().optional(),
17635
17665
  successMessage: z.string().optional()
17636
17666
  });
17637
17667
  const bookingSourceFormSchema = z.object({
@@ -17669,6 +17699,14 @@ const bookingServiceSchema = z.object({
17669
17699
  title: z.string(),
17670
17700
  description: z.string().nullable().optional().transform((value) => value ?? void 0),
17671
17701
  durationMinutes: z.number().optional(),
17702
+ requiresApproval: z.boolean().optional(),
17703
+ onlinePaymentMode: z.enum(["session_or_package", "package_only"]).optional(),
17704
+ onlinePaymentChoices: z.object({
17705
+ perSession: z.boolean(),
17706
+ heldPackage: z.boolean(),
17707
+ buyPackage: z.boolean(),
17708
+ anyAvailable: z.boolean()
17709
+ }).optional(),
17672
17710
  pricing: z.custom().optional(),
17673
17711
  priceAmount: z.number().nullable().optional(),
17674
17712
  priceCurrency: z.string().nullable().optional(),
@@ -18264,10 +18302,13 @@ function EventFacts({ selection, selected, venue, teamMembers, pricing, showCapa
18264
18302
  children: [/* @__PURE__ */ jsx("div", {
18265
18303
  className: "rb-label rb-mb-2",
18266
18304
  children: "Places"
18267
- }), /* @__PURE__ */ jsx("p", { children: formatTotalCapacity(selected.capacity) })]
18305
+ }), /* @__PURE__ */ jsx("p", { children: formatEventRemainingPlaces(selected) ?? formatTotalCapacity(selected.capacity) })]
18268
18306
  }) : null,
18269
18307
  pricing,
18270
- selection.kind === "wholeSeries" ? /* @__PURE__ */ jsx(BookingState, { phase: selection.bookingPhase }) : null
18308
+ selection.kind === "wholeSeries" ? /* @__PURE__ */ jsx(BookingState, {
18309
+ phase: selection.bookingPhase,
18310
+ event: selected
18311
+ }) : null
18271
18312
  ]
18272
18313
  });
18273
18314
  }
@@ -18336,7 +18377,7 @@ function runLifecycleLabel(lifecycle) {
18336
18377
  * the booking panel beside it says cancelled is the contradiction a visitor
18337
18378
  * actually notices.
18338
18379
  */
18339
- function BookingState({ phase }) {
18380
+ function BookingState({ phase, event }) {
18340
18381
  return /* @__PURE__ */ jsxs("div", {
18341
18382
  className: "rb-mt-6",
18342
18383
  children: [
@@ -18344,7 +18385,7 @@ function BookingState({ phase }) {
18344
18385
  className: "rb-label rb-mb-2",
18345
18386
  children: "Booking"
18346
18387
  }),
18347
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: phase.kind === "open" ? "Open" : "Closed" }) }),
18388
+ /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: phase.kind === "closed" ? "Closed" : isEventFull(event) ? formatEventRemainingPlaces(event) : "Open" }) }),
18348
18389
  phase.kind === "closed" ? /* @__PURE__ */ jsx("p", {
18349
18390
  className: "rb-caption",
18350
18391
  children: bookingClosedReason(phase.reason)
@@ -18958,39 +18999,6 @@ function buildLoadedOfferingsPreviewListing(input) {
18958
18999
  });
18959
19000
  }
18960
19001
  //#endregion
18961
- //#region ../blocks/src/system/runtime/nodes/events/shared/offeringNextDates.ts
18962
- /** A bounded display sample only: capacity and booking admission belong to the booking destination. */
18963
- function offeringDatesBySeries(events, now, booking) {
18964
- const groups = events.reduce((result, event) => new Map([...result, [event.seriesId, [...result.get(event.seriesId) ?? [], event]]]), /* @__PURE__ */ new Map());
18965
- return new Map([...groups].map(([seriesId, occurrences]) => [seriesId, orderedUniqueEventOccurrences(occurrences.filter((event) => event.bookingScope !== "whole_series" && Date.parse(event.startsAt) >= now.getTime())).slice(0, 3).map((event) => offeringDateRow(event, event, booking))]));
18966
- }
18967
- /** Whole-series sessions share the run-level booking capacity, by contract. */
18968
- function offeringRunDates(event, now) {
18969
- if (event.bookingScope !== "whole_series") return [];
18970
- const nextStart = nextLiveRunSessionStartMs(event.run.sessions, now);
18971
- return nextStart === null ? [] : orderedLiveRunSessions(event.run.sessions).filter((session) => Date.parse(session.startsAt) >= nextStart).slice(0, 3).map((session) => offeringDateRow(session, event));
18972
- }
18973
- function offeringDateRow(session, event, booking) {
18974
- const options = eventDateOptions({
18975
- ...event,
18976
- timeZone: session.timeZone
18977
- });
18978
- const date = formatEventCompactDateRail(session.startsAt, options, "as-written");
18979
- const capacity = getEventAvailability(event);
18980
- const status = getEventAvailabilityStatus(event);
18981
- const label = `${date.weekday} ${date.day} ${date.month}, ${formatTime$1(session.startsAt, options)}`;
18982
- const bookingLink = booking?.(event, label) ?? null;
18983
- return {
18984
- startsAt: session.startsAt,
18985
- label,
18986
- ...bookingLink ? { booking: bookingLink } : {},
18987
- places: capacity.available === null ? null : {
18988
- label: capacity.isFull ? "Sold out" : `${capacity.available} place${capacity.available === 1 ? "" : "s"} left`,
18989
- status: capacity.isFull ? "full" : status.status === "filling" ? "low" : "available"
18990
- }
18991
- };
18992
- }
18993
- //#endregion
18994
19002
  //#region ../blocks/src/system/runtime/nodes/offerings-preview-catalogue.tsx
18995
19003
  function OfferingsCatalogue(props) {
18996
19004
  const input = resolveOfferingsRenderInput(props);
@@ -19020,6 +19028,7 @@ function OfferingsCatalogue(props) {
19020
19028
  now,
19021
19029
  shape
19022
19030
  });
19031
+ case "by-course":
19023
19032
  case "by-type": return props.lookSlots ? /* @__PURE__ */ jsxs("div", {
19024
19033
  ...listLookSlot(props, "layout"),
19025
19034
  children: [/* @__PURE__ */ jsx("header", {
@@ -19115,6 +19124,7 @@ function renderCatalogueItems({ props, items, shape, groupTitle }) {
19115
19124
  style: { gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 18rem), 1fr))" },
19116
19125
  children: events.map((event) => /* @__PURE__ */ jsx(EventCard, {
19117
19126
  event,
19127
+ now: props.now,
19118
19128
  ...catalogueEventCardProps(event, props.buttonVariant ?? "primary")
19119
19129
  }, event.seriesId))
19120
19130
  });
@@ -19125,14 +19135,15 @@ function catalogueDates(events, now, shape, pathname) {
19125
19135
  }
19126
19136
  function catalogueCardContent(item, now, dates, typeLabel) {
19127
19137
  const event = item.kind === "event" ? item.event : item.run.representative;
19128
- return {
19129
- ...eventCardListContent(event, {
19130
- kind: "catalogue",
19131
- now,
19132
- nextStartMs: item.nextStartMs,
19133
- typeLabel
19134
- }, catalogueEventCardProps(event).buttonText),
19135
- dates: event.bookingScope === "whole_series" ? offeringRunDates(event, now) : dates.get(event.seriesId)
19138
+ const content = eventCardListContent(event, {
19139
+ kind: "catalogue",
19140
+ now,
19141
+ nextStartMs: item.nextStartMs,
19142
+ typeLabel
19143
+ }, catalogueEventCardProps(event).buttonText);
19144
+ return event.bookingScope === "whole_series" ? content : {
19145
+ ...content,
19146
+ dates: dates.get(event.seriesId)
19136
19147
  };
19137
19148
  }
19138
19149
  function renderCatalogueEmpty({ props, failed }) {
@@ -19241,17 +19252,19 @@ const OFFERINGS_PREVIEW_GRID_STYLE = {
19241
19252
  //#endregion
19242
19253
  //#region ../blocks/src/system/runtime/nodes/offerings-preview.tsx
19243
19254
  const OFFERINGS_WHOLE_SERIES_CARD_CLASS = boxStyleClassNames({ role: "default" }, { baseClass: "group rb-flex rb-h-full rb-flex-col event-card offerings-preview-whole-series-card" });
19244
- function OfferingsPreviewNode(props) {
19245
- if (props.displayMode === "catalogue") return OfferingsCatalogue(props);
19246
- return props.lookSlots ? /* @__PURE__ */ jsxs("div", {
19247
- ...listLookSlot(props, "layout"),
19248
- children: [/* @__PURE__ */ jsx("header", {
19249
- ...listLookSlot(props, "head"),
19250
- children: props.children
19251
- }), /* @__PURE__ */ jsx("div", { children: renderOfferingsPreview(props) })]
19252
- }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [props.children, renderOfferingsPreview(props)] });
19255
+ /** An authored label is kept as typed; an absent one takes the default for the presentation. */
19256
+ function withButtonText(props) {
19257
+ return {
19258
+ ...props,
19259
+ buttonText: props.buttonText ?? (props.displayMode !== "catalogue" && props.cardArrangement === "course-groups" ? "View course" : "Book")
19260
+ };
19253
19261
  }
19254
- function renderOfferingsPreview(props) {
19262
+ function OfferingsPreviewNode(authored) {
19263
+ const props = withButtonText(authored);
19264
+ if (props.displayMode === "catalogue") return OfferingsCatalogue(isPreviewOnlyArrangement(props.cardArrangement) ? {
19265
+ ...props,
19266
+ cardArrangement: "cards"
19267
+ } : props);
19255
19268
  const input = resolveOfferingsRenderInput(props);
19256
19269
  const now = input.now;
19257
19270
  const listing = input.kind === "prepared" ? input.listing : buildLoadedOfferingsPreviewListing({
@@ -19260,6 +19273,16 @@ function renderOfferingsPreview(props) {
19260
19273
  listingMode: offeringsListingFor(props.cardArrangement ?? "legacy"),
19261
19274
  now
19262
19275
  });
19276
+ if (listing.kind === "no-groups" && listing.reason === "empty-hidden") return props.showHiddenPlaceholder || props.previewStage === "preview" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [props.children, /* @__PURE__ */ jsx(EmptyState, { message: "Visitors won't see this section at the moment, because none of its cards has anything coming up." })] }) : null;
19277
+ return props.lookSlots ? /* @__PURE__ */ jsxs("div", {
19278
+ ...listLookSlot(props, "layout"),
19279
+ children: [/* @__PURE__ */ jsx("header", {
19280
+ ...listLookSlot(props, "head"),
19281
+ children: props.children
19282
+ }), /* @__PURE__ */ jsx("div", { children: renderOfferingsPreview(props, listing, now) })]
19283
+ }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [props.children, renderOfferingsPreview(props, listing, now)] });
19284
+ }
19285
+ function renderOfferingsPreview(props, listing, now) {
19263
19286
  switch (listing.kind) {
19264
19287
  case "no-groups": return props.previewStage === "preview" ? /* @__PURE__ */ jsx(EmptyState, {
19265
19288
  className: "offerings-preview-empty",
@@ -19281,6 +19304,7 @@ function renderOfferingsPreview(props) {
19281
19304
  }, dates, group.singularLabel))
19282
19305
  });
19283
19306
  }
19307
+ case "by-course":
19284
19308
  case "by-type": return props.lookSlots ? renderOfferingCardGroups({
19285
19309
  ...props,
19286
19310
  states: listing.groups,
@@ -19471,6 +19495,7 @@ function renderSingleOfferingCard(item, options) {
19471
19495
  switch (item.kind) {
19472
19496
  case "event": return /* @__PURE__ */ jsx(EventCard, {
19473
19497
  event: item.event,
19498
+ now: options.now,
19474
19499
  buttonVariant: options.buttonVariant,
19475
19500
  buttonText: options.buttonText,
19476
19501
  showMap: false,
@@ -19724,8 +19749,10 @@ function RunWithoutLiveDates({ group, path }) {
19724
19749
  function renderOfferingCardGroups(props) {
19725
19750
  const datesBySeries = offeringDatesBySeries(props.quickDateEvents ?? [], props.now);
19726
19751
  const frames = listGroupFrames(props);
19752
+ const nextCards = props.cardArrangement === "next-cards";
19727
19753
  return /* @__PURE__ */ jsx("div", {
19728
- className: "rb-flex rb-flex-col rb-gap-10",
19754
+ className: nextCards ? "rb-grid rb-gap-6" : "rb-flex rb-flex-col rb-gap-10",
19755
+ style: nextCards ? { gridTemplateColumns: "repeat(auto-fit, minmax(min(100%, 16rem), 1fr))" } : void 0,
19729
19756
  ...frames.list,
19730
19757
  children: props.states.map((state) => {
19731
19758
  const cta = resolveOfferingsPreviewGroupCta({
@@ -19739,6 +19766,7 @@ function renderOfferingCardGroups(props) {
19739
19766
  Heading: "h3",
19740
19767
  sectionProps: {
19741
19768
  ...frames.panel,
19769
+ ...nextCards ? { className: "rb-flex rb-flex-col rb-gap-4 rb-rounded-lg rb-border rb-border-border rb-p-5" } : {},
19742
19770
  "data-offering-source": state.group.sourceKey
19743
19771
  },
19744
19772
  children: [offeringGroupCards(state, props, datesBySeries), cta ? /* @__PURE__ */ jsx("a", {
@@ -19763,27 +19791,24 @@ function previewCardContent(item, props, datesBySeries, typeLabel) {
19763
19791
  ...content,
19764
19792
  dates: datesBySeries.get(event.seriesId) ?? offeringDatesBySeries([event], props.now).get(event.seriesId)
19765
19793
  };
19766
- const runContent = {
19767
- ...content,
19768
- dates: offeringRunDates(event, props.now),
19769
- id: item.run.eventSeriesId
19770
- };
19771
- return event.destination.kind === "external" ? runContent : nativeRunCardContent(item, runContent, props);
19772
- }
19773
- function nativeRunCardContent(item, content, props) {
19774
- const open = resolveWholeSeriesBookingPhase(item.run.run, props.now).kind === "open";
19775
- const path = content.titleLink?.href ?? null;
19776
19794
  return {
19777
19795
  ...content,
19778
- action: {
19779
- label: open ? path ? props.buttonText || "Book" : "Details coming soon" : "Registration closed",
19780
- ...open && path ? { href: path } : {}
19781
- }
19796
+ id: item.run.eventSeriesId
19782
19797
  };
19783
19798
  }
19784
19799
  function offeringGroupCards(state, props, dates) {
19785
19800
  switch (state.kind) {
19786
- case "items": return CardListItems({
19801
+ case "items": return props.cardArrangement === "course-groups" ? /* @__PURE__ */ jsx(OfferingCourseCards, {
19802
+ Carousel: props.Carousel,
19803
+ items: state.items,
19804
+ presentation: props,
19805
+ now: props.now,
19806
+ buttonText: props.buttonText
19807
+ }) : props.cardArrangement === "next-cards" ? renderNextOfferingCard(state.items[0], {
19808
+ now: props.now,
19809
+ buttonVariant: props.buttonVariant ?? "primary",
19810
+ buttonText: props.buttonText ?? "Book"
19811
+ }, props) : CardListItems({
19787
19812
  Carousel: props.Carousel,
19788
19813
  Title: "h4",
19789
19814
  presentation: props,
@@ -19794,6 +19819,74 @@ function offeringGroupCards(state, props, dates) {
19794
19819
  default: return assertNever$1(state);
19795
19820
  }
19796
19821
  }
19822
+ /** The existing booking projection owns prices, availability and sold-out/waitlist actions. */
19823
+ function renderNextOfferingCard(item, options, presentation = {}) {
19824
+ const { content, inProgress } = nextOfferingCardContent(item, options);
19825
+ const cardPresentation = {
19826
+ ...presentation,
19827
+ buttonVariant: options.buttonVariant
19828
+ };
19829
+ return /* @__PURE__ */ jsxs("article", {
19830
+ ...listLookSlot(cardPresentation, "item"),
19831
+ className: "offerings-preview-next-card rb-flex rb-flex-col rb-gap-3",
19832
+ children: [presentation.showPhotos !== false && content.media ? /* @__PURE__ */ jsx("div", {
19833
+ ...listLookSlot(cardPresentation, "item-media"),
19834
+ style: {
19835
+ width: "min(100%, 14rem)",
19836
+ aspectRatio: "1",
19837
+ borderRadius: "50%",
19838
+ overflow: "hidden",
19839
+ marginInline: "auto"
19840
+ },
19841
+ children: /* @__PURE__ */ jsx(MediaNodeServer, {
19842
+ ...listLookSlot(cardPresentation, "photo"),
19843
+ value: content.media,
19844
+ size: ImagePresets.card,
19845
+ style: {
19846
+ width: "100%",
19847
+ height: "100%",
19848
+ objectFit: "cover"
19849
+ }
19850
+ })
19851
+ }) : null, /* @__PURE__ */ jsxs("div", {
19852
+ ...listLookSlot(cardPresentation, "item-body"),
19853
+ className: "rb-flex rb-flex-col rb-gap-3",
19854
+ children: [inProgress ? /* @__PURE__ */ jsx("p", { children: "In progress" }) : null, [
19855
+ "title",
19856
+ "schedule",
19857
+ "facts",
19858
+ "action"
19859
+ ].map((part) => /* @__PURE__ */ jsx(React.Fragment, { children: /* @__PURE__ */ jsx(CardListContentPart, {
19860
+ part,
19861
+ item: content,
19862
+ presentation: cardPresentation,
19863
+ Title: "h4"
19864
+ }) }, part))]
19865
+ })]
19866
+ });
19867
+ }
19868
+ function nextOfferingCardContent(item, options) {
19869
+ const event = item.kind === "event" ? item.event : item.run.representative;
19870
+ const projected = eventCardListContent(event, {
19871
+ kind: "offering",
19872
+ now: options.now,
19873
+ nextStartMs: null
19874
+ }, options.buttonText);
19875
+ const inProgress = offeringRunLifecycle(event, options.now) === "in_progress";
19876
+ const course = item.kind === "run" ? item.run.run.listing?.course : void 0;
19877
+ return {
19878
+ content: course ? {
19879
+ ...projected,
19880
+ title: course.title,
19881
+ eyebrowFacts: course.facts,
19882
+ quickFacts: void 0
19883
+ } : projected,
19884
+ inProgress
19885
+ };
19886
+ }
19887
+ function isPreviewOnlyArrangement(arrangement) {
19888
+ return arrangement === "next-cards" || arrangement === "course-groups";
19889
+ }
19797
19890
  //#endregion
19798
19891
  //#region ../blocks/src/system/runtime/nodes/weekly-slot-availability.view.tsx
19799
19892
  function pluralizeWeeks(count) {
@@ -21388,10 +21481,10 @@ function renderCombinedSsr(display, prefetchedEvents) {
21388
21481
  function renderListSsr(display, hydration) {
21389
21482
  const { initialToday, timeZone } = hydration.calendarContext;
21390
21483
  const week = display.listBy === "week" ? buildEventListWeek(initialToday, display.startOfWeek, timeZone) : null;
21391
- const listing = buildEventCalendarListingDisplay(display, hydration.prefetchedEvents);
21392
- const listDisplay = week === null ? listing : {
21393
- ...listing,
21394
- week: eventListWeekDays(week, initialToday, timeZone)
21484
+ const listDisplay = {
21485
+ ...buildEventCalendarListingDisplay(display, hydration.prefetchedEvents),
21486
+ weekGrouping: eventWeekGroupingContext(initialToday, timeZone, display.startOfWeek),
21487
+ ...week === null ? {} : { week: eventListWeekDays(week, initialToday, timeZone) }
21395
21488
  };
21396
21489
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [week !== null ? /* @__PURE__ */ jsx(EventListWeekNavigation, {
21397
21490
  ...display,
@@ -23357,6 +23450,10 @@ const META_PATH_TO_STORE_KEY = {
23357
23450
  function mapMetaPathToStoreKey(path) {
23358
23451
  return META_PATH_TO_STORE_KEY[path] ?? path;
23359
23452
  }
23453
+ /** Named bindings follow lexical scope: the nearest declaration wins. */
23454
+ function findNamedScope(context, name) {
23455
+ return [...context.scopes].reverse().find((entry) => entry.name === name);
23456
+ }
23360
23457
  const PATH_SEPARATOR_REGEX = /\./g;
23361
23458
  const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
23362
23459
  /**
@@ -23440,7 +23537,7 @@ function derivePreviewLinkedEntryFieldBinding(node, parsedBinding, context) {
23440
23537
  const [scopeName, ...displaySegments] = splitPath(parsedBinding.from);
23441
23538
  if (typeof scopeName !== "string") return null;
23442
23539
  if (displaySegments.length === 0) return null;
23443
- const scoped = [...context.scopes].reverse().find((entry) => entry.name === scopeName);
23540
+ const scoped = findNamedScope(context, scopeName);
23444
23541
  if (!scoped) return null;
23445
23542
  const displayPath = segmentsToPath(displaySegments);
23446
23543
  if (!displayPath) return null;
@@ -23498,7 +23595,7 @@ function contentFieldSegments(fromPath, context) {
23498
23595
  const [first, ...rest] = splitPath(fromPath);
23499
23596
  if (typeof first !== "string" || first === "$root") return void 0;
23500
23597
  if (first === "content") return rest;
23501
- const named = [...context.scopes].reverse().find((entry) => entry.name === first);
23598
+ const named = findNamedScope(context, first);
23502
23599
  if (named) return scopedContentSegments(named, rest);
23503
23600
  const innermost = [...context.scopes].reverse().find((entry) => isPlainObject(entry.value) || Array.isArray(entry.value));
23504
23601
  if (!innermost || first in context.viewModel) return void 0;
@@ -23643,7 +23740,7 @@ function applyTransformsAndFallback(value, binding, context) {
23643
23740
  function resolveTransformData(context, bindingPath) {
23644
23741
  const [first] = splitPath(bindingPath);
23645
23742
  if (typeof first === "string" && first !== "$root") {
23646
- const namedScope = context.scopes.find((entry) => entry.name === first);
23743
+ const namedScope = findNamedScope(context, first);
23647
23744
  if (namedScope && isPlainObject(namedScope.value)) return namedScope.value;
23648
23745
  }
23649
23746
  for (let i = context.scopes.length - 1; i >= 0; i -= 1) {
@@ -23811,7 +23908,7 @@ function resolveReadBindingValue(binding, context) {
23811
23908
  source = currentScope.value;
23812
23909
  const value = readFromSource(source, segments);
23813
23910
  if (value !== void 0) return applyTransformsAndFallback(value, binding, context);
23814
- const namedScope = context.scopes.find((entry) => entry.name === first);
23911
+ const namedScope = findNamedScope(context, first);
23815
23912
  if (namedScope) {
23816
23913
  source = namedScope.value;
23817
23914
  const namedValue = readFromSource(source, rest);
@@ -23819,7 +23916,7 @@ function resolveReadBindingValue(binding, context) {
23819
23916
  }
23820
23917
  return applyTransformsAndFallback(readFromSource(context.viewModel, segments), binding, context);
23821
23918
  }
23822
- const namedScope = context.scopes.find((entry) => entry.name === first);
23919
+ const namedScope = findNamedScope(context, first);
23823
23920
  if (namedScope) {
23824
23921
  source = namedScope.value;
23825
23922
  return applyTransformsAndFallback(readFromSource(source, rest), binding, context);
@@ -23908,9 +24005,11 @@ function resolveRepeater(node, context) {
23908
24005
  ...context,
23909
24006
  scopes
23910
24007
  };
24008
+ const itemKey = node.key === void 0 ? void 0 : `${node.key}-${idx}`;
23911
24009
  const resolved = resolveNode({
23912
24010
  ...node,
23913
- $repeat: void 0
24011
+ $repeat: void 0,
24012
+ key: itemKey
23914
24013
  }, repeatedContext, idx);
23915
24014
  if (resolved === null) return null;
23916
24015
  const target = buildLinkedContentEditTarget({
@@ -23923,7 +24022,7 @@ function resolveRepeater(node, context) {
23923
24022
  const frame = context.registry.linkedEntryEditFrame;
23924
24023
  if (!frame) return resolved;
23925
24024
  return React.createElement(frame, {
23926
- key: idx,
24025
+ key: itemKey ?? idx,
23927
24026
  target,
23928
24027
  blockId: context.blockId,
23929
24028
  blockKind: context.blockKind
@@ -24563,36 +24662,40 @@ function makeDefaultBlockComponent(args) {
24563
24662
  }
24564
24663
  function createDefaultBlockComponent(manifest) {
24565
24664
  return function DefaultBlockComponent(props) {
24566
- const perf = beginBlockRenderMeasurement();
24567
- const prepared = prepareDefaultBlockRender(manifest, props);
24568
- const result = resolveTree(prepared.layout, {
24569
- registry: prepared.registry,
24570
- viewModel: prepared.viewModel,
24571
- dateContext: prepared.dateContext,
24572
- now: prepared.now,
24573
- transforms: props.transforms,
24574
- theme: prepared.themeForTransforms,
24575
- proseHoverCandidate: prepared.proseHoverCandidate,
24576
- pathBase: props.pathBase,
24577
- blockId: props.blockId,
24578
- newsletterBlockSubmission: props.newsletterBlockSubmission,
24579
- blockKind: props.blockKind,
24580
- blockContent: prepared.mergedContent,
24581
- blockBindings: props.blockBindings,
24582
- editableRouteMetadataFieldIds: props.editableRouteMetadataFieldIds,
24583
- fragmentRegistry: props.fragmentRegistry,
24584
- fieldConstraints: prepared.fieldConstraints,
24585
- imageResolveContext: props.imageResolveContext,
24586
- previewAuthoring: props.previewAuthoring
24587
- });
24588
- reportSlowBlockRender(perf, {
24589
- content: props.content,
24590
- blockId: props.blockId,
24591
- blockKind: props.blockKind ?? manifest.name,
24592
- manifestName: manifest.name
24593
- });
24594
- return result;
24595
- };
24665
+ return resolveDefaultBlockTree(manifest, props);
24666
+ };
24667
+ }
24668
+ /** Resolve declarative markup once so page-wide semantics can inspect the same tree that renders. */
24669
+ function resolveDefaultBlockTree(manifest, props) {
24670
+ const perf = beginBlockRenderMeasurement();
24671
+ const prepared = prepareDefaultBlockRender(manifest, props);
24672
+ const result = resolveTree(prepared.layout, {
24673
+ registry: prepared.registry,
24674
+ viewModel: prepared.viewModel,
24675
+ dateContext: prepared.dateContext,
24676
+ now: prepared.now,
24677
+ transforms: props.transforms,
24678
+ theme: prepared.themeForTransforms,
24679
+ proseHoverCandidate: prepared.proseHoverCandidate,
24680
+ pathBase: props.pathBase,
24681
+ blockId: props.blockId,
24682
+ newsletterBlockSubmission: props.newsletterBlockSubmission,
24683
+ blockKind: props.blockKind,
24684
+ blockContent: prepared.mergedContent,
24685
+ blockBindings: props.blockBindings,
24686
+ editableRouteMetadataFieldIds: props.editableRouteMetadataFieldIds,
24687
+ fragmentRegistry: props.fragmentRegistry,
24688
+ fieldConstraints: prepared.fieldConstraints,
24689
+ imageResolveContext: props.imageResolveContext,
24690
+ previewAuthoring: props.previewAuthoring
24691
+ });
24692
+ reportSlowBlockRender(perf, {
24693
+ content: props.content,
24694
+ blockId: props.blockId,
24695
+ blockKind: props.blockKind ?? manifest.name,
24696
+ manifestName: manifest.name
24697
+ });
24698
+ return result;
24596
24699
  }
24597
24700
  function prepareBlockRender(input) {
24598
24701
  const mergedContent = mergeContentWithBlockStyleOverrides(input.content, input.themeConfig, input.blockKind);
@@ -25861,6 +25964,12 @@ const PORTAL = {
25861
25964
  authScope: "portal",
25862
25965
  skipPreviewStage: true
25863
25966
  },
25967
+ resumeMembership: {
25968
+ path: "/portal/memberships/{customerMembershipId}/resume",
25969
+ method: "POST",
25970
+ authScope: "portal",
25971
+ skipPreviewStage: true
25972
+ },
25864
25973
  sendMagicLink: {
25865
25974
  path: "/portal/auth/send-magic-link",
25866
25975
  method: "POST",
@@ -26616,6 +26725,13 @@ function createBlockApi(config) {
26616
26725
  body: {}
26617
26726
  })).result;
26618
26727
  },
26728
+ async resumeMembership(customerMembershipId) {
26729
+ const path = buildPath(PORTAL.resumeMembership.path, { customerMembershipId });
26730
+ return (await request(PORTAL.resumeMembership, {
26731
+ path,
26732
+ body: {}
26733
+ })).result;
26734
+ },
26619
26735
  async listEventRescheduleDates(registrationId, query) {
26620
26736
  const path = buildPath(PORTAL.listEventRescheduleDates.path, { registrationId });
26621
26737
  return request(PORTAL.listEventRescheduleDates, {
@@ -28803,7 +28919,7 @@ function resolveBookingStepVisibility(input, defaultServiceId, payment) {
28803
28919
  };
28804
28920
  }
28805
28921
  function needsBookingPaymentStep(input, payment) {
28806
- if (input.form?.settings?.requiresApproval) return false;
28922
+ if (payment.service?.requiresApproval) return false;
28807
28923
  return [
28808
28924
  bookingHasPackagePaymentChoices(payment.service),
28809
28925
  getBookingServiceSlidingScale(payment.service),
@@ -29682,6 +29798,8 @@ function useBookingFlowController(input) {
29682
29798
  ...latest,
29683
29799
  direction
29684
29800
  });
29801
+ latest.dispatch({ type: "feedback-cleared" });
29802
+ latest.clearFeedback();
29685
29803
  plan.events.forEach(latest.dispatch);
29686
29804
  return plan.result;
29687
29805
  }, [latestRef]);
@@ -30040,16 +30158,15 @@ function useHeadlessBookingFlow(options) {
30040
30158
  options.services
30041
30159
  ]);
30042
30160
  const [state, dispatch] = useReducer((previous, event) => bookingFlowReducer(previous, event, {
30043
- services: applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, previous.paymentChoices), Boolean(options.form?.settings?.requiresApproval), previous.unrestrictedHeldPackageServiceId),
30161
+ services: applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, previous.paymentChoices), previous.unrestrictedHeldPackageServiceId),
30044
30162
  defaultServiceId,
30045
30163
  nowIso: bookingNowIso
30046
30164
  }), initialState);
30047
30165
  const api = useBlockApi();
30048
30166
  const selectedServiceId = state.selectedServiceId ?? defaultServiceId;
30049
30167
  const selectedResourceId = state.selectedResourceId ?? defaultResourceId;
30050
- const services = useMemo(() => applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, state.paymentChoices), Boolean(options.form?.settings?.requiresApproval), state.unrestrictedHeldPackageServiceId), [
30168
+ const services = useMemo(() => applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, state.paymentChoices), state.unrestrictedHeldPackageServiceId), [
30051
30169
  options.services,
30052
- options.form?.settings?.requiresApproval,
30053
30170
  state.paymentChoices,
30054
30171
  state.unrestrictedHeldPackageServiceId
30055
30172
  ]);
@@ -31110,9 +31227,18 @@ function BookingOfferReview({ review, booking }) {
31110
31227
  });
31111
31228
  }
31112
31229
  function bookingPrimaryActionLabel(booking, isLastStep, summary) {
31230
+ if (isLastStep && booking.services.selected?.requiresApproval) return "Send request";
31113
31231
  return isLastStep && booking.review ? reviewedActionLabel(booking.review) : resolvePrimaryActionLabel(isLastStep, Boolean(summary));
31114
31232
  }
31115
31233
  function BookingSubmissionSummary({ booking, isLastStep, summary }) {
31234
+ if (isLastStep && booking.services.selected?.requiresApproval) return /* @__PURE__ */ jsxs("p", {
31235
+ className: "ab-text",
31236
+ children: [
31237
+ "This is a request for ",
31238
+ booking.services.selected.title,
31239
+ ". You’ll get an email once it’s accepted."
31240
+ ]
31241
+ });
31116
31242
  return isLastStep && booking.review ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(BookingReviewIdentity, { booking }), /* @__PURE__ */ jsx(BookingOfferReview, {
31117
31243
  review: booking.review,
31118
31244
  booking
@@ -32414,12 +32540,12 @@ function HeadlessBookingDefaultForm({ booking, onSubmit, pageKind }) {
32414
32540
  errors: currentStep.errors,
32415
32541
  id: errorSummaryId
32416
32542
  }),
32543
+ /* @__PURE__ */ jsx(DefaultBookingDiscount, { booking }),
32544
+ /* @__PURE__ */ jsx(DefaultBookingFeedback, { booking }),
32417
32545
  /* @__PURE__ */ jsx(BookingFormSubmitActions, {
32418
32546
  booking,
32419
32547
  onSubmit
32420
- }),
32421
- /* @__PURE__ */ jsx(DefaultBookingDiscount, { booking }),
32422
- /* @__PURE__ */ jsx(DefaultBookingFeedback, { booking })
32548
+ })
32423
32549
  ]
32424
32550
  });
32425
32551
  }
@@ -32846,20 +32972,14 @@ function DefaultBookingDiscount({ booking }) {
32846
32972
  }
32847
32973
  function DefaultBookingFeedback({ booking }) {
32848
32974
  if (booking.feedback.kind !== "error") return null;
32849
- return /* @__PURE__ */ jsxs(FeedbackMessage, {
32975
+ return /* @__PURE__ */ jsx(FeedbackMessage, {
32850
32976
  tone: "error",
32851
32977
  className: "alert alert-error rb-mt-4",
32852
32978
  role: "alert",
32853
- children: [/* @__PURE__ */ jsx("p", {
32979
+ children: /* @__PURE__ */ jsx("p", {
32854
32980
  className: "ab-text",
32855
32981
  children: booking.feedback.message
32856
- }), /* @__PURE__ */ jsx(ThemedButton, {
32857
- type: "button",
32858
- variant: "secondary",
32859
- size: "sm",
32860
- label: "Dismiss",
32861
- onClick: booking.actions.clearFeedback
32862
- })]
32982
+ })
32863
32983
  });
32864
32984
  }
32865
32985
  /** Each field shows its own message, so the summary only says where to look. */
@@ -36986,7 +37106,7 @@ function EventRegistrationWizardActions(props) {
36986
37106
  }
36987
37107
  //#endregion
36988
37108
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
36989
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-CKe4cjZ4.mjs"));
37109
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-aRJjq4x8.mjs"));
36990
37110
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
36991
37111
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
36992
37112
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
@@ -43048,6 +43168,85 @@ function enhanceHeaderScrollBehavior(target, runtime) {
43048
43168
  }];
43049
43169
  }
43050
43170
  //#endregion
43171
+ //#region ../blocks/src/system/runtime/header/headerNavFit.ts
43172
+ const HEADER_NAV_FIT_ATTRIBUTE = "data-nav-fit";
43173
+ const DESKTOP_BAR_SELECTOR = ".header-desktop-bar";
43174
+ const DENSITIES_TO_TRY = ["roomy", "tight"];
43175
+ /** Sub-pixel rounding can report one pixel of overflow on a row that fits. */
43176
+ const OVERFLOW_TOLERANCE_PX = 1;
43177
+ function showsMenu(fit) {
43178
+ return fit === null || fit === "menu";
43179
+ }
43180
+ function planHeaderNavFitTransition(from, to) {
43181
+ if (showsMenu(from) === showsMenu(to)) return { kind: "none" };
43182
+ return { kind: showsMenu(to) ? "row-hidden" : "menu-hidden" };
43183
+ }
43184
+ /** Pick the first density that fits, or the menu when none does. */
43185
+ function chooseHeaderNavFit(fitsAt) {
43186
+ return DENSITIES_TO_TRY.find(fitsAt) ?? "menu";
43187
+ }
43188
+ /**
43189
+ * Whether the row's items end inside its content box. The bar's side padding is
43190
+ * the page gutter, so items running into it count as not fitting even though
43191
+ * `scrollWidth` wouldn't report them.
43192
+ */
43193
+ function measureDesktopBar(bar) {
43194
+ if (bar.clientWidth === 0) return { kind: "hidden" };
43195
+ const barRect = bar.getBoundingClientRect();
43196
+ const style = window.getComputedStyle(bar);
43197
+ const contentLeft = barRect.left + parseFloat(style.borderLeftWidth) + parseFloat(style.paddingLeft);
43198
+ const contentRight = barRect.right - parseFloat(style.borderRightWidth) - parseFloat(style.paddingRight);
43199
+ return {
43200
+ kind: "measured",
43201
+ fits: Array.from(bar.children).map((child) => child.getBoundingClientRect()).filter((rect) => rect.width > 0).every((rect) => rect.left >= contentLeft - OVERFLOW_TOLERANCE_PX && rect.right <= contentRight + OVERFLOW_TOLERANCE_PX)
43202
+ };
43203
+ }
43204
+ function measureFit(root, bar) {
43205
+ root.setAttribute(HEADER_NAV_FIT_ATTRIBUTE, "roomy");
43206
+ if (measureDesktopBar(bar).kind === "hidden") return null;
43207
+ return chooseHeaderNavFit((density) => {
43208
+ root.setAttribute(HEADER_NAV_FIT_ATTRIBUTE, density);
43209
+ const measurement = measureDesktopBar(bar);
43210
+ return measurement.kind === "measured" && measurement.fits;
43211
+ });
43212
+ }
43213
+ /**
43214
+ * Keep the header root's `data-nav-fit` matched to what fits now. Each density
43215
+ * is applied and measured in the same task, so only the final one is painted.
43216
+ * `onTransition` hears when the settled fit hides the menu or the row, after
43217
+ * the attribute is set, so the owners of menu state and focus can follow.
43218
+ */
43219
+ function enhanceHeaderNavFit(root, onTransition = () => {}) {
43220
+ const bar = root.querySelector(DESKTOP_BAR_SELECTOR);
43221
+ if (!bar || typeof ResizeObserver === "undefined") return [];
43222
+ const settled = { fit: null };
43223
+ const fit = () => {
43224
+ const chosen = measureFit(root, bar);
43225
+ if (chosen === null) root.removeAttribute(HEADER_NAV_FIT_ATTRIBUTE);
43226
+ else root.setAttribute(HEADER_NAV_FIT_ATTRIBUTE, chosen);
43227
+ const transition = planHeaderNavFitTransition(settled.fit, chosen);
43228
+ settled.fit = chosen;
43229
+ if (transition.kind !== "none") onTransition(transition);
43230
+ };
43231
+ const pending = { frame: null };
43232
+ const scheduleFit = () => {
43233
+ if (pending.frame !== null) return;
43234
+ pending.frame = window.requestAnimationFrame(() => {
43235
+ pending.frame = null;
43236
+ fit();
43237
+ });
43238
+ };
43239
+ fit();
43240
+ const observer = new ResizeObserver(scheduleFit);
43241
+ observer.observe(root);
43242
+ Array.from(bar.children).forEach((child) => observer.observe(child));
43243
+ return [() => {
43244
+ observer.disconnect();
43245
+ if (pending.frame !== null) window.cancelAnimationFrame(pending.frame);
43246
+ root.removeAttribute(HEADER_NAV_FIT_ATTRIBUTE);
43247
+ }];
43248
+ }
43249
+ //#endregion
43051
43250
  //#region ../blocks/src/system/runtime/header/enhanceHeaderSection.ts
43052
43251
  const SELECTORS = {
43053
43252
  dropdown: ".nav-dropdown",
@@ -43060,6 +43259,7 @@ const SELECTORS = {
43060
43259
  mobileTrigger: "[data-nav-mobile-trigger]",
43061
43260
  mobileDropdown: "[data-nav-mobile-dropdown]",
43062
43261
  mobileChildren: "[data-nav-mobile-children]",
43262
+ desktopBar: ".header-desktop-bar",
43063
43263
  cartPlaceholder: "[data-nav-cart-placeholder]"
43064
43264
  };
43065
43265
  const CLASSES = {
@@ -43067,6 +43267,21 @@ const CLASSES = {
43067
43267
  mobileOpen: "nav-mobile-open"
43068
43268
  };
43069
43269
  const FOCUSABLE_SELECTOR = "a[href], button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
43270
+ /** Whether a control is on screen now, so focus can land on it. */
43271
+ function isShown(element) {
43272
+ return typeof element.checkVisibility === "function" ? element.checkVisibility({ visibilityProperty: true }) : element.getClientRects().length > 0;
43273
+ }
43274
+ function focusWithoutScroll(element) {
43275
+ try {
43276
+ element.focus({ preventScroll: true });
43277
+ } catch {
43278
+ element.focus();
43279
+ }
43280
+ }
43281
+ /** The first control in the header, outside `skip`, that is on screen now. */
43282
+ function firstShownControl(root, skip) {
43283
+ return Array.from(root.querySelectorAll(FOCUSABLE_SELECTOR)).find((element) => !skip?.contains(element) && isShown(element)) ?? null;
43284
+ }
43070
43285
  function planDropdownViewportShift(input) {
43071
43286
  const { left, right, viewportWidth, gutter } = input;
43072
43287
  if (!Number.isFinite(left) || !Number.isFinite(right) || !Number.isFinite(viewportWidth) || !Number.isFinite(gutter)) return { kind: "unchanged" };
@@ -43219,7 +43434,10 @@ function enhanceMobileOverlay(root, resetMobileDropdowns) {
43219
43434
  const toggles = Array.from(root.querySelectorAll(SELECTORS.mobileToggle));
43220
43435
  const backdrop = root.querySelector(SELECTORS.mobileBackdrop);
43221
43436
  const closeBtn = root.querySelector(SELECTORS.mobileClose);
43222
- if (!overlay || toggles.length === 0) return { cleanups };
43437
+ if (!overlay || toggles.length === 0) return {
43438
+ cleanups,
43439
+ close: () => {}
43440
+ };
43223
43441
  overlay.classList.remove(CLASSES.hidden);
43224
43442
  overlay.setAttribute("aria-hidden", "true");
43225
43443
  overlay.setAttribute("inert", "");
@@ -43246,11 +43464,7 @@ function enhanceMobileOverlay(root, resetMobileDropdowns) {
43246
43464
  document.body.style.overflow = "hidden";
43247
43465
  state.lastActiveElement = document.activeElement;
43248
43466
  const focusTarget = overlay.querySelector(SELECTORS.mobileToggle) ?? overlay.querySelector(FOCUSABLE_SELECTOR);
43249
- if (focusTarget) try {
43250
- focusTarget.focus({ preventScroll: true });
43251
- } catch {
43252
- focusTarget.focus();
43253
- }
43467
+ if (focusTarget) focusWithoutScroll(focusTarget);
43254
43468
  } else {
43255
43469
  overlay.setAttribute("inert", "");
43256
43470
  if (state.previousBodyOverflow !== null) {
@@ -43260,11 +43474,8 @@ function enhanceMobileOverlay(root, resetMobileDropdowns) {
43260
43474
  document.body.style.paddingRight = state.previousBodyPaddingRight;
43261
43475
  state.previousBodyPaddingRight = null;
43262
43476
  }
43263
- if (state.lastActiveElement) try {
43264
- state.lastActiveElement.focus({ preventScroll: true });
43265
- } catch {
43266
- state.lastActiveElement.focus();
43267
- }
43477
+ const returnTo = state.lastActiveElement && isShown(state.lastActiveElement) ? state.lastActiveElement : firstShownControl(root, overlay);
43478
+ if (returnTo) focusWithoutScroll(returnTo);
43268
43479
  }
43269
43480
  }
43270
43481
  };
@@ -43272,6 +43483,9 @@ function enhanceMobileOverlay(root, resetMobileDropdowns) {
43272
43483
  setOpen(false);
43273
43484
  resetMobileDropdowns();
43274
43485
  };
43486
+ const close = () => {
43487
+ if (state.isOpen) handleClose();
43488
+ };
43275
43489
  const handleToggleClick = () => {
43276
43490
  if (state.isOpen) {
43277
43491
  handleClose();
@@ -43303,7 +43517,34 @@ function enhanceMobileOverlay(root, resetMobileDropdowns) {
43303
43517
  if (state.previousBodyOverflow !== null) document.body.style.overflow = state.previousBodyOverflow;
43304
43518
  if (state.previousBodyPaddingRight !== null) document.body.style.paddingRight = state.previousBodyPaddingRight;
43305
43519
  });
43306
- return { cleanups };
43520
+ return {
43521
+ cleanups,
43522
+ close
43523
+ };
43524
+ }
43525
+ /**
43526
+ * Follow the desktop row's fit. When the menu button stops showing, an open
43527
+ * menu closes through its owner; when the row stops showing, focus on one of
43528
+ * its links moves to the menu button that replaced it.
43529
+ */
43530
+ function followHeaderNavFit(root, overlay) {
43531
+ return (transition) => {
43532
+ switch (transition.kind) {
43533
+ case "none": return;
43534
+ case "menu-hidden":
43535
+ overlay.close();
43536
+ return;
43537
+ case "row-hidden": {
43538
+ const active = document.activeElement;
43539
+ const bar = root.querySelector(SELECTORS.desktopBar);
43540
+ if (!(active instanceof HTMLElement) || !bar?.contains(active)) return;
43541
+ const toggle = Array.from(root.querySelectorAll(SELECTORS.mobileToggle)).find(isShown);
43542
+ if (toggle) focusWithoutScroll(toggle);
43543
+ else active.blur();
43544
+ return;
43545
+ }
43546
+ }
43547
+ };
43307
43548
  }
43308
43549
  function getFirstParsedCartMount(mounts) {
43309
43550
  return mounts[0] ?? null;
@@ -43345,6 +43586,7 @@ function enhanceCartMounts(root) {
43345
43586
  * - Desktop dropdown ARIA state
43346
43587
  * - Mobile overlay open/close + focus management
43347
43588
  * - Mobile dropdown toggles
43589
+ * - Desktop row fitting (`data-nav-fit`: tighter spacing, then the menu button)
43348
43590
  * - Optional scroll-aware styling (`header-scrolled`)
43349
43591
  */
43350
43592
  function mountHeaderChromeRuntime(root, options = {}) {
@@ -43358,6 +43600,7 @@ function mountHeaderChromeRuntime(root, options = {}) {
43358
43600
  cleanups.push(...overlay.cleanups);
43359
43601
  const cartMounts = enhanceCartMounts(root);
43360
43602
  cleanups.push(...cartMounts.cleanups);
43603
+ cleanups.push(...enhanceHeaderNavFit(root, followHeaderNavFit(root, overlay)));
43361
43604
  const target = options.scrollTarget ?? getFirstNonScriptChild(root);
43362
43605
  if (target) cleanups.push(...enhanceHeaderScrollBehavior(target, (options.runtime ?? staticHeaderChromeRuntime).scroll));
43363
43606
  if (cleanups.length === 0) {
@@ -47778,6 +48021,21 @@ function renderSiteChromeBlock(model, surface, theme, options = {}) {
47778
48021
  viewModelOverrides: spec.viewModelOverrides
47779
48022
  });
47780
48023
  }
48024
+ /**
48025
+ * Whether the rendered header's logo might be hard to see, judged from the
48026
+ * same content and theme `renderSiteChromeBlock` draws with. `palette` is the
48027
+ * expanded palette of that theme's runtime (`buildThemeRuntime(theme).tokens.palette`).
48028
+ */
48029
+ function siteChromeHeaderLogoMayBeHardToSee(model, theme, palette, options = {}) {
48030
+ const spec = model.header;
48031
+ if (!spec) return false;
48032
+ const themeConfig = options.themeConfigOverrideMode === "ignore" ? theme : applyThemeConfigOverride(theme, spec.themeConfigOverride);
48033
+ return headerLogoMayBeHardToSee({
48034
+ content: spec.viewModelOverrides.content ?? spec.content,
48035
+ theme: themeConfig,
48036
+ palette
48037
+ });
48038
+ }
47781
48039
  function applyThemeConfigOverride(theme, override) {
47782
48040
  if (!override) return theme;
47783
48041
  return {
@@ -50060,7 +50318,7 @@ function usePreviewTheme(siteId, enabled) {
50060
50318
  }
50061
50319
  //#endregion
50062
50320
  //#region ../editor-blocks/src/widgets/location/PickerMapArea.tsx
50063
- const LazyEditMap = lazy(() => import("./MapLibreEditMap-CaUOTCSh.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
50321
+ const LazyEditMap = lazy(() => import("./MapLibreEditMap-BKMNxSEJ.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
50064
50322
  function EditMap(props) {
50065
50323
  return /* @__PURE__ */ jsx(Suspense, {
50066
50324
  fallback: null,
@@ -52897,6 +53155,42 @@ function cycleAvailabilityFromFlags(input) {
52897
53155
  return { kind: "available" };
52898
53156
  }
52899
53157
  //#endregion
53158
+ //#region ../preview-next/src/client/preview/HeaderLogoContrastNotice.tsx
53159
+ /** Settings > General holds the "Logo for dark backgrounds" picker for every kind of site. */
53160
+ function dashboardLogoSettingsHref(dashboardBaseUrl, siteId) {
53161
+ if (!dashboardBaseUrl) return null;
53162
+ return `${dashboardBaseUrl.replace(/\/$/u, "")}/dashboard/sites/${siteId}/settings/general`;
53163
+ }
53164
+ /**
53165
+ * Judged from the header exactly as the canvas draws it: the compiled preview
53166
+ * theme and the chrome render model's logo content.
53167
+ */
53168
+ function useHeaderLogoMayBeHardToSee() {
53169
+ const compiled = usePreviewCompiledThemeOptional();
53170
+ const model = useOptionalPreviewLayout()?.siteChromeRenderModel ?? null;
53171
+ if (!compiled || !model) return false;
53172
+ return siteChromeHeaderLogoMayBeHardToSee(model, compiled.theme, compiled.runtime.tokens.palette, { themeConfigOverrideMode: "ignore" });
53173
+ }
53174
+ function HeaderLogoContrastNotice({ logoSettingsHref }) {
53175
+ if (!useHeaderLogoMayBeHardToSee()) return null;
53176
+ return /* @__PURE__ */ jsxs(Callout, {
53177
+ tone: "warning",
53178
+ role: "note",
53179
+ className: "space-y-1.5 px-3 py-2 text-xs",
53180
+ "data-header-logo-contrast-notice": "",
53181
+ children: [/* @__PURE__ */ jsx("p", { children: "Your logo might be hard to see on this header. If you have a version made for dark backgrounds, we'll use it here instead." }), logoSettingsHref ? /* @__PURE__ */ jsxs("a", {
53182
+ href: logoSettingsHref,
53183
+ target: "_blank",
53184
+ rel: "noopener noreferrer",
53185
+ className: "inline-flex items-center gap-1 font-medium underline underline-offset-2",
53186
+ children: ["Add a logo for dark backgrounds", /* @__PURE__ */ jsx(ExternalLink, {
53187
+ className: "h-3 w-3",
53188
+ "aria-hidden": "true"
53189
+ })]
53190
+ }) : /* @__PURE__ */ jsx("p", { children: "You can add one under Settings, then General." })]
53191
+ });
53192
+ }
53193
+ //#endregion
52900
53194
  //#region ../preview-next/src/client/preview/SiteChromeCustomizeButton.tsx
52901
53195
  function SiteChromeCustomizeButton({ surface, containerClassName = "pointer-events-auto absolute right-2 top-2 z-50 flex gap-1 opacity-0 transition group-focus-within/site-chrome:opacity-100 group-hover/site-chrome:opacity-100" }) {
52902
53196
  const customize = useSiteChromeCustomizeOptional();
@@ -52957,7 +53251,7 @@ function SiteChromeCustomizeButton({ surface, containerClassName = "pointer-even
52957
53251
  });
52958
53252
  }
52959
53253
  /** The existing chrome controls render identically in the sidebar or a standalone SDK popover. */
52960
- function SiteChromeSurfaceControls({ surface }) {
53254
+ function SiteChromeSurfaceControls({ surface, logoSettingsHref = null }) {
52961
53255
  const owner = useSiteChromeCustomizeOptional();
52962
53256
  const state = owner?.getSurfaceState(surface);
52963
53257
  if (!owner || state?.kind !== "available") return null;
@@ -52966,7 +53260,10 @@ function SiteChromeSurfaceControls({ surface }) {
52966
53260
  children: [
52967
53261
  /* @__PURE__ */ jsx(ChromeCycleControls, { state }),
52968
53262
  state.background.available ? /* @__PURE__ */ jsx(ChromeBackgroundControls, { state }) : null,
52969
- state.surface === "header" ? /* @__PURE__ */ jsx(HeaderSurfaceControls, { state }) : null,
53263
+ state.surface === "header" ? /* @__PURE__ */ jsx(HeaderSurfaceControls, {
53264
+ state,
53265
+ logoSettingsHref
53266
+ }) : null,
52970
53267
  state.diagnostics.length ? /* @__PURE__ */ jsx("ul", {
52971
53268
  className: "space-y-1 text-xs text-amber-700",
52972
53269
  children: state.diagnostics.map((diagnostic) => /* @__PURE__ */ jsx("li", { children: diagnostic }, diagnostic))
@@ -52978,12 +53275,13 @@ function SiteChromeSurfaceControls({ surface }) {
52978
53275
  ]
52979
53276
  });
52980
53277
  }
52981
- function HeaderSurfaceControls({ state }) {
53278
+ function HeaderSurfaceControls({ state, logoSettingsHref }) {
52982
53279
  const owner = useSiteChromeCustomizeOptional();
52983
53280
  const inSidebar = useOptionalEditorUiStoreInstance() !== null;
52984
53281
  if (!owner) return null;
52985
53282
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
52986
53283
  /* @__PURE__ */ jsx(HeaderBrandControls, { state }),
53284
+ /* @__PURE__ */ jsx(HeaderLogoContrastNotice, { logoSettingsHref }),
52987
53285
  inSidebar ? /* @__PURE__ */ jsx(HeaderMenuControls, {
52988
53286
  state,
52989
53287
  onMenuFontChange: owner.setHeaderMenuFont,
@@ -53233,4 +53531,4 @@ function tokenSwatchCss(token) {
53233
53531
  return `rgb(var(--tb-${token}))`;
53234
53532
  }
53235
53533
  //#endregion
53236
- export { useMediaEditor as $, SelectItem as $t, applyPreviewRuntimeContentProjections as A, upsertFooterEngagementSection as An, logger as At, buildFooterRuntimeViewModel as B, readThemeScopeContext as Bt, isHeaderMenuSurfaceState as C, deriveFooterEditorOverview as Cn, arrangementHooksFromContent as Ct, usePreviewCompiledThemeOptional as D, removeFooterEngagementSection as Dn, buildLoadedOfferingsPreviewListing as Dt, usePreviewCompiledTheme as E, parseFooterModuleId as En, 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, ChoiceTileGroup as Jt, getFooterEngagementAuthoringOptions as K, getResponsiveScopeSpec as Kt, SessionJournalHost as L, resolvePageRouteTarget as Lt, runtimeContentDecorationProjectionFromServerPage as M, footerArrangementPolicy as Mn, LINKED_CONTENT_ENTRY_META_KEY as Mt, mergeResolvedDataContext as N, planFooterArrangement as Nn, coerceLinkedContentEntriesPayload as Nt, pageDesignRuntimeProjectionFromSource as O, resolveFooterSections as On, buildAppointmentServicesView as Ot, withRenderedContentEntry as P, getLinkedContentEntryMeta as Pt, MediaEditorContextProvider as Q, SelectContent as Qt, useSiteEditorAdmission as R, resolveRouteTarget as Rt, HeaderMenuControls as S, classifyKnownMimeType as Sn, makeDefaultBlockComponent as St, PreviewThemeRenderingProvider as T, parseFooterEngagementSection as Tn, readBlockComposition as Tt, SiteOptionWidgetProvider as U, escapeStyleContent as Ut, resolveFooterLayoutHints as V, themeRuntimeScopeProps as Vt, useSiteOptionWidgetContext as W, mergeContentWithBlockStyleOverrides as Wt, updatePublicProfile as X, Textarea as Xt, updateFooterCredit as Y, Toaster as Yt, footerCreditLine as Z, Select as Zt, resolvePreviewEditorGuidanceModel as _, Trigger as _n, FieldLabelText as _t, PreviewChromeLayerProvider as a, FieldTrigger as an, ImageResolveContextProvider as at, SiteFontStorageProvider as b, Trigger$1 as bn, revealEditorElement as bt, PREVIEW_SITE_BANNER_ATTRIBUTE as c, FIELD_SURFACE_CLASS as cn, BlockApiProvider as ct, CustomizeBackgroundColorPicker as d, TabsContent as dn, SelectField as dt, SelectTrigger as en, useMediaEditorOptional as et, canInspectSiteStyle as f, TabsList as fn, hasEmptyOption as ft, sanitizeDashboardPath as g, Root2$1 as gn, FieldFrame as gt, resolvePreviewDashboardSetupHandoff as h, List as hn, unmapValueFromSelect as ht, PreviewChromeFloatingControl as i, SearchInput as in, NewsletterFormClient as it, entryFieldRebindingProjection as j, validateFooterComposition as jn, Text as jt, resolveRuntimePreviewSourceForTheme as k, setFooterSectionSelected as kn, renderInlineText as kt, planBlockToolbarPlacement as l, useFieldDescribedBy as ln, BlockContextProvider as lt, buildPreviewDashboardSetupUrl as m, Content as mn, mapOptionValueForSelect as mt, SiteChromeSurfaceControls as n, usePrevious as nn, TransferError as nt, readThemeCustomProperties as o, Input as on, useImageResolveContextOptional as ot, resolveSiteStyleAccess as p, TabsTrigger as pn, mapCurrentValueForSelect as pt, getPublicProfile as q, CHOSEN_OPTION_CLASS as qt, PreviewChromeFloatingBar as r, clamp as rn, clientComponentRegistry as rt, measureSiteTopChromeClearance as s, FIELD_FOCUS_WITHIN_CLASS as sn, FormNodeClient as st, SiteChromeCustomizeButton as t, SelectValue as tn, useApiMediaUploader as tt, CustomizeBackgroundControlRows as u, Tabs as un, useBlockContext as ut, resolvePreviewSetupBannerModel as v, Content$1 as vn, useField as vt, PreviewCompiledThemeProvider as w, normalizeLegacyFooterContentToV1 as wn, blockLookFromContent as wt, useSiteFontStorageUrl as x, defaultThemeTokens as xn, ThemeScopeCore as xt, resolvePreviewSidebarChromeModel as y, Root as yn, useLinkedInlineTextField as yt, renderSiteChromeBlock as z, buildThemeDataAttrs as zt };
53534
+ export { MediaEditorContextProvider as $, Textarea as $t, resolveRuntimePreviewSourceForTheme as A, removeFooterEngagementSection as An, resolveEventDetailsPresentation as At, renderSiteChromeBlock as B, resolvePageRouteTarget as Bt, HeaderMenuControls as C, Trigger$1 as Cn, makeDefaultBlockComponent as Ct, usePreviewCompiledTheme as D, normalizeLegacyFooterContentToV1 as Dn, readBlockComposition as Dt, PreviewThemeRenderingProvider as E, deriveFooterEditorOverview as En, blockLookFromContent as Et, withRenderedContentEntry as F, footerArrangementPolicy as Fn, LINKED_CONTENT_ENTRY_META_KEY as Ft, useSiteOptionWidgetContext as G, buildThemeRuntime as Gt, resolveFooterLayoutHints as H, buildThemeDataAttrs as Ht, siteColourCss as I, planFooterArrangement as In, coerceLinkedContentEntriesPayload as It, getPublicProfile as J, DEFAULT_THEME_RESPONSIVE_MODE as Jt, getFooterComposition as K, escapeStyleContent as Kt, locationWidgetOverrides as L, getLinkedContentEntryMeta as Lt, entryFieldRebindingProjection as M, setFooterSectionSelected as Mn, renderInlineText as Mt, runtimeContentDecorationProjectionFromServerPage as N, upsertFooterEngagementSection as Nn, logger as Nt, usePreviewCompiledThemeOptional as O, parseFooterEngagementSection as On, getDefaultComponentRegistry as Ot, mergeResolvedDataContext as P, validateFooterComposition as Pn, Text as Pt, footerCreditLine as Q, Toaster as Qt, SessionJournalHost as R, defaultTransforms as Rt, useSiteFontStorageUrl as S, Root as Sn, ThemeScopeCore as St, PreviewCompiledThemeProvider as T, classifyKnownMimeType as Tn, arrangementHooksFromContent as Tt, createEditorApiClientFactory as U, readThemeScopeContext as Ut, buildFooterRuntimeViewModel as V, resolveRouteTarget as Vt, SiteOptionWidgetProvider as W, themeRuntimeScopeProps as Wt, updateFooterCredit as X, CHOSEN_OPTION_CLASS as Xt, updateFooterComposition as Y, getResponsiveScopeSpec as Yt, updatePublicProfile as Z, ChoiceTileGroup as Zt, sanitizeDashboardPath as _, Content as _n, FieldFrame as _t, PreviewChromeFloatingControl as a, usePrevious as an, NewsletterFormClient as at, resolvePreviewSidebarChromeModel as b, Trigger as bn, useLinkedInlineTextField as bt, measureSiteTopChromeClearance as c, FieldTrigger as cn, FormNodeClient as ct, CustomizeBackgroundControlRows as d, FIELD_SURFACE_CLASS as dn, useBlockContext as dt, Select as en, useMediaEditor as et, CustomizeBackgroundColorPicker as f, useFieldDescribedBy as fn, SelectField as ft, resolvePreviewDashboardSetupHandoff as g, TabsTrigger as gn, unmapValueFromSelect as gt, buildPreviewDashboardSetupUrl as h, TabsList as hn, mapOptionValueForSelect as ht, PreviewChromeFloatingBar as i, SelectValue as in, clientComponentRegistry as it, applyPreviewRuntimeContentProjections as j, resolveFooterSections as jn, buildAppointmentServicesView as jt, pageDesignRuntimeProjectionFromSource as k, parseFooterModuleId as kn, buildLoadedOfferingsPreviewListing as kt, PREVIEW_SITE_BANNER_ATTRIBUTE as l, Input as ln, BlockApiProvider as lt, resolveSiteStyleAccess as m, TabsContent as mn, mapCurrentValueForSelect as mt, SiteChromeSurfaceControls as n, SelectItem as nn, useApiMediaUploader as nt, PreviewChromeLayerProvider as o, clamp as on, ImageResolveContextProvider as ot, canInspectSiteStyle as p, Tabs as pn, hasEmptyOption as pt, getFooterEngagementAuthoringOptions as q, mergeContentWithBlockStyleOverrides as qt, dashboardLogoSettingsHref as r, SelectTrigger as rn, TransferError as rt, readThemeCustomProperties as s, SearchInput as sn, useImageResolveContextOptional as st, SiteChromeCustomizeButton as t, SelectContent as tn, useMediaEditorOptional as tt, planBlockToolbarPlacement as u, FIELD_FOCUS_WITHIN_CLASS as un, BlockContextProvider as ut, resolvePreviewEditorGuidanceModel as v, List as vn, FieldLabelText as vt, isHeaderMenuSurfaceState as w, defaultThemeTokens as wn, resolveDefaultBlockTree as wt, SiteFontStorageProvider as x, Content$1 as xn, revealEditorElement as xt, resolvePreviewSetupBannerModel as y, Root2$1 as yn, useField as yt, useSiteEditorAdmission as z, resolveEntryRouteTarget as zt };