@riverbankcms/sdk 0.178.0 → 0.179.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/README.md +15 -8
  2. package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
  3. package/dist/_dts/{Page-C9i27wZA.d.ts → Page-lWenra5i.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
  5. package/dist/_dts/{client-BnYN6XsH.d.ts → client-qWn7xAwJ.d.ts} +47 -17
  6. package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
  7. package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
  8. package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
  9. package/dist/_dts/{index-DCa-8TEY.d.ts → index-7CDBZGb-.d.ts} +1 -1
  10. package/dist/_dts/{index-CKDRr54L.d.ts → index-BU9uAkHB.d.ts} +4 -4
  11. package/dist/_dts/{index-D9-N1d9v.d.ts → index-BYnG_vF5.d.ts} +1 -1
  12. package/dist/_dts/{index-nnEdgc3Z.d.ts → index-CZgJrhzT.d.ts} +4 -2
  13. package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CaCum9mM.d.ts} +2 -2
  14. package/dist/_dts/{index-0HFgCnGz.d.ts → index-DCiSHd-C.d.ts} +1 -1
  15. package/dist/_dts/{index-BE9dWIsr.d.ts → index-DVSipdrT.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
  17. package/dist/_dts/{request-B20VRWHH.d.ts → request-BjKBCS7t.d.ts} +1201 -335
  18. package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
  19. package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +3 -3
  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 +7 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +16 -8
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
  55. package/dist/_dts/{types-rm2M4LGx.d.ts → types-B7e6Lmo5.d.ts} +3 -3
  56. package/dist/_dts/{types-CYcd15BQ.d.ts → types-BOxSq-Bq.d.ts} +8 -7
  57. package/dist/_dts/{types-CMZ5mkpv.d.ts → types-CT-KOxl_.d.ts} +5 -39
  58. package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-Dz6qccue.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
  60. package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
  61. package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
  62. package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +42 -9
  63. package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
  65. package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-yoSI77ov.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-HeCNlliq.mjs} +10 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
  68. package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-Duhk1vnF.mjs} +247 -7
  69. package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
  70. package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
  72. package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +189 -111
  73. package/dist/client/{Page-DqETUt-U.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
  74. package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
  76. package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-2Dl9zon2.mjs} +6 -6
  77. package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
  78. package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
  79. package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
  80. package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
  81. package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-B6SqU49k.mjs} +1 -1
  82. package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
  83. package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-drZBwEZW.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
  86. package/dist/client/{carousel-B3UhbFu7.mjs → carousel-C-YJliD-.mjs} +2 -2
  87. package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
  88. package/dist/client/{cart-DzOJfYOR.mjs → cart-acGFWK9R.mjs} +3 -3
  89. package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-BzlOGP2j.mjs} +1 -1
  90. package/dist/client/{checkout-LmePoEgM.mjs → checkout-SEontwhy.mjs} +3 -3
  91. package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
  93. package/dist/client/client.mjs +414 -319
  94. package/dist/client/{context-CJIz4FdL.mjs → context-DTrwaQtg.mjs} +2 -1
  95. package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +1 -1
  97. package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
  98. package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-RLZQWi2V.mjs} +13 -13
  99. package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-CphYnImh.mjs} +4 -4
  100. package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-BvqjASB_.mjs} +4 -4
  101. package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-BaNAoC_M.mjs} +4 -4
  102. package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
  103. package/dist/client/events-9LPvwbWp.mjs +28 -0
  104. package/dist/client/{form-BBBtRwvy.mjs → form-DyH2juYT.mjs} +3 -3
  105. package/dist/client/{form.client-CZeRQLGF.mjs → form.client-DBwzkB0M.mjs} +5 -5
  106. package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CY4kX3mh.mjs} +3 -3
  107. package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-CTEN7gxW.mjs} +1 -1
  108. package/dist/client/gifting/client.mjs +6 -6
  109. package/dist/client/{gifting-Di9-SpwW.mjs → gifting-CIx4V378.mjs} +4 -4
  110. package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
  111. package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
  112. package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-DGcJfRS8.mjs} +2 -2
  113. package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
  114. package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
  115. package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3975 -3975
  116. package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
  117. package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
  118. package/dist/client/portal/client.mjs +9 -9
  119. package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
  120. package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
  121. package/dist/client/{productDetail-gxF5whea.mjs → productDetail-DjuFvkey.mjs} +3 -3
  122. package/dist/client/{productList-B9t0XJrN.mjs → productList-DE9GEFoZ.mjs} +3 -3
  123. package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
  124. package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-BPwV-0Pp.mjs} +10420 -9108
  125. package/dist/client/rendering/client.mjs +41 -27
  126. package/dist/client/rendering/islands.mjs +1 -1
  127. package/dist/client/rendering.mjs +23 -2836
  128. package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
  129. package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
  130. package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
  131. package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
  132. package/dist/client/{shop-D1oTPDxm.mjs → shop-C3wM0Hr4.mjs} +3 -3
  133. package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
  134. package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
  135. package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
  136. package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-C0v88nLd.mjs} +14 -14
  137. package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-Ct-BRNez.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/{noop-D11X-B6n.mjs → src-CCtanNlD.mjs} +317 -342
  140. package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-lhE29TNT.mjs} +65 -11
  141. package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
  142. package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
  143. package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
  144. package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
  145. package/dist/client/{view-bGU1ws-m.mjs → view-LJVHVqsy.mjs} +4 -4
  146. package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CNDsxeJH.mjs} +8935 -8913
  147. package/dist/preview-next/before-render.mjs +4 -3
  148. package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +5 -5
  150. package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
  151. package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
  152. package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
  153. package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-aqpU34WI.mjs} +627 -498
  154. package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
  157. package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
  158. package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
  159. package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
  160. package/dist/preview-next/keepAlive.mjs +1 -1
  161. package/dist/preview-next/middleware.mjs +1 -1
  162. package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-DnL-FgSV.mjs} +28 -10
  163. package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-BEbq6EwO.mjs} +4 -4
  164. package/dist/server/{bindings-DrbJuftt.mjs → bindings-Bly0dRs7.mjs} +36 -5
  165. package/dist/server/{client-Bf06n9oj.mjs → client-CGJ2ztYp.mjs} +1449 -1600
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
  169. package/dist/server/data/dataLoaderContext.mjs +1 -1
  170. package/dist/server/data/resolveBlockData.mjs +1 -1
  171. package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
  172. package/dist/server/error-f4g44bKx.mjs +387 -0
  173. package/dist/server/index.mjs +3 -2
  174. package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
  175. package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-DTLe0FEs.mjs} +22 -4
  176. package/dist/server/next.mjs +54 -94
  177. package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
  178. package/dist/server/page-converter.mjs +1 -1
  179. package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-JzxBnqfV.mjs} +7 -2
  180. package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
  181. package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-DU4ETFPS.mjs} +8 -50
  182. package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-8jNtDXmS.mjs} +5 -4
  183. package/dist/server/prebuild.mjs +1 -1
  184. package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
  185. package/dist/server/{registry-D12XF_h1.mjs → registry-DH1VrsCl.mjs} +122 -19
  186. package/dist/server/rendering/components/pageShared.mjs +1 -1
  187. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  188. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  189. package/dist/server/rendering/server.mjs +5 -4
  190. package/dist/server/rendering.mjs +9 -8
  191. package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
  192. package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
  193. package/dist/server/routing.mjs +271 -57
  194. package/dist/server/server.mjs +3 -3
  195. package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
  196. package/dist/server/{validation-CLq5cw6M.mjs → validation-3jOzYdPL.mjs} +3 -3
  197. package/dist/server/{version-oPbhAx8E.mjs → version-8t0o6_jd.mjs} +1 -1
  198. package/package.json +1 -1
  199. package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
  200. package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
  201. package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
  202. package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
  203. package/dist/client/course-DBEU9IA9.mjs +0 -244
  204. package/dist/client/duration-Q6_QNgiv.mjs +0 -37
  205. package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
  206. package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
  207. package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
  208. package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
  209. package/dist/client/view-DNX59QwM.mjs +0 -1372
  210. package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
@@ -485,7 +485,7 @@ function parseEventPageSurfaceDestinationMode(value) {
485
485
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
486
486
  }
487
487
  function parseEventPageSurfaceSubject(value) {
488
- if (!isRecord$36(value)) return err$1({ kind: "notObject" });
488
+ if (!isRecord$37(value)) return err$1({ kind: "notObject" });
489
489
  const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err$1({
490
490
  kind: "unsupportedSubject",
491
491
  subjectKind: value.kind
@@ -544,7 +544,7 @@ function parseEventSeriesIdList(values) {
544
544
  }
545
545
  return ok$2(parsed);
546
546
  }
547
- function isRecord$36(value) {
547
+ function isRecord$37(value) {
548
548
  return typeof value === "object" && value !== null && !Array.isArray(value);
549
549
  }
550
550
  //#endregion
@@ -1575,6 +1575,31 @@ function applySavedBlockContentVersion(versions, saved) {
1575
1575
  }
1576
1576
  }
1577
1577
  //#endregion
1578
+ //#region ../core/src/participants.ts
1579
+ function unsafeAsParticipantEmail(value) {
1580
+ return value;
1581
+ }
1582
+ /**
1583
+ * Canonicalizes an optional participant email for equality checks.
1584
+ *
1585
+ * This intentionally does not validate email shape; call parseParticipantEmail at
1586
+ * API/DB boundaries that require a syntactically usable address.
1587
+ */
1588
+ function normalizeParticipantEmail(value) {
1589
+ const normalized = value?.trim().normalize("NFC").toLowerCase() ?? "";
1590
+ return normalized.length > 0 ? unsafeAsParticipantEmail(normalized) : null;
1591
+ }
1592
+ function parseParticipantEmail(value) {
1593
+ const normalized = normalizeParticipantEmail(value);
1594
+ if (normalized === null) return err$1({ kind: "empty_email" });
1595
+ if (!isEmailLike(normalized)) return err$1({ kind: "invalid_email_shape" });
1596
+ return ok$2(normalized);
1597
+ }
1598
+ function isEmailLike(value) {
1599
+ const atIndex = value.indexOf("@");
1600
+ return atIndex > 0 && atIndex === value.lastIndexOf("@") && atIndex < value.length - 1;
1601
+ }
1602
+ //#endregion
1578
1603
  //#region ../core/src/public-url-validation.ts
1579
1604
  function buildPublicUrlValidationError(message, errorFactory) {
1580
1605
  return errorFactory !== void 0 ? errorFactory(message) : new Error(message);
@@ -1752,7 +1777,7 @@ const knownSocialPlatformLabels = {
1752
1777
  x: "X",
1753
1778
  youtube: "YouTube"
1754
1779
  };
1755
- function isRecord$35(value) {
1780
+ function isRecord$36(value) {
1756
1781
  return typeof value === "object" && value !== null && !Array.isArray(value);
1757
1782
  }
1758
1783
  function trimmedOptionalString(value) {
@@ -1762,7 +1787,7 @@ function trimmedOptionalString(value) {
1762
1787
  return trimmed.length > 0 ? trimmed : null;
1763
1788
  }
1764
1789
  function parsePublicContactDetails(value) {
1765
- if (!isRecord$35(value)) return err$1({
1790
+ if (!isRecord$36(value)) return err$1({
1766
1791
  code: "invalid_shape",
1767
1792
  path: "contact",
1768
1793
  message: "Contact details must be an object."
@@ -1842,7 +1867,7 @@ function minutesSinceMidnight(value) {
1842
1867
  }
1843
1868
  function parseOpeningHoursDay(value, expectedWeekday, index) {
1844
1869
  const path = `openingHours.days.${index}`;
1845
- if (!isRecord$35(value) || value.weekday !== expectedWeekday) return err$1({
1870
+ if (!isRecord$36(value) || value.weekday !== expectedWeekday) return err$1({
1846
1871
  code: "invalid_weekdays",
1847
1872
  path,
1848
1873
  message: `Expected ${expectedWeekday} in calendar order.`
@@ -1859,7 +1884,7 @@ function parseOpeningHoursDay(value, expectedWeekday, index) {
1859
1884
  const intervals = [];
1860
1885
  for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
1861
1886
  const intervalPath = `${path}.intervals.${intervalIndex}`;
1862
- if (!isRecord$35(rawInterval)) return err$1({
1887
+ if (!isRecord$36(rawInterval)) return err$1({
1863
1888
  code: "invalid_interval",
1864
1889
  path: intervalPath,
1865
1890
  message: "Opening interval is invalid."
@@ -1921,7 +1946,7 @@ function parseOpeningHoursWeek(rawDays) {
1921
1946
  ]);
1922
1947
  }
1923
1948
  function parseWeeklyOpeningHours(value) {
1924
- if (!isRecord$35(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err$1({
1949
+ if (!isRecord$36(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err$1({
1925
1950
  code: "invalid_weekdays",
1926
1951
  path: "openingHours.days",
1927
1952
  message: "Opening hours must include all seven weekdays."
@@ -1979,7 +2004,7 @@ function parsePublicSocialLinks(value) {
1979
2004
  const ids = /* @__PURE__ */ new Set();
1980
2005
  for (const [index, rawLink] of value.entries()) {
1981
2006
  const path = `socialLinks.${index}`;
1982
- if (!isRecord$35(rawLink)) return err$1({
2007
+ if (!isRecord$36(rawLink)) return err$1({
1983
2008
  code: "invalid_social_link",
1984
2009
  path,
1985
2010
  message: "Social link is invalid."
@@ -2048,7 +2073,7 @@ function parsePublicProfilePresentation(value) {
2048
2073
  });
2049
2074
  }
2050
2075
  function parsePublicProfile(value) {
2051
- if (!isRecord$35(value)) return err$1({
2076
+ if (!isRecord$36(value)) return err$1({
2052
2077
  code: "invalid_shape",
2053
2078
  path: "",
2054
2079
  message: "Public profile must be an object."
@@ -2082,7 +2107,7 @@ function parseContactVisibility(value) {
2082
2107
  phone: "shown",
2083
2108
  email: "shown"
2084
2109
  });
2085
- if (!isRecord$35(value)) return err$1({
2110
+ if (!isRecord$36(value)) return err$1({
2086
2111
  code: "invalid_contact_visibility",
2087
2112
  path: "contactVisibility",
2088
2113
  message: "Contact visibility must be an object."
@@ -2209,7 +2234,7 @@ function formatOpeningHoursRows(hours, options = {}) {
2209
2234
  }
2210
2235
  //#endregion
2211
2236
  //#region ../core/src/rich-text.ts
2212
- function isRecord$34(value) {
2237
+ function isRecord$35(value) {
2213
2238
  return typeof value === "object" && value !== null && !Array.isArray(value);
2214
2239
  }
2215
2240
  function hasOnlyKeys(value, allowed) {
@@ -2229,15 +2254,15 @@ function isDenseArrayOf(value, predicate) {
2229
2254
  return true;
2230
2255
  }
2231
2256
  function isTipTapMark(value) {
2232
- return isRecord$34(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$34(value.attrs));
2257
+ return isRecord$35(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$35(value.attrs));
2233
2258
  }
2234
2259
  function isTipTapNode(value) {
2235
- if (!isRecord$34(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$34(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
2260
+ if (!isRecord$35(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$35(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
2236
2261
  if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
2237
2262
  return value.text === void 0;
2238
2263
  }
2239
2264
  function isCanonicalRichTextDoc(value) {
2240
- return isRecord$34(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
2265
+ return isRecord$35(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
2241
2266
  }
2242
2267
  /** Whether a document contains non-whitespace text, including in nested nodes. */
2243
2268
  function richTextHasText(document) {
@@ -2323,10 +2348,10 @@ function presentVisitorSelection(selection, optionCount) {
2323
2348
  //#region ../core/src/mailing-list-targeting-parser.ts
2324
2349
  function parseMailingListPlacementTargeting(value) {
2325
2350
  if (value == null) return ok$2(DEFAULT_MAILING_LIST_TARGETING);
2326
- if (!isRecord$33(value)) return targetingError("shape");
2351
+ if (!isRecord$34(value)) return targetingError("shape");
2327
2352
  if (value.mode === "default") return ok$2({ mode: "default" });
2328
2353
  if (value.mode !== "custom") return targetingError("mode");
2329
- if (!isRecord$33(value.selection)) return targetingError("selection");
2354
+ if (!isRecord$34(value.selection)) return targetingError("selection");
2330
2355
  switch (value.provider) {
2331
2356
  case "native": return parseNativeTargeting(value.selection);
2332
2357
  case "brevo": return parseBrevoTargeting(value.selection);
@@ -2335,7 +2360,7 @@ function parseMailingListPlacementTargeting(value) {
2335
2360
  }
2336
2361
  }
2337
2362
  function parseMailingListVisitorSelection(value) {
2338
- if (!isRecord$33(value)) return visitorSelectionError$1("shape");
2363
+ if (!isRecord$34(value)) return visitorSelectionError$1("shape");
2339
2364
  switch (value.provider) {
2340
2365
  case "native": {
2341
2366
  if (Object.keys(value).some((key) => key !== "provider" && key !== "topicIds")) return visitorSelectionError$1("shape");
@@ -2464,7 +2489,7 @@ function parseVisitorIds(value, parseId) {
2464
2489
  const parsed = parseNonEmptyUniqueIds(value, parseId);
2465
2490
  return parsed.ok ? parsed.value : null;
2466
2491
  }
2467
- function isRecord$33(value) {
2492
+ function isRecord$34(value) {
2468
2493
  return typeof value === "object" && value !== null && !Array.isArray(value);
2469
2494
  }
2470
2495
  function targetingError(field) {
@@ -2481,7 +2506,7 @@ function visitorSelectionError$1(field) {
2481
2506
  }
2482
2507
  //#endregion
2483
2508
  //#region ../core/src/footer-engagement.ts
2484
- function isRecord$32(value) {
2509
+ function isRecord$33(value) {
2485
2510
  return typeof value === "object" && value !== null && !Array.isArray(value);
2486
2511
  }
2487
2512
  function invalid(path, message) {
@@ -2502,7 +2527,7 @@ function parseEngagementBase(value, base, path) {
2502
2527
  const heading = parseBoundedText(value.heading, `${path}.heading`, { maxLength: 80 });
2503
2528
  if (!heading.ok) return heading;
2504
2529
  if (heading.value === null) return err$1(invalid(`${path}.heading`, "Footer engagement heading cannot be empty."));
2505
- if (!isRecord$32(value.source)) return err$1(invalid(`${path}.source`, "Footer engagement source is invalid."));
2530
+ if (!isRecord$33(value.source)) return err$1(invalid(`${path}.source`, "Footer engagement source is invalid."));
2506
2531
  const intro = parseBoundedText(value.source.intro, `${path}.source.intro`, {
2507
2532
  maxLength: 240,
2508
2533
  optional: true
@@ -2544,7 +2569,7 @@ function parseFooterEngagementSectionValue(value, sectionBase, path) {
2544
2569
  const base = parseEngagementBase(value, sectionBase, path);
2545
2570
  if (!base.ok) return base;
2546
2571
  const source = value.source;
2547
- if (!isRecord$32(source)) return err$1(invalid(`${path}.source`, "Footer engagement source is invalid."));
2572
+ if (!isRecord$33(source)) return err$1(invalid(`${path}.source`, "Footer engagement source is invalid."));
2548
2573
  switch (source.kind) {
2549
2574
  case "standard-contact": return parseStandardContact(source, base.value, `${path}.source`);
2550
2575
  case "mailing-list": return parseMailingList(source, base.value, `${path}.source`);
@@ -2677,7 +2702,7 @@ function unsafeAsFooterModuleId(value) {
2677
2702
  function parseFooterModuleId(value) {
2678
2703
  return parseSectionId(value, "sectionId");
2679
2704
  }
2680
- function isRecord$31(value) {
2705
+ function isRecord$32(value) {
2681
2706
  return typeof value === "object" && value !== null && !Array.isArray(value);
2682
2707
  }
2683
2708
  function isRichText(value) {
@@ -2703,7 +2728,7 @@ function parseHeading(value, path) {
2703
2728
  }
2704
2729
  function parseFooterSection(value, index) {
2705
2730
  const path = `sections.${index}`;
2706
- if (!isRecord$31(value)) return err$1({
2731
+ if (!isRecord$32(value)) return err$1({
2707
2732
  code: "invalid_section",
2708
2733
  path,
2709
2734
  message: "Footer section must be an object."
@@ -2732,7 +2757,7 @@ function parseFooterSection(value, index) {
2732
2757
  });
2733
2758
  break;
2734
2759
  case "navigation":
2735
- if (isRecord$31(value.source) && value.source.kind === "menu-role" && value.source.role === "main") return ok$2({
2760
+ if (isRecord$32(value.source) && value.source.kind === "menu-role" && value.source.role === "main") return ok$2({
2736
2761
  ...base,
2737
2762
  kind: "navigation",
2738
2763
  heading: heading.value,
@@ -2743,7 +2768,7 @@ function parseFooterSection(value, index) {
2743
2768
  });
2744
2769
  break;
2745
2770
  case "legal-navigation":
2746
- if (isRecord$31(value.source) && value.source.kind === "menu-role" && value.source.role === "legal-policy") return ok$2({
2771
+ if (isRecord$32(value.source) && value.source.kind === "menu-role" && value.source.role === "legal-policy") return ok$2({
2747
2772
  ...base,
2748
2773
  kind: "legal-navigation",
2749
2774
  heading: heading.value,
@@ -2754,7 +2779,7 @@ function parseFooterSection(value, index) {
2754
2779
  });
2755
2780
  break;
2756
2781
  case "business-address":
2757
- if (isRecord$31(value.source) && value.source.kind === "business-address") return ok$2({
2782
+ if (isRecord$32(value.source) && value.source.kind === "business-address") return ok$2({
2758
2783
  ...base,
2759
2784
  kind: "business-address",
2760
2785
  heading: heading.value,
@@ -2764,7 +2789,7 @@ function parseFooterSection(value, index) {
2764
2789
  case "contact":
2765
2790
  case "opening-hours":
2766
2791
  case "social-links":
2767
- if (isRecord$31(value.source) && value.source.kind === "public-profile") return ok$2({
2792
+ if (isRecord$32(value.source) && value.source.kind === "public-profile") return ok$2({
2768
2793
  ...base,
2769
2794
  kind: value.kind,
2770
2795
  heading: heading.value,
@@ -2808,7 +2833,7 @@ function validateFooterComposition(composition) {
2808
2833
  return ok$2(composition);
2809
2834
  }
2810
2835
  function parseFooterCompositionV1(value) {
2811
- if (!isRecord$31(value)) return err$1({
2836
+ if (!isRecord$32(value)) return err$1({
2812
2837
  code: "invalid_shape",
2813
2838
  path: "",
2814
2839
  message: "Footer composition must be an object."
@@ -3016,7 +3041,7 @@ const defaultSections = (legacy, options) => {
3016
3041
  ];
3017
3042
  };
3018
3043
  function normalizeLegacyFooterContentToV1(value, options = {}) {
3019
- if (!isRecord$31(value)) return err$1({
3044
+ if (!isRecord$32(value)) return err$1({
3020
3045
  code: "invalid_shape",
3021
3046
  path: "",
3022
3047
  message: "Legacy footer content must be an object."
@@ -3052,7 +3077,7 @@ z.unknown().transform((value, ctx) => {
3052
3077
  return z.NEVER;
3053
3078
  });
3054
3079
  function parseMailingListGlobalForm(value) {
3055
- if (!isRecord$30(value)) return formError("shape");
3080
+ if (!isRecord$31(value)) return formError("shape");
3056
3081
  const fields = parseGlobalFields(value.fields);
3057
3082
  if (fields === null) return formError("fields");
3058
3083
  if (typeof value.includeOptionalPhone !== "boolean") return formError("includeOptionalPhone");
@@ -3071,7 +3096,7 @@ function parseMailingListGlobalForm(value) {
3071
3096
  });
3072
3097
  }
3073
3098
  function parseNewsletterAudience(value) {
3074
- if (!isRecord$30(value)) return err$1("invalid_newsletter_audience");
3099
+ if (!isRecord$31(value)) return err$1("invalid_newsletter_audience");
3075
3100
  if (value.kind === "general" && Object.keys(value).length === 1) return ok$2({ kind: "general" });
3076
3101
  if (value.kind !== "topic" || Object.keys(value).some((key) => key !== "kind" && key !== "topicId")) return err$1("invalid_newsletter_audience");
3077
3102
  const topicId = parseNewsletterListId(value.topicId);
@@ -3081,7 +3106,7 @@ function parseNewsletterAudience(value) {
3081
3106
  });
3082
3107
  }
3083
3108
  function parseGlobalFields(value) {
3084
- if (!isRecord$30(value) || typeof value.preset !== "string") return null;
3109
+ if (!isRecord$31(value) || typeof value.preset !== "string") return null;
3085
3110
  switch (value.preset) {
3086
3111
  case "emailOnly": return { preset: "emailOnly" };
3087
3112
  case "emailName": return isRequirement(value.name) ? {
@@ -3122,7 +3147,7 @@ function parseOptionalString(value) {
3122
3147
  function isRequirement(value) {
3123
3148
  return value === "required" || value === "optional";
3124
3149
  }
3125
- function isRecord$30(value) {
3150
+ function isRecord$31(value) {
3126
3151
  return typeof value === "object" && value !== null && !Array.isArray(value);
3127
3152
  }
3128
3153
  function formError(field) {
@@ -3241,7 +3266,7 @@ function assessMatchedChoices(matched, choices) {
3241
3266
  //#endregion
3242
3267
  //#region ../core/src/mailing-list-runtime.ts
3243
3268
  function parseMailingListRuntimeContext(value) {
3244
- if (!isRecord$29(value)) return invalidRuntimeContext();
3269
+ if (!isRecord$30(value)) return invalidRuntimeContext();
3245
3270
  if (value.tag === "not_configured") return ok$2({ tag: "not_configured" });
3246
3271
  if (value.tag !== "configured") return invalidRuntimeContext();
3247
3272
  return parseConfiguredRuntimeContext(value);
@@ -3269,7 +3294,7 @@ function parseBookingSignupOffer(value) {
3269
3294
  tag: "unavailable",
3270
3295
  reason: "disabled"
3271
3296
  };
3272
- if (!isRecord$29(value)) return null;
3297
+ if (!isRecord$30(value)) return null;
3273
3298
  if (value.tag === "offered") return { tag: "offered" };
3274
3299
  if (value.tag === "unavailable" && (value.reason === "disabled" || value.reason === "fields" || value.reason === "destination")) return {
3275
3300
  tag: "unavailable",
@@ -3278,7 +3303,7 @@ function parseBookingSignupOffer(value) {
3278
3303
  return null;
3279
3304
  }
3280
3305
  function parseRuntimeProvider(value) {
3281
- if (!isRecord$29(value)) return null;
3306
+ if (!isRecord$30(value)) return null;
3282
3307
  switch (value.provider) {
3283
3308
  case "native": return parseNativeRuntimeProvider(value);
3284
3309
  case "brevo": return parseBrevoRuntimeProvider(value);
@@ -3316,7 +3341,7 @@ function parseMailchimpRuntimeProvider(value) {
3316
3341
  } : null;
3317
3342
  }
3318
3343
  function parseMailchimpAudience(value) {
3319
- if (!isRecord$29(value) || !Array.isArray(value.interests)) return null;
3344
+ if (!isRecord$30(value) || !Array.isArray(value.interests)) return null;
3320
3345
  const id = parseMailchimpAudienceId(value.id);
3321
3346
  const name = parseName(value.name);
3322
3347
  const interests = Array.from(value.interests, parseMailchimpInterest);
@@ -3327,7 +3352,7 @@ function parseMailchimpAudience(value) {
3327
3352
  } : null;
3328
3353
  }
3329
3354
  function parseMailchimpInterest(value) {
3330
- if (!isRecord$29(value)) return null;
3355
+ if (!isRecord$30(value)) return null;
3331
3356
  const id = parseMailchimpInterestId(value.id);
3332
3357
  const name = parseName(value.name);
3333
3358
  const categoryName = parseName(value.categoryName);
@@ -3340,7 +3365,7 @@ function parseMailchimpInterest(value) {
3340
3365
  function parseNamedItems(value, parseId) {
3341
3366
  if (!Array.isArray(value)) return null;
3342
3367
  const items = Array.from(value, (item) => {
3343
- if (!isRecord$29(item)) return null;
3368
+ if (!isRecord$30(item)) return null;
3344
3369
  const id = parseId(item.id);
3345
3370
  const name = parseName(item.name);
3346
3371
  return id !== null && name !== null ? {
@@ -3355,7 +3380,7 @@ function parseName(value) {
3355
3380
  const name = value.trim();
3356
3381
  return name.length > 0 ? name : null;
3357
3382
  }
3358
- function isRecord$29(value) {
3383
+ function isRecord$30(value) {
3359
3384
  return typeof value === "object" && value !== null && !Array.isArray(value);
3360
3385
  }
3361
3386
  function invalidRuntimeContext() {
@@ -3588,7 +3613,6 @@ const PUBLIC_READ_CACHE_POLICIES = {
3588
3613
  "public_memberships"
3589
3614
  ], "batch_only"),
3590
3615
  getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
3591
- resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
3592
3616
  listPublicRouteCandidates: content(["published_content"], "batch_only"),
3593
3617
  listPublicTeamMembers: content(["public_team_members"]),
3594
3618
  listPublicProducts: availability(["public_products"], "direct"),
@@ -3717,7 +3741,7 @@ function authoredValuesEqual(left, right) {
3717
3741
  }
3718
3742
  //#endregion
3719
3743
  //#region ../core/src/record-guards.ts
3720
- function isRecord$28(value) {
3744
+ function isRecord$29(value) {
3721
3745
  return typeof value === "object" && value !== null && !Array.isArray(value);
3722
3746
  }
3723
3747
  //#endregion
@@ -6214,11 +6238,11 @@ function parseRelativeStoragePath(value) {
6214
6238
  }
6215
6239
  //#endregion
6216
6240
  //#region ../media-core/src/typeGuards.ts
6217
- function isRecord$27(value) {
6241
+ function isRecord$28(value) {
6218
6242
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
6219
6243
  }
6220
6244
  function asRecord(value) {
6221
- return isRecord$27(value) ? value : void 0;
6245
+ return isRecord$28(value) ? value : void 0;
6222
6246
  }
6223
6247
  //#endregion
6224
6248
  //#region ../media-core/src/identifiers.ts
@@ -6662,8 +6686,8 @@ function walkAndCollectImageAttrs(value, out, location = "") {
6662
6686
  value.forEach((item, index) => walkAndCollectImageAttrs(item, out, `${location}[${index}]`));
6663
6687
  return;
6664
6688
  }
6665
- if (!isRecord$27(value)) return;
6666
- if (value.type === "image" && isRecord$27(value.attrs)) out.push({
6689
+ if (!isRecord$28(value)) return;
6690
+ if (value.type === "image" && isRecord$28(value.attrs)) out.push({
6667
6691
  attrs: value.attrs,
6668
6692
  location: location ? `${location}.attrs` : "attrs"
6669
6693
  });
@@ -6759,7 +6783,7 @@ const runtimeBoxBackgroundSchema = z.discriminatedUnion("type", [
6759
6783
  ]).nullable().optional() })
6760
6784
  ]);
6761
6785
  function normalizeAuthoringOpacity(value) {
6762
- if (!isRecord$26(value)) return value;
6786
+ if (!isRecord$27(value)) return value;
6763
6787
  return {
6764
6788
  ...value,
6765
6789
  opacity: normalizeOpacity(value.opacity)
@@ -6768,7 +6792,7 @@ function normalizeAuthoringOpacity(value) {
6768
6792
  function normalizeOpacity(value) {
6769
6793
  return typeof value === "number" && value > 1 && value <= 100 ? value / 100 : value;
6770
6794
  }
6771
- function isRecord$26(value) {
6795
+ function isRecord$27(value) {
6772
6796
  return typeof value === "object" && value !== null && !Array.isArray(value);
6773
6797
  }
6774
6798
  //#endregion
@@ -29864,7 +29888,7 @@ function CalloutDescription({ className, ...props }) {
29864
29888
  function isObject$1(subject) {
29865
29889
  return Object.prototype.toString.call(subject) === "[object Object]";
29866
29890
  }
29867
- function isRecord$25(subject) {
29891
+ function isRecord$26(subject) {
29868
29892
  return isObject$1(subject) || Array.isArray(subject);
29869
29893
  }
29870
29894
  function canUseDOM() {
@@ -29879,7 +29903,7 @@ function areOptionsEqual(optionsA, optionsB) {
29879
29903
  const valueA = optionsA[key];
29880
29904
  const valueB = optionsB[key];
29881
29905
  if (typeof valueA === "function") return `${valueA}` === `${valueB}`;
29882
- if (!isRecord$25(valueA) || !isRecord$25(valueB)) return valueA === valueB;
29906
+ if (!isRecord$26(valueA) || !isRecord$26(valueB)) return valueA === valueB;
29883
29907
  return areOptionsEqual(valueA, valueB);
29884
29908
  });
29885
29909
  }
@@ -32076,20 +32100,20 @@ function isApiErrorCode(value) {
32076
32100
  function isApiSuccess(result) {
32077
32101
  return result.success === true;
32078
32102
  }
32079
- function isRecord$24(value) {
32103
+ function isRecord$25(value) {
32080
32104
  return typeof value === "object" && value !== null && !Array.isArray(value);
32081
32105
  }
32082
32106
  function isFieldError$1(value) {
32083
- return isRecord$24(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string" && (value.capacityOverride === void 0 || isCapacityOverrideRefusal(value.capacityOverride));
32107
+ return isRecord$25(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string" && (value.capacityOverride === void 0 || isCapacityOverrideRefusal(value.capacityOverride));
32084
32108
  }
32085
32109
  function fieldErrorsFromUnknown$1(value) {
32086
32110
  if (!Array.isArray(value)) return null;
32087
32111
  return value.every(isFieldError$1) ? value : null;
32088
32112
  }
32089
32113
  function extractEnvelopeErrorObject(body) {
32090
- if (!isRecord$24(body)) return null;
32114
+ if (!isRecord$25(body)) return null;
32091
32115
  const error = body.error;
32092
- if (!isRecord$24(error)) return null;
32116
+ if (!isRecord$25(error)) return null;
32093
32117
  if ("success" in body && body.success !== false) return null;
32094
32118
  return error;
32095
32119
  }
@@ -32846,6 +32870,20 @@ function buildFetchPolicy(siteId, reads, freshnessSeconds) {
32846
32870
  function buildPublicReadBatchFetchPolicy(siteId, reads) {
32847
32871
  return buildFetchPolicy(siteId, reads, publicReadBatchFreshnessSeconds);
32848
32872
  }
32873
+ /** A page may depend on admission even when an ordinary CMS page won precedence. */
32874
+ function buildPageReadCachePolicy(siteId, dependencies) {
32875
+ return dependencies === "availability" ? {
32876
+ tags: normalizeRevalidateTags([
32877
+ ...buildCacheReadTags([TAG_TEMPLATES.siteRoutableContent], { siteId }),
32878
+ ...buildPublicReadFetchTags("listPublicEvents", { siteId }),
32879
+ ...buildPublicReadFetchTags("getPublicBookingService", { siteId })
32880
+ ]),
32881
+ revalidate: 60
32882
+ } : {
32883
+ tags: buildCacheReadTags([TAG_TEMPLATES.siteRoutableContent], { siteId }),
32884
+ revalidate: PUBLIC_CONTENT_FRESHNESS_SECONDS
32885
+ };
32886
+ }
32849
32887
  //#endregion
32850
32888
  //#region ../api/src/sdkEntryReadEndpoints.ts
32851
32889
  const SDK_ENTRY_READ_ENDPOINTS = {
@@ -35655,15 +35693,6 @@ const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
35655
35693
  "resource:conflict",
35656
35694
  "server:internal_error"
35657
35695
  ]
35658
- },
35659
- resolveEventSubroute: {
35660
- path: "/public/sites/{siteId}/events/subroutes/resolve",
35661
- method: "GET",
35662
- revalidate: publicReadFreshnessSeconds("resolveEventSubroute"),
35663
- tags: [TAG_TEMPLATES.publicEvents, "event-subroute"],
35664
- auth: "public",
35665
- responseKind: "json",
35666
- errors: []
35667
35696
  }
35668
35697
  });
35669
35698
  //#endregion
@@ -38869,6 +38898,14 @@ const API_ENDPOINTS = {
38869
38898
  responseKind: "json",
38870
38899
  errors: []
38871
38900
  },
38901
+ adminDeleteSupportTicketScreenshot: {
38902
+ path: "/admin/support/tickets/screenshot/delete",
38903
+ method: "POST",
38904
+ tags: ["admin", "support"],
38905
+ auth: "admin",
38906
+ responseKind: "json",
38907
+ errors: []
38908
+ },
38872
38909
  mfaTotpEnroll: {
38873
38910
  path: "/auth/mfa/totp/enroll",
38874
38911
  method: "POST",
@@ -39870,6 +39907,7 @@ const API_ENDPOINTS = {
39870
39907
  responseKind: "json"
39871
39908
  },
39872
39909
  resolveRouteOutcome: {
39910
+ revalidate: PUBLIC_CONTENT_FRESHNESS_SECONDS,
39873
39911
  path: "/sites/{siteId}/route-outcome",
39874
39912
  method: "GET",
39875
39913
  tags: [
@@ -40797,6 +40835,25 @@ const API_ENDPOINTS = {
40797
40835
  "bookings"
40798
40836
  ]
40799
40837
  },
40838
+ listEventBookingTicketChoices: {
40839
+ errors: [],
40840
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/ticket-choices",
40841
+ method: "GET",
40842
+ auth: "user",
40843
+ responseKind: "json"
40844
+ },
40845
+ changeEventBookingTickets: {
40846
+ errors: [],
40847
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/change-tickets",
40848
+ method: "POST",
40849
+ auth: "user",
40850
+ responseKind: "json",
40851
+ tags: [
40852
+ "site-{siteId}",
40853
+ "event-attendee-{attendeeId}",
40854
+ "bookings"
40855
+ ]
40856
+ },
40800
40857
  restoreEventBooking: {
40801
40858
  errors: [],
40802
40859
  path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
@@ -43005,7 +43062,7 @@ const blockStore = isBlocksTestRuntime$1 ? /* @__PURE__ */ new Map() : globalSco
43005
43062
  /**
43006
43063
  * Strict record guard: excludes null, primitives, and arrays.
43007
43064
  */
43008
- function isRecord$23(value) {
43065
+ function isRecord$24(value) {
43009
43066
  return typeof value === "object" && value !== null && !Array.isArray(value);
43010
43067
  }
43011
43068
  /**
@@ -47552,9 +47609,9 @@ function sectionFactsForContent(content) {
47552
47609
  function isLookPhotoGround(content) {
47553
47610
  const look = content._effectiveLook;
47554
47611
  const hooks = content._lookHooks;
47555
- return isRecord$22(look) && look.photoGround === true && isRecord$22(hooks) && hooks["data-has-photo"] === "true";
47612
+ return isRecord$23(look) && look.photoGround === true && isRecord$23(hooks) && hooks["data-has-photo"] === "true";
47556
47613
  }
47557
- function isRecord$22(value) {
47614
+ function isRecord$23(value) {
47558
47615
  return typeof value === "object" && value !== null;
47559
47616
  }
47560
47617
  function isPhotoBackground(content) {
@@ -65581,7 +65638,7 @@ function arrangementContentFacts(content) {
65581
65638
  featured,
65582
65639
  outcome: typeof content.outcome === "string" && content.outcome.length > 0,
65583
65640
  figure: typeof content.figure === "string" && content.figure.trim().length > 0,
65584
- entrance: isRecord$28(content.entrancePhoto)
65641
+ entrance: isRecord$29(content.entrancePhoto)
65585
65642
  },
65586
65643
  settings: { "listed-by-week": content.listBy === "week" }
65587
65644
  }
@@ -65596,10 +65653,10 @@ function lookFillPartsFromContent(content) {
65596
65653
  }
65597
65654
  /** The content stage owns media presence for every arrangement consumer. */
65598
65655
  function arrangementPhotoCount(content) {
65599
- if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$28(card) && isRecord$28(card.media)).length;
65600
- if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$28(member) && isRecord$28(member.photo)).length;
65601
- if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$28(item) && isRecord$28(item.image)).length;
65602
- if (isRecord$28(content.media) || isRecord$28(content.entrancePhoto)) return 1;
65656
+ if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$29(card) && isRecord$29(card.media)).length;
65657
+ if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$29(member) && isRecord$29(member.photo)).length;
65658
+ if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$29(item) && isRecord$29(item.image)).length;
65659
+ if (isRecord$29(content.media) || isRecord$29(content.entrancePhoto)) return 1;
65603
65660
  return storedSectionPhoto(content) === null ? 0 : 1;
65604
65661
  }
65605
65662
  /** Both rendering and join matching ask the publication-fallback owner. */
@@ -72691,7 +72748,7 @@ function parseSiteIconStyleGuideVersionId(value) {
72691
72748
  //#endregion
72692
72749
  //#region ../blocks/src/system/icons/value.ts
72693
72750
  const NO_BLOCK_ICON_VALUE = { kind: "none" };
72694
- function isRecord$21(value) {
72751
+ function isRecord$22(value) {
72695
72752
  return typeof value === "object" && value !== null && !Array.isArray(value);
72696
72753
  }
72697
72754
  function parseBlockIconValue(value) {
@@ -72699,7 +72756,7 @@ function parseBlockIconValue(value) {
72699
72756
  kind: "semantic",
72700
72757
  iconId: value
72701
72758
  };
72702
- if (!isRecord$21(value)) return NO_BLOCK_ICON_VALUE;
72759
+ if (!isRecord$22(value)) return NO_BLOCK_ICON_VALUE;
72703
72760
  switch (value.kind) {
72704
72761
  case "none": return NO_BLOCK_ICON_VALUE;
72705
72762
  case "semantic": return isSemanticIconId(value.iconId) ? {
@@ -72780,7 +72837,7 @@ function buildGeneratedBlockIconRenderAssetLookupFromUnknown(value) {
72780
72837
  if (!Array.isArray(value)) return { kind: "invalid_asset_list" };
72781
72838
  const inputs = [];
72782
72839
  for (const [index, item] of value.entries()) {
72783
- if (!isRecord$21(item)) return {
72840
+ if (!isRecord$22(item)) return {
72784
72841
  kind: "invalid_asset_entry",
72785
72842
  index,
72786
72843
  reason: "not_object"
@@ -72840,7 +72897,7 @@ function resolveBlockIconRenderValue(value, generatedAssets = /* @__PURE__ */ ne
72840
72897
  }
72841
72898
  }
72842
72899
  function getGeneratedBlockIconStyleState(value, currentStyleGuideVersionId) {
72843
- if (isRecord$21(value) && value.kind === "generated" && parseBlockIconValue(value).kind !== "generated") return { kind: "invalid_generated" };
72900
+ if (isRecord$22(value) && value.kind === "generated" && parseBlockIconValue(value).kind !== "generated") return { kind: "invalid_generated" };
72844
72901
  const parsed = parseBlockIconValue(value);
72845
72902
  if (parsed.kind !== "generated") return { kind: "not_generated" };
72846
72903
  if (parsed.styleGuideVersionId === currentStyleGuideVersionId) return {
@@ -73070,7 +73127,7 @@ function treeSize(value, depth = 0) {
73070
73127
  nodes: 0,
73071
73128
  text: 0
73072
73129
  };
73073
- if (!isRecord$28(value)) return {
73130
+ if (!isRecord$29(value)) return {
73074
73131
  depth,
73075
73132
  nodes: 0,
73076
73133
  text: 0
@@ -73308,7 +73365,7 @@ function buildRichTextSchema(options) {
73308
73365
  const content = val.content;
73309
73366
  if (!Array.isArray(content) || content.length === 0) return false;
73310
73367
  const first = content[0];
73311
- if (content.length === 1 && isRecord$28(first) && first.type === "paragraph" && (!("content" in first) || first.content == null)) return false;
73368
+ if (content.length === 1 && isRecord$29(first) && first.type === "paragraph" && (!("content" in first) || first.content == null)) return false;
73312
73369
  return true;
73313
73370
  }, { message: `${label} is required` });
73314
73371
  }
@@ -86040,16 +86097,16 @@ const interpolateRichTextTokensOptionsSchema = z.object({ tokens: z.array(suppor
86040
86097
  const richTextTokenPattern = /\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g;
86041
86098
  function getSiteName(context) {
86042
86099
  const viewModel = context.viewModel;
86043
- if (!isRecord$23(viewModel)) return null;
86100
+ if (!isRecord$24(viewModel)) return null;
86044
86101
  const site = viewModel.site;
86045
- if (isRecord$23(site) && typeof site.title === "string") {
86102
+ if (isRecord$24(site) && typeof site.title === "string") {
86046
86103
  const title = site.title.trim();
86047
86104
  return title.length > 0 ? title : null;
86048
86105
  }
86049
86106
  const root = viewModel.$root;
86050
- if (isRecord$23(root)) {
86107
+ if (isRecord$24(root)) {
86051
86108
  const rootSite = root.site;
86052
- if (isRecord$23(rootSite) && typeof rootSite.title === "string") {
86109
+ if (isRecord$24(rootSite) && typeof rootSite.title === "string") {
86053
86110
  const title = rootSite.title.trim();
86054
86111
  if (title.length > 0) return title;
86055
86112
  }
@@ -86071,7 +86128,7 @@ function replaceTokenText(input, allowedTokens, tokenValues) {
86071
86128
  });
86072
86129
  }
86073
86130
  function visitRichTextNode(node, allowedTokens, tokenValues) {
86074
- if (!isRecord$23(node)) return node;
86131
+ if (!isRecord$24(node)) return node;
86075
86132
  let changed = false;
86076
86133
  const nextNode = { ...node };
86077
86134
  if (nextNode.type === "text" && typeof nextNode.text === "string") {
@@ -86092,7 +86149,7 @@ function visitRichTextNode(node, allowedTokens, tokenValues) {
86092
86149
  return changed ? nextNode : node;
86093
86150
  }
86094
86151
  function interpolateRichTextTokens(value, options, context) {
86095
- if (typeof value !== "string" && !isRecord$23(value)) return value;
86152
+ if (typeof value !== "string" && !isRecord$24(value)) return value;
86096
86153
  const allowedTokens = new Set(options.tokens);
86097
86154
  const tokenValues = {
86098
86155
  year: () => formatDate$4({
@@ -87566,11 +87623,11 @@ function resolveFeatureCardGeneratedIconSizePx(value) {
87566
87623
  const parsed = parseFeatureCardGeneratedIconSizePx(value);
87567
87624
  return parsed.ok ? parsed.value : unsafeAsFeatureCardGeneratedIconSizePx(FEATURE_CARD_GENERATED_ICON_SIZE_PX.default);
87568
87625
  }
87569
- function isRecord$20(value) {
87626
+ function isRecord$21(value) {
87570
87627
  return typeof value === "object" && value !== null && !Array.isArray(value);
87571
87628
  }
87572
87629
  function toPlainTextFromTipTap(value) {
87573
- if (!isRecord$20(value)) return "";
87630
+ if (!isRecord$21(value)) return "";
87574
87631
  if (typeof value.text === "string") return value.text;
87575
87632
  const content = value.content;
87576
87633
  if (!Array.isArray(content)) return "";
@@ -89751,24 +89808,6 @@ function hasEventBookingClosedEarly(event, now) {
89751
89808
  }
89752
89809
  //#endregion
89753
89810
  //#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
89754
- /**
89755
- * What a system-managed Event URL actually selected.
89756
- *
89757
- * The resolver used to assume that one returned `PublicEvent` meant one
89758
- * occurrence. A whole-series Event breaks that assumption in two directions: a
89759
- * parent Event path selects nothing concrete until a run is chosen, and a run
89760
- * path selects a run whose identity spans every one of its sessions. This
89761
- * module parses those cases once, so the renderer switches over a closed set of
89762
- * page states instead of probing booking scopes at render time.
89763
- *
89764
- * Everything here is pure. Loading events and resolving run slugs is the
89765
- * resolver's job; deciding what the page is and which runs the chooser
89766
- * advertises happens here. When a run is open to join, and where it sits in its
89767
- * own life, come from `@riverbankcms/core`: the same authority the
89768
- * public read projection and the write-side run-facts loader use, so a run
89769
- * cannot report itself open on the storefront and closed at the point of
89770
- * booking.
89771
- */
89772
89811
  function planWholeSeriesParentBooking(eligibleRuns) {
89773
89812
  const [first, second, ...rest] = eligibleRuns;
89774
89813
  if (!second) return {
@@ -90522,11 +90561,11 @@ function formatBookingScheduleSummary(event) {
90522
90561
  }
90523
90562
  //#endregion
90524
90563
  //#region ../blocks/src/system/runtime/nodes/events/domain/destination.ts
90525
- function isRecord$19(value) {
90564
+ function isRecord$20(value) {
90526
90565
  return typeof value === "object" && value !== null && !Array.isArray(value);
90527
90566
  }
90528
90567
  function isRuntimeEventDestination(value) {
90529
- if (!isRecord$19(value) || typeof value.kind !== "string") return false;
90568
+ if (!isRecord$20(value) || typeof value.kind !== "string") return false;
90530
90569
  if (value.kind === "native") return (value.mode === "cms-managed" || value.mode === "system-managed") && typeof value.path === "string";
90531
90570
  return value.kind === "external" && typeof value.url === "string" && typeof value.label === "string";
90532
90571
  }
@@ -92917,6 +92956,7 @@ function transformRegistrationOptionsResponse(response) {
92917
92956
  const eventAcceptsMemberships = response.entitlements.requiresLoginForMemberships || eligibleMemberships.length > 0 || response.entitlements.availableForPurchase.memberships.length > 0;
92918
92957
  const monetaryPaymentAvailable = hasMonetaryPaymentOption(response);
92919
92958
  return {
92959
+ discountPreview: response.discountPreview,
92920
92960
  availability: response.availability,
92921
92961
  registration: response.registration,
92922
92962
  paymentOptions: response.paymentOptions,
@@ -97188,7 +97228,7 @@ function inferLegacyOfferingsPreviewGroupOrder(overrides) {
97188
97228
  return keys.length >= 2 ? keys : [];
97189
97229
  }
97190
97230
  function normalizeOfferingsPreviewContentForWrite(value) {
97191
- if (!isRecord$18(value)) return null;
97231
+ if (!isRecord$19(value)) return null;
97192
97232
  const groupOrderValue = value.groupOrder;
97193
97233
  if (Array.isArray(groupOrderValue)) {
97194
97234
  const normalized = normalizeOfferingsPreviewGroupOrder(groupOrderValue);
@@ -97201,7 +97241,7 @@ function normalizeOfferingsPreviewContentForWrite(value) {
97201
97241
  ...value,
97202
97242
  groupOrder: []
97203
97243
  };
97204
- const legacyOrder = inferLegacyOfferingsPreviewGroupOrder(Array.isArray(value.groupOverrides) ? value.groupOverrides.filter(isRecord$18) : []);
97244
+ const legacyOrder = inferLegacyOfferingsPreviewGroupOrder(Array.isArray(value.groupOverrides) ? value.groupOverrides.filter(isRecord$19) : []);
97205
97245
  return legacyOrder.length > 0 ? {
97206
97246
  ...value,
97207
97247
  groupOrder: legacyOrder
@@ -97340,7 +97380,7 @@ function uniqueOfferingsPreviewSourceKeys(values) {
97340
97380
  }
97341
97381
  return keys;
97342
97382
  }
97343
- function isRecord$18(value) {
97383
+ function isRecord$19(value) {
97344
97384
  return typeof value === "object" && value !== null && !Array.isArray(value);
97345
97385
  }
97346
97386
  function mergeOrderedKeysWithDefaults(orderedKeys, defaultKeys) {
@@ -97992,13 +98032,13 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
97992
98032
  }
97993
98033
  });
97994
98034
  function normalizeEventRegistrationEventInput(value) {
97995
- if (!isRecord$17(value)) return value;
98035
+ if (!isRecord$18(value)) return value;
97996
98036
  return {
97997
98037
  ...value,
97998
98038
  destination: resolveRuntimeEventDestination(value)
97999
98039
  };
98000
98040
  }
98001
- function isRecord$17(value) {
98041
+ function isRecord$18(value) {
98002
98042
  return typeof value === "object" && value !== null && !Array.isArray(value);
98003
98043
  }
98004
98044
  function buildEventRegistrationInteractiveIslandProps(props) {
@@ -105473,7 +105513,7 @@ const groupOverrideSchema = z.object({
105473
105513
  ctaLabel: z.string().nullish().catch(void 0)
105474
105514
  });
105475
105515
  function normalizeOfferingsPreviewGroupOverride(value) {
105476
- if (!isRecord$16(value)) return [];
105516
+ if (!isRecord$17(value)) return [];
105477
105517
  const parsed = groupOverrideSchema.parse(value);
105478
105518
  return [Object.fromEntries(Object.entries(parsed).filter(([, field]) => field !== void 0))];
105479
105519
  }
@@ -105488,7 +105528,7 @@ function normalizeSectionStylesContent(value) {
105488
105528
  }
105489
105529
  function normalizeBoxStylesContent(value) {
105490
105530
  if (value === null) return null;
105491
- if (!isRecord$16(value)) return void 0;
105531
+ if (!isRecord$17(value)) return void 0;
105492
105532
  const { background: _background, ...rest } = value;
105493
105533
  const background = parseBackgroundContent(value.background);
105494
105534
  return {
@@ -105496,7 +105536,7 @@ function normalizeBoxStylesContent(value) {
105496
105536
  ...background ? { background } : {}
105497
105537
  };
105498
105538
  }
105499
- function isRecord$16(value) {
105539
+ function isRecord$17(value) {
105500
105540
  return typeof value === "object" && value !== null && !Array.isArray(value);
105501
105541
  }
105502
105542
  const embedManifest = createBlockManifest({
@@ -111686,7 +111726,7 @@ function ensureSystemBlockDefinitionsRegistered() {
111686
111726
  //#region ../blocks/src/system/registry.ts
111687
111727
  function normalizeBlockContent(definition, content) {
111688
111728
  const normalizer = definition?.contentNormalizer;
111689
- if (!normalizer || !isRecord$23(content)) return content;
111729
+ if (!normalizer || !isRecord$24(content)) return content;
111690
111730
  const normalized = normalizer.normalize(content);
111691
111731
  const owned = new Set(normalizer.fieldIds);
111692
111732
  return {
@@ -113914,7 +113954,7 @@ function carouselContents(props) {
113914
113954
  //#region ../blocks/src/system/data/linkedContentEntries.ts
113915
113955
  const LINKED_CONTENT_ENTRY_META_KEY = "__rbLinkedContentEntry";
113916
113956
  function coerceLinkedContentEntriesPayload(payload) {
113917
- if (!isRecord$15(payload)) return payload;
113957
+ if (!isRecord$16(payload)) return payload;
113918
113958
  const response = payload;
113919
113959
  if (!Array.isArray(response.entries)) return payload;
113920
113960
  const contentType = parsePublicContentTypeMeta(response.contentType);
@@ -113922,7 +113962,7 @@ function coerceLinkedContentEntriesPayload(payload) {
113922
113962
  return response.entries.map((entry) => enrichLinkedContentEntry(entry, contentType));
113923
113963
  }
113924
113964
  function getLinkedContentEntryMeta(value) {
113925
- if (!isRecord$15(value)) return null;
113965
+ if (!isRecord$16(value)) return null;
113926
113966
  const candidate = value[LINKED_CONTENT_ENTRY_META_KEY];
113927
113967
  return isLinkedContentEntryMeta(candidate) ? {
113928
113968
  ...candidate,
@@ -113931,10 +113971,10 @@ function getLinkedContentEntryMeta(value) {
113931
113971
  }
113932
113972
  function buildLinkedContentEditTarget(input) {
113933
113973
  const { entry, sourceBlockId, sourceBlockKind, itemIndex } = input;
113934
- if (!isRecord$15(entry)) return null;
113974
+ if (!isRecord$16(entry)) return null;
113935
113975
  const meta = getLinkedContentEntryMeta(entry);
113936
113976
  if (!meta || meta.support.kind !== "supported") return null;
113937
- const content = isRecord$15(entry.content) ? entry.content : {};
113977
+ const content = isRecord$16(entry.content) ? entry.content : {};
113938
113978
  return {
113939
113979
  kind: "linked-content-entry",
113940
113980
  entryId: meta.entryId,
@@ -113999,12 +114039,12 @@ function resolveLinkedEntryInlineFieldEligibility(input) {
113999
114039
  };
114000
114040
  }
114001
114041
  function enrichLinkedContentEntry(entry, contentType) {
114002
- if (!isRecord$15(entry)) return entry;
114042
+ if (!isRecord$16(entry)) return entry;
114003
114043
  const entryId = typeof entry.id === "string" ? entry.id : null;
114004
114044
  if (!entryId) return entry;
114005
114045
  const title = typeof entry.title === "string" && entry.title.trim().length > 0 ? entry.title : entryId;
114006
114046
  const optimisticHash = typeof entry.optimisticHash === "string" && entry.optimisticHash.length > 0 ? entry.optimisticHash : null;
114007
- const content = isRecord$15(entry.content) ? entry.content : {};
114047
+ const content = isRecord$16(entry.content) ? entry.content : {};
114008
114048
  const editRevision = typeof entry.editRevision === "number" ? entry.editRevision : null;
114009
114049
  const meta = {
114010
114050
  kind: "linked-content-entry",
@@ -114102,7 +114142,7 @@ function capitalize(value) {
114102
114142
  return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();
114103
114143
  }
114104
114144
  function parsePublicContentTypeMeta(value) {
114105
- if (!isRecord$15(value)) return null;
114145
+ if (!isRecord$16(value)) return null;
114106
114146
  if (typeof value.key !== "string" || value.key.trim().length === 0) return null;
114107
114147
  return {
114108
114148
  key: value.key,
@@ -114112,7 +114152,7 @@ function parsePublicContentTypeMeta(value) {
114112
114152
  };
114113
114153
  }
114114
114154
  function parsePublicContentTypeLinkedEntryEditing(value) {
114115
- if (!isRecord$15(value) || typeof value.kind !== "string") return null;
114155
+ if (!isRecord$16(value) || typeof value.kind !== "string") return null;
114116
114156
  switch (value.kind) {
114117
114157
  case "generic": return { kind: "generic" };
114118
114158
  case "unsupported-domain-backed": return {
@@ -114123,7 +114163,7 @@ function parsePublicContentTypeLinkedEntryEditing(value) {
114123
114163
  }
114124
114164
  }
114125
114165
  function parsePublicContentTypeFieldMeta(value) {
114126
- if (!isRecord$15(value)) return [];
114166
+ if (!isRecord$16(value)) return [];
114127
114167
  if (typeof value.id !== "string" || typeof value.type !== "string") return [];
114128
114168
  return [{
114129
114169
  id: value.id,
@@ -114138,7 +114178,7 @@ function parseStringArray(value) {
114138
114178
  return value.filter((item) => typeof item === "string");
114139
114179
  }
114140
114180
  function isLinkedContentEntryMeta(value) {
114141
- if (!isRecord$15(value) || value.kind !== "linked-content-entry") return false;
114181
+ if (!isRecord$16(value) || value.kind !== "linked-content-entry") return false;
114142
114182
  return [
114143
114183
  [
114144
114184
  "entryId",
@@ -114148,7 +114188,7 @@ function isLinkedContentEntryMeta(value) {
114148
114188
  ].every((key) => typeof value[key] === "string"),
114149
114189
  isNullOrOfType(value.optimisticHash, "string"),
114150
114190
  value.editRevision === void 0 || isNullOrOfType(value.editRevision, "number"),
114151
- isRecord$15(value.contentType),
114191
+ isRecord$16(value.contentType),
114152
114192
  isLinkedEntryFieldSourceArray(value.fieldSources),
114153
114193
  isLinkedContentEditSupport(value.support)
114154
114194
  ].every(Boolean);
@@ -114160,7 +114200,7 @@ function isLinkedEntryFieldSourceArray(value) {
114160
114200
  return Array.isArray(value) && value.every(isLinkedEntryFieldSource);
114161
114201
  }
114162
114202
  function isLinkedEntryFieldSource(value) {
114163
- if (!isRecord$15(value)) return false;
114203
+ if (!isRecord$16(value)) return false;
114164
114204
  if (typeof value.displayPath !== "string") return false;
114165
114205
  switch (value.kind) {
114166
114206
  case "content-field": return typeof value.fieldPath === "string" && (value.fieldType === "text" || value.fieldType === "richText");
@@ -114181,7 +114221,7 @@ function isLinkedEntryInlineFieldReadOnlyReason(value) {
114181
114221
  }
114182
114222
  }
114183
114223
  function isLinkedContentEditSupport(value) {
114184
- if (!isRecord$15(value) || typeof value.kind !== "string") return false;
114224
+ if (!isRecord$16(value) || typeof value.kind !== "string") return false;
114185
114225
  switch (value.kind) {
114186
114226
  case "supported": return true;
114187
114227
  case "unsupported-domain-backed":
@@ -114190,7 +114230,7 @@ function isLinkedContentEditSupport(value) {
114190
114230
  default: return false;
114191
114231
  }
114192
114232
  }
114193
- function isRecord$15(value) {
114233
+ function isRecord$16(value) {
114194
114234
  return typeof value === "object" && value !== null && !Array.isArray(value);
114195
114235
  }
114196
114236
  //#endregion
@@ -114295,11 +114335,11 @@ var UnsafePathSegmentError = class extends Error {
114295
114335
  function assertSafePathSegments(segments) {
114296
114336
  for (const segment of segments) if (typeof segment === "string" && UNSAFE_PATH_SEGMENTS.has(segment)) throw new UnsafePathSegmentError(segment);
114297
114337
  }
114298
- function isRecord$14(value) {
114338
+ function isRecord$15(value) {
114299
114339
  return typeof value === "object" && value !== null && !Array.isArray(value);
114300
114340
  }
114301
114341
  function isPathContainer(value) {
114302
- return Array.isArray(value) || isRecord$14(value);
114342
+ return Array.isArray(value) || isRecord$15(value);
114303
114343
  }
114304
114344
  function createPathContainer(nextIsIndex) {
114305
114345
  return nextIsIndex ? [] : {};
@@ -114356,7 +114396,7 @@ function withValueAtPath(target, path, value) {
114356
114396
  const segments = parsePath(path);
114357
114397
  if (segments.length === 0) return target;
114358
114398
  const result = replacePathValue(target, segments, value);
114359
- return isRecord$14(result) ? result : target;
114399
+ return isRecord$15(result) ? result : target;
114360
114400
  }
114361
114401
  function replacePathValue(current, segments, value) {
114362
114402
  const [segment, ...rest] = segments;
@@ -116327,12 +116367,12 @@ function resolveBookingSiteId(siteId, form) {
116327
116367
  return siteId || form?.siteId || "";
116328
116368
  }
116329
116369
  function normalizeBookingFormConfig(form) {
116330
- if (!isRecord$13(form)) return null;
116370
+ if (!isRecord$14(form)) return null;
116331
116371
  const id = readNonEmptyString(form.id);
116332
116372
  const name = readNonEmptyString(form.name);
116333
116373
  if (!id || !name) return null;
116334
- const schemaSource = isRecord$13(form.schema) ? form.schema : isRecord$13(form.schemaJson) ? form.schemaJson : null;
116335
- const settingsSource = isRecord$13(form.settings) ? form.settings : isRecord$13(form.settingsJson) ? form.settingsJson : null;
116374
+ const schemaSource = isRecord$14(form.schema) ? form.schema : isRecord$14(form.schemaJson) ? form.schemaJson : null;
116375
+ const settingsSource = isRecord$14(form.settings) ? form.settings : isRecord$14(form.settingsJson) ? form.settingsJson : null;
116336
116376
  return {
116337
116377
  id,
116338
116378
  name,
@@ -116352,8 +116392,8 @@ function normalizeBookingServices(services) {
116352
116392
  };
116353
116393
  if (!services) return [];
116354
116394
  if (Array.isArray(services)) return services.filter(isBookingFormService).map(normalizeService);
116355
- if (isRecord$13(services) && "services" in services) return Array.isArray(services.services) ? services.services.filter(isBookingFormService).map(normalizeService) : [];
116356
- return isRecord$13(services) ? Object.values(services).filter(isBookingFormService).map(normalizeService) : [];
116395
+ if (isRecord$14(services) && "services" in services) return Array.isArray(services.services) ? services.services.filter(isBookingFormService).map(normalizeService) : [];
116396
+ return isRecord$14(services) ? Object.values(services).filter(isBookingFormService).map(normalizeService) : [];
116357
116397
  }
116358
116398
  function normalizeBookingSchema(value) {
116359
116399
  if (!value) return void 0;
@@ -116364,7 +116404,7 @@ function normalizeBookingSchema(value) {
116364
116404
  };
116365
116405
  }
116366
116406
  function readBookingFormField(value) {
116367
- if (!isRecord$13(value)) return null;
116407
+ if (!isRecord$14(value)) return null;
116368
116408
  const id = readNonEmptyString(value.id);
116369
116409
  const label = readNonEmptyString(value.label);
116370
116410
  const type = readBookingFieldType(value.type);
@@ -116407,7 +116447,7 @@ function readBookingFieldOptions(value) {
116407
116447
  return options.length > 0 ? options : void 0;
116408
116448
  }
116409
116449
  function readBookingFieldOption(value) {
116410
- if (!isRecord$13(value)) return null;
116450
+ if (!isRecord$14(value)) return null;
116411
116451
  const optionValue = readNonEmptyString(value.value);
116412
116452
  const label = readNonEmptyString(value.label);
116413
116453
  return optionValue && label ? {
@@ -116426,7 +116466,7 @@ function normalizeBookingSettings(value) {
116426
116466
  };
116427
116467
  }
116428
116468
  function isBookingFormService(value) {
116429
- return isRecord$13(value) && typeof value.id === "string" && typeof value.siteId === "string" && typeof value.title === "string" && (value.asksSiteTerms === void 0 || typeof value.asksSiteTerms === "boolean") && (value.consent === void 0 || blockBookingConsentSchema.safeParse(value.consent).success) && (value.bookingQuestions === void 0 || beforeBookingQuestionsPresentationSchema.safeParse(value.bookingQuestions).success);
116469
+ return isRecord$14(value) && typeof value.id === "string" && typeof value.siteId === "string" && typeof value.title === "string" && (value.asksSiteTerms === void 0 || typeof value.asksSiteTerms === "boolean") && (value.consent === void 0 || blockBookingConsentSchema.safeParse(value.consent).success) && (value.bookingQuestions === void 0 || beforeBookingQuestionsPresentationSchema.safeParse(value.bookingQuestions).success);
116430
116470
  }
116431
116471
  function collectBookingCustomFields(data) {
116432
116472
  return Object.fromEntries(Object.entries(data).filter(([key]) => !BOOKING_FORM_DATA_RESERVED_KEYS.has(key)));
@@ -116461,7 +116501,7 @@ function readStringArray(value) {
116461
116501
  const strings = value.filter((item) => typeof item === "string");
116462
116502
  return strings.length > 0 ? strings : void 0;
116463
116503
  }
116464
- function isRecord$13(value) {
116504
+ function isRecord$14(value) {
116465
116505
  return typeof value === "object" && value !== null;
116466
116506
  }
116467
116507
  function resolveDefaultBookingServiceId(formConfig, services) {
@@ -116785,11 +116825,11 @@ function resolveMissingBookingPaymentStep(input) {
116785
116825
  }
116786
116826
  //#endregion
116787
116827
  //#region ../blocks/src/system/runtime/nodes/booking-form.service-categories.ts
116788
- function isRecord$12(value) {
116828
+ function isRecord$13(value) {
116789
116829
  return typeof value === "object" && value !== null && !Array.isArray(value);
116790
116830
  }
116791
116831
  function readCategory(value) {
116792
- if (!isRecord$12(value)) return [];
116832
+ if (!isRecord$13(value)) return [];
116793
116833
  const { id, name, description } = value;
116794
116834
  if (typeof id !== "string" || id.trim() === "" || typeof name !== "string") return [];
116795
116835
  return [{
@@ -116805,7 +116845,7 @@ function readCategory(value) {
116805
116845
  * it.
116806
116846
  */
116807
116847
  function normalizeBookingServiceCategories(services) {
116808
- if (!isRecord$12(services) || !Array.isArray(services.categories)) return [];
116848
+ if (!isRecord$13(services) || !Array.isArray(services.categories)) return [];
116809
116849
  return services.categories.flatMap(readCategory);
116810
116850
  }
116811
116851
  //#endregion
@@ -117933,40 +117973,8 @@ function withLookParts(props, arrangement) {
117933
117973
  }
117934
117974
  //#endregion
117935
117975
  //#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
117936
- function eventDetailsIslandValue({ props, presentation, scopedEvents, subject }) {
117937
- return {
117938
- ...props.arrangement ? {
117939
- arrangement: props.arrangement,
117940
- entryTitle: props.entryTitle,
117941
- actionSize: props.actionSize,
117942
- lookSlots: props.lookSlots,
117943
- surfacePresentation: props.surfacePresentation,
117944
- panelHeading: props.panelHeading
117945
- } : {},
117946
- quickFacts: props.quickFacts,
117947
- occurrenceContext: props.occurrenceContext ?? null,
117948
- subject,
117949
- events: scopedEvents,
117950
- venueDrawing: props.venueDrawing ?? null,
117951
- showVenue: presentation.showVenue,
117952
- showMap: presentation.showMap,
117953
- showOtherDates: presentation.showOtherDates,
117954
- otherDatesLimit: props.otherDatesLimit,
117955
- showCost: presentation.showCost,
117956
- showTitle: presentation.showTitle,
117957
- showDescription: presentation.showDescription,
117958
- showCapacity: presentation.showCapacity,
117959
- showAcceptedPasses: presentation.showAcceptedPasses,
117960
- showAcceptedMemberships: presentation.showAcceptedMemberships,
117961
- sitePasses: props.sitePasses,
117962
- siteMemberships: props.siteMemberships,
117963
- autoApplyDiscount: presentation.autoApplyDiscount,
117964
- className: props.className,
117965
- now: props.now
117966
- };
117967
- }
117968
117976
  function EventDetailsSSR(props) {
117969
- const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
117977
+ const { occurrenceContext = null, subject, events = null, className, children } = props;
117970
117978
  const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
117971
117979
  const scopedEvents = events === null ? null : resolveEventRegistrationScopedEvents(events, {
117972
117980
  occurrenceContext,
@@ -117978,19 +117986,9 @@ function EventDetailsSSR(props) {
117978
117986
  occurrenceContext,
117979
117987
  subject: normalizedSubject
117980
117988
  });
117981
- return /* @__PURE__ */ jsxs(IslandRoot, {
117982
- kind: "event-details",
117983
- id: blockId,
117984
- attributes: {
117985
- className: `event-details ${className ?? ""}`.trim(),
117986
- "data-block": "event-details"
117987
- },
117988
- value: eventDetailsIslandValue({
117989
- props,
117990
- presentation,
117991
- scopedEvents,
117992
- subject: normalizedSubject
117993
- }),
117989
+ return /* @__PURE__ */ jsxs("div", {
117990
+ className: `event-details ${className ?? ""}`.trim(),
117991
+ "data-block": "event-details",
117994
117992
  children: [/* @__PURE__ */ jsx(EventDetailsView, {
117995
117993
  ...presentation,
117996
117994
  mapClassName: "venue-map event-details-map"
@@ -122841,14 +122839,14 @@ function isDecoratedHeadingBlockKind(blockKind) {
122841
122839
  return blockKind === "block.intro" || blockKind === "block.feature-cards" || blockKind === "block.testimonials" || blockKind === "block.faq";
122842
122840
  }
122843
122841
  function readVariant(blockContent) {
122844
- if (!isRecord$11(blockContent)) return void 0;
122842
+ if (!isRecord$12(blockContent)) return void 0;
122845
122843
  const variant = blockContent.variant;
122846
122844
  return typeof variant === "string" ? variant : void 0;
122847
122845
  }
122848
122846
  function isFaqDecoratedVariant(variant) {
122849
122847
  return variant === "default" || variant === "question-columns";
122850
122848
  }
122851
- function isRecord$11(value) {
122849
+ function isRecord$12(value) {
122852
122850
  return typeof value === "object" && value !== null && !Array.isArray(value);
122853
122851
  }
122854
122852
  function buildHeadingDecorationWrapperClassName(className) {
@@ -123943,11 +123941,11 @@ function readTreatment(kind, value) {
123943
123941
  };
123944
123942
  }
123945
123943
  function readBlockComposition(value) {
123946
- if (!isRecord$10(value) || typeof value.kind !== "string") return null;
123944
+ if (!isRecord$11(value) || typeof value.kind !== "string") return null;
123947
123945
  if (!isCompositionKind(value.kind)) return null;
123948
123946
  return readTreatment(value.kind, value.treatment);
123949
123947
  }
123950
- function isRecord$10(value) {
123948
+ function isRecord$11(value) {
123951
123949
  return typeof value === "object" && value !== null && !Array.isArray(value);
123952
123950
  }
123953
123951
  function arrangementHooksFromContent(content) {
@@ -125355,9 +125353,9 @@ function parseBackgroundOverrideFromContent(content) {
125355
125353
  * Only the explicit owner marker can make a background a page-design override.
125356
125354
  */
125357
125355
  function parseCanonicalSectionBackground(content) {
125358
- const background = (isRecord$9(content._sectionStyles) ? content._sectionStyles : null)?.background;
125356
+ const background = (isRecord$10(content._sectionStyles) ? content._sectionStyles : null)?.background;
125359
125357
  if (background === null || background === void 0) return { kind: "none" };
125360
- if (isRecord$9(background) && background.contentOwner === "page-design-editor") return {
125358
+ if (isRecord$10(background) && background.contentOwner === "page-design-editor") return {
125361
125359
  kind: "page-design-override",
125362
125360
  parsed: parseBackgroundOverride(background)
125363
125361
  };
@@ -125418,7 +125416,7 @@ function parseBackgroundOverride(value) {
125418
125416
  kind: "supported",
125419
125417
  override: DEFAULT_BACKGROUND_OVERRIDE
125420
125418
  };
125421
- if (!isRecord$9(value)) return {
125419
+ if (!isRecord$10(value)) return {
125422
125420
  kind: "unsupported",
125423
125421
  reason: "unsupported-shape",
125424
125422
  background: {}
@@ -125457,7 +125455,7 @@ function parseBackgroundOverride(value) {
125457
125455
  }
125458
125456
  }
125459
125457
  function applyBackgroundOverrideContentPatch(content, override) {
125460
- const sectionStyles = isRecord$9(content._sectionStyles) ? content._sectionStyles : {};
125458
+ const sectionStyles = isRecord$10(content._sectionStyles) ? content._sectionStyles : {};
125461
125459
  const serialized = serializeBackgroundOverride(override);
125462
125460
  if (serialized === null) return withSectionStyles(content, omitRecordKey$1(sectionStyles, "background"));
125463
125461
  return withSectionStyles(content, {
@@ -125677,7 +125675,7 @@ function imageAllowed(identifier, pool) {
125677
125675
  return pool?.some((item) => item.reference.identifier === identifier) ?? false;
125678
125676
  }
125679
125677
  function parseImageReference(value) {
125680
- if (!isRecord$9(value) || value.identifier === void 0 || value.identifier === null) return { kind: "missing" };
125678
+ if (!isRecord$10(value) || value.identifier === void 0 || value.identifier === null) return { kind: "missing" };
125681
125679
  if (value.type !== void 0 && value.type !== "image") return { kind: "invalid" };
125682
125680
  const parsed = imageMediaSchema.safeParse({
125683
125681
  ...value,
@@ -125720,7 +125718,7 @@ function withSectionStyles(content, sectionStyles) {
125720
125718
  function omitRecordKey$1(content, key) {
125721
125719
  return Object.fromEntries(Object.entries(content).filter(([entryKey]) => entryKey !== key));
125722
125720
  }
125723
- function isRecord$9(value) {
125721
+ function isRecord$10(value) {
125724
125722
  return typeof value === "object" && value !== null && !Array.isArray(value);
125725
125723
  }
125726
125724
  //#endregion
@@ -126587,7 +126585,7 @@ function ensureFieldValue(field, raw, ctx) {
126587
126585
  return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
126588
126586
  }
126589
126587
  function ensureRepeaterItem(field, value, ctx) {
126590
- const itemData = isRecord$28(value) ? value : {};
126588
+ const itemData = isRecord$29(value) ? value : {};
126591
126589
  const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
126592
126590
  const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
126593
126591
  return {
@@ -128612,9 +128610,9 @@ function isBlockSaveable(saveability) {
128612
128610
  /** The payload a block save sends: its values, unwrapped from a `data` envelope if present. */
128613
128611
  function blockSaveData(values) {
128614
128612
  const record = values ?? {};
128615
- return isRecord$8(record.data) ? record.data : record;
128613
+ return isRecord$9(record.data) ? record.data : record;
128616
128614
  }
128617
- function isRecord$8(value) {
128615
+ function isRecord$9(value) {
128618
128616
  return typeof value === "object" && value !== null && !Array.isArray(value);
128619
128617
  }
128620
128618
  //#endregion
@@ -131365,6 +131363,153 @@ Object.values(BINDING_TRANSFORMS);
131365
131363
  /** View-mode preview controls: above a site's floating bars, below its modal panel. */
131366
131364
  const PREVIEW_CHROME_Z_INDEX = 13e3;
131367
131365
  //#endregion
131366
+ //#region ../api/src/pageReadResponseCache.ts
131367
+ var CacheProbeMiss = class extends Error {};
131368
+ /** Next has no response-dependent fetch TTL. Only the matching policy may store a page read. */
131369
+ var UncachedPageRead = class extends Error {
131370
+ constructor(snapshot) {
131371
+ super("Page read belongs to another cache policy");
131372
+ this.snapshot = snapshot;
131373
+ }
131374
+ };
131375
+ function isRecord$8(value) {
131376
+ return typeof value === "object" && value !== null && !Array.isArray(value);
131377
+ }
131378
+ function isResolvedPage(page) {
131379
+ return page?.kind === "resolved" && typeof page.requestedPath === "string" && (page.dependencies === "content" || page.dependencies === "availability") && isRecord$8(page.result) && [
131380
+ "cms",
131381
+ "system_event",
131382
+ "system_service"
131383
+ ].includes(String(page.result.kind));
131384
+ }
131385
+ function envelopePage(body) {
131386
+ const data = isRecord$8(body) && body.success === true && isRecord$8(body.data) ? body.data : null;
131387
+ return data?.type === "content" && isRecord$8(data.content) ? data.content : data;
131388
+ }
131389
+ function admit(snapshot) {
131390
+ try {
131391
+ const page = envelopePage(JSON.parse(snapshot.body));
131392
+ if (snapshot.status === 200 && isResolvedPage(page)) return {
131393
+ resolved: true,
131394
+ dependencies: page.dependencies
131395
+ };
131396
+ } catch {}
131397
+ return {
131398
+ resolved: false,
131399
+ dependencies: snapshot.status === 200 || snapshot.headers.some(([key, value]) => key === "x-riverbank-page-dependencies" && value === "availability") ? "availability" : "content"
131400
+ };
131401
+ }
131402
+ /** A scoped transport read is shared with Next's background refresh, never across requests. */
131403
+ function liveResponse(read) {
131404
+ const pending = /* @__PURE__ */ new Map();
131405
+ return () => {
131406
+ const existing = pending.get("response");
131407
+ if (existing) return existing;
131408
+ const response = read().then(async (value) => ({
131409
+ body: await value.text(),
131410
+ status: value.status,
131411
+ headers: [...value.headers.entries()],
131412
+ cachedAt: Date.now()
131413
+ }));
131414
+ pending.set("response", response);
131415
+ return response;
131416
+ };
131417
+ }
131418
+ /** Neutral probes do not register a policy; the chosen entry is then checked with its real tags. */
131419
+ async function readPolicy(input, probe = false) {
131420
+ const policy = buildPageReadCachePolicy(input.siteId, input.dependency);
131421
+ const revalidate = Math.min(policy.revalidate, input.maxAge ?? policy.revalidate);
131422
+ const snapshot = await input.cache(async () => {
131423
+ const snapshot = await input.read();
131424
+ const admission = admit(snapshot);
131425
+ if (!admission.resolved || admission.dependencies !== input.dependency) throw new UncachedPageRead(snapshot);
131426
+ return snapshot;
131427
+ }, [
131428
+ "page-read-envelope-v2",
131429
+ input.key,
131430
+ input.dependency
131431
+ ], probe ? {
131432
+ revalidate: false,
131433
+ tags: []
131434
+ } : {
131435
+ ...policy,
131436
+ revalidate
131437
+ })();
131438
+ if (Date.now() - snapshot.cachedAt < revalidate * 1e3) return snapshot;
131439
+ return probe ? null : input.read();
131440
+ }
131441
+ async function probePolicy(input) {
131442
+ return readPolicy({
131443
+ ...input,
131444
+ read: async () => {
131445
+ throw new CacheProbeMiss();
131446
+ }
131447
+ }, true).catch((error) => {
131448
+ if (error instanceof CacheProbeMiss) return null;
131449
+ throw error;
131450
+ });
131451
+ }
131452
+ /** Read in a framework cache scope, but never store an unclassified or failed response. */
131453
+ async function readInCacheScope(cache, key, read) {
131454
+ try {
131455
+ return await cache(async () => {
131456
+ throw new UncachedPageRead(await read());
131457
+ }, ["page-read-live-v2", key], {
131458
+ revalidate: false,
131459
+ tags: []
131460
+ })();
131461
+ } catch (error) {
131462
+ if (error instanceof UncachedPageRead) return error.snapshot;
131463
+ throw error;
131464
+ }
131465
+ }
131466
+ async function selectResponse(input) {
131467
+ const candidate = await probePolicy({
131468
+ ...input,
131469
+ dependency: "content"
131470
+ }) ?? await probePolicy({
131471
+ ...input,
131472
+ dependency: "availability"
131473
+ });
131474
+ if (candidate) try {
131475
+ const checked = await readPolicy({
131476
+ ...input,
131477
+ dependency: admit(candidate).dependencies
131478
+ });
131479
+ if (checked) return checked;
131480
+ } catch (error) {
131481
+ if (error instanceof UncachedPageRead) return storeResponse(input, error.snapshot);
131482
+ throw error;
131483
+ }
131484
+ return storeResponse(input, await readInCacheScope(input.cache, input.key, input.read));
131485
+ }
131486
+ async function storeResponse(input, snapshot) {
131487
+ const admission = admit(snapshot);
131488
+ try {
131489
+ return await readPolicy({
131490
+ ...input,
131491
+ key: admission.resolved ? input.key : `${input.key}:refusal:${snapshot.status}`,
131492
+ dependency: admission.dependencies,
131493
+ read: async () => snapshot
131494
+ }) ?? snapshot;
131495
+ } catch (error) {
131496
+ if (error instanceof UncachedPageRead) return error.snapshot;
131497
+ throw error;
131498
+ }
131499
+ }
131500
+ async function cachePageReadResponse(input) {
131501
+ if (!input.cache) return input.read();
131502
+ const result = await selectResponse({
131503
+ ...input,
131504
+ cache: input.cache,
131505
+ read: liveResponse(input.read)
131506
+ });
131507
+ return new Response(result.body, {
131508
+ status: result.status,
131509
+ headers: result.headers
131510
+ });
131511
+ }
131512
+ //#endregion
131368
131513
  //#region ../api/src/request-error.ts
131369
131514
  var ApiRequestError = class extends Error {
131370
131515
  constructor(message, options) {
@@ -131692,19 +131837,6 @@ function resolveApiBaseUrl() {
131692
131837
  }
131693
131838
  //#endregion
131694
131839
  //#region ../api/src/request.ts
131695
- let revalidateTag = null;
131696
- let revalidateTagResolved = false;
131697
- function getRevalidateTag() {
131698
- if (revalidateTagResolved) return revalidateTag;
131699
- revalidateTagResolved = true;
131700
- if (typeof window !== "undefined") return null;
131701
- try {
131702
- revalidateTag = new Function("modulePath", "return require(modulePath)")("next/cache").revalidateTag ?? null;
131703
- } catch {
131704
- revalidateTag = null;
131705
- }
131706
- return revalidateTag;
131707
- }
131708
131840
  /**
131709
131841
  * Generate a UUID, with fallback for environments where crypto.randomUUID isn't available.
131710
131842
  */
@@ -131793,8 +131925,8 @@ function serializePathParam(endpoint, key, value) {
131793
131925
  if (typeof value === "string") return value;
131794
131926
  throw new Error(`Invalid path param for endpoint ${String(endpoint)}: ${key} must be a string`);
131795
131927
  }
131796
- function invalidateCacheTags(tags, params) {
131797
- const resolved = getRevalidateTag();
131928
+ function invalidateCacheTags(adapter, tags, params) {
131929
+ const resolved = adapter?.invalidateTag;
131798
131930
  if (typeof window !== "undefined" || !resolved || !tags) return;
131799
131931
  tags.forEach((tag) => {
131800
131932
  let processedTag = tag;
@@ -131802,7 +131934,7 @@ function invalidateCacheTags(tags, params) {
131802
131934
  processedTag = processedTag.replace(`{${key}}`, String(value));
131803
131935
  });
131804
131936
  try {
131805
- resolved(processedTag, "max");
131937
+ resolved(processedTag);
131806
131938
  } catch {}
131807
131939
  });
131808
131940
  }
@@ -131895,7 +132027,7 @@ function successJsonEnvelope(parsed, requestId) {
131895
132027
  if (parsed && typeof parsed === "object" && "success" in parsed && typeof parsed.success === "boolean") return parsed;
131896
132028
  return buildSuccessEnvelope(coerceResponse(parsed), requestId);
131897
132029
  }
131898
- function createApiResponseTransport(getHeaders = () => ({}), baseUrl, { sdkVersion } = {}) {
132030
+ function createApiResponseTransport(getHeaders = () => ({}), baseUrl, { sdkVersion, frameworkCache } = {}) {
131899
132031
  return ({ endpoint, body, params, options = {} }) => {
131900
132032
  const plan = buildApiRequestPlan({
131901
132033
  endpoint,
@@ -131909,14 +132041,31 @@ function createApiResponseTransport(getHeaders = () => ({}), baseUrl, { sdkVersi
131909
132041
  baseUrl: normalizeCmsApiBaseUrl(baseUrl ?? resolveApiBaseUrl()),
131910
132042
  sdkVersion
131911
132043
  });
131912
- const fetchPromise = fetch(plan.url, plan.init);
132044
+ const fetchPromise = executeApiRequest(plan, endpoint, params, options, frameworkCache);
131913
132045
  if (plan.cacheInvalidationTags) return fetchPromise.then((response) => {
131914
- if (response.ok) invalidateCacheTags(plan.cacheInvalidationTags, params);
132046
+ if (response.ok) invalidateCacheTags(frameworkCache, plan.cacheInvalidationTags, params);
131915
132047
  return response;
131916
132048
  });
131917
132049
  return fetchPromise;
131918
132050
  };
131919
132051
  }
132052
+ function isPublishedPageRead(endpoint, params, options) {
132053
+ return (endpoint === "getContentByPath" || endpoint === "resolveRouteOutcome") && params?.preview !== true && params?.preview !== "true" && options.cache !== "no-store";
132054
+ }
132055
+ function executeApiRequest(plan, endpoint, params, options, frameworkCache) {
132056
+ const inputParams = params;
132057
+ const { next: fetchPolicy, ...uncachedInit } = plan.init;
132058
+ return isPublishedPageRead(endpoint, inputParams, options) ? cachePageReadResponse({
132059
+ cache: frameworkCache?.cache ?? null,
132060
+ key: JSON.stringify([plan.url, [...new Headers(plan.init.headers).entries()]]),
132061
+ siteId: typeof inputParams?.siteId === "string" ? inputParams.siteId : "",
132062
+ maxAge: typeof fetchPolicy?.revalidate === "number" ? fetchPolicy.revalidate : void 0,
132063
+ read: () => fetch(plan.url, {
132064
+ ...uncachedInit,
132065
+ cache: "no-store"
132066
+ })
132067
+ }) : fetch(plan.url, plan.init);
132068
+ }
131920
132069
  const batchReadPolicyBodySchema = z.object({ requests: z.array(z.object({
131921
132070
  endpoint: z.string(),
131922
132071
  params: z.record(z.string(), z.unknown()).optional()
@@ -131950,10 +132099,12 @@ function batchReadRequestOptions(params, body, options) {
131950
132099
  function publicReadRequestOptions(endpoint, params, body, options) {
131951
132100
  if (endpoint === "batchBlockLoaders") return batchReadRequestOptions(params, body, options);
131952
132101
  const preview = params?.preview === true || params?.preview === "true";
131953
- return endpoint === "getContentByPath" && preview ? {
132102
+ if (endpoint !== "getContentByPath" && endpoint !== "resolveRouteOutcome") return options;
132103
+ if (preview) return {
131954
132104
  ...options,
131955
132105
  cache: "no-store"
131956
- } : options;
132106
+ };
132107
+ return options;
131957
132108
  }
131958
132109
  function assertResolvedEndpointPath(endpoint, url) {
131959
132110
  const tokens = [...url.match(/\{[^}]+\}/g) ?? [], ...url.match(/(^|\/):([A-Za-z][A-Za-z0-9_]*)\b/g) ?? []];
@@ -138057,99 +138208,24 @@ async function requestManualPreview(input) {
138057
138208
  const initialDiscountCodeUiState = {
138058
138209
  discountUiOpen: false,
138059
138210
  discountCode: "",
138060
- discountCodeRestored: false,
138061
- availability: { tag: "disabled" }
138062
- };
138063
- function getDiscountContextKey(context) {
138064
- if (!context) return "disabled";
138065
- switch (context.type) {
138066
- case "event": return [
138067
- context.type,
138068
- context.eventSeriesId,
138069
- context.eventCategoryId ?? "",
138070
- context.ticketsCount ?? ""
138071
- ].join(":");
138072
- case "appointment": return [context.type, context.serviceId].join(":");
138073
- case "whole_series": return [context.type, context.eventSeriesId].join(":");
138074
- case "pass": return [context.type, context.passId].join(":");
138075
- case "membership": return [context.type, context.membershipId].join(":");
138076
- case "product": return [
138077
- context.type,
138078
- context.productId,
138079
- context.productCategoryId ?? ""
138080
- ].join(":");
138081
- }
138082
- }
138083
- function buildDiscountAvailabilityRequestPlan(options) {
138084
- if (!options.discountContext) return {
138085
- ok: false,
138086
- key: "disabled"
138087
- };
138088
- const subtotalCents = options.subtotalCents;
138089
- return {
138090
- ok: true,
138091
- key: [getDiscountContextKey(options.discountContext), subtotalCents ?? ""].join("|"),
138092
- request: {
138093
- context: options.discountContext,
138094
- ...subtotalCents !== void 0 ? { subtotalCents } : {}
138095
- }
138096
- };
138097
- }
138098
- function discountAvailabilityStateFromResponse(requestKey, response) {
138099
- if (!discountAvailabilityHasDiscounts(response)) return {
138100
- tag: "unavailable",
138101
- requestKey
138102
- };
138103
- return {
138104
- tag: "available",
138105
- requestKey,
138106
- manualCodeEntryAllowed: discountAvailabilityAllowsManualEntry(response),
138107
- autoAppliedDiscount: getAutoAppliedDiscountPreview(response)
138108
- };
138109
- }
138110
- /** When codes can't be entered a typed code goes, but a restored one stays until the server has refused it. */
138111
- function withoutManualEntry(state, availability) {
138112
- return state.discountCodeRestored ? {
138113
- ...state,
138114
- availability
138115
- } : {
138116
- ...state,
138117
- discountUiOpen: false,
138118
- discountCode: "",
138119
- availability
138120
- };
138121
- }
138211
+ discountCodeRestored: false
138212
+ };
138122
138213
  function discountCodeUiReducer(state, event) {
138123
138214
  switch (event.type) {
138124
- case "availability-disabled": return withoutManualEntry(state, { tag: "disabled" });
138125
- case "availability-loading": return {
138215
+ case "manual-entry-unavailable": return state.discountCodeRestored ? state : {
138126
138216
  ...state,
138127
- availability: {
138128
- tag: "loading",
138129
- previous: state.availability.tag === "available" || state.availability.tag === "unavailable" ? state.availability : state.availability.tag === "loading" ? state.availability.previous : null
138130
- }
138217
+ discountCode: "",
138218
+ discountUiOpen: false
138131
138219
  };
138132
- case "availability-loaded": {
138133
- const availability = discountAvailabilityStateFromResponse(event.requestKey, event.response);
138134
- if (availability.tag !== "available" || !availability.manualCodeEntryAllowed) return withoutManualEntry(state, availability);
138135
- return {
138136
- ...state,
138137
- availability
138138
- };
138139
- }
138140
- case "availability-failed": return withoutManualEntry(state, {
138141
- tag: "error",
138142
- requestKey: event.requestKey
138143
- });
138144
138220
  case "discount-code-changed": return {
138145
138221
  ...state,
138146
138222
  discountCode: event.code,
138147
- discountCodeRestored: event.code.trim() === "" ? false : state.discountCodeRestored
138223
+ discountCodeRestored: Boolean(event.code.trim()) && state.discountCodeRestored
138148
138224
  };
138149
138225
  case "discount-code-restored": return {
138150
138226
  ...state,
138151
- discountUiOpen: true,
138152
138227
  discountCode: event.code,
138228
+ discountUiOpen: true,
138153
138229
  discountCodeRestored: true
138154
138230
  };
138155
138231
  case "discount-ui-open-changed": return {
@@ -138160,55 +138236,95 @@ function discountCodeUiReducer(state, event) {
138160
138236
  }
138161
138237
  //#endregion
138162
138238
  //#region ../blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.ts
138163
- function useStableDiscountAvailabilityRequestPlan(options) {
138164
- const nextPlan = buildDiscountAvailabilityRequestPlan(options);
138165
- const planRef = useRef(nextPlan);
138166
- if (planRef.current.key !== nextPlan.key) planRef.current = nextPlan;
138167
- return planRef.current;
138239
+ function useStandaloneDiscountAvailability(api, context, scopeKey, subtotalCents) {
138240
+ const key = JSON.stringify([
138241
+ scopeKey,
138242
+ context,
138243
+ subtotalCents
138244
+ ]);
138245
+ const [loaded, setLoaded] = useState(null);
138246
+ useEffect(() => {
138247
+ const lifetime = { current: true };
138248
+ if (context) api.getDiscountsAvailable({
138249
+ context,
138250
+ ...subtotalCents === void 0 ? {} : { subtotalCents }
138251
+ }).then((response) => {
138252
+ if (lifetime.current) setLoaded({
138253
+ key,
138254
+ response
138255
+ });
138256
+ }, () => {
138257
+ if (lifetime.current) setLoaded({
138258
+ key,
138259
+ response: null
138260
+ });
138261
+ });
138262
+ return () => {
138263
+ lifetime.current = false;
138264
+ };
138265
+ }, [api, key]);
138266
+ return {
138267
+ response: context && loaded?.key === key ? loaded.response : null,
138268
+ loading: context !== null && loaded?.key !== key
138269
+ };
138270
+ }
138271
+ function standaloneDiscountContext(context) {
138272
+ return context?.type === "appointment" || context?.type === "pass" || context?.type === "membership" ? context : null;
138273
+ }
138274
+ function discountAvailabilityPlan(options) {
138275
+ const registration = "preview" in options ? options : null;
138276
+ const context = standaloneDiscountContext(options.discountContext);
138277
+ return {
138278
+ context,
138279
+ scopeKey: registration?.scopeKey ?? "",
138280
+ subtotalCents: "subtotalCents" in options ? options.subtotalCents : void 0,
138281
+ standalonePurchase: registration === null || context !== null
138282
+ };
138283
+ }
138284
+ function quotedRegistrationPreview(preview) {
138285
+ return preview?.kind === "quoted" ? preview : null;
138286
+ }
138287
+ function discountAvailabilityView(options, standalonePurchase, standalone) {
138288
+ if (standalonePurchase) return standaloneDiscountView(standalone);
138289
+ const registration = "preview" in options ? options : null;
138290
+ const quoted = quotedRegistrationPreview(registration?.preview);
138291
+ const manualCodeEntryAllowed = quoted?.manualCodeEntryAllowed ?? false;
138292
+ return {
138293
+ manualCodeEntryAllowed,
138294
+ discountsAvailable: manualCodeEntryAllowed || quoted?.automaticCode != null,
138295
+ autoAppliedDiscount: null,
138296
+ discountsAvailableLoading: registration?.loading ?? false
138297
+ };
138298
+ }
138299
+ function standaloneDiscountView(standalone) {
138300
+ const response = standalone.response;
138301
+ return {
138302
+ manualCodeEntryAllowed: response !== null && discountAvailabilityAllowsManualEntry(response),
138303
+ discountsAvailable: response !== null && discountAvailabilityHasDiscounts(response),
138304
+ autoAppliedDiscount: response ? getAutoAppliedDiscountPreview(response) : null,
138305
+ discountsAvailableLoading: standalone.loading
138306
+ };
138168
138307
  }
138169
138308
  function useDiscountCodeUi(options) {
138170
138309
  const [state, dispatch] = useReducer(discountCodeUiReducer, initialDiscountCodeUiState);
138171
- const requestPlan = useStableDiscountAvailabilityRequestPlan(options);
138310
+ const plan = discountAvailabilityPlan(options);
138311
+ const standalone = useStandaloneDiscountAvailability(options.api, plan.context, plan.scopeKey, plan.subtotalCents);
138312
+ const view = discountAvailabilityView(options, plan.standalonePurchase, standalone);
138313
+ const { manualCodeEntryAllowed } = view;
138314
+ const standalonePurchase = plan.standalonePurchase;
138172
138315
  useEffect(() => {
138173
- let cancelled = false;
138174
- async function checkDiscountAvailability() {
138175
- if (!requestPlan.ok) {
138176
- dispatch({ type: "availability-disabled" });
138177
- return;
138178
- }
138179
- dispatch({ type: "availability-loading" });
138180
- try {
138181
- const res = await options.api.getDiscountsAvailable(requestPlan.request);
138182
- if (cancelled) return;
138183
- dispatch({
138184
- type: "availability-loaded",
138185
- requestKey: requestPlan.key,
138186
- response: res
138187
- });
138188
- } catch {
138189
- if (cancelled) return;
138190
- dispatch({
138191
- type: "availability-failed",
138192
- requestKey: requestPlan.key
138193
- });
138194
- }
138195
- }
138196
- checkDiscountAvailability();
138197
- return () => {
138198
- cancelled = true;
138199
- };
138200
- }, [options.api, requestPlan]);
138201
- const availability = state.availability;
138202
- const settledAvailability = availability.tag === "loading" ? availability.previous : availability.tag === "available" || availability.tag === "unavailable" ? availability : null;
138203
- const isAvailable = settledAvailability?.tag === "available";
138204
- const manualCodeEntryAllowed = isAvailable ? settledAvailability.manualCodeEntryAllowed : false;
138316
+ if (standalonePurchase && !standalone.loading && !manualCodeEntryAllowed) dispatch({ type: "manual-entry-unavailable" });
138317
+ }, [
138318
+ standalonePurchase,
138319
+ standalone.loading,
138320
+ manualCodeEntryAllowed
138321
+ ]);
138205
138322
  return {
138206
- discountUiOpen: state.discountUiOpen,
138323
+ ...state,
138207
138324
  setDiscountUiOpen: (isOpen) => dispatch({
138208
138325
  type: "discount-ui-open-changed",
138209
138326
  isOpen
138210
138327
  }),
138211
- discountCode: state.discountCode,
138212
138328
  setDiscountCode: (code) => dispatch({
138213
138329
  type: "discount-code-changed",
138214
138330
  code
@@ -138217,13 +138333,7 @@ function useDiscountCodeUi(options) {
138217
138333
  type: "discount-code-restored",
138218
138334
  code
138219
138335
  }),
138220
- discountCodeRestored: state.discountCodeRestored,
138221
- discountsAvailable: isAvailable,
138222
- manualCodeEntryAllowed,
138223
- autoAppliedDiscount: isAvailable ? settledAvailability.autoAppliedDiscount : null,
138224
- discountsAvailableLoading: availability.tag === "loading",
138225
- discountAvailabilityRequestKey: requestPlan.key,
138226
- settledDiscountAvailabilityRequestKey: availability.tag === "error" ? availability.requestKey : settledAvailability?.requestKey ?? null
138336
+ ...view
138227
138337
  };
138228
138338
  }
138229
138339
  //#endregion
@@ -142095,7 +142205,7 @@ const NO_REDUCTION = {
142095
142205
  function decideSingleBookingPrices(input) {
142096
142206
  const { context, quote } = input;
142097
142207
  if (input.several || !context) return NO_REDUCTION;
142098
- if (context.type === "event") return eventPrices(input, quote);
142208
+ if (context.type === "event" || context.type === "whole_series") return eventPrices(input, quote);
142099
142209
  if (!quote) return NO_REDUCTION;
142100
142210
  if (context.type === "pass") return {
142101
142211
  ...NO_REDUCTION,
@@ -142111,12 +142221,16 @@ function eventPrices(input, quote) {
142111
142221
  ...NO_REDUCTION,
142112
142222
  automaticDiscount: input.advertisedAutomatic
142113
142223
  };
142114
- if (quote.preview.type !== "applied") return NO_REDUCTION;
142224
+ if (quote.preview.type !== "applied") return {
142225
+ ...NO_REDUCTION,
142226
+ bookingTotalCents: quote.preview.totalAfterDiscountCents
142227
+ };
142115
142228
  return quote.source === "typed" ? {
142116
142229
  ...NO_REDUCTION,
142117
142230
  bookingTotalCents: quote.preview.totalAfterDiscountCents
142118
142231
  } : {
142119
142232
  ...NO_REDUCTION,
142233
+ bookingTotalCents: quote.preview.totalAfterDiscountCents + quote.preview.discountCents,
142120
142234
  automaticDiscount: automaticFromQuote(quote.preview, input.advertisedAutomatic)
142121
142235
  };
142122
142236
  }
@@ -143033,7 +143147,13 @@ function useEligibility(params) {
143033
143147
  function eligibilityRequest(params) {
143034
143148
  const selections = normalizeTicketSelectionLines(params.ticketSelections);
143035
143149
  if (!params.enabled || !params.subject || selections.length === 0) return null;
143150
+ const email = parseParticipantEmail(params.buyerEmail);
143036
143151
  return {
143152
+ buyer: email.ok ? {
143153
+ kind: "email",
143154
+ email: email.value
143155
+ } : { kind: "unknown" },
143156
+ purchaseTarget: params.purchaseTarget ?? "eventTickets",
143037
143157
  subject: toRegistrationRequestSubject(params.subject, params.attendanceMode),
143038
143158
  selections: selections.map(({ pricingOptionId, quantity }) => ({
143039
143159
  pricingOptionId,
@@ -143072,11 +143192,24 @@ async function loadEligibility(input) {
143072
143192
  function useEligibilityWithDeps(params, deps) {
143073
143193
  const api = deps.useBlockApi();
143074
143194
  const request = eligibilityRequest(params);
143195
+ const scope = useRef({
143196
+ api,
143197
+ version: 0
143198
+ });
143199
+ if (scope.current.api !== api) scope.current = {
143200
+ api,
143201
+ version: scope.current.version + 1
143202
+ };
143075
143203
  const requestKey = JSON.stringify({
143204
+ scope: scope.current.version,
143205
+ subjectEmail: params.subjectEmail,
143206
+ purchaseKey: params.purchaseKey,
143076
143207
  refreshKey: params.refreshKey ?? 0,
143077
143208
  request
143078
143209
  });
143079
143210
  const [state, dispatch] = useReducer(eligibilityLookupReducer, initialEligibilityLookupState);
143211
+ const activeKey = useRef(requestKey);
143212
+ activeKey.current = requestKey;
143080
143213
  useEffect(() => {
143081
143214
  const lifetime = { current: true };
143082
143215
  const timeoutId = window.setTimeout(() => {
@@ -143086,7 +143219,7 @@ function useEligibilityWithDeps(params, deps) {
143086
143219
  request,
143087
143220
  requestKey,
143088
143221
  dispatch,
143089
- isCurrent: () => lifetime.current
143222
+ isCurrent: () => lifetime.current && activeKey.current === requestKey
143090
143223
  });
143091
143224
  }, REGISTRATION_OPTIONS_DEBOUNCE_MS);
143092
143225
  return () => {
@@ -143707,8 +143840,12 @@ function quoteFeedback(state) {
143707
143840
  } : null;
143708
143841
  }
143709
143842
  /** A quote belongs to the complete priced input and the customer, never just the draft code. */
143710
- function selectionQuoteKey(lines, email) {
143711
- return lines ? JSON.stringify([selectionPreviewKey(null, lines), email.trim().toLowerCase()]) : null;
143843
+ function selectionQuoteKey(lines, email, scope) {
143844
+ return lines ? JSON.stringify([
143845
+ selectionPreviewKey(null, lines),
143846
+ email.trim().toLowerCase(),
143847
+ ...scope ? [scope] : []
143848
+ ]) : null;
143712
143849
  }
143713
143850
  function currentSelectionQuote(state, key) {
143714
143851
  return state.key === key ? state : emptyQuoteDraft(key, state.draftCode);
@@ -143750,12 +143887,9 @@ function decideSelectionQuoteResponse(pending, result) {
143750
143887
  * or before going to Stripe and coming back), which they've already applied
143751
143888
  * as far as they know. A code typed here waits for Apply.
143752
143889
  */
143753
- function automaticSelectionQuoteWanted(state, input, carried = false) {
143754
- return input.automaticWanted && state.status === "draft" && (carried || uncodedQuoteWanted(input) && !state.draftCode.trim());
143755
- }
143756
- /** Several items have no total until the server prices them; one booking has a price already. */
143757
- function uncodedQuoteWanted(input) {
143758
- return input.several !== null || input.automaticOffered;
143890
+ function explicitSelectionQuoteWanted(state, input, carried = false) {
143891
+ if (input.several === null && input.combinedPending) return false;
143892
+ return input.automaticWanted && state.status === "draft" && (carried || (input.several !== null || input.productAutomaticOffered) && !state.draftCode.trim());
143759
143893
  }
143760
143894
  /** Nothing to price: no code or automatic discount can change a free selection. */
143761
143895
  function freeSelection(input) {
@@ -143774,11 +143908,14 @@ function pricedPreview(state) {
143774
143908
  if (state.status === "priced") return state.preview;
143775
143909
  return state.status === "refused" ? state.uncoded ?? null : null;
143776
143910
  }
143911
+ function selectionPriceSettled(input, state) {
143912
+ return !(input.several === null && state.key !== null && Boolean(state.draftCode.trim()) && state.status !== "priced") && (pricedPreview(state) !== null || freeSelection(input) || singleBookingNeedsNoAnswer(input, state));
143913
+ }
143777
143914
  /** The only projection that can expose a selection's payable total and submitted code. */
143778
143915
  function decidedSelectionPricing(input, state, apply) {
143779
143916
  const priced = state.status === "priced" ? state : null;
143780
143917
  const fallback = priced === null ? pricedPreview(state) : null;
143781
- const settled = priced !== null || fallback !== null || freeSelection(input) || singleBookingNeedsNoAnswer(input, state);
143918
+ const settled = selectionPriceSettled(input, state);
143782
143919
  const waiting = quoteWaiting(input, state, settled);
143783
143920
  return {
143784
143921
  state,
@@ -143805,11 +143942,11 @@ function decidedSelectionPricing(input, state, apply) {
143805
143942
  * price anyway, so a preview that failed never stops a booking. A typed code always waits.
143806
143943
  */
143807
143944
  function singleBookingNeedsNoAnswer(input, state) {
143808
- if (input.several !== null) return false;
143945
+ if (input.several !== null || input.combinedPending) return false;
143809
143946
  if (state.key === null) return true;
143810
143947
  if (state.draftCode.trim()) return false;
143811
143948
  if (state.status === "failed") return true;
143812
- return state.status === "draft" && !(uncodedQuoteWanted(input) && input.automaticWanted);
143949
+ return state.status === "draft" && !((input.several !== null || input.productAutomaticOffered) && input.automaticWanted);
143813
143950
  }
143814
143951
  /** What the payment step is waiting for. Checking a typed code on one booking leaves its choices on screen, with Pay held. */
143815
143952
  function quoteWaiting(input, state, settled) {
@@ -143845,6 +143982,31 @@ function codeFieldFor(state, apply, settled) {
143845
143982
  hint: state.status === "priced" && state.preview.totalAfterDiscountCents === 0 ? "There's nothing to pay. You won't need to enter card details." : ""
143846
143983
  };
143847
143984
  }
143985
+ /** A combined response may settle only an uncoded draft. Explicit code requests own their result. */
143986
+ function seedRegistrationQuote(state, preview) {
143987
+ if (state.status !== "draft" || state.draftCode.trim() || !preview) return state;
143988
+ if (preview.kind === "incomplete_selection") return state;
143989
+ if (preview.kind === "lookup_failure") return {
143990
+ ...state,
143991
+ status: "failed"
143992
+ };
143993
+ const [first, ...rest] = preview.price.priceReductions;
143994
+ const fields = {
143995
+ subtotalCents: preview.price.subtotalCents,
143996
+ totalAfterDiscountCents: preview.price.totalCents,
143997
+ currency: preview.price.currency,
143998
+ manualCodeEntryAllowed: preview.manualCodeEntryAllowed,
143999
+ ...first ? { priceReductions: [first, ...rest] } : {}
144000
+ };
144001
+ return decideSelectionQuoteResponse(state, preview.automaticCode ? {
144002
+ type: "applied",
144003
+ ...fields,
144004
+ ...preview.automaticCode
144005
+ } : {
144006
+ type: "priced",
144007
+ ...fields
144008
+ });
144009
+ }
143848
144010
  //#endregion
143849
144011
  //#region ../blocks/src/system/runtime/nodes/event-registration/useSelectionCombinationPricing.ts
143850
144012
  const NOTHING = {
@@ -143903,10 +144065,13 @@ async function requestSelectionQuote(input) {
143903
144065
  */
143904
144066
  function useSelectionCombinationPricing(input) {
143905
144067
  const lines = input.several !== null ? selectionPreviewLines(input) : input.singleLines.length > 0 ? input.singleLines : null;
143906
- const key = selectionQuoteKey(lines, input.email);
144068
+ const key = selectionQuoteKey(lines, input.email, input.registrationRequestKey);
143907
144069
  const [state, setState] = useState(() => emptyQuoteDraft(key));
143908
144070
  const [carried, setCarried] = useState(false);
143909
- const current = currentSelectionQuote(state, key);
144071
+ const registrationPreview = input.several === null ? input.registrationPreview : null;
144072
+ const current = seedRegistrationQuote(currentSelectionQuote(state, key), registrationPreview);
144073
+ const activeKey = useRef(key);
144074
+ activeKey.current = key;
143910
144075
  const apply = async () => {
143911
144076
  if (key === null || lines === null) return;
143912
144077
  if (current.draftCode.trim() && !input.email.trim()) {
@@ -143929,26 +144094,27 @@ function useSelectionCombinationPricing(input) {
143929
144094
  lines,
143930
144095
  pending
143931
144096
  });
143932
- setState((previous) => previous === pending ? next : previous);
144097
+ setState((previous) => activeKey.current === key && previous === pending ? next : previous);
143933
144098
  };
143934
144099
  useEffect(() => {
143935
- if (automaticSelectionQuoteWanted(current, input, carried)) apply();
144100
+ if (explicitSelectionQuoteWanted(current, input, carried)) apply();
143936
144101
  }, [
143937
144102
  key,
143938
144103
  input.automaticWanted,
143939
- input.automaticOffered,
144104
+ input.productAutomaticOffered,
144105
+ input.combinedPending,
143940
144106
  current.status,
143941
144107
  current.draftCode,
143942
144108
  carried
143943
144109
  ]);
143944
144110
  const editCode = (draftCode) => {
143945
144111
  setCarried(false);
143946
- setState((previous) => editedSelectionCode(previous, key, draftCode));
144112
+ setState((previous) => editedSelectionCode(seedRegistrationQuote(currentSelectionQuote(previous, key), registrationPreview), key, draftCode));
143947
144113
  };
143948
144114
  /** A code typed in one item's box, or restored after Stripe: priced as soon as payment wants a price. */
143949
144115
  const carryCode = (draftCode) => {
143950
144116
  setCarried(Boolean(draftCode.trim()));
143951
- setState((previous) => editedSelectionCode(previous, key, draftCode));
144117
+ setState((previous) => editedSelectionCode(seedRegistrationQuote(currentSelectionQuote(previous, key), registrationPreview), key, draftCode));
143952
144118
  };
143953
144119
  /** A new booking starts with no code and no earlier price. */
143954
144120
  const reset = () => {
@@ -143979,68 +144145,6 @@ function useEventRegistrationRecoveryRequest() {
143979
144145
  return arrival;
143980
144146
  }
143981
144147
  //#endregion
143982
- //#region ../blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.ts
143983
- function buildCandidate(input) {
143984
- if (!input.eligibilityIsSettled || !input.eligibility || !input.currentEvent) return null;
143985
- return {
143986
- eventSelectionId: input.currentEvent.selectionId,
143987
- discountContext: resolveDiscountContext({
143988
- paymentSelection: input.paymentSelection,
143989
- event: input.currentEvent,
143990
- eventRequiresPayment: input.eventRequiresPayment,
143991
- ticketsCount: input.ticketsCount
143992
- }),
143993
- subtotalCents: input.eligibility.price,
143994
- summaryLines: input.eligibility.ticketLines.map((line) => ({
143995
- pricingOptionId: line.pricingOptionId,
143996
- label: line.label,
143997
- quantity: line.quantity,
143998
- unitPriceCents: line.unitPriceCents,
143999
- subtotalCents: line.subtotalCents
144000
- }))
144001
- };
144002
- }
144003
- function eligibilityIsSettled(result) {
144004
- return result.settledRequestKey === result.requestKey;
144005
- }
144006
- function viewIsStale(view, currentEvent, eligibilityState) {
144007
- return view.eventSelectionId !== currentEvent?.selectionId || eligibilityState?.tag === "failed" || eligibilityState?.tag === "idle";
144008
- }
144009
- function requestIsSettled(discountUi) {
144010
- return discountUi.discountAvailabilityRequestKey === "disabled" || discountUi.settledDiscountAvailabilityRequestKey === discountUi.discountAvailabilityRequestKey;
144011
- }
144012
- function discountRequest(view, several = false) {
144013
- const discountContext = several ? null : view?.discountContext ?? null;
144014
- return {
144015
- discountContext,
144016
- subtotalCents: discountContext?.type === "event" && view?.subtotalCents !== null ? view?.subtotalCents : void 0
144017
- };
144018
- }
144019
- function useSettledCommerceView(input) {
144020
- const candidate = buildCandidate({
144021
- eligibilityIsSettled: eligibilityIsSettled(input.eligibilityResult),
144022
- eligibility: input.eligibility,
144023
- currentEvent: input.currentEvent,
144024
- paymentSelection: input.paymentSelection,
144025
- eventRequiresPayment: input.eventRequiresPayment,
144026
- ticketsCount: input.ticketsCount
144027
- });
144028
- const settledRef = useRef(candidate);
144029
- if (settledRef.current && viewIsStale(settledRef.current, input.currentEvent, input.eligibilityResult.state)) settledRef.current = null;
144030
- const requestView = candidate ?? settledRef.current;
144031
- const discountUi = input.useDiscountCodeUi({
144032
- api: input.api,
144033
- ...discountRequest(requestView, input.several)
144034
- });
144035
- if (candidate && requestIsSettled(discountUi)) settledRef.current = candidate;
144036
- return {
144037
- discountUi,
144038
- discountContext: settledRef.current?.discountContext ?? null,
144039
- ticketSelectionSubtotalCents: settledRef.current?.subtotalCents ?? null,
144040
- ticketSelectionSummaryLines: settledRef.current?.summaryLines ?? []
144041
- };
144042
- }
144043
- //#endregion
144044
144148
  //#region ../blocks/src/system/runtime/nodes/event-registration/useGuestDetailsCheck.ts
144045
144149
  /** When a guest completes details on a full event with a waitlist, asks the
144046
144150
  * server whether their email has an unfinished booking to pay for instead.
@@ -144076,11 +144180,17 @@ async function checkGuestNextStep(input, request, setCheckingNextStep) {
144076
144180
  }
144077
144181
  }
144078
144182
  function guestNextStepRequest(input) {
144183
+ const buyer = parseParticipantEmail(input.formData.email);
144079
144184
  return input.registrationTarget ? {
144080
144185
  subject: toRegistrationRequestSubject(input.registrationTarget.subject, input.selectedAttendanceMode),
144081
144186
  selections: input.ticketSelections,
144082
144187
  selectedSlidingAmount: input.selectedSlidingAmount ?? void 0,
144083
- email: input.formData.email
144188
+ email: input.formData.email,
144189
+ buyer: buyer.ok ? {
144190
+ kind: "email",
144191
+ email: buyer.value
144192
+ } : { kind: "unknown" },
144193
+ purchaseTarget: "eventTickets"
144084
144194
  } : null;
144085
144195
  }
144086
144196
  //#endregion
@@ -144682,6 +144792,46 @@ function useVerifiedFormData(draft, authState, profile) {
144682
144792
  email: verifiedEmail
144683
144793
  }, [draft, verifiedEmail]);
144684
144794
  }
144795
+ function registrationQuoteInputs(eligibility) {
144796
+ return {
144797
+ primarySubtotalCents: eligibility?.price ?? null,
144798
+ ticketSelectionSummaryLines: eligibility?.ticketLines ?? []
144799
+ };
144800
+ }
144801
+ function registrationDiscountPreview(state) {
144802
+ return state.tag === "resolved" ? state.eligibility.discountPreview : null;
144803
+ }
144804
+ function registrationPurchaseTarget(payment) {
144805
+ return registrationPurchaseIdentity(payment) === "eventTickets" ? "eventTickets" : "other";
144806
+ }
144807
+ function registrationPurchaseIdentity(payment) {
144808
+ return payment.method === null || payment.method === "stripe" || payment.method === "free" ? "eventTickets" : payment;
144809
+ }
144810
+ function registrationDiscountContext(input) {
144811
+ const { several, currentEvent, paymentIntent, eventRequiresPayment, ticketsCount } = input;
144812
+ const selectedDiscountContext = several !== null || !currentEvent ? null : resolveDiscountContext({
144813
+ paymentSelection: paymentIntent,
144814
+ event: currentEvent,
144815
+ eventRequiresPayment,
144816
+ ticketsCount
144817
+ });
144818
+ return selectedDiscountContext?.type === "event" && currentEvent?.registrationSubject.kind === "wholeSeries" ? {
144819
+ type: "whole_series",
144820
+ eventSeriesId: selectedDiscountContext.eventSeriesId
144821
+ } : selectedDiscountContext;
144822
+ }
144823
+ function registrationClaimRequest(claim) {
144824
+ return claim.kind === "none" ? null : claim.request;
144825
+ }
144826
+ function registrationClaimError(claim, message, action) {
144827
+ return claim.kind === "error" ? {
144828
+ message: claim.message,
144829
+ action: claim.action
144830
+ } : {
144831
+ message,
144832
+ action
144833
+ };
144834
+ }
144685
144835
  function useEventRegistrationWizardWithDeps(options, deps) {
144686
144836
  const api = useBlockApi();
144687
144837
  const arrivalCredential = deps.useWaitlistClaimCredential();
@@ -144785,7 +144935,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
144785
144935
  const formData = useVerifiedFormData(draftFormData, portalAuthState, portalProfile);
144786
144936
  const portalIdentity = portalSessionIdentity(api.config);
144787
144937
  const waitlistClaim = flowState.invitation;
144788
- const claimLookup = deps.useWaitlistClaim(waitlistClaim.kind === "none" ? null : waitlistClaim.request);
144938
+ const claimLookup = deps.useWaitlistClaim(registrationClaimRequest(waitlistClaim));
144789
144939
  useEffect(() => {
144790
144940
  dispatchFlow({
144791
144941
  type: "claim-arrived",
@@ -144805,8 +144955,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
144805
144955
  claimEventSource,
144806
144956
  options.occurrenceContext?.id
144807
144957
  ]);
144808
- const errorMessage = waitlistClaim.kind === "error" ? waitlistClaim.message : submissionErrorMessage;
144809
- const errorAction = waitlistClaim.kind === "error" ? waitlistClaim.action : submissionErrorAction;
144958
+ const { message: errorMessage, action: errorAction } = registrationClaimError(waitlistClaim, submissionErrorMessage, submissionErrorAction);
144810
144959
  const selectionLocked = isRegistrationLocked(step);
144811
144960
  useEffect(() => {
144812
144961
  if (selectionLocked || portalAuthState !== "authenticated" || !portalProfile) return;
@@ -144878,6 +145027,14 @@ function useEventRegistrationWizardWithDeps(options, deps) {
144878
145027
  const bookingClosure = useFreshBookingClosure(deps, options, events, step, holdsPlace(waitlistClaim, paymentController));
144879
145028
  const eligibilityResult = deps.useEligibility({
144880
145029
  refreshKey: optionsRefreshKey,
145030
+ buyerEmail: formData.email,
145031
+ purchaseTarget: registrationPurchaseTarget(paymentIntent),
145032
+ purchaseKey: JSON.stringify([
145033
+ registrationPurchaseIdentity(paymentIntent),
145034
+ several,
145035
+ api.config.siteId,
145036
+ portalIdentity
145037
+ ]),
144881
145038
  enabled: bookingClosureAllowsQuote(bookingClosure, shouldRefreshAfterRegistrationError(step, errorAction, shouldLoadRegistrationOptions(portalAuthState, step))),
144882
145039
  subject: registrationTarget?.subject ?? null,
144883
145040
  attendanceMode: selectedAttendanceMode,
@@ -144891,6 +145048,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
144891
145048
  occurrenceId: registrationOccurrenceId
144892
145049
  });
144893
145050
  const existingRegistrations = useMemo(() => existingRegistrationResult.registrations.filter((registration) => registration.occurrenceId === registrationOccurrenceId), [existingRegistrationResult.registrations, registrationOccurrenceId]);
145051
+ const registrationOptionsState = eligibilityResult.state;
144894
145052
  const eligibility = eligibilityResult.eligibility;
144895
145053
  const eligibilityLoading = eligibilityResult.isLoading;
144896
145054
  const eligibilityError = eligibilityResult.error;
@@ -145208,16 +145366,21 @@ function useEventRegistrationWizardWithDeps(options, deps) {
145208
145366
  }
145209
145367
  setStep("select-tickets");
145210
145368
  };
145211
- const { discountUi, discountContext, ticketSelectionSubtotalCents: primarySubtotalCents, ticketSelectionSummaryLines } = useSettledCommerceView({
145212
- api,
145213
- useDiscountCodeUi: deps.useDiscountCodeUi,
145214
- eligibilityResult,
145215
- eligibility,
145369
+ const currentPreview = registrationDiscountPreview(eligibilityResult.state);
145370
+ const discountContext = registrationDiscountContext({
145371
+ several,
145216
145372
  currentEvent,
145373
+ paymentIntent,
145217
145374
  eventRequiresPayment,
145218
- paymentSelection: paymentIntent,
145219
- ticketsCount,
145220
- several: several !== null
145375
+ ticketsCount
145376
+ });
145377
+ const { primarySubtotalCents, ticketSelectionSummaryLines } = registrationQuoteInputs(eligibility);
145378
+ const discountUi = deps.useDiscountCodeUi({
145379
+ api,
145380
+ discountContext,
145381
+ preview: currentPreview,
145382
+ loading: eligibilityLoading,
145383
+ scopeKey: eligibilityResult.requestKey
145221
145384
  });
145222
145385
  const selectionPrice = planSelectionPrice({
145223
145386
  several,
@@ -145251,7 +145414,10 @@ function useEventRegistrationWizardWithDeps(options, deps) {
145251
145414
  ticketLines: ticketSelectionSummaryLines,
145252
145415
  currentEvent
145253
145416
  }),
145254
- automaticOffered: automaticQuoteOffered(discountUi.autoAppliedDiscount, discountContext)
145417
+ registrationPreview: currentPreview,
145418
+ registrationRequestKey: eligibilityResult.requestKey,
145419
+ combinedPending: eligibilityLoading,
145420
+ productAutomaticOffered: discountUi.autoAppliedDiscount !== null && discountContext?.type === "pass"
145255
145421
  });
145256
145422
  const discountView = registrationDiscountView({
145257
145423
  several: several !== null,
@@ -145651,7 +145817,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
145651
145817
  isMembershipFastTrack,
145652
145818
  waitlistClaim,
145653
145819
  eligibility,
145654
- registrationOptionsState: eligibilityResult.state,
145820
+ registrationOptionsState,
145655
145821
  eligibilityLoading: anyLoading(eligibilityLoading, checkingNextStep, combinationPricing.quoting),
145656
145822
  eligibilityError,
145657
145823
  existingRegistrations,
@@ -145784,10 +145950,6 @@ function singleBookingTicketDetails(contextType, input) {
145784
145950
  ticketUnits
145785
145951
  };
145786
145952
  }
145787
- /** The server can't yet preview an automatic discount on a membership, so its summary shows the regular price and checkout takes the discount off. */
145788
- function automaticQuoteOffered(automatic, context) {
145789
- return automatic !== null && context?.type !== "membership";
145790
- }
145791
145953
  /** The quote's field, saying beside an applied code what it does to this purchase. */
145792
145954
  function registrationCodeField(field, quote, paymentIntent) {
145793
145955
  if (!field) return null;
@@ -150489,36 +150651,6 @@ function RecoveredEventRegistrationClient({ props, display, events: recoveredEve
150489
150651
  }
150490
150652
  //#endregion
150491
150653
  //#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
150492
- function toEventDetailsClientProps(props) {
150493
- return {
150494
- arrangement: props.arrangement,
150495
- quickFacts: props.quickFacts,
150496
- entryTitle: props.entryTitle,
150497
- actionSize: props.actionSize,
150498
- lookSlots: props.lookSlots,
150499
- surfacePresentation: props.surfacePresentation,
150500
- panelHeading: props.panelHeading,
150501
- occurrenceContext: props.occurrenceContext,
150502
- subject: props.subject,
150503
- events: props.events ? [...props.events] : props.events,
150504
- venueDrawing: props.venueDrawing,
150505
- showVenue: props.showVenue,
150506
- showMap: props.showMap,
150507
- showOtherDates: props.showOtherDates,
150508
- otherDatesLimit: props.otherDatesLimit,
150509
- showCost: props.showCost,
150510
- showTitle: props.showTitle,
150511
- showDescription: props.showDescription,
150512
- showCapacity: props.showCapacity,
150513
- showAcceptedPasses: props.showAcceptedPasses,
150514
- showAcceptedMemberships: props.showAcceptedMemberships,
150515
- sitePasses: props.sitePasses ? { passes: [...props.sitePasses.passes] } : props.sitePasses,
150516
- siteMemberships: props.siteMemberships ? { memberships: [...props.siteMemberships.memberships] } : props.siteMemberships,
150517
- autoApplyDiscount: props.autoApplyDiscount ?? null,
150518
- className: props.className,
150519
- now: props.now
150520
- };
150521
- }
150522
150654
  function EventDetailsClient(props) {
150523
150655
  const { occurrenceContext = null, events = null, className, children } = props;
150524
150656
  const presentation = resolveEventDetailsPresentation({
@@ -150532,9 +150664,6 @@ function EventDetailsClient(props) {
150532
150664
  children: [/* @__PURE__ */ jsx(EventDetailsView, { ...presentation }), children]
150533
150665
  });
150534
150666
  }
150535
- function EventDetailsIslandClient(props) {
150536
- return /* @__PURE__ */ jsx(EventDetailsClient, { ...toEventDetailsClientProps(props) });
150537
- }
150538
150667
  //#endregion
150539
150668
  //#region ../blocks/src/portal/dateFormatting.ts
150540
150669
  /** Optional API timestamps enter the display model here; invalid values never render a Date. */
@@ -157111,7 +157240,7 @@ const clientComponentRegistry = buildClientRegistryFromEntries(serverComponentRe
157111
157240
  accordionItem: defineSourcePropsClientEntry(AccordionItemNode),
157112
157241
  headerSection: defineSourcePropsClientEntry(header_section_client_default),
157113
157242
  "booking-form": defineExplicitAdapterClientEntry(BookingFormNodeClient, { produces: "island-props" }),
157114
- "event-details": defineExplicitAdapterClientEntry(EventDetailsIslandClient, { produces: "client-props" }),
157243
+ "event-details": defineSourcePropsClientEntry(EventDetailsClient),
157115
157244
  "location-map": defineSourcePropsClientEntry(LocationMapSSR),
157116
157245
  "event-combined": defineExplicitAdapterClientEntry(EventCombinedIslandClient, { produces: "client-props" }),
157117
157246
  "weekly-slot-availability": defineSourcePropsClientEntry(WeeklySlotAvailabilityClient)
@@ -169871,7 +170000,7 @@ function applyBindings(bindings, context) {
169871
170000
  if (value !== void 0 && value !== null) setBindingValue(result, key, value);
169872
170001
  continue;
169873
170002
  }
169874
- if (isRecord$23(bindingSpec)) {
170003
+ if (isRecord$24(bindingSpec)) {
169875
170004
  const nested = applyBindings(bindingSpec, context);
169876
170005
  if (Object.keys(nested).length > 0) setBindingValue(result, key, nested);
169877
170006
  }
@@ -169912,7 +170041,7 @@ function mergeResolvedBindings(base, resolved) {
169912
170041
  const merged = { ...base };
169913
170042
  for (const [key, resolvedValue] of Object.entries(resolved)) {
169914
170043
  const baseValue = merged[key];
169915
- merged[key] = isRecord$23(baseValue) && isRecord$23(resolvedValue) ? mergeResolvedBindings(baseValue, resolvedValue) : resolvedValue;
170044
+ merged[key] = isRecord$24(baseValue) && isRecord$24(resolvedValue) ? mergeResolvedBindings(baseValue, resolvedValue) : resolvedValue;
169916
170045
  }
169917
170046
  return merged;
169918
170047
  }
@@ -169937,7 +170066,7 @@ function setBindingValue(target, path, value) {
169937
170066
  current[Number(segment)] = value;
169938
170067
  return;
169939
170068
  }
169940
- if (isRecord$23(current)) current[segment] = value;
170069
+ if (isRecord$24(current)) current[segment] = value;
169941
170070
  return;
169942
170071
  }
169943
170072
  const nextWantsArray = typeof nextSegment === "string" && isIndex(nextSegment);
@@ -169946,15 +170075,15 @@ function setBindingValue(target, path, value) {
169946
170075
  const existing = current[index];
169947
170076
  if (nextWantsArray) {
169948
170077
  if (!Array.isArray(existing)) current[index] = [];
169949
- } else if (!isRecord$23(existing)) current[index] = {};
170078
+ } else if (!isRecord$24(existing)) current[index] = {};
169950
170079
  current = current[index];
169951
170080
  continue;
169952
170081
  }
169953
- if (isRecord$23(current)) {
170082
+ if (isRecord$24(current)) {
169954
170083
  const existing = current[segment];
169955
170084
  if (nextWantsArray) {
169956
170085
  if (!Array.isArray(existing)) current[segment] = [];
169957
- } else if (!isRecord$23(existing)) current[segment] = {};
170086
+ } else if (!isRecord$24(existing)) current[segment] = {};
169958
170087
  current = current[segment];
169959
170088
  continue;
169960
170089
  }
@@ -169992,7 +170121,7 @@ function getPath(source, path) {
169992
170121
  const segments = path.split(".").map((segment) => segment.trim()).filter(Boolean);
169993
170122
  let current = source;
169994
170123
  for (const segment of segments) {
169995
- if (!isRecord$23(current)) return void 0;
170124
+ if (!isRecord$24(current)) return void 0;
169996
170125
  current = current[segment];
169997
170126
  }
169998
170127
  return current;
@@ -170025,7 +170154,7 @@ function textToInlineText(value) {
170025
170154
  function extractFirstParagraph(value) {
170026
170155
  if (!isRichTextDoc(value)) return null;
170027
170156
  for (const node of value.content) {
170028
- if (!isRecord$23(node)) continue;
170157
+ if (!isRecord$24(node)) continue;
170029
170158
  if (node.type !== "paragraph" || !Array.isArray(node.content)) continue;
170030
170159
  const text = node.content.filter((item) => item.type === "text").map((item) => typeof item.text === "string" ? item.text : "").join("").trim();
170031
170160
  if (text.length > 0) return text;
@@ -170036,7 +170165,7 @@ function extractFirstParagraph(value) {
170036
170165
  * Type guard to check if a value is a valid binding descriptor.
170037
170166
  */
170038
170167
  function isBindingDescriptor(value) {
170039
- if (!isRecord$23(value) || typeof value.source !== "string") return false;
170168
+ if (!isRecord$24(value) || typeof value.source !== "string") return false;
170040
170169
  if (!BINDING_SOURCES.includes(value.source)) return false;
170041
170170
  switch (value.source) {
170042
170171
  case "field":
@@ -170051,7 +170180,7 @@ function isBindingDescriptor(value) {
170051
170180
  * Type guard to check if a value is binding-descriptor-like (can be normalized).
170052
170181
  */
170053
170182
  function isBindingDescriptorLike(value) {
170054
- return isBindingDescriptor(value) || typeof value === "string" || isRecord$23(value) && typeof value.source === "string" && typeof value.path === "string";
170183
+ return isBindingDescriptor(value) || typeof value === "string" || isRecord$24(value) && typeof value.source === "string" && typeof value.path === "string";
170055
170184
  }
170056
170185
  /**
170057
170186
  * Normalizes a binding input to a binding descriptor.
@@ -172790,4 +172919,4 @@ function usePreviewAssistantSlot() {
172790
172919
  return useContext(PreviewAssistantSlotContext);
172791
172920
  }
172792
172921
  //#endregion
172793
- export { useFooterComposerState as $, isRichTextDoc as $a, useLayoutEffect2 as $c, readThemeScopeContext as $i, buildRenderableMediaAssetIndex as $l, readNumberFieldUiConfig as $n, surfaceResolutionContextFromTheme as $o, readinessFactsFromLoaders as $r, Spinner as $s, isSurfaceSlotBlockTarget as $t, editorBlockCollectionOwnerKey as $u, usePreviewJoinOutcome as A, faqAccordionFragment as Aa, __rest as Ac, resolveMediaSlot as Ai, updateButtonStyleSelectionChoice as Al, selectEditorWriteState as An, heroPhotoPaintsGround as Ao, buildAppointmentServicesView as Ar, resolveRepeaterGridColumnsForBreakpoint as As, footerMenuNavigationFacts as At, sameMailingListPlacementTargeting as Au, initPreviewAuth as B, ctaRowFragment as Ba, Arrow as Bc, getCurrentResolveImageUrlContext as Bi, resolveSurfaceForeground as Bl, toEditorBlockItem as Bn, getHeaderStyle as Bo, getLinkedContentEntryMeta as Br, API_ENDPOINTS as Bs, BlockApiProvider as Bt, NO_BLOCK_VERSIONS as Bu, pageDesignLookTiles as C, hiddenFromVisitors as Ca, usePortalContainer as Cc, RichText as Ci, resolveRepeaterGridSpanFieldId as Cl, useSidebarView as Cn, parseFieldDefinition as Co, resolveDefaultBlockTree as Cr, findFirstAvailableRepeaterGridPlacement as Cs, EditorWriteSurface as Ct, resolveFooterSections as Cu, ObservedJoin as D, richTextFragment as Da, __extends as Dc, resolveImageUrlWithContext as Di, findButtonStyleRecipe as Dl, SIDEBAR_WIDTH as Dn, DEFAULT_THEME_RESPONSIVE_MODE as Do, getDefaultComponentRegistry as Dr, planRepeaterGridStartNewRow as Ds, getEditorClientId as Dt, parseMailingListPlacementTargeting as Du, selectedImageFromRenderableAsset as E, bookingConsentCarrierSchema as Ea, __awaiter as Ec, resolveImageSourceSetWithContext as Ei, buttonStyleSelectionParameterValue as El, unfinishedBlockCopy as En, mergeContentWithBlockStyleOverrides as Eo, readBlockComposition as Er, normalizeRepeaterGridSpan as Es, reloadPage as Et, planFooterLayout as Eu, lookTilePosition as F, formCopyFragment as Fa, Root$2 as Fc, systemCustomizeFacetAppliesToLayoutVariant as Fi, surfaceForegroundValue as Fl, remoteDraftValues as Fn, compileEditorModelRuntime as Fo, getAtPath as Fr, editorAdmissionIsOpen as Fs, clientComponentRegistry as Ft, knownSocialPlatformLabels as Fu, renderSiteChromeBlock as G, bodyCopyFragment as Ga, useId$1 as Gc, inferLegacyOfferingsPreviewGroupOrder as Gi, normalizeRightAngle as Gl, initialBlockDraftValues as Gn, defaultPolicyPageFlowPresetId as Go, fieldsNotShownIn as Gr, unwrapResponse as Gs, getWidgetKey as Gt, displayedValues as Gu, renewPreviewSession as H, isBlockButtonRole as Ha, Root2$1 as Hc, normalizeEventRegistrationPageSurfaceSubject as Hi, defaultThemeTokens as Hl, deriveEditorValuePublicationState as Hn, concretePaletteToTheme as Ho, resolveEntryRouteTarget as Hr, calendarWindowQuerySchema as Hs, collectVisibleWhenWatchPaths as Ht, readPublishedBlockPlacement as Hu, lookTilesFor as I, testimonialsCarouselFragment as Ia, createRovingFocusGroupScope as Ic, systemCustomizeFacetDefinitionForBlock as Ii, rgbColorValue as Il, renderSourceFor as In, resolveEditorArrangementLook as Io, siblingPath as Ir, editorAdmissionNotice as Is, NewsletterFormClient as It, knownSocialPlatforms as Iu, footerLayoutSelection as J, compileManifestContentContract as Ja, DismissableLayer as Jc, offeringsListingFor as Ji, resolveMediaTransformForAspect as Jl, manifestFieldSectionOptions as Jn, getCuratedSiteStyle as Jo, mapOutlineBlocks as Jr, Root as Js, partitionFieldsByIntent as Jt, syncStateOf as Ju, siteChromeHeaderLogoMayBeHardToSee as K, defineFragment as Ka, FocusScope as Kc, isOfferingsPreviewSourceKey as Ki, formatAspectRatioToken as Kl, createManifestFormAdapter as Kn, componentRuntimeRulesForTheme as Ko, createEditorPresentationPageReader as Kr, selectedCanvasBlockId as Ks, hasVisibilityConditions as Kt, knownRevision as Ku, nextLookTilePin as L, testimonialsHeadingFragment as La, Presence as Lc, systemCustomizeFacetDefinitionsForBlock as Li, textColorStyle as Ll, renderedFieldChanges as Ln, restoreCompiledRuntimeFieldsFromContent as Lo, withValueAtPath as Lr, editorAdmissionSession as Ls, ImageResolveContextProvider as Lt, parsePublicProfile as Lu, usePreviewRenderReadiness as M, blogFeaturedPostFragment as Ma, __spreadArrays as Mc, arrangementKnobChoices as Mi, parseThemeForPersistence as Ml, canDiscardDraft as Mn, decideSectionPhoto as Mo, renderInlineText as Mr, augmentManifestWithStyleGroups as Ms, publishContentEntry as Mt, parseMailchimpAudienceId as Mu, STYLE_DEFAULT_LOOK_KEY as N, singleButtonFragment as Na, hideOthers as Nc, resolveArrangementKnobs as Ni, surfaceForegroundInputFromResolved as Nl, activeLinkedSaveHandover as Nn, sectionPhotoPresence as No, logger as Nr, isObjectRecord$1 as Ns, updateFooterComposition as Nt, parseMailchimpInterestId as Nu, PreviewRenderObservationsProvider as O, headingFragment as Oa, __generator as Oc, resolveMediaStorageUrl as Oi, resolveButtonStyleSelection as Ol, parseStoredSidebarWidth as On, getResponsiveScopeSpec as Oo, buildLoadedOfferingsPreviewListing as Or, resolveRepeaterGridAcceptedSpans as Os, sendPageCommand as Ot, DEFAULT_MAILING_LIST_TARGETING as Ou, lookPositionLabel as P, formEmbedFragment as Pa, Item$1 as Pc, isSystemCustomizeFacetId as Pi, surfaceForegroundStyle as Pl, planLinkedSaveHandoverRetention as Pn, applyCompiledRuntimeFieldsToContent as Po, Text as Pr, isRecord$23 as Ps, footerCreditLine as Pt, parseNewsletterListId as Pu, useFooterAuthoringOptional as Q, RichTextDocSchema as Qa, useControllableState as Qc, buildThemeDataAttrs as Qi, runtimeMediaSchema as Ql, getGroupChildFields as Qn, compiledRuntimeStyleFieldNames as Qo, readinessFactsFromPayload as Qr, CalloutTitle as Qs, deleteSlotBlock as Qt, createEditorReorderBlocksCommand as Qu, selectedLookTile as R, ctaCopyFragment as Ra, Portal as Rc, systemCustomizeFacetStoredValue as Ri, mapDrawingStyle as Rl, resolveRenderedValues as Rn, formatSiteChromeBackgroundTokenLabel as Ro, LINKED_CONTENT_ENTRY_META_KEY as Rr, observeEditorAdmission as Rs, useImageResolveContextOptional as Rt, publicProfileWeekdays as Ru, pageDesignLookPosition as S, projectRecurringSchedule as Sa, PortalContainerProvider as Sc, cardListPresentationSchemaShape as Si, resolveRepeaterGridRowFieldId as Sl, useOptionalEditorUiStoreInstance as Sn, truncateInlineText as So, resolveBlockVariantKey as Sr, projectRepeaterGridLayout as Ss, EditLeaseModal as St, parseFooterModuleId as Su, selectedImageFromMediaValue as T, publicEventsArraySchema as Ta, __assign as Tc, computeMediaTransformStyle as Ti, buttonStyleHoverPreferenceValue as Tl, shouldRevealAllBlockFieldValidation as Tn, escapeStyleContent as To, blockLookFromContent as Tr, isRepeaterGridLayoutInvalid as Ts, LeaseNoticeButtons as Tt, unsafeAsFooterModuleId as Tu, usePreviewAuth as U, heroCopyFragment as Ua, createPopperScope as Uc, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ui, expandPalette as Ul, unsafeAsLinkedContentEntryId as Un, lookDefinitionForId as Uo, resolvePageRouteTarget as Ur, ApiEnvelopeError as Us, evaluateVisibility as Ut, selectedContentVersionId as Uu, registerPreviewRenewalFetcher as V, BLOCK_BUTTON_ROLE_OPTIONS as Va, Content$1 as Vc, setContextResolveImageUrlContext as Vi, paletteValueKey as Vl, withoutServerVersions as Vn, concretePaletteFromTheme as Vo, defaultTransforms as Vr, publicMapLocationParamsSchema as Vs, derivePromotedFieldPlan as Vt, readEditorBlockVersionsFromPlacement as Vu, usePreviewToken as W, ctaButton as Wa, useSize as Wc, groupOfferingRunsByCourse as Wi, isRotationDimensionSwap as Wl, editorAuthoredBlockDocument as Wn, readStoredMode as Wo, resolveRouteTarget as Wr, extractApiEnvelopeErrorDetails as Ws, getFieldIntent as Wt, parseEditLeaseScope as Wu, resolveFooterEngagementPreview as X, admitLayoutGridForPlan as Xa, useDirection as Xc, readOfferingsGrouping as Xi, getImageUrl as Xl, getRepeaterItemDefault as Xn, offeredSiteStyles as Xo, PUBLISH_READINESS_COPY as Xr, Callout as Xs, createSlotBlock as Xt, createEditorInsertBlockCommand as Xu, resolveFooterEngagementAuthoringState as Y, validateManifestDraft as Ya, useCallbackRef$1 as Yc, planOfferingPreviewCardSelection as Yi, getDirectImageUrlForMediaAsset as Yl, getFieldDefault as Yn, headerStyleRecipeForTheme as Yo, mapOutlineRegions as Yr, VISUALLY_HIDDEN_STYLES as Ys, createBlock as Yt, valueStatus as Yu, FooterComposerProvider as Z, deriveFieldValidationPlan as Za, createCollection as Zc, resolveOfferingsPreviewGroupOrderEntries as Zi, mediaSchema as Zl, normalizeFieldForCanonicalValidation as Zn, palettesForSiteStyle as Zo, publishReadinessWarning as Zr, CalloutDescription as Zs, deleteBlock as Zt, createEditorRemoveBlockCommand as Zu, PreviewFooterProvider as _, readRuntimeNow as _a, Content as _c, chooseAllEvents as _i, readLinkedEntryLease as _l, resolvePageRouteSlug as _n, normalizeInlineTextMarks as _o, retargetJoinsAcrossOmissions as _r, assertNever$5 as _s, savedContentReceipt as _t, resolveMailingListDefaultDestination as _u, PreviewPageDesignEditorStateProvider as a, resolveFeatureCardGeneratedIconSizePx as aa, DialogHeader as ac, parseBookingLocalDate as ad, normalizeBlockContent as ai, buttonVariants as al, blocksKeys as an, parseGeneratedIconAssetId as ao, imagePoolForOverride as ar, generateFontFaceCss as as, readFooterEngagementDraft as at, asRecord as au, buildPageDesignEditorReadModelForBlocks as b, buildFormInteractiveIslandProps as ba, menuItemInteractionClassName as bc, toggleEventType as bi, isAcceptedRepeaterGridSpan as bl, useEditorUiStore as bn, removeInlineTextMarkFromRange as bo, mergeManifestWithSdkOptions as br, buildRepeaterGridDropTargets as bs, VIEWING_PARTICIPATION as bt, normalizeLegacyFooterContentToV1 as bu, usePreviewShownTheme as c, SITE_CHROME_VISIBLE_HEADER_SELECTOR as ca, overlayScrimClass as cc, resolveBookingBusinessTimeZone as cd, normalizeLocationMapSource as ci, createSlot as cl, DEFAULT_SURFACE_ID as cn, applyInlineTextMarkToRange as co, parseCanonicalSectionBackground as cr, defaultSectionTransitionVariantForFamily as cs, EntryControllerProvider as ct, asAppearancePresetId as cu, cycleSiteChromeSelectionId as d, SITE_STICKY_CHROME_HEIGHT_FALLBACK as da, DialogContent$1 as dc, parseMediaAssetId as dd, buildNewsletterFormInteractiveIslandProps as di, useComposedRefs as dl, ApiRequestError as dn, inlineTextAccentTones as do, resolveBackgroundCapability as dr, sectionTransitionVariantForBoundaryOptionId as ds, DONE as dt, asSiteStyleId as du, themeRuntimeScopeProps as ea, Dialog as ec, editorBlockCollectionOwnersEqual as ed, selectBlockContent as ei, createContextScope as el, listEntryPageContentSlots as en, richTextVariantCapabilities as eo, readSliderFieldUiConfig as er, gradientToCss as es, useFooterPanelOwnsNotice as et, renderableMediaAssetSchema as eu, PreviewThemeJournalProvider as f, measureSiteStickyChromeHeightPx as fa, DialogDescription$1 as fc, unsafeAsMediaAssetId as fd, offeringsPreviewBlockDefinition as fi, cn as fl, PREVIEW_CHROME_Z_INDEX as fn, inlineTextEqual as fo, createPageRenderPlanReader as fr, resolveCompiledSectionContextFromContent as fs, runHeldLifecycle as ft, authoredValuesEqual as fu, previewThemeBase as g, EDITABLE_SURFACE_FORWARDING_PROP as ga, DialogTrigger$1 as gc, expectParsedBrandedId as gd, EVENT_SELECTION_TYPE_OPTIONS as gi, canWriteLinkedEntry as gl, deriveRouteMetadataPresentation as gn, normalizeInlineText as go, renderedJoinLayout as gr, lookModes as gs, createEditorApiClientFactory as gt, assessMailingListTargeting as gu, composePreviewTheme as h, siteTopChromeMeasurementTargets as ha, DialogTitle$1 as hc, parseSiteId as hd, EVENT_SELECTION_SCOPE_OPTIONS as hi, isEdited as hl, routeLifecycleContext as hn, isInlineTextEmpty as ho, joinSlotKey as hr, appearancePresets as hs, useSessionJournalHistory as ht, buildMailingListSignupBlockSourceRef as hu, usePreviewSidebarNavigation as i, parseFeatureCardGeneratedIconSizePx as ia, DialogFooter as ic, formatDateTime as id, listBlockDescriptors as ii, Button as il, withSlotCompositionHash as in, parseBlockIconValue as io, enabledBackgroundModes as ir, buildGoogleFontFamilyQuery as is, footerPartKey as it, mediaIdentifierSchema as iu, usePreviewRenderBackgrounds as j, faqHeadingFragment as ja, __spreadArray as jc, resolveMediaSlotContract as ji, buttonStyleSelectionKey as jl, lifecycleOutcomeMessage as jn, backgroundImagePromotedFieldPath as jo, LocationMapView as jr, resolveBlockTitle as js, toRoutableLinkPayload as jt, parseBrevoListId as ju, PreviewRenderPlanProjection as k, cardFragment as ka, __read as kc, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as ki, updateButtonStyleHoverPreference as kl, selectAutosaveStatus as kn, resolveVisiblePromotedFieldPathsForEditorBlock as ko, resolveEventDetailsPresentation as kr, resolveRepeaterGridBreakpointForWidth as ks, missingReceiptError as kt, mailingListTargetingChoiceIds as ku, SiteChromeCustomizeProvider as l, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as la, Dialog$1 as lc, resolveBookingTimeZoneId as ld, parseLocationMapLoaderResult as li, createSlottable as ll, SURFACE_DOCUMENT_DATA_ATTRIBUTE as ln, coerceInlineTextWithFallback as lo, planBackgroundTransition as lr, sectionTransitionFamilies as ls, useEntryController as lt, asDesignBlockId as lu, usePreviewThemeSourceOptional as m, planSiteOverlayHeaderClearance as ma, DialogPortal$1 as mc, unsafeAsPositiveSeconds as md, eventCalendarPagingFields as mi, baselineRevisionOf as ml, createSnapshotFromPageRecord as mn, inlineTextToPlainText as mo, composePageJoins as mr, isThemeV2NormalEditorRawStylePath as ms, useSessionJournal as mt, slugify as mu, usePreviewAssistantSlot as n, createFeatureCardIconKey as na, DialogContent as nc, unsafeAsEditorBlockValues as nd, resolveFieldOwnership as ni, Primitive as nl, reorderBlocks as nn, getBlockIconSemanticId as no, canCycleBackgroundOverrideValue as nr, getGradientPreset as ns, footerHeaderStatus as nt, resolveManagedMediaReference as nu, usePreviewPageDesignEditorState as o, suggestSemanticIconForFeatureCard as oa, DialogTitle as oc, parseUtcIsoDateTimeString as od, LOCATION_MAP_LOADER_KEYS as oi, useControlReadiness as ol, getDashboardBaseUrl as on, parseGeneratedIconSetId as oo, parseBackgroundColorToken as or, getSiteFontsStorageUrl as os, footerEngagementEventFields as ot, getFontWidthRange as ou, usePreviewThemeSource as p, measureSiteTopChromeBottomPx as pa, DialogOverlay$1 as pc, unsafeAsPositiveByteCount as pd, publicRouteCandidatesSchema as pi, useShallow as pl, createRoutingHelpers as pn, inlineTextHighlightTones as po, planArrangementContent as pr, isThemeV2NormalEditorRawStyleFieldName as ps, useServerRefresh as pt, generateUuidV4 as pu, buildFooterRuntimeViewModel as q, runTransforms as qa, useFocusGuards as qc, normalizeOfferingsPreviewGroupOrder as qi, parseAspectRatioValue as ql, createManifestValidation as qn, designRuntimeRulesForTheme as qo, allOutlineBlocks as qr, sidebarReturnView as qs, isNonEmptyValue as qt, pristineValueSync as qu, PreviewSidebarBootstrap as r, getFeatureCardIconCompletion as ra, DialogDescription as rc, formatDate$4 as rd, getBlockDefinition as ri, dispatchDiscreteCustomEvent as rl, reorderSlotBlocks as rn, getGeneratedBlockIconStyleState as ro, defaultBackgroundOverrideForMode as rr, buildFontPreviewUrl as rs, footerEngagementStarted as rt, PUBLIC_FILE_FIELD_KINDS as ru, usePreviewPageDesignRenderState as s, toFeatureCardIconSuggestionInputs as sa, DialogTrigger as sc, toUtcIsoDateTimeString as sd, describeUnresolvedLocationMapLocation as si, cva as sl, getDashboardUrl as sn, parseSiteIconStyleGuideVersionId as so, parseBackgroundOverrideFromContent as sr, findCuratedPalette as ss, parseFooterEngagementDraft as st, isBodyFontFamily as su, PreviewAssistantSlotProvider as t, FEATURE_CARD_GENERATED_ICON_SIZE_PX as ta, DialogClose as tc, unsafeAsEditorBlockId as td, fieldPathsOwnedBy as ti, composeEventHandlers as tl, listPageSurfaceContentSlots as tn, sanitizeHref as to, backgroundColorTokens as tr, GRADIENT_PRESETS as ts, SessionJournalHost as tt, indexRenderableMediaAssets as tu, useSiteChromeCustomizeOptional as u, SITE_STICKY_CHROME_HEIGHT_CSS_VAR as ua, DialogClose$1 as uc, assertNever$9 as ud, resolveLocationMapLocation as ui, composeRefs as ul, resolveSurfaceDocumentAttributes as un, deriveInlineTextFieldChanges as uo, rankBackgroundImagePoolItems as ur, sectionTransitionFamilyForBoundaryOptionId as us, useEntryEditorController as ut, asLayoutVariantKey as uu, useLiveFooterRuntime as v, resolveDateRuntimeContext as va, Root$1 as vc, chooseScheduleScope as vi, canEditorWrite as vl, resolveContentTitle as vn, parseInlineTextFromUnknown as vo, createCustomBlockRegistry as vr, isInternalResolvedLinkValue as vs, savedPageSurfaceMetadataReceipt as vt, mailingListProviderName as vu, setPageDesignBlockBackground as w, pageTemplateFromEntry as wa, ReactRemoveScroll as wc, getRichTextImageSize as wi, siteOptionSources as wl, recoveryConflictCopy as wn, buildThemeRuntime as wo, arrangementHooksFromContent as wr, flowRepeaterGridItems as ws, LeaseDiscardedNoticeView as wt, setFooterSectionSelected as wu, cyclePageDesignBlockLook as x, eventCalendarListGroupingDecision as xa, menuTriggerInteractionClassName as xc, writeEventSelectionChips as xi, resolveRepeaterGridColumnFieldId as xl, useEditorUiStoreInstance as xn, replaceInlineTextRange as xo, makeDefaultBlockComponent as xr, planRepeaterGridSpanChange as xs, EditLeaseDiscardedNotice as xt, parseFooterCompositionV1 as xu, applyBindingsToContent as y, planSiteChromePlacement as ya, Trigger as yc, readEventSelectionChips as yi, bindingSchema as yl, planLeaseNotice as yn, plainTextToInlineText as yo, mergeBlockDescriptorsWithRegistry as yr, planLayoutGridColumnEdit as ys, useRetentionTicks as yt, deriveFooterEditorOverview as yu, createGuardedPreviewApiClient as z, heroCtaRowFragment as za, Anchor as zc, buildResolveImageUrlContext as zi, parseSurfaceTree as zl, useStore as zn, getHeaderLayout as zo, coerceLinkedContentEntriesPayload as zr, OPERATION_ID_HEADER as zs, FormNodeClient as zt, publishedContactDetails as zu };
172922
+ export { useFooterComposerState as $, isRichTextDoc as $a, useLayoutEffect2 as $c, readThemeScopeContext as $i, buildRenderableMediaAssetIndex as $l, readNumberFieldUiConfig as $n, surfaceResolutionContextFromTheme as $o, readinessFactsFromLoaders as $r, Spinner as $s, isSurfaceSlotBlockTarget as $t, editorBlockCollectionOwnerKey as $u, usePreviewJoinOutcome as A, faqAccordionFragment as Aa, __rest as Ac, resolveMediaSlot as Ai, updateButtonStyleSelectionChoice as Al, selectEditorWriteState as An, heroPhotoPaintsGround as Ao, buildAppointmentServicesView as Ar, resolveRepeaterGridColumnsForBreakpoint as As, footerMenuNavigationFacts as At, sameMailingListPlacementTargeting as Au, initPreviewAuth as B, ctaRowFragment as Ba, Arrow as Bc, getCurrentResolveImageUrlContext as Bi, resolveSurfaceForeground as Bl, toEditorBlockItem as Bn, getHeaderStyle as Bo, getLinkedContentEntryMeta as Br, API_ENDPOINTS as Bs, BlockApiProvider as Bt, NO_BLOCK_VERSIONS as Bu, pageDesignLookTiles as C, hiddenFromVisitors as Ca, usePortalContainer as Cc, RichText as Ci, resolveRepeaterGridSpanFieldId as Cl, useSidebarView as Cn, parseFieldDefinition as Co, resolveDefaultBlockTree as Cr, findFirstAvailableRepeaterGridPlacement as Cs, EditorWriteSurface as Ct, resolveFooterSections as Cu, ObservedJoin as D, richTextFragment as Da, __extends as Dc, resolveImageUrlWithContext as Di, findButtonStyleRecipe as Dl, SIDEBAR_WIDTH as Dn, DEFAULT_THEME_RESPONSIVE_MODE as Do, getDefaultComponentRegistry as Dr, planRepeaterGridStartNewRow as Ds, getEditorClientId as Dt, parseMailingListPlacementTargeting as Du, selectedImageFromRenderableAsset as E, bookingConsentCarrierSchema as Ea, __awaiter as Ec, resolveImageSourceSetWithContext as Ei, buttonStyleSelectionParameterValue as El, unfinishedBlockCopy as En, mergeContentWithBlockStyleOverrides as Eo, readBlockComposition as Er, normalizeRepeaterGridSpan as Es, reloadPage as Et, planFooterLayout as Eu, lookTilePosition as F, formCopyFragment as Fa, Root$2 as Fc, systemCustomizeFacetAppliesToLayoutVariant as Fi, surfaceForegroundValue as Fl, remoteDraftValues as Fn, compileEditorModelRuntime as Fo, getAtPath as Fr, editorAdmissionIsOpen as Fs, clientComponentRegistry as Ft, knownSocialPlatformLabels as Fu, renderSiteChromeBlock as G, bodyCopyFragment as Ga, useId$1 as Gc, inferLegacyOfferingsPreviewGroupOrder as Gi, normalizeRightAngle as Gl, initialBlockDraftValues as Gn, defaultPolicyPageFlowPresetId as Go, fieldsNotShownIn as Gr, unwrapResponse as Gs, getWidgetKey as Gt, displayedValues as Gu, renewPreviewSession as H, isBlockButtonRole as Ha, Root2$1 as Hc, normalizeEventRegistrationPageSurfaceSubject as Hi, defaultThemeTokens as Hl, deriveEditorValuePublicationState as Hn, concretePaletteToTheme as Ho, resolveEntryRouteTarget as Hr, calendarWindowQuerySchema as Hs, collectVisibleWhenWatchPaths as Ht, readPublishedBlockPlacement as Hu, lookTilesFor as I, testimonialsCarouselFragment as Ia, createRovingFocusGroupScope as Ic, systemCustomizeFacetDefinitionForBlock as Ii, rgbColorValue as Il, renderSourceFor as In, resolveEditorArrangementLook as Io, siblingPath as Ir, editorAdmissionNotice as Is, NewsletterFormClient as It, knownSocialPlatforms as Iu, footerLayoutSelection as J, compileManifestContentContract as Ja, DismissableLayer as Jc, offeringsListingFor as Ji, resolveMediaTransformForAspect as Jl, manifestFieldSectionOptions as Jn, getCuratedSiteStyle as Jo, mapOutlineBlocks as Jr, Root as Js, partitionFieldsByIntent as Jt, syncStateOf as Ju, siteChromeHeaderLogoMayBeHardToSee as K, defineFragment as Ka, FocusScope as Kc, isOfferingsPreviewSourceKey as Ki, formatAspectRatioToken as Kl, createManifestFormAdapter as Kn, componentRuntimeRulesForTheme as Ko, createEditorPresentationPageReader as Kr, selectedCanvasBlockId as Ks, hasVisibilityConditions as Kt, knownRevision as Ku, nextLookTilePin as L, testimonialsHeadingFragment as La, Presence as Lc, systemCustomizeFacetDefinitionsForBlock as Li, textColorStyle as Ll, renderedFieldChanges as Ln, restoreCompiledRuntimeFieldsFromContent as Lo, withValueAtPath as Lr, editorAdmissionSession as Ls, ImageResolveContextProvider as Lt, parsePublicProfile as Lu, usePreviewRenderReadiness as M, blogFeaturedPostFragment as Ma, __spreadArrays as Mc, arrangementKnobChoices as Mi, parseThemeForPersistence as Ml, canDiscardDraft as Mn, decideSectionPhoto as Mo, renderInlineText as Mr, augmentManifestWithStyleGroups as Ms, publishContentEntry as Mt, parseMailchimpAudienceId as Mu, STYLE_DEFAULT_LOOK_KEY as N, singleButtonFragment as Na, hideOthers as Nc, resolveArrangementKnobs as Ni, surfaceForegroundInputFromResolved as Nl, activeLinkedSaveHandover as Nn, sectionPhotoPresence as No, logger as Nr, isObjectRecord$1 as Ns, updateFooterComposition as Nt, parseMailchimpInterestId as Nu, PreviewRenderObservationsProvider as O, headingFragment as Oa, __generator as Oc, resolveMediaStorageUrl as Oi, resolveButtonStyleSelection as Ol, parseStoredSidebarWidth as On, getResponsiveScopeSpec as Oo, buildLoadedOfferingsPreviewListing as Or, resolveRepeaterGridAcceptedSpans as Os, sendPageCommand as Ot, DEFAULT_MAILING_LIST_TARGETING as Ou, lookPositionLabel as P, formEmbedFragment as Pa, Item$1 as Pc, isSystemCustomizeFacetId as Pi, surfaceForegroundStyle as Pl, planLinkedSaveHandoverRetention as Pn, applyCompiledRuntimeFieldsToContent as Po, Text as Pr, isRecord$24 as Ps, footerCreditLine as Pt, parseNewsletterListId as Pu, useFooterAuthoringOptional as Q, RichTextDocSchema as Qa, useControllableState as Qc, buildThemeDataAttrs as Qi, runtimeMediaSchema as Ql, getGroupChildFields as Qn, compiledRuntimeStyleFieldNames as Qo, readinessFactsFromPayload as Qr, CalloutTitle as Qs, deleteSlotBlock as Qt, createEditorReorderBlocksCommand as Qu, selectedLookTile as R, ctaCopyFragment as Ra, Portal as Rc, systemCustomizeFacetStoredValue as Ri, mapDrawingStyle as Rl, resolveRenderedValues as Rn, formatSiteChromeBackgroundTokenLabel as Ro, LINKED_CONTENT_ENTRY_META_KEY as Rr, observeEditorAdmission as Rs, useImageResolveContextOptional as Rt, publicProfileWeekdays as Ru, pageDesignLookPosition as S, projectRecurringSchedule as Sa, PortalContainerProvider as Sc, cardListPresentationSchemaShape as Si, resolveRepeaterGridRowFieldId as Sl, useOptionalEditorUiStoreInstance as Sn, truncateInlineText as So, resolveBlockVariantKey as Sr, projectRepeaterGridLayout as Ss, EditLeaseModal as St, parseFooterModuleId as Su, selectedImageFromMediaValue as T, publicEventsArraySchema as Ta, __assign as Tc, computeMediaTransformStyle as Ti, buttonStyleHoverPreferenceValue as Tl, shouldRevealAllBlockFieldValidation as Tn, escapeStyleContent as To, blockLookFromContent as Tr, isRepeaterGridLayoutInvalid as Ts, LeaseNoticeButtons as Tt, unsafeAsFooterModuleId as Tu, usePreviewAuth as U, heroCopyFragment as Ua, createPopperScope as Uc, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ui, expandPalette as Ul, unsafeAsLinkedContentEntryId as Un, lookDefinitionForId as Uo, resolvePageRouteTarget as Ur, ApiEnvelopeError as Us, evaluateVisibility as Ut, selectedContentVersionId as Uu, registerPreviewRenewalFetcher as V, BLOCK_BUTTON_ROLE_OPTIONS as Va, Content$1 as Vc, setContextResolveImageUrlContext as Vi, paletteValueKey as Vl, withoutServerVersions as Vn, concretePaletteFromTheme as Vo, defaultTransforms as Vr, publicMapLocationParamsSchema as Vs, derivePromotedFieldPlan as Vt, readEditorBlockVersionsFromPlacement as Vu, usePreviewToken as W, ctaButton as Wa, useSize as Wc, groupOfferingRunsByCourse as Wi, isRotationDimensionSwap as Wl, editorAuthoredBlockDocument as Wn, readStoredMode as Wo, resolveRouteTarget as Wr, extractApiEnvelopeErrorDetails as Ws, getFieldIntent as Wt, parseEditLeaseScope as Wu, resolveFooterEngagementPreview as X, admitLayoutGridForPlan as Xa, useDirection as Xc, readOfferingsGrouping as Xi, getImageUrl as Xl, getRepeaterItemDefault as Xn, offeredSiteStyles as Xo, PUBLISH_READINESS_COPY as Xr, Callout as Xs, createSlotBlock as Xt, createEditorInsertBlockCommand as Xu, resolveFooterEngagementAuthoringState as Y, validateManifestDraft as Ya, useCallbackRef$1 as Yc, planOfferingPreviewCardSelection as Yi, getDirectImageUrlForMediaAsset as Yl, getFieldDefault as Yn, headerStyleRecipeForTheme as Yo, mapOutlineRegions as Yr, VISUALLY_HIDDEN_STYLES as Ys, createBlock as Yt, valueStatus as Yu, FooterComposerProvider as Z, deriveFieldValidationPlan as Za, createCollection as Zc, resolveOfferingsPreviewGroupOrderEntries as Zi, mediaSchema as Zl, normalizeFieldForCanonicalValidation as Zn, palettesForSiteStyle as Zo, publishReadinessWarning as Zr, CalloutDescription as Zs, deleteBlock as Zt, createEditorRemoveBlockCommand as Zu, PreviewFooterProvider as _, readRuntimeNow as _a, Content as _c, chooseAllEvents as _i, readLinkedEntryLease as _l, resolvePageRouteSlug as _n, normalizeInlineTextMarks as _o, retargetJoinsAcrossOmissions as _r, assertNever$5 as _s, savedContentReceipt as _t, resolveMailingListDefaultDestination as _u, PreviewPageDesignEditorStateProvider as a, resolveFeatureCardGeneratedIconSizePx as aa, DialogHeader as ac, parseBookingLocalDate as ad, normalizeBlockContent as ai, buttonVariants as al, blocksKeys as an, parseGeneratedIconAssetId as ao, imagePoolForOverride as ar, generateFontFaceCss as as, readFooterEngagementDraft as at, asRecord as au, buildPageDesignEditorReadModelForBlocks as b, buildFormInteractiveIslandProps as ba, menuItemInteractionClassName as bc, toggleEventType as bi, isAcceptedRepeaterGridSpan as bl, useEditorUiStore as bn, removeInlineTextMarkFromRange as bo, mergeManifestWithSdkOptions as br, buildRepeaterGridDropTargets as bs, VIEWING_PARTICIPATION as bt, normalizeLegacyFooterContentToV1 as bu, usePreviewShownTheme as c, SITE_CHROME_VISIBLE_HEADER_SELECTOR as ca, overlayScrimClass as cc, resolveBookingBusinessTimeZone as cd, normalizeLocationMapSource as ci, createSlot as cl, DEFAULT_SURFACE_ID as cn, applyInlineTextMarkToRange as co, parseCanonicalSectionBackground as cr, defaultSectionTransitionVariantForFamily as cs, EntryControllerProvider as ct, asAppearancePresetId as cu, cycleSiteChromeSelectionId as d, SITE_STICKY_CHROME_HEIGHT_FALLBACK as da, DialogContent$1 as dc, parseMediaAssetId as dd, buildNewsletterFormInteractiveIslandProps as di, useComposedRefs as dl, ApiRequestError as dn, inlineTextAccentTones as do, resolveBackgroundCapability as dr, sectionTransitionVariantForBoundaryOptionId as ds, DONE as dt, asSiteStyleId as du, themeRuntimeScopeProps as ea, Dialog as ec, editorBlockCollectionOwnersEqual as ed, selectBlockContent as ei, createContextScope as el, listEntryPageContentSlots as en, richTextVariantCapabilities as eo, readSliderFieldUiConfig as er, gradientToCss as es, useFooterPanelOwnsNotice as et, renderableMediaAssetSchema as eu, PreviewThemeJournalProvider as f, measureSiteStickyChromeHeightPx as fa, DialogDescription$1 as fc, unsafeAsMediaAssetId as fd, offeringsPreviewBlockDefinition as fi, cn as fl, PREVIEW_CHROME_Z_INDEX as fn, inlineTextEqual as fo, createPageRenderPlanReader as fr, resolveCompiledSectionContextFromContent as fs, runHeldLifecycle as ft, authoredValuesEqual as fu, previewThemeBase as g, EDITABLE_SURFACE_FORWARDING_PROP as ga, DialogTrigger$1 as gc, expectParsedBrandedId as gd, EVENT_SELECTION_TYPE_OPTIONS as gi, canWriteLinkedEntry as gl, deriveRouteMetadataPresentation as gn, normalizeInlineText as go, renderedJoinLayout as gr, lookModes as gs, createEditorApiClientFactory as gt, assessMailingListTargeting as gu, composePreviewTheme as h, siteTopChromeMeasurementTargets as ha, DialogTitle$1 as hc, parseSiteId as hd, EVENT_SELECTION_SCOPE_OPTIONS as hi, isEdited as hl, routeLifecycleContext as hn, isInlineTextEmpty as ho, joinSlotKey as hr, appearancePresets as hs, useSessionJournalHistory as ht, buildMailingListSignupBlockSourceRef as hu, usePreviewSidebarNavigation as i, parseFeatureCardGeneratedIconSizePx as ia, DialogFooter as ic, formatDateTime as id, listBlockDescriptors as ii, Button as il, withSlotCompositionHash as in, parseBlockIconValue as io, enabledBackgroundModes as ir, buildGoogleFontFamilyQuery as is, footerPartKey as it, mediaIdentifierSchema as iu, usePreviewRenderBackgrounds as j, faqHeadingFragment as ja, __spreadArray as jc, resolveMediaSlotContract as ji, buttonStyleSelectionKey as jl, lifecycleOutcomeMessage as jn, backgroundImagePromotedFieldPath as jo, LocationMapView as jr, resolveBlockTitle as js, toRoutableLinkPayload as jt, parseBrevoListId as ju, PreviewRenderPlanProjection as k, cardFragment as ka, __read as kc, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as ki, updateButtonStyleHoverPreference as kl, selectAutosaveStatus as kn, resolveVisiblePromotedFieldPathsForEditorBlock as ko, resolveEventDetailsPresentation as kr, resolveRepeaterGridBreakpointForWidth as ks, missingReceiptError as kt, mailingListTargetingChoiceIds as ku, SiteChromeCustomizeProvider as l, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as la, Dialog$1 as lc, resolveBookingTimeZoneId as ld, parseLocationMapLoaderResult as li, createSlottable as ll, SURFACE_DOCUMENT_DATA_ATTRIBUTE as ln, coerceInlineTextWithFallback as lo, planBackgroundTransition as lr, sectionTransitionFamilies as ls, useEntryController as lt, asDesignBlockId as lu, usePreviewThemeSourceOptional as m, planSiteOverlayHeaderClearance as ma, DialogPortal$1 as mc, unsafeAsPositiveSeconds as md, eventCalendarPagingFields as mi, baselineRevisionOf as ml, createSnapshotFromPageRecord as mn, inlineTextToPlainText as mo, composePageJoins as mr, isThemeV2NormalEditorRawStylePath as ms, useSessionJournal as mt, slugify as mu, usePreviewAssistantSlot as n, createFeatureCardIconKey as na, DialogContent as nc, unsafeAsEditorBlockValues as nd, resolveFieldOwnership as ni, Primitive as nl, reorderBlocks as nn, getBlockIconSemanticId as no, canCycleBackgroundOverrideValue as nr, getGradientPreset as ns, footerHeaderStatus as nt, resolveManagedMediaReference as nu, usePreviewPageDesignEditorState as o, suggestSemanticIconForFeatureCard as oa, DialogTitle as oc, parseUtcIsoDateTimeString as od, LOCATION_MAP_LOADER_KEYS as oi, useControlReadiness as ol, getDashboardBaseUrl as on, parseGeneratedIconSetId as oo, parseBackgroundColorToken as or, getSiteFontsStorageUrl as os, footerEngagementEventFields as ot, getFontWidthRange as ou, usePreviewThemeSource as p, measureSiteTopChromeBottomPx as pa, DialogOverlay$1 as pc, unsafeAsPositiveByteCount as pd, publicRouteCandidatesSchema as pi, useShallow as pl, createRoutingHelpers as pn, inlineTextHighlightTones as po, planArrangementContent as pr, isThemeV2NormalEditorRawStyleFieldName as ps, useServerRefresh as pt, generateUuidV4 as pu, buildFooterRuntimeViewModel as q, runTransforms as qa, useFocusGuards as qc, normalizeOfferingsPreviewGroupOrder as qi, parseAspectRatioValue as ql, createManifestValidation as qn, designRuntimeRulesForTheme as qo, allOutlineBlocks as qr, sidebarReturnView as qs, isNonEmptyValue as qt, pristineValueSync as qu, PreviewSidebarBootstrap as r, getFeatureCardIconCompletion as ra, DialogDescription as rc, formatDate$4 as rd, getBlockDefinition as ri, dispatchDiscreteCustomEvent as rl, reorderSlotBlocks as rn, getGeneratedBlockIconStyleState as ro, defaultBackgroundOverrideForMode as rr, buildFontPreviewUrl as rs, footerEngagementStarted as rt, PUBLIC_FILE_FIELD_KINDS as ru, usePreviewPageDesignRenderState as s, toFeatureCardIconSuggestionInputs as sa, DialogTrigger as sc, toUtcIsoDateTimeString as sd, describeUnresolvedLocationMapLocation as si, cva as sl, getDashboardUrl as sn, parseSiteIconStyleGuideVersionId as so, parseBackgroundOverrideFromContent as sr, findCuratedPalette as ss, parseFooterEngagementDraft as st, isBodyFontFamily as su, PreviewAssistantSlotProvider as t, FEATURE_CARD_GENERATED_ICON_SIZE_PX as ta, DialogClose as tc, unsafeAsEditorBlockId as td, fieldPathsOwnedBy as ti, composeEventHandlers as tl, listPageSurfaceContentSlots as tn, sanitizeHref as to, backgroundColorTokens as tr, GRADIENT_PRESETS as ts, SessionJournalHost as tt, indexRenderableMediaAssets as tu, useSiteChromeCustomizeOptional as u, SITE_STICKY_CHROME_HEIGHT_CSS_VAR as ua, DialogClose$1 as uc, assertNever$9 as ud, resolveLocationMapLocation as ui, composeRefs as ul, resolveSurfaceDocumentAttributes as un, deriveInlineTextFieldChanges as uo, rankBackgroundImagePoolItems as ur, sectionTransitionFamilyForBoundaryOptionId as us, useEntryEditorController as ut, asLayoutVariantKey as uu, useLiveFooterRuntime as v, resolveDateRuntimeContext as va, Root$1 as vc, chooseScheduleScope as vi, canEditorWrite as vl, resolveContentTitle as vn, parseInlineTextFromUnknown as vo, createCustomBlockRegistry as vr, isInternalResolvedLinkValue as vs, savedPageSurfaceMetadataReceipt as vt, mailingListProviderName as vu, setPageDesignBlockBackground as w, pageTemplateFromEntry as wa, ReactRemoveScroll as wc, getRichTextImageSize as wi, siteOptionSources as wl, recoveryConflictCopy as wn, buildThemeRuntime as wo, arrangementHooksFromContent as wr, flowRepeaterGridItems as ws, LeaseDiscardedNoticeView as wt, setFooterSectionSelected as wu, cyclePageDesignBlockLook as x, eventCalendarListGroupingDecision as xa, menuTriggerInteractionClassName as xc, writeEventSelectionChips as xi, resolveRepeaterGridColumnFieldId as xl, useEditorUiStoreInstance as xn, replaceInlineTextRange as xo, makeDefaultBlockComponent as xr, planRepeaterGridSpanChange as xs, EditLeaseDiscardedNotice as xt, parseFooterCompositionV1 as xu, applyBindingsToContent as y, planSiteChromePlacement as ya, Trigger as yc, readEventSelectionChips as yi, bindingSchema as yl, planLeaseNotice as yn, plainTextToInlineText as yo, mergeBlockDescriptorsWithRegistry as yr, planLayoutGridColumnEdit as ys, useRetentionTicks as yt, deriveFooterEditorOverview as yu, createGuardedPreviewApiClient as z, heroCtaRowFragment as za, Anchor as zc, buildResolveImageUrlContext as zi, parseSurfaceTree as zl, useStore as zn, getHeaderLayout as zo, coerceLinkedContentEntriesPayload as zr, OPERATION_ID_HEADER as zs, FormNodeClient as zt, publishedContactDetails as zu };