@riverbankcms/sdk 0.180.0 → 0.182.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 (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
  9. package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
  10. package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
  11. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
  12. package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
  13. package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
  54. package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
  55. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
  93. package/dist/client/client.mjs +106 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
  119. package/dist/client/portal/client.mjs +12202 -7166
  120. package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
  121. package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-CeMywaiD.mjs +1485 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
  182. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
  183. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
  184. package/dist/server/manifest.mjs +36 -25
  185. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  186. package/dist/server/media-BRmYrnzb.mjs +31 -0
  187. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  188. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
  189. package/dist/server/navigation.mjs +1 -1
  190. package/dist/server/next.mjs +134 -81
  191. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
  192. package/dist/server/page-converter.mjs +3 -3
  193. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
  194. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
  195. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
  196. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
  197. package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
  198. package/dist/server/portal.mjs +3 -3
  199. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  200. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
  203. package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +10 -9
  209. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
  214. package/dist/server/theme-bridge.mjs +34 -8
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1098 -1885
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,26 +1,25 @@
1
1
  "use client";
2
- import { An as parseContentVersionId, Cn as formatEventStartingPrice, En as parseMailingListPlacementTargeting, Gt as cardListPresentationSchemaShape, P as occurrenceContextSchema, Qt as buildEventListWeek, Yt as quickFactSlots, ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, dt as isOfferingsPreviewSourceKey, fn as isHeaderScrollRuntimeEnabled, ft as normalizeOfferingsPreviewContentForWrite, gn as planSiteChromePlacement, gt as readOfferingsGrouping, hn as parseHeaderPositioning, ht as offeringsListingFor, it as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, jn as unsafeAsContentEntryId, kn as sameMailingListPlacementTargeting, ln as projectRecurringSchedule, m as combinedLookSchema, ot as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, pn as resolveHeaderChromeRuntimeContract, un as recurringScheduleProjectionSchema, ut as groupOfferingRunsByCourse, wn as buildMailingListSignupBlockSourceRef } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Ao as systemCustomizeFacetDefinitionsForBlock, Bo as inlineTextToPlainText, Es as formatBookingPriceDisplay, Fo as SECTION_STATE_KINDS, Go as resolveLookMediaFrame, Ho as parseInlineTextFromUnknown, Io as sectionStateToneFromKind, Jo as resolveDateRuntimeContext, Ko as parseBlockColorToken, Lo as asPartialObject, Mo as heroTitleSizeOptions, No as createAspectRatioField, Po as uiTransforms, Qa as isBlockButtonRole, Qr as registrationDataForEventSelection, Ro as createTransformRegistry, Rs as unsafeAsEventCategoryId, Uo as plainTextToInlineText, Vr as normalizeEventRegistrationPageSurfaceSubject, Wo as generateLookMediaFrameCss, Yr as planWholeSeriesParentBooking, Zo as isRecord$8, bo as computeMediaTransformStyle, ei as selectionRepresentativeEvent, jo as createImageShapeField, ko as resolveArrangementKnobs, qo as readRuntimeNow, to as eventCalendarWeekStart, ws as offeringLabelForPageSurfaceSubject, yo as MediaPlaceholder, zo as runTransforms } from "./wizardSteps-CWIQyRIw.mjs";
5
- import { $ as PUBLIC_FILE_FIELD_KINDS, C as publicEventPricingSchema, G as isRichTextDoc, H as RichTextDocSchema, Ht as projectPublicLocation, It as isRecord$9, Lt as EVENT_PRESET_VALUES, N as eventCalendarListGroupingDecision, O as bookingConsentCarrierSchema, Rt as WHOLE_SERIES_EVENT_PRESET_VALUES, T as publicEventsArraySchema, U as buildRichTextSchema, Ut as publicLocationSchema, V as resolveEventCalendarReadPlan, Vt as parseLocationValue, W as createRichTextDoc, Y as mediaSchema, Z as runtimeMediaSchema, Zt as formatDate, b as publicPassProductCollectionSchema, dt as isArrangementMode, ft as tileTreatmentValues, jt as calendarWindowQuerySchema, mn as getLocalScheduleDate, qt as trimmedStringOrNull, st as eventListTreatmentValues, u as logger, v as resolveCalendarReadProfile, vn as toUtcIsoDateTimeString, x as eventVenueDrawingSchema, y as publicMembershipProductCollectionSchema, yn as resolveBookingBusinessTimeZone, zt as locationValueSchema } from "./src-o7WEvbK1.mjs";
6
- import { T as assertNever$4 } from "./creditProducts-BQ1t1erI.mjs";
7
- import { l as monthSlotParents } from "./CalendarNavigationChevron-VfP50sYm.mjs";
8
- import { $t as media, A as eventRegistrationBlockDefinition, An as lookQuoteLimitTransform, At as desktopOnlyDisplay, B as defineFragment, Bn as DEFAULT_MEDIA_FIELD_KINDS, Bt as SectionNode, C as teamReadiness, Cn as publicAppointmentPricingSchema, Ct as eventHeaderSlotParents, D as loadedReadinessFact, Dn as resolveBackgroundColorValue, E as hiddenFromVisitors, En as getAnchorClasses, F as augmentManifest, Fn as ACCORDION_TRIGGER_FONT_SCALE, G as parseFieldDefinitions, Gn as resolveRepeaterGridSpanFieldId, Gt as carousel, H as createSiteOptionSelectField, Hn as parseRepeaterGridInteger, Ht as bind, I as formEmbedFragment, In as ACCORDION_TRIGGER_LETTER_SPACING, It as PUBLIC_DOWNLOAD_MEDIA_TYPES, J as sectionHeaderLayoutNodes, Jt as form, K as withApiBindings, Kn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Kt as el, L as formCopyFragment, Ln as ICON_CONFIG, Lt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, M as checkoutBlockDefinition, Mn as lookSlot, N as cartBlockDefinition, Nn as ACCORDION_OPEN_ACCENT_THICKNESS, O as pageTemplateFromEntry, On as lookCarouselRegionTransform, P as createBlockManifest, Pn as ACCORDION_SPACING_MAP, Q as backgroundFrame, Qt as link, R as buildFragmentDataLoaders, Rn as ICON_SIZE_PX, Rt as FEATURE_CARD_ICON_TREATMENTS, S as galleryReadiness, Sn as publicAppointmentLocationSchema, St as lookPartShown, T as admitReadinessFacts, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as buildAppointmentServicesView, U as normalizeSelectSource, Un as resolveRepeaterGridColumnFieldId, Ut as bookingForm, V as createSdkSelectField, Vn as isAcceptedRepeaterGridSpan, Vt as accordionList, W as parseFieldDefinition, Wn as resolveRepeaterGridRowFieldId, Wt as button, X as sectionContainer, Xn as isCanonicalRichTextDoc, Xt as icon, Y as styledContainer, Yn as publicMapLocationResultSchema, Yt as headerSection, Z as styledSection, Zt as inline, _ as cardListSectionActionFields, _n as eventScopeQueryKeys, _t as normalizeLocationMapProps, a as cardListSectionAction, an as text, at as eventDisplayFields, b as formDataSchema, bn as formatAppointmentLocation, bt as resolveLocationMapLocation, c as newsletterSignupBlockDefinition, cn as blockChecksForEvents, ct as containerStylesField, d as eventListingBlockDefinition, dn as eventReadinessQueryKeys, dt as createButtonVariantField, en as props, et as buildLoadedOfferingsPreviewListing, f as mapDrawingStyleBinding, fn as eventReadinessResultSchema, g as cardListPresentationBindings, gn as eventScopeQuery, gt as describeUnresolvedLocationMapLocation, h as cardListPhotoNumberFields, hn as eventScopeLoaderParam, ht as LOCATION_MAP_LOADER_KEYS, i as shopBlockDefinition, in as stack, it as emptyStateField, j as giftingBlockDefinition, jn as lookSkinSlotTransform, jt as mobileOnlyDisplay, k as unavailableReadinessFact, kn as lookLeadSlotTransform, l as sanitizeNewsletterSignupPublicContent, ln as eventReadinessLoaderKey, lt as sectionStylesField, m as cardListKnobFields, mn as eventDiscoveryFilterKeys, mt as LOCATION_MAP_LIMITS, nn as richText, nt as cardStylingFields, o as productListBlockDefinition, on as videoEmbed, ot as layoutField, p as eventCalendarBlockDefinition, pn as eventWeekReadScope, pt as LOCATION_MAP_DEFAULTS, q as sectionHeaderFields, qn as linkSchema, qt as fileDownload, rn as section, rt as columnsField, s as productDetailBlockDefinition, sn as when, st as cardStylesField, t as serverComponentRegistry, tn as repeat, tt as offeringCourseSlotParents, u as normalizeMailingListBlockContent, un as eventReadinessQuery, ut as createButtonGroup, v as normalizeCardListContent, vn as resolveEventScope, vt as normalizeLocationMapSource, w as testimonialsReadiness, wn as teamMemberCardBiographyFallback, wt as resolveEventDetailsPresentation, x as chosenString, xn as formatAppointmentPrice, y as formBlockDefinition, yn as formatAppointmentDuration, yt as parseLocationMapLoaderResult, z as composeFragments, zn as bindingSchema, zt as parseBlockIconValue } from "./registry.server-Bj9cmHHF.mjs";
9
- import { $ as navLinkHoverColorCandidate, A as componentRuntimeRulesForSiteStyle, At as appearancePresets, B as gradientToCss, Bt as featureCardCompositionTreatmentValues, C as resolvePublishedLook, Cn as asSiteStyleId, Ct as parseCanonicalRuntimeBackground, D as deriveSiteStyleBlockPolicy, Dt as defaultHeroImageSurfaceTreatment, E as buildInitialPolicyPageDesignIntent, Et as sectionSurfaceBase, F as requireCuratedSiteStyle, Ft as defineBlockDesignCapability, G as footerForegroundCandidates, Gt as testimonialsCompositionTreatmentValues, H as resolveCardRole, Ht as offeringsPreviewCompositionTreatmentValues, I as compilePageRuntimeFields, It as defineExactCatalog, J as generateNavLinkCSS, Jt as opaqueSurfaceDeclarations, K as getNavLinkPreset, Kt as toNonEmptyReadonlyArray, Lt as defineFrameCapability, M as designRuntimeRulesForSiteStyle, N as designRuntimeRulesForTheme, Nt as lookModes, O as filterLayoutProfilesForPolicy, Ot as stripStaleTransitionStyleGroup, P as getCuratedSiteStyle, Pt as assertNever$5, Q as generateInteractiveChildInheritanceCSS, Qt as TokenResolver, R as stripCompiledRuntimeStyleFields, Rt as defineNoBlockDesignCapability, S as resolveModeArrangement, Sn as asPageFlowPresetId, St as deriveSectionGround, T as applySiteStyleBlockPoliciesToPageDesignIntent, Tt as sectionForegroundBackground, U as generateDefaultCardSystem, Ut as plainFrame, V as getGradientPreset, Vt as introCompositionTreatmentValues, W as generateFooterCss, Wt as sectionBackgroundPaintValues, X as resolveEffectApplications, Xt as surfaceToneFromForegroundToken, Y as generateEffectsCSS, Yt as selectLogoVariant, Z as resolveEffectPaint, Zt as arrangementSlotNames, _ as resolveLookForBlock, _n as asHeaderStyleId, _t as spaciousBoundaryOption, a as resolvedItemSurfaceProps, an as customCssRuleSchema, at as resolvePageDesignBoundaryChoice, b as readStoredMode, bn as asDesignBlockId, bt as transitionCatalogueEntries, c as resolveLookSurfacePresentation, cn as runtimeBoxBackgroundSchema, ct as sectionShapeFromContent, d as arrangementLookHooks, dn as cardVariantRoleValues, dt as boundaryOptions, et as navLinkOwnsHoverForeground, f as arrangementStyleAvailability, ft as boundaryRuntimeMetricsForDecorativeTransition, g as resolveArrangementLookForBlock, gn as asHeaderLayoutId, gt as softBoundaryOption, h as getCompatibleBlockAppearancePresets, hn as parseGradientPresetId, ht as noneBoundaryOption, in as blockCustomCssRuleSchema, it as resolvePageDesignBlockLookChoice, j as componentRuntimeRulesForTheme, k as filterLookIdsForPolicy, kt as themeV2CompilerOwnedFieldNames, l as selectItemSurfacePresentation, lt as sectionShapeHook, m as compileArrangementLookRuntime, mn as surfaceCardRoleValues, mt as isDecorativeTransitionIntent, nn as themeSchema, nt as parsePageDesignIntent, o as itemRole, ot as pageDesignDecisionsV2Schema, p as automaticArrangementLook, pt as boundaryTreatmentForBoundaryOptionId, q as buildTextContrastShadow, qt as opaqueSurfaceContextFromTheme, rn as headerVariantValues, rt as rebasePageDesignIntentToSiteStyle, s as lookPresentationOnPalette, sn as boxBackgroundSchema, st as sectionShapeForGround, tn as sectionStylesOverrideSchema, tt as navLinkOwnsUnderline, u as arrangementAppearancePresets, ut as boundaryOptionForTransitionIntent, v as styleSectionBackgroundForColour, vn as siteChromeBackgroundOverrideOwner, vt as transitionIntentForTreatment, w as applyBlockContentVariantPolicy, wn as makeBoundaryId, wt as resolveSectionBackground, x as resolveEffectiveArrangement, xn as asLayoutVariantKey, xt as applyLookPhotoTreatment, y as arrangementManifestFromVariants, yn as asAppearancePresetId, yt as anglePolygonCss, z as surfaceResolutionContextFromTheme, zt as designIssueSeverityForPolicy } from "./lookSurfaces-gJ3OqPf9.mjs";
2
+ import { En as buildMailingListSignupBlockSourceRef, Mn as parseContentVersionId, Nn as unsafeAsContentEntryId, On as parseMailingListPlacementTargeting, P as occurrenceContextSchema, Qt as cardListPresentationSchemaShape, Tn as formatEventStartingPrice, _n as parseHeaderPositioning, _t as offeringsPreviewGroupQuery, an as buildEventListWeek, at as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, dn as projectRecurringSchedule, dt as groupOfferingRunsByCourse, fn as recurringScheduleProjectionSchema, ft as isOfferingsPreviewSourceKey, gt as offeringsListingFor, hn as resolveHeaderChromeRuntimeContract, jn as sameMailingListPlacementTargeting, lt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, m as combinedLookSchema, mn as isHeaderScrollRuntimeEnabled, nn as quickFactSlots, pt as normalizeOfferingsPreviewContentForWrite, st as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, vn as planSiteChromePlacement, vt as readOfferingsGrouping } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
+ import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
4
+ import { A as eventCalendarListGroupingDecision, B as buildRichTextSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as isRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, J as runtimeMediaSchema, Jt as publicLocationSchema, K as mediaSchema, Kt as parseLocationValue, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, Sn as parseUtcIsoDateTimeString, V as createRichTextDoc, Vt as isRecord$8, Wt as locationValueSchema, X as PUBLIC_FILE_FIELD_KINDS, _ as publicMembershipProductCollectionSchema, bn as parseBookingLocalDate, ct as isArrangementMode, g as resolveCalendarReadProfile, in as formatDateTime, it as eventListTreatmentValues, lt as tileTreatmentValues, nn as formatDate$1, qt as projectPublicLocation, v as publicPassProductCollectionSchema, wn as resolveBookingBusinessTimeZone, x as publicEventPricingSchema, y as eventVenueDrawingSchema, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-CmXh3JWs.mjs";
5
+ import { Ai as registrationDataForEventSelection, As as readRuntimeNow, Cs as inlineTextToPlainText, Di as planWholeSeriesParentBooking, Ds as generateLookMediaFrameCss, Es as plainTextToInlineText, Fo as isBlockButtonRole, Mi as selectionRepresentativeEvent, Os as resolveLookMediaFrame, Ps as isRecord$9, Ro as eventCalendarWeekStart, Ss as runTransforms, Ts as parseInlineTextFromUnknown, _s as uiTransforms, bs as asPartialObject, fc as offeringLabelForPageSurfaceSubject, fs as resolveArrangementKnobs, gs as createAspectRatioField, hs as heroTitleSizeOptions, js as resolveDateRuntimeContext, ks as parseBlockColorToken, mc as formatBookingPriceDisplay, ms as createImageShapeField, ns as MediaPlaceholder, ps as systemCustomizeFacetDefinitionsForBlock, rs as computeMediaTransformStyle, vi as normalizeEventRegistrationPageSurfaceSubject, vs as SECTION_STATE_KINDS, wi as isOrdinaryPublicEvent, xs as createTransformRegistry, ys as sectionStateToneFromKind } from "./wizardSteps-B952ify5.mjs";
6
+ import { l as monthSlotParents } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
7
+ import { h as assertNever$4 } from "./bookingCalendar--aWnqFDn.mjs";
8
+ import { $ as backgroundFrame, $n as publicMapLocationResultSchema, $t as link, A as eventRegistrationBlockDefinition, An as lookCarouselRegionTransform, B as defineFragment, Bn as ICON_SIZE_PX, Bt as parseBlockIconValue, C as teamReadiness, Cn as formatAppointmentPrice, Ct as lookPartShown, D as loadedReadinessFact, Dn as BACKGROUND_POSITION_PRESET_VALUES, E as hiddenFromVisitors, En as teamMemberCardBiographyFallback, Et as buildAppointmentServicesView, F as augmentManifest, Fn as ACCORDION_OPEN_ACCENT_THICKNESS, G as parseFieldDefinitions, Gn as isAcceptedRepeaterGridSpan, Gt as button, H as createSiteOptionSelectField, Hn as pageGround, Ht as accordionList, I as formEmbedFragment, In as ACCORDION_SPACING_MAP, J as sectionHeaderLayoutNodes, Jn as resolveRepeaterGridRowFieldId, Jt as fileDownload, K as withApiBindings, Kn as parseRepeaterGridInteger, Kt as carousel, L as formCopyFragment, Ln as ACCORDION_TRIGGER_FONT_SCALE, Lt as PUBLIC_DOWNLOAD_MEDIA_TYPES, M as checkoutBlockDefinition, Mn as lookQuoteLimitTransform, Mt as mobileOnlyDisplay, N as cartBlockDefinition, Nn as lookSkinSlotTransform, O as pageTemplateFromEntry, On as getAnchorClasses, P as createBlockManifest, Pn as lookSlot, Q as styledSection, Qt as inline, R as buildFragmentDataLoaders, Rn as ACCORDION_TRIGGER_LETTER_SPACING, Rt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, S as galleryReadiness, Sn as formatAppointmentLocation, T as admitReadinessFacts, Tn as publicAppointmentPricingSchema, Tt as resolveEventDetailsPresentation, U as normalizeSelectSource, Un as bindingSchema, Ut as bind, V as createSdkSelectField, Vn as groundPaint, Vt as SectionNode, W as parseFieldDefinition, Wn as DEFAULT_MEDIA_FIELD_KINDS, Wt as bookingForm, X as sectionContainer, Xn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Xt as headerSection, Y as styledContainer, Yn as resolveRepeaterGridSpanFieldId, Yt as form, Z as layoutSectionGround, Zn as linkSchema, Zt as icon, _ as cardListSectionActionFields, _n as eventDiscoveryFilterKeys, _t as describeUnresolvedLocationMapLocation, a as cardListSectionAction, an as stack, at as emptyStateField, b as formDataSchema, bn as resolveEventScope, bt as parseLocationMapLoaderResult, c as newsletterSignupBlockDefinition, cn as when, ct as cardStylesField, d as eventListingBlockDefinition, dn as eventReadinessQuery, dt as createButtonGroup, en as media, er as isCanonicalRichTextDoc, f as mapDrawingStyleBinding, fn as eventReadinessQueryKeys, ft as createButtonVariantField, g as cardListPresentationBindings, gn as resolveEventScopeRead, gt as LOCATION_MAP_LOADER_KEYS, h as cardListPhotoNumberFields, hn as resolveEventCalendarRead, ht as LOCATION_MAP_LIMITS, i as shopBlockDefinition, in as section, it as columnsField, j as giftingBlockDefinition, jn as lookLeadSlotTransform, jt as desktopOnlyDisplay, k as unavailableReadinessFact, kn as resolveBackgroundColorValue, l as sanitizeNewsletterSignupPublicContent, ln as blockChecksForEvents, lt as containerStylesField, m as cardListKnobFields, mn as recurringScheduleRead, mt as LOCATION_MAP_DEFAULTS, nn as repeat, nt as offeringCourseSlotParents, o as productListBlockDefinition, on as text, ot as eventDisplayFields, p as eventCalendarBlockDefinition, pn as eventReadinessResultSchema, q as sectionHeaderFields, qn as resolveRepeaterGridColumnFieldId, qt as el, rn as richText, rt as cardStylingFields, s as productDetailBlockDefinition, sn as videoEmbed, st as layoutField, t as serverComponentRegistry, tn as props, tt as buildLoadedOfferingsPreviewListing, u as normalizeMailingListBlockContent, un as eventReadinessLoaderKey, ut as sectionStylesField, v as normalizeCardListContent, vn as eventScopeLoaderParam, vt as normalizeLocationMapProps, w as testimonialsReadiness, wn as publicAppointmentLocationSchema, wt as eventHeaderSlotParents, x as chosenString, xn as formatAppointmentDuration, xt as resolveLocationMapLocation, y as formBlockDefinition, yn as eventScopeQueryKeys, yt as normalizeLocationMapSource, z as composeFragments, zn as ICON_CONFIG, zt as FEATURE_CARD_ICON_TREATMENTS } from "./registry.server-DzvtVVD0.mjs";
9
+ import { $ as navLinkOwnsHoverForeground, $t as TokenResolver, A as filterLookIdsForPolicy, At as themeV2CompilerOwnedFieldNames, B as surfaceResolutionContextFromTheme, Bt as designIssueSeverityForPolicy, C as resolveModeArrangement, Cn as asPageFlowPresetId, Ct as deriveSectionGround, D as buildInitialPolicyPageDesignIntent, Dt as sectionSurfaceBase, E as applySiteStyleBlockPoliciesToPageDesignIntent, Et as sectionForegroundBackground, F as getCuratedSiteStyle, Ft as assertNever$5, G as getNavLinkPreset, Gt as sectionBackgroundPaintValues, H as generateDefaultCardSystem, Ht as introCompositionTreatmentValues, I as requireCuratedSiteStyle, It as defineBlockDesignCapability, J as generateEffectsCSS, Jt as opaqueSurfaceContextFromTheme, K as buildTextContrastShadow, Kt as testimonialsCompositionTreatmentValues, L as compilePageRuntimeFields, Lt as defineExactCatalog, M as componentRuntimeRulesForTheme, N as designRuntimeRulesForSiteStyle, O as deriveSiteStyleBlockPolicy, Ot as defaultHeroImageSurfaceTreatment, P as designRuntimeRulesForTheme, Pt as lookModes, Q as navLinkHoverColorCandidate, Qt as arrangementSlotNames, Rt as defineFrameCapability, S as resolveEffectiveArrangement, Sn as asLayoutVariantKey, St as applyLookPhotoTreatment, T as applyBlockContentVariantPolicy, Tn as makeBoundaryId, Tt as resolveSectionBackground, U as generateFooterCss, Ut as offeringsPreviewCompositionTreatmentValues, V as resolveCardRole, Vt as featureCardCompositionTreatmentValues, W as footerForegroundCandidates, Wt as plainFrame, X as resolveEffectPaint, Xt as selectLogoVariant, Y as resolveEffectApplications, Yt as opaqueSurfaceDeclarations, Z as generateInteractiveChildInheritanceCSS, Zt as surfaceToneFromForegroundToken, _ as resolveArrangementLookForBlock, _n as asHeaderLayoutId, _t as softBoundaryOption, an as blockCustomCssRuleSchema, at as pageDesignDecisionsV2Schema, b as arrangementManifestFromVariants, bn as asAppearancePresetId, bt as anglePolygonCss, c as lookPresentationOnPalette, cn as boxBackgroundSchema, ct as sectionShapeForGround, d as arrangementAppearancePresets, dt as boundaryOptionForTransitionIntent, et as navLinkOwnsUnderline, f as arrangementLookHooks, fn as cardVariantRoleValues, ft as boundaryOptions, g as getCompatibleBlockAppearancePresets, gt as noneBoundaryOption, h as compileArrangementLookRuntime, hn as surfaceCardRoleValues, ht as isDecorativeTransitionIntent, in as headerVariantValues, it as resolvePageDesignBoundaryChoice, j as componentRuntimeRulesForSiteStyle, jt as appearancePresets, k as filterLayoutProfilesForPolicy, kt as stripStaleTransitionStyleGroup, l as resolveLookSurfacePresentation, ln as runtimeBoxBackgroundSchema, lt as sectionShapeFromContent, m as automaticArrangementLook, mt as boundaryTreatmentForBoundaryOptionId, nn as sectionStylesOverrideSchema, nt as rebasePageDesignIntentToSiteStyle, o as resolvedItemSurfaceProps, on as customCssRuleSchema, p as arrangementStyleAvailability, pt as boundaryRuntimeMetricsForDecorativeTransition, q as generateNavLinkCSS, qt as toNonEmptyReadonlyArray, rn as themeSchema, rt as resolvePageDesignBlockLookChoice, s as itemRole, t as logger, tt as parsePageDesignIntent, u as selectItemSurfacePresentation, ut as sectionShapeHook, v as resolveLookForBlock, vn as asHeaderStyleId, vt as spaciousBoundaryOption, w as resolvePublishedLook, wn as asSiteStyleId, wt as parseCanonicalRuntimeBackground, x as readStoredMode, xn as asDesignBlockId, xt as transitionCatalogueEntries, y as styleSectionBackgroundForColour, yn as siteChromeBackgroundOverrideOwner, yt as transitionIntentForTreatment, z as stripCompiledRuntimeStyleFields, zt as defineNoBlockDesignCapability } from "./noop-jesvJXEE.mjs";
10
10
  import { T as parseThemeColorToken, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as parseColorTokenParts } from "./types-BEaKfam_.mjs";
11
- import { $ as solveSurfaceInks, A as DEFAULT_BUTTON_SIZES, C as buttonRadius, Ct as resolveOpaqueSurfaceHex, D as materializeRuntimeButtonAppearance, Dt as contrastRatio, E as buttonTypographyDeclarations, Ft as rgbToHex, G as mergeStyles, H as backgroundColorStyle, It as srgbToOklab, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, M as FONT_SIZE_MAP, Mt as oklabToOklch, N as generateShadowValue$1, Nt as oklabToSrgb, O as paddingDeclarations, Pt as oklchToHexGamut, S as buttonBorder, St as resolveConcreteColorHex, T as buttonStateAppearanceDeclarations, U as borderColorStyle, W as cssVarValue, X as safeTokenOr, Y as resolveSurfaceForeground, Z as surfaceInkPublication, _t as surfaceInkDeclarations, at as inkReference, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, ct as planForegroundHover, dt as SURFACE_INK_CSS_VARS, f as compositeHex, ft as surfaceForegroundDeclarations, g as actionVariableFallback, gt as surfaceForegroundValueWithOpacity, ht as surfaceForegroundValue, it as contrastThresholdByPolicy, jt as hexToRgb, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as DEFAULT_SURFACE_TEXT_COLOR, mt as surfaceForegroundStyle, n as parseSurfaceTree, nt as HOVER_TEXT_THRESHOLD, o as resolveSurface, ot as expandPalette, pt as surfaceForegroundInputFromResolved, q as textColorStyle, r as prepareSurfaceIndex, rt as certifyPaint, ut as SURFACE_FOREGROUND_CSS_VARS, v as compileButtonColourStates, vt as surfaceInkStyle, w as buttonShadow, x as formatButtonColourContractError, xt as ownedThemeSnapshot, y as resolveSolidButtonColour, yt as surfaceInkValue } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
12
- import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-CQHWz5gJ.mjs";
13
- import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-CnSa7o-I.mjs";
11
+ import { $ as resolveSurfaceForeground, B as cssVarValue, C as materializeRuntimeButtonAppearance, Ct as resolveConcreteColorHex, E as DEFAULT_BUTTON_SIZES, Ft as contrastRatio, G as callsCssLoadingFunction, Gt as oklchToHexGamut, H as rgbColorValue, Ht as hexToRgb, J as expandPalette, K as staysInsideDeclaration, Kt as rgbToHex, N as mapButtonVisualAppearances, O as FONT_SIZE_MAP, Pt as ORDINARY_TEXT_MIN_CONTRAST_RATIO, R as backgroundColorStyle, S as buttonTypographyDeclarations, St as ownedThemeSnapshot, T as BORDER_WIDTH_MAP, Tt as neutralInk, U as textColorStyle, Ut as oklabToOklch, V as mergeStyles, W as textColorValue, Wt as oklabToSrgb, Y as compositeHex, _ as formatButtonColourContractError, _t as surfaceForegroundValueWithOpacity, at as HOVER_TEXT_THRESHOLD, b as buttonShadow, bt as surfaceInkValue, ct as inkReference, dt as SURFACE_FOREGROUND_CSS_VARS, et as safeTokenOr, f as actionVariableFallback, ft as SURFACE_INK_CSS_VARS, g as BUTTON_CONTRAST_POLICY, gt as surfaceForegroundValue, h as resolveSolidButtonColour, ht as surfaceForegroundStyle, k as generateShadowValue$1, l as surfaceDecorationColors, lt as planForegroundHover, m as compileButtonColourStates, mt as surfaceForegroundInputFromResolved, n as parseSurfaceTree, o as resolveSurface, ot as certifyPaint, pt as surfaceForegroundDeclarations, q as SURFACE_SECONDARY_TEXT_TINT_ALPHA, qt as srgbToOklab, r as prepareSurfaceIndex, rt as solveSurfaceInks, st as contrastThresholdByPolicy, tt as surfaceInkPublication, ut as DEFAULT_SURFACE_TEXT_COLOR, v as buttonBorder, vt as surfaceInkDeclarations, w as paddingDeclarations, wt as resolveOpaqueSurfaceHex, x as buttonStateAppearanceDeclarations, xt as freezeOwnedThemeValue, y as buttonRadius, yt as surfaceInkStyle, z as borderColorStyle, zt as solidPaint } from "./accessibleSurfaces-BogaGutk.mjs";
12
+ import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-BFuqZCfz.mjs";
13
+ import { C as themeButtonSelector, S as parseThemeButtonVariantId, w as AFFORDANCE_SUPPRESS_CLASS } from "./ThemedButton-PFOhXktM.mjs";
14
14
  import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
15
15
  import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
16
- import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
16
+ import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
17
17
  import { n as eventAutoApplyDiscountPreviewSchema } from "./events-9LPvwbWp.mjs";
18
- import { t as formatDate$1 } from "./formatDate-hhI1-tzt.mjs";
19
- import { t as coerceRichTextDoc } from "./richText-coerce-Z45OLLEX.mjs";
20
- import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-CJITrGkF.mjs";
21
- import { n as eventListSlotParents } from "./EventListing.view-CXfb7RRy.mjs";
18
+ import { t as coerceRichTextDoc } from "./richText-coerce-Bnng7JFA.mjs";
19
+ import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-Bb0ppG2N.mjs";
20
+ import { n as eventListSlotParents } from "./EventListing.view-DsqvuulZ.mjs";
22
21
  import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
23
- import { t as resolveBlocksPageMediaContext } from "./mediaAssets-B99AP7ai.mjs";
22
+ import { t as resolveBlocksPageMediaContext } from "./mediaAssets-COfQolI3.mjs";
24
23
  import * as React$1 from "react";
25
24
  import React from "react";
26
25
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -138,8 +137,8 @@ function walkAndCollectImageAttrs(value, out, location = "") {
138
137
  value.forEach((item, index) => walkAndCollectImageAttrs(item, out, `${location}[${index}]`));
139
138
  return;
140
139
  }
141
- if (!isRecord$8(value)) return;
142
- if (value.type === "image" && isRecord$8(value.attrs)) out.push({
140
+ if (!isRecord$9(value)) return;
141
+ if (value.type === "image" && isRecord$9(value.attrs)) out.push({
143
142
  attrs: value.attrs,
144
143
  location: location ? `${location}.attrs` : "attrs"
145
144
  });
@@ -706,28 +705,20 @@ function assertUniqueLayoutProfileKeys(profiles) {
706
705
  }
707
706
  //#endregion
708
707
  //#region ../theme-core/src/site-styles/sectionBoundaryComposition.ts
709
- const backgroundToken = requireThemeColorToken("background");
710
708
  /**
711
709
  * Classifies a section from its final render content. `_sectionStyles`
712
710
  * already holds the effective background (Look default, page-design override
713
711
  * and block-authored media merged by `resolveSectionBackground`), so this only
714
- * reads it and never re-decides precedence. A missing or unparseable
715
- * background is the page background, as it is for the renderer.
712
+ * reads it and never re-decides precedence. What it paints comes from
713
+ * `groundPaint`, the same decision the background layer paints from, given
714
+ * the ground the section declares for when its content sets no colour.
716
715
  */
717
- function boundaryEndpointForSectionContent(content) {
716
+ function boundaryEndpointForSectionContent(content, ground) {
718
717
  const background = parseCanonicalRuntimeBackground(content);
719
- if (background.kind === "none") return {
720
- kind: "paint",
721
- token: backgroundToken
722
- };
723
- const effective = background.background;
724
- switch (effective.type) {
725
- case "color": {
726
- if (effective.color === null || effective.color === void 0) return {
727
- kind: "paint",
728
- token: backgroundToken
729
- };
730
- const token = parseThemeColorToken(effective.color);
718
+ const paint = groundPaint(background.kind === "none" ? null : background.background, ground.fallback);
719
+ switch (paint.kind) {
720
+ case "fill": {
721
+ const token = parseThemeColorToken(paint.colour);
731
722
  return token ? {
732
723
  kind: "paint",
733
724
  token
@@ -740,26 +731,30 @@ function boundaryEndpointForSectionContent(content) {
740
731
  kind: "unpainted",
741
732
  reason: "gradient"
742
733
  };
743
- case "image":
744
- case "video": return {
734
+ case "media": return {
745
735
  kind: "unpainted",
746
736
  reason: "media"
747
737
  };
748
- default: return assertNever$5(effective, "Unhandled section background type");
738
+ case "bare": return {
739
+ kind: "paint",
740
+ token: pageGround.fallback
741
+ };
742
+ default: return assertNever$5(paint, "Unhandled ground paint");
749
743
  }
750
744
  }
751
745
  /**
752
746
  * Reads every fact from final render content in one place. `_frameStyles` is
753
747
  * the compiled frame; content without one (no page design, an SDK block)
754
- * draws a plain frame.
748
+ * draws a plain frame. `ground` is what the section declares it paints when
749
+ * its content sets no colour (`pageGround` for a section that declares none).
755
750
  */
756
- function sectionFactsForContent(content) {
751
+ function sectionFactsForContent(content, ground) {
757
752
  const photoGround = isLookPhotoGround(content);
758
753
  return {
759
754
  endpoint: photoGround ? {
760
755
  kind: "unpainted",
761
756
  reason: "media"
762
- } : boundaryEndpointForSectionContent(content),
757
+ } : boundaryEndpointForSectionContent(content, ground),
763
758
  ...photoGround || isPhotoBackground(content) ? { photo: true } : {},
764
759
  frame: frameKindForContent(content),
765
760
  shape: sectionShapeFromContent(content)
@@ -837,6 +832,26 @@ function composeBoundary(previous, next, treatment) {
837
832
  reason: "both-unpainted"
838
833
  };
839
834
  }
835
+ /**
836
+ * Decides the seam between two adjacent sections from the same facts that
837
+ * decide the boundary. Shared ground needs two platform sections painting the
838
+ * identical theme token, with no field, flush panel or photo on either side;
839
+ * gradients and literal colours are unpainted, so they never merge. A shared
840
+ * ground is always a `same-paint` join, so a seam never sits beside a drawn
841
+ * boundary or its reserves.
842
+ */
843
+ function sectionSeam(previous, next) {
844
+ if (previous.facts.shape === "field" && next.facts.shape === "field") return "fields";
845
+ return mergesGround(previous) && mergesGround(next) && samePaint(previous.facts.endpoint, next.facts.endpoint) ? "shared-ground" : "none";
846
+ }
847
+ /** A side can share its ground only when the platform paints it edge to edge, with no flush panel or photo. */
848
+ function mergesGround(side) {
849
+ const { facts } = side;
850
+ return side.section === "platform" && facts.shape !== "field" && facts.frame !== "flush-panel" && !facts.photo;
851
+ }
852
+ function samePaint(previous, next) {
853
+ return previous.kind === "paint" && next.kind === "paint" && previous.token === next.token;
854
+ }
840
855
  /** Treatment-specific placement and indistinguishable paint are composition decisions. */
841
856
  function paintNotShownReason(previous, next, treatment) {
842
857
  if (treatment === "wave-edge-echo" && (!previous.photo || next.endpoint.kind !== "paint")) return "photo-required";
@@ -885,11 +900,6 @@ function boundaryLayout(intent, composition) {
885
900
  default: return assertNever$5(composition, "Unhandled boundary composition");
886
901
  }
887
902
  }
888
- function requireThemeColorToken(value) {
889
- const token = parseThemeColorToken(value);
890
- if (!token) throw new Error(`Expected a theme color token. Received: ${value}`);
891
- return token;
892
- }
893
903
  //#endregion
894
904
  //#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
895
905
  function asContentTemplateDesignBlockId(value) {
@@ -2357,7 +2367,7 @@ function arrangementContentFacts(content) {
2357
2367
  featured,
2358
2368
  outcome: typeof content.outcome === "string" && content.outcome.length > 0,
2359
2369
  figure: typeof content.figure === "string" && content.figure.trim().length > 0,
2360
- entrance: isRecord$9(content.entrancePhoto)
2370
+ entrance: isRecord$8(content.entrancePhoto)
2361
2371
  },
2362
2372
  settings: { "listed-by-week": content.listBy === "week" }
2363
2373
  }
@@ -2372,10 +2382,10 @@ function lookFillPartsFromContent(content) {
2372
2382
  }
2373
2383
  /** The content stage owns media presence for every arrangement consumer. */
2374
2384
  function arrangementPhotoCount(content) {
2375
- if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$9(card) && isRecord$9(card.media)).length;
2376
- if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$9(member) && isRecord$9(member.photo)).length;
2377
- if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$9(item) && isRecord$9(item.image)).length;
2378
- if (isRecord$9(content.media) || isRecord$9(content.entrancePhoto)) return 1;
2385
+ if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$8(card) && isRecord$8(card.media)).length;
2386
+ if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$8(member) && isRecord$8(member.photo)).length;
2387
+ if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$8(item) && isRecord$8(item.image)).length;
2388
+ if (isRecord$8(content.media) || isRecord$8(content.entrancePhoto)) return 1;
2379
2389
  return storedSectionPhoto(content) === null ? 0 : 1;
2380
2390
  }
2381
2391
  /** Both rendering and join matching ask the publication-fallback owner. */
@@ -6925,6 +6935,9 @@ function generateBoundaryCss(selector) {
6925
6935
  * footer blocks intervene, document adapters mark their region so only their
6926
6936
  * ending receives the reserve (and an empty region falls back to the page).
6927
6937
  *
6938
+ * A two-column layout (a booking page) marks itself rather than a block: its
6939
+ * sections have no padding of their own, and either column can end lower.
6940
+ *
6928
6941
  * Pages that don't come from the page renderer (privacy, terms, checkout, the
6929
6942
  * portal, a not-found page) have no block ending. The site document's content
6930
6943
  * area takes the reserve for them instead, but only when nothing inside it is
@@ -6934,7 +6947,11 @@ function footerEdgeReserveCss(selector, entry) {
6934
6947
  const metrics = boundaryRuntimeMetricsForDecorativeTransition(entry.intent);
6935
6948
  const withEdge = `${selector}:has([data-footer-edge][data-boundary-treatment='${entry.intent}'])`;
6936
6949
  const pageEnds = `${withEdge}:not(:has([data-footer-blocks] [data-page-ending]))`;
6937
- return [rule(`${pageEnds} [data-block][data-page-ending] > ${blockSection}, ${withEdge} [data-footer-blocks] [data-block][data-page-ending] > ${blockSection}`, [`padding-bottom: calc(var(--rb-section-pad-y, 0rem) + ${metrics.heightCss});`]), rule(`${pageEnds} [data-site-document-content]:not(:has([data-page-ending]))`, [`padding-bottom: ${metrics.heightCss};`])];
6950
+ return [
6951
+ rule(`${pageEnds} [data-block][data-page-ending] > ${blockSection}, ${withEdge} [data-footer-blocks] [data-block][data-page-ending] > ${blockSection}`, [`padding-bottom: calc(var(--rb-section-pad-y, 0rem) + ${metrics.heightCss});`]),
6952
+ rule(`${pageEnds} [data-page-layout][data-page-ending]`, [`padding-bottom: calc(var(--rb-page-layout-pad-y, 0rem) + ${metrics.heightCss});`]),
6953
+ rule(`${pageEnds} [data-site-document-content]:not(:has([data-page-ending]))`, [`padding-bottom: ${metrics.heightCss};`])
6954
+ ];
6938
6955
  }
6939
6956
  function placementCss(boundary) {
6940
6957
  return Object.keys(placementRules).flatMap((placement) => {
@@ -7144,6 +7161,108 @@ function toHeroLineHeight(lineHeight) {
7144
7161
  }[lineHeight];
7145
7162
  }
7146
7163
  //#endregion
7164
+ //#region ../theme-core/src/status/statusTones.ts
7165
+ /**
7166
+ * Status tones: the quiet tinted chips and notices that say a booking is
7167
+ * confirmed (ok), needs something from the customer (attention) or has gone
7168
+ * wrong (problem).
7169
+ *
7170
+ * Every site's palette is different, and a status colour that reads well as a
7171
+ * border is often too light to read as text on its own tint (a yellow warning
7172
+ * on cream, say). So the tone's ink is measured per palette: we start from the
7173
+ * status colour and move it towards the palette's text colour until it clears
7174
+ * ordinary-text contrast on the tint. The hue survives where it can, and the
7175
+ * text always stays readable.
7176
+ *
7177
+ * Tones never carry meaning by colour alone; the components that use them pair
7178
+ * each tone with a glyph and words.
7179
+ */
7180
+ const statusToneNames = [
7181
+ "ok",
7182
+ "attention",
7183
+ "problem"
7184
+ ];
7185
+ /** The palette role each tone is drawn from. */
7186
+ const TONE_SOURCE = {
7187
+ ok: "success",
7188
+ attention: "warning",
7189
+ problem: "destructive"
7190
+ };
7191
+ /** How strongly the status colour tints the ground behind the tone's text. */
7192
+ const TINT_ALPHA = .12;
7193
+ /** Steps from the status colour towards the text colour, tried in order. */
7194
+ const INK_STEPS = [
7195
+ 0,
7196
+ .2,
7197
+ .4,
7198
+ .55,
7199
+ .7,
7200
+ .85,
7201
+ 1
7202
+ ];
7203
+ /**
7204
+ * The tone for one status colour over a ground. When no step towards the
7205
+ * palette's text clears the tint, the ink solver's measured neutral (black or
7206
+ * white) does, so the text is always readable. Pure, so the per-palette sweep
7207
+ * can check every result.
7208
+ */
7209
+ function decideStatusTone(input) {
7210
+ const { statusHex, groundHex, textHex } = input;
7211
+ const background = compositeHex(statusHex, TINT_ALPHA, groundHex);
7212
+ return {
7213
+ background,
7214
+ text: INK_STEPS.map((step) => step === 0 ? statusHex : compositeHex(textHex, step, statusHex)).find((ink) => contrastRatio(ink, background) >= 4.5) ?? measuredNeutral(background),
7215
+ border: statusHex
7216
+ };
7217
+ }
7218
+ /** Black or white, whichever reads on the tint; the tint is opaque, so one always clears. */
7219
+ function measuredNeutral(background) {
7220
+ const ink = neutralInk(solidPaint(background), ORDINARY_TEXT_MIN_CONTRAST_RATIO);
7221
+ return ink.kind === "ink" ? ink.hex : "#000000";
7222
+ }
7223
+ /** Every tone for a palette, over its page background, or null when the palette can't be read. */
7224
+ function decideStatusTones(palette) {
7225
+ const groundHex = resolveConcreteColorHex("background", palette);
7226
+ const textHex = resolveConcreteColorHex("text", palette);
7227
+ if (!groundHex || !textHex) return null;
7228
+ const tone = (name) => {
7229
+ const statusHex = resolveConcreteColorHex(TONE_SOURCE[name], palette);
7230
+ return statusHex ? decideStatusTone({
7231
+ statusHex,
7232
+ groundHex,
7233
+ textHex
7234
+ }) : null;
7235
+ };
7236
+ const ok = tone("ok");
7237
+ const attention = tone("attention");
7238
+ const problem = tone("problem");
7239
+ return ok && attention && problem ? {
7240
+ ok,
7241
+ attention,
7242
+ problem
7243
+ } : null;
7244
+ }
7245
+ /**
7246
+ * The `--rb-tone-*` declarations for a palette. Without a readable palette the
7247
+ * tones fall back to the plain text colour on the surface, which is always
7248
+ * legible (the glyph and words still carry the meaning).
7249
+ */
7250
+ function statusToneDeclarations(palette) {
7251
+ const tones = decideStatusTones(palette);
7252
+ return statusToneNames.flatMap((name) => {
7253
+ const tone = tones?.[name];
7254
+ return tone ? [
7255
+ `--rb-tone-${name}-bg: ${tone.background};`,
7256
+ `--rb-tone-${name}-text: ${tone.text};`,
7257
+ `--rb-tone-${name}-border: ${tone.border};`
7258
+ ] : [
7259
+ `--rb-tone-${name}-bg: transparent;`,
7260
+ `--rb-tone-${name}-text: currentColor;`,
7261
+ `--rb-tone-${name}-border: currentColor;`
7262
+ ];
7263
+ });
7264
+ }
7265
+ //#endregion
7147
7266
  //#region ../theme-core/src/status/generateStatusCss.ts
7148
7267
  /**
7149
7268
  * Corner radius map - derives alert border-radius from theme.corners
@@ -7171,6 +7290,7 @@ const CORNER_MAP = {
7171
7290
  function generateStatusCss({ themeId, theme, palette }) {
7172
7291
  const root = `:where([data-theme-scope="${themeId}"])`;
7173
7292
  return [
7293
+ generateStatusToneCss(root, palette),
7174
7294
  generateStatusTextCss(root),
7175
7295
  generateAlertCss(root, CORNER_MAP[theme.corners], palette),
7176
7296
  generateFieldNoteCss(root),
@@ -7178,6 +7298,13 @@ function generateStatusCss({ themeId, theme, palette }) {
7178
7298
  generateButtonLinkCss(root)
7179
7299
  ].join("\n\n");
7180
7300
  }
7301
+ /** Measured status tones (see statusTones.ts) for chips and notices. */
7302
+ function generateStatusToneCss(root, palette) {
7303
+ return `/* Status tones */
7304
+ ${root} {
7305
+ ${statusToneDeclarations(palette).join("\n ")}
7306
+ }`;
7307
+ }
7181
7308
  function generateStatusTextCss(root) {
7182
7309
  return `/* Status text indicators */
7183
7310
  ${root} .status-error { color: rgb(var(--tb-destructive)); }
@@ -7575,9 +7702,16 @@ const registrationSurfaceVars = `
7575
7702
  --er-event-card-border-width: var(--rb-border-width, 1px);
7576
7703
  --er-event-card-hover-opacity: 1;
7577
7704
  --er-control-bg: rgb(var(--tb-background, var(--tb-surface)));
7705
+ /* Secondary text on those controls: the background's own solved muted ink,
7706
+ not the surface's, which a dark surface would leave unreadable here. */
7707
+ --er-control-muted: rgb(var(--tb-onBackgroundMuted, var(--tb-mutedText, var(--tb-text))));
7578
7708
  --er-control-text: rgb(var(--tb-foreground, var(--tb-text)));
7579
7709
  --er-radius: var(--rb-block-radius);
7580
- --er-surface-muted: rgb(var(--tb-muted, 241 245 249) / 0.42);
7710
+ /* Tints under text read their ground's faded tint where the palette
7711
+ publishes one (a tint that ground's muted ink can't read on), else the
7712
+ colour itself: page-background tints for the controls, surface tints
7713
+ elsewhere. */
7714
+ --er-surface-muted: rgb(var(--tb-surfaceTintMuted, var(--tb-muted, 241 245 249)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.muted});
7581
7715
  --er-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
7582
7716
 
7583
7717
  /* Step indicator */
@@ -7587,7 +7721,7 @@ const registrationSurfaceVars = `
7587
7721
  --er-step-title-size: 1.75rem;
7588
7722
 
7589
7723
  /* State backgrounds with alpha */
7590
- --er-info-bg: rgb(var(--tb-primary) / 0.1);
7724
+ --er-info-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
7591
7725
  --er-info-text: rgb(var(--tb-primary));
7592
7726
  --er-error-bg: rgb(var(--tb-destructive, 239 68 68) / 0.1);
7593
7727
  --er-error-text: rgb(var(--tb-destructive, 239 68 68));
@@ -7615,14 +7749,14 @@ const registrationSurfaceVars = `
7615
7749
  --er-payment-border: rgb(var(--tb-border));
7616
7750
  --er-payment-border-hover: rgb(var(--tb-primary) / 0.5);
7617
7751
  --er-payment-border-selected: rgb(var(--tb-primary));
7618
- --er-payment-bg-selected: rgb(var(--tb-primary) / 0.08);
7752
+ --er-payment-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.08);
7619
7753
 
7620
7754
  /* Checkmark indicator */
7621
7755
  --er-check-bg: rgb(var(--tb-primary));
7622
7756
  --er-check-text: rgb(var(--tb-onPrimary, 255 255 255));
7623
7757
 
7624
7758
  /* Order summary */
7625
- --er-summary-bg: rgb(var(--tb-primary) / 0.1);
7759
+ --er-summary-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
7626
7760
  --er-summary-border: rgb(var(--tb-border));
7627
7761
 
7628
7762
  /* Shared registration-surface mappings (issue 1174).
@@ -7633,6 +7767,7 @@ const registrationSurfaceVars = `
7633
7767
  --rb-reg-border-hover: var(--er-border-hover);
7634
7768
  --rb-reg-border-selected: var(--er-border-selected);
7635
7769
  --rb-reg-bg-selected: var(--er-payment-bg-selected);
7770
+ --rb-reg-pay-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.06);
7636
7771
  --rb-reg-option-bg: var(--er-control-bg);
7637
7772
  --rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
7638
7773
  --rb-reg-surface-bg: rgb(var(--tb-surface));
@@ -7787,24 +7922,12 @@ function generateEventCombinedVars({ themeId }) {
7787
7922
  }
7788
7923
  //#endregion
7789
7924
  //#region ../theme-core/src/blocks/vars/appointment-booking.ts
7790
- /**
7791
- * Generate CSS variables for the appointment-booking block.
7792
- *
7793
- * Variables defined:
7794
- * - Selection card states (background, border, selected)
7795
- * - Success/error state colors
7796
- * - Loading spinner color
7797
- * - Text opacity levels
7798
- * - Form element colors
7799
- */
7800
- function generateAppointmentBookingVars({ themeId }) {
7801
- return `
7802
- ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
7925
+ const appointmentSurfaceVars = `
7803
7926
  /* Selection cards (service/resource/time) */
7804
7927
  --ab-card-border: rgb(var(--tb-border));
7805
7928
  --ab-card-border-hover: rgb(var(--tb-primary) / 0.5);
7806
7929
  --ab-card-border-selected: rgb(var(--tb-primary));
7807
- --ab-card-bg-selected: rgb(var(--tb-primary) / 0.05);
7930
+ --ab-card-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.05);
7808
7931
 
7809
7932
  /* Checkmark indicator */
7810
7933
  --ab-check-bg: rgb(var(--tb-primary));
@@ -7819,7 +7942,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
7819
7942
  --ab-info-text: rgb(var(--tb-info));
7820
7943
 
7821
7944
  /* Muted summary state */
7822
- --ab-muted-bg: rgb(var(--tb-text) / 0.05);
7945
+ --ab-muted-bg: rgb(var(--tb-surfaceTintText, var(--tb-text)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.text});
7823
7946
 
7824
7947
  /* Focus ring used by shared registration-surface controls */
7825
7948
  --ab-input-focus-ring: rgb(var(--tb-primary) / 0.3);
@@ -7833,13 +7956,14 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
7833
7956
  --rb-reg-border-hover: var(--ab-card-border-hover);
7834
7957
  --rb-reg-border-selected: var(--ab-card-border-selected);
7835
7958
  --rb-reg-bg-selected: var(--ab-card-bg-selected);
7959
+ --rb-reg-pay-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.06);
7836
7960
  --rb-reg-option-bg: transparent;
7837
7961
  --rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
7838
7962
  --rb-reg-surface-bg: rgb(var(--tb-surface));
7839
7963
  --rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
7840
- --rb-reg-on-surface-muted: rgb(var(--tb-onSurface, var(--tb-text)) / 0.7);
7841
- --rb-reg-on-surface-subtle: rgb(var(--tb-onSurface, var(--tb-text)) / 0.6);
7842
- --rb-reg-on-surface-faint: rgb(var(--tb-onSurface, var(--tb-text)) / 0.5);
7964
+ --rb-reg-on-surface-muted: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
7965
+ --rb-reg-on-surface-subtle: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
7966
+ --rb-reg-on-surface-faint: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
7843
7967
  --rb-reg-check-bg: var(--ab-check-bg);
7844
7968
  --rb-reg-check-text: var(--ab-check-text);
7845
7969
  --rb-reg-step-active: rgb(var(--tb-primary));
@@ -7847,6 +7971,21 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
7847
7971
  --rb-reg-summary-border: var(--ab-card-border);
7848
7972
  --rb-reg-focus-ring: var(--ab-input-focus-ring);
7849
7973
  --rb-reg-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
7974
+ `;
7975
+ /**
7976
+ * Generate CSS variables for the appointment-booking block.
7977
+ *
7978
+ * Variables defined:
7979
+ * - Selection card states (background, border, selected)
7980
+ * - Success/error state colors
7981
+ * - Loading spinner color
7982
+ * - Text opacity levels
7983
+ * - Form element colors
7984
+ */
7985
+ function generateAppointmentBookingVars({ themeId }) {
7986
+ return `
7987
+ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
7988
+ ${appointmentSurfaceVars}
7850
7989
  }
7851
7990
  `;
7852
7991
  }
@@ -7884,120 +8023,6 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="form"])`} {
7884
8023
  `;
7885
8024
  }
7886
8025
  //#endregion
7887
- //#region ../theme-core/src/runtime/themeCssVarNames.ts
7888
- const THEME_RADIUS_CSS_VARS = {
7889
- block: "--rb-block-radius",
7890
- button: "--rb-button-radius",
7891
- input: "--rb-input-radius",
7892
- panel: "--rb-panel-radius",
7893
- legacyCard: "--radius-card",
7894
- legacyControl: "--radius-control"
7895
- };
7896
- //#endregion
7897
- //#region ../theme-core/src/blocks/vars/customer-portal.ts
7898
- /**
7899
- * Generate CSS variables for the customer-portal block.
7900
- *
7901
- * Variables defined:
7902
- * - Container styling (background, border, shadow)
7903
- * - Input and form control styling
7904
- * - Tab navigation colors
7905
- * - Status badges (success, warning, error, info, default)
7906
- * - Progress indicators for credit bars
7907
- * - Card styling
7908
- * - Alert/notification styling
7909
- *
7910
- * Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
7911
- */
7912
- function generateCustomerPortalVars({ themeId, surface }) {
7913
- const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
7914
- return `
7915
- ${root} {${customerPortalVars}
7916
- }
7917
- ${root} .cp-login {
7918
- ${surfaceInkDeclarations(surfaceInkPublication(surface ? resolveSurfaceForeground({
7919
- type: "color",
7920
- color: "surface"
7921
- }, surface.palette) : { kind: "unmeasured-paint" }, surface?.solvedInks ?? "withhold")).join("\n ")}
7922
- }
7923
- `;
7924
- }
7925
- const customerPortalVars = `
7926
- /* Container */
7927
- --cp-bg: rgb(var(--tb-surface));
7928
- --cp-text: rgb(var(--tb-text));
7929
- --cp-muted: rgb(var(--tb-mutedText));
7930
- --cp-border: rgb(var(--tb-border));
7931
- --cp-shadow: var(--shadow-elev);
7932
- --cp-primary: rgb(var(--tb-primary));
7933
- --cp-primary-hover: rgb(var(--tb-primary-700, var(--tb-primary)));
7934
- --cp-error: rgb(var(--tb-destructive));
7935
- --cp-card-radius: var(${THEME_RADIUS_CSS_VARS.block}, var(${THEME_RADIUS_CSS_VARS.legacyCard}, 0.75rem));
7936
- --cp-control-radius: var(${THEME_RADIUS_CSS_VARS.input}, var(${THEME_RADIUS_CSS_VARS.legacyControl}, 0.5rem));
7937
-
7938
- /* Shared tab bar (underline style) */
7939
- --rb-tab-border-width: 1px;
7940
- --rb-tab-border-color: rgb(var(--tb-border));
7941
- --rb-tab-active-border-width: 2px;
7942
- --rb-tab-active-color: rgb(var(--tb-primary));
7943
- --rb-tab-text: rgb(var(--tb-text));
7944
- --rb-tab-opacity: 0.7;
7945
-
7946
- /* Badge - Success (active, confirmed) */
7947
- --cp-badge-success-bg: rgb(var(--tb-success) / 0.1);
7948
- --cp-badge-success-text: rgb(var(--tb-success));
7949
-
7950
- /* Badge - Warning (paused, low credits, waitlist) */
7951
- --cp-badge-warning-bg: rgb(var(--tb-warning) / 0.1);
7952
- --cp-badge-warning-text: rgb(var(--tb-warning));
7953
-
7954
- /* Badge - Error (canceled, expired, past_due) */
7955
- --cp-badge-error-bg: rgb(var(--tb-destructive) / 0.1);
7956
- --cp-badge-error-text: rgb(var(--tb-destructive));
7957
-
7958
- /* Badge - Info (trialing, scheduled) */
7959
- --cp-badge-info-bg: rgb(var(--tb-primary) / 0.1);
7960
- --cp-badge-info-text: rgb(var(--tb-primary));
7961
-
7962
- /* Badge - Default (neutral states) */
7963
- --cp-badge-default-bg: rgb(var(--tb-mutedText) / 0.1);
7964
- --cp-badge-default-text: rgb(var(--tb-mutedText));
7965
-
7966
- /* Progress bar (for credit display) */
7967
- --cp-progress-bg: rgb(var(--tb-border));
7968
- --cp-progress-fill: rgb(var(--tb-primary));
7969
-
7970
- /* Card styling */
7971
- --cp-card-bg: rgb(var(--tb-surface));
7972
- --cp-card-border: rgb(var(--tb-border));
7973
-
7974
- /* Alert/notification */
7975
- --cp-alert-success-bg: rgb(var(--tb-success) / 0.1);
7976
- --cp-alert-success-text: rgb(var(--tb-success));
7977
- --cp-alert-success-border: rgb(var(--tb-success));
7978
- --cp-alert-error-bg: rgb(var(--tb-destructive) / 0.1);
7979
- --cp-alert-error-text: rgb(var(--tb-destructive));
7980
- --cp-alert-error-border: rgb(var(--tb-destructive));
7981
-
7982
- /* Modal (shared rb-modal classes) */
7983
- --rb-modal-overlay-bg: rgb(var(--tb-text, 0 0 0) / 0.35);
7984
- --rb-modal-bg: var(--cp-card-bg);
7985
- --rb-modal-text: var(--cp-text);
7986
- --rb-modal-heading: var(--cp-text);
7987
- --rb-modal-link: var(--cp-primary);
7988
- --rb-modal-supporting: var(--cp-muted);
7989
- --rb-modal-border: var(--cp-card-border);
7990
- --rb-modal-shadow: var(--shadow-lg, var(--shadow-elev));
7991
- --rb-modal-radius: var(--cp-card-radius);
7992
- --rb-modal-max-width: 560px;
7993
-
7994
- /* Header */
7995
- --cp-header-bg: transparent;
7996
- --cp-header-border: rgb(var(--tb-border));
7997
-
7998
- /* Section */
7999
- --cp-section-bg: transparent;`;
8000
- //#endregion
8001
8026
  //#region ../theme-core/src/blocks/vars/testimonials.ts
8002
8027
  const QUOTE_SCALE_SIZE = {
8003
8028
  sm: "2.5rem",
@@ -8092,7 +8117,6 @@ blockVarRegistry.set("event-spotlight", generateEventSpotlightVars);
8092
8117
  blockVarRegistry.set("event-combined", generateEventCombinedVars);
8093
8118
  blockVarRegistry.set("appointment-booking", generateAppointmentBookingVars);
8094
8119
  blockVarRegistry.set("form", generateFormBlockVars);
8095
- blockVarRegistry.set("customer-portal", generateCustomerPortalVars);
8096
8120
  blockVarRegistry.set("testimonials", generateTestimonialsVars);
8097
8121
  /**
8098
8122
  * Generate all Tier 3 block-specific CSS variables.
@@ -8131,7 +8155,7 @@ function generateBlockCustomVarsCss(themeId, blockCustomVars) {
8131
8155
  //#endregion
8132
8156
  //#region ../theme-core/src/blockOverrides.ts
8133
8157
  const BLOCK_PREFIX = "block.";
8134
- function isPlainObject$4(value) {
8158
+ function isPlainObject$3(value) {
8135
8159
  return typeof value === "object" && value !== null && !Array.isArray(value);
8136
8160
  }
8137
8161
  function isUnknownArray$3(value) {
@@ -8139,7 +8163,7 @@ function isUnknownArray$3(value) {
8139
8163
  }
8140
8164
  function cloneValue(value) {
8141
8165
  if (isUnknownArray$3(value)) return value.map((item) => cloneValue(item));
8142
- if (isPlainObject$4(value)) {
8166
+ if (isPlainObject$3(value)) {
8143
8167
  const cloned = {};
8144
8168
  for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
8145
8169
  return cloned;
@@ -8149,7 +8173,7 @@ function cloneValue(value) {
8149
8173
  function mergeDeep(defaultValue, overrideValue) {
8150
8174
  if (overrideValue === void 0) return cloneValue(defaultValue);
8151
8175
  if (overrideValue === null) return null;
8152
- if (isPlainObject$4(defaultValue) && isPlainObject$4(overrideValue)) {
8176
+ if (isPlainObject$3(defaultValue) && isPlainObject$3(overrideValue)) {
8153
8177
  const merged = {};
8154
8178
  const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
8155
8179
  for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
@@ -8206,7 +8230,7 @@ function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
8206
8230
  */
8207
8231
  function applyHeadingDecorationSignature(target, themeDecoration) {
8208
8232
  const existing = target["_sectionStyles"];
8209
- const existingObj = isPlainObject$4(existing) ? existing : void 0;
8233
+ const existingObj = isPlainObject$3(existing) ? existing : void 0;
8210
8234
  const rawOverride = existingObj?.["headingDecorationOverride"];
8211
8235
  const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
8212
8236
  if (effective.kind === "none") {
@@ -8226,9 +8250,9 @@ function applyStyleOverride(target, key, defaults) {
8226
8250
  target[key] = mergeStyleOverride(defaults, target[key]);
8227
8251
  }
8228
8252
  function mergeStyleOverride(defaultValue, contentValue) {
8229
- if (!isPlainObject$4(defaultValue) || !isPlainObject$4(contentValue)) return mergeDeep(defaultValue, contentValue);
8253
+ if (!isPlainObject$3(defaultValue) || !isPlainObject$3(contentValue)) return mergeDeep(defaultValue, contentValue);
8230
8254
  const merged = mergeDeep(defaultValue, contentValue);
8231
- if (!isPlainObject$4(merged)) return merged;
8255
+ if (!isPlainObject$3(merged)) return merged;
8232
8256
  return {
8233
8257
  ...merged,
8234
8258
  background: mergeBoxBackground(defaultValue.background, contentValue.background)
@@ -8494,6 +8518,16 @@ function indent(str, spaces) {
8494
8518
  return str.split("\n").map((line) => line ? pad + line : line).join("\n");
8495
8519
  }
8496
8520
  //#endregion
8521
+ //#region ../theme-core/src/runtime/themeCssVarNames.ts
8522
+ const THEME_RADIUS_CSS_VARS = {
8523
+ block: "--rb-block-radius",
8524
+ button: "--rb-button-radius",
8525
+ input: "--rb-input-radius",
8526
+ panel: "--rb-panel-radius",
8527
+ legacyCard: "--radius-card",
8528
+ legacyControl: "--radius-control"
8529
+ };
8530
+ //#endregion
8497
8531
  //#region ../theme-core/src/runtime/buildThemeRuntime.ts
8498
8532
  function buildThemeRuntime$1(theme, options) {
8499
8533
  const hydrated = hydrateTheme(theme);
@@ -9160,6 +9194,182 @@ function typeBasedLayout(itemTypesMap, options) {
9160
9194
  });
9161
9195
  }
9162
9196
  //#endregion
9197
+ //#region ../blocks/src/system/node/nodeProps.ts
9198
+ /**
9199
+ * Which values on a node definition become its component's props.
9200
+ *
9201
+ * The resolver renders these and the custom-block gate checks them, so both
9202
+ * read them from here: if the two ever disagreed, a value could reach the DOM
9203
+ * without being checked (issue 1185).
9204
+ */
9205
+ /** Keys that describe the node itself. `$`-prefixed keys are directives. */
9206
+ const NODE_STRUCTURE_KEYS = /* @__PURE__ */ new Set([
9207
+ "type",
9208
+ "key",
9209
+ "children",
9210
+ "props"
9211
+ ]);
9212
+ /** `Object.hasOwn`, which this package's target library doesn't declare. */
9213
+ const hasOwn = (record, key) => Object.prototype.hasOwnProperty.call(record, key);
9214
+ /**
9215
+ * A node's props in render order. Older manifests put props at the top level of
9216
+ * the node rather than under `props`; those still render, and a key under
9217
+ * `props` wins over the same key at the top level.
9218
+ */
9219
+ function nodePropEntries(node) {
9220
+ const props = isRecord$5(node.props) ? node.props : {};
9221
+ return [...Object.entries(node).filter(([key]) => !NODE_STRUCTURE_KEYS.has(key) && !key.startsWith("$") && !hasOwn(props, key)).map(([key, value]) => [
9222
+ key,
9223
+ value,
9224
+ "node"
9225
+ ]), ...Object.entries(props).map(([key, value]) => [
9226
+ key,
9227
+ value,
9228
+ "props"
9229
+ ])];
9230
+ }
9231
+ /** The props the resolver hands to a node's component, before bindings resolve. */
9232
+ function getNodeProps(node) {
9233
+ return Object.fromEntries(nodePropEntries(node).map(([key, value]) => [key, value]));
9234
+ }
9235
+ //#endregion
9236
+ //#region ../theme-core/src/buttons/parseThemeForPersistence.ts
9237
+ /**
9238
+ * Proves that every persisted button variant compiles against the theme's
9239
+ * concrete palette. Public rendering may still recover from malformed
9240
+ * external/runtime input, but persistence boundaries must reject it.
9241
+ */
9242
+ function parseThemeForPersistence(value) {
9243
+ const parsed = themeSchema.safeParse(value);
9244
+ if (!parsed.success) return {
9245
+ ok: false,
9246
+ error: {
9247
+ kind: "invalid-theme-schema",
9248
+ issues: parsed.error.issues
9249
+ }
9250
+ };
9251
+ const parsedTheme = parsed.data;
9252
+ const theme = parsedTheme.buttons && !parsedTheme.buttons.surfacePolicy ? {
9253
+ ...parsedTheme,
9254
+ buttons: {
9255
+ ...parsedTheme.buttons,
9256
+ surfacePolicy: createStandardButtonSurfacePolicy()
9257
+ }
9258
+ } : parsedTheme;
9259
+ if (!theme.buttons) return {
9260
+ ok: true,
9261
+ value: theme
9262
+ };
9263
+ const palette = expandPalette(theme.palette);
9264
+ for (const variant of theme.buttons.variants) {
9265
+ const result = compileButtonColourStates({
9266
+ variant,
9267
+ global: theme.buttons.global,
9268
+ palette
9269
+ });
9270
+ if (!result.ok) return {
9271
+ ok: false,
9272
+ error: {
9273
+ kind: "invalid-button-colour-contract",
9274
+ variantId: variant.id,
9275
+ cause: result.error
9276
+ }
9277
+ };
9278
+ }
9279
+ return {
9280
+ ok: true,
9281
+ value: theme
9282
+ };
9283
+ }
9284
+ //#endregion
9285
+ //#region ../blocks/src/system/runtime/inlineStyleGuard.ts
9286
+ /**
9287
+ * Server rendering writes a `style` object as one attribute string, joining
9288
+ * declarations with `;` and leaving each value as it is. A value that holds a
9289
+ * `;` (or a brace) therefore adds declarations nobody wrote, so a bound value
9290
+ * such as an aspect ratio of `1;position:fixed` would escape its property.
9291
+ *
9292
+ * Content can reach a node's `style` through bindings in first-party layouts
9293
+ * as well as custom ones (issue 1185), so the resolver passes every node's
9294
+ * resolved `style` through here before rendering. React also throws while
9295
+ * rendering a `style` that is not an object, which would fail the whole page.
9296
+ *
9297
+ * A value that calls `url()` or `image-set()` is dropped as well. Content is
9298
+ * not a safe place to take an address from (a custom block's author also
9299
+ * writes its field defaults), and no layout puts a file in a node's `style`:
9300
+ * images and video go through media nodes, which the platform serves.
9301
+ */
9302
+ /**
9303
+ * `linear-gradient(...);` pasted with its semicolon is the same value without
9304
+ * it, so trailing semicolons and the space around the value are trimmed away
9305
+ * rather than costing the owner their background.
9306
+ */
9307
+ const withoutTrailingSemicolons = (value) => value.trim().replace(/(?:\s*;)+$/, "");
9308
+ function stringDropReason(value) {
9309
+ if (!staysInsideDeclaration(value)) return "adds-declarations";
9310
+ return callsCssLoadingFunction(value) ? "loads-a-file" : null;
9311
+ }
9312
+ function judgeDeclaration(property, value) {
9313
+ if (value === null || value === void 0) return { skipped: true };
9314
+ if (typeof value === "number") return Number.isFinite(value) ? { kept: [property, value] } : { dropped: {
9315
+ property,
9316
+ reason: "not-a-value"
9317
+ } };
9318
+ if (typeof value !== "string") return { dropped: {
9319
+ property,
9320
+ reason: "not-a-value"
9321
+ } };
9322
+ const trimmed = withoutTrailingSemicolons(value);
9323
+ const reason = stringDropReason(trimmed);
9324
+ return reason === null ? { kept: [property, trimmed] } : { dropped: {
9325
+ property,
9326
+ reason
9327
+ } };
9328
+ }
9329
+ /** Which declarations of `style` render, and which are left out and why. */
9330
+ function decideInlineStyle(style) {
9331
+ if (!isRecord$5(style)) return {
9332
+ style: void 0,
9333
+ dropped: []
9334
+ };
9335
+ const judged = Object.entries(style).map(([property, value]) => judgeDeclaration(property, value));
9336
+ return {
9337
+ style: Object.fromEntries(judged.flatMap((entry) => "kept" in entry ? [entry.kept] : [])),
9338
+ dropped: judged.flatMap((entry) => "dropped" in entry ? [entry.dropped] : [])
9339
+ };
9340
+ }
9341
+ //#endregion
9342
+ //#region ../blocks/src/system/runtime/inlineStyleReport.ts
9343
+ /**
9344
+ * The effect half of the inline style guard: the resolver renders the style
9345
+ * `decideInlineStyle` allows and says what was left out (issue 1185).
9346
+ *
9347
+ * A dropped declaration is otherwise invisible. The owner sees a background
9348
+ * that isn't there, and the line logged here is how support finds out why, so
9349
+ * it is written in production too.
9350
+ */
9351
+ /**
9352
+ * Drops already reported by this process, as `property:reason`. A page of
9353
+ * repeated cards would otherwise log the same line for every card.
9354
+ */
9355
+ const reportedDrops = /* @__PURE__ */ new Set();
9356
+ function reportDrops(dropped, nodeType) {
9357
+ dropped.filter(({ property, reason }) => !reportedDrops.has(`${property}:${reason}`)).forEach(({ property, reason }) => {
9358
+ reportedDrops.add(`${property}:${reason}`);
9359
+ console.warn("[block-system] Left a style declaration out of the page", {
9360
+ nodeType,
9361
+ property,
9362
+ reason
9363
+ });
9364
+ });
9365
+ }
9366
+ /** The style a node renders with, after warning once per property and reason about anything left out. */
9367
+ function renderedInlineStyle(style, nodeType) {
9368
+ const decision = decideInlineStyle(style);
9369
+ reportDrops(decision.dropped, nodeType);
9370
+ return decision.style;
9371
+ }
9372
+ //#endregion
9163
9373
  //#region ../blocks/src/system/data/linkedContentEntries.ts
9164
9374
  const LINKED_CONTENT_ENTRY_META_KEY = "__rbLinkedContentEntry";
9165
9375
  function coerceLinkedContentEntriesPayload(payload) {
@@ -9562,6 +9772,29 @@ const offeringsPreviewDatesReadEnabled = {
9562
9772
  }
9563
9773
  };
9564
9774
  //#endregion
9775
+ //#region ../blocks/src/bindings/formatDate.ts
9776
+ /** Admit stored civil dates or offset-aware instants before core projection. */
9777
+ function formatDate(value, context, options) {
9778
+ if (typeof value !== "string" || !value) return null;
9779
+ if (/^\d{4}-\d{2}-\d{2}$/u.test(value)) try {
9780
+ return formatDate$1({
9781
+ kind: "civil",
9782
+ value: parseBookingLocalDate(value)
9783
+ }, context, options);
9784
+ } catch {
9785
+ return null;
9786
+ }
9787
+ const instant = parseUtcIsoDateTimeString(value);
9788
+ if (!instant.ok) return null;
9789
+ return options.includeTime ? formatDateTime(instant.value, context, {
9790
+ date: options.date,
9791
+ zone: "omit"
9792
+ }) : formatDate$1({
9793
+ kind: "instant",
9794
+ value: instant.value
9795
+ }, context, options);
9796
+ }
9797
+ //#endregion
9565
9798
  //#region ../blocks/src/system/transforms/registry/formatting.ts
9566
9799
  const uppercaseTransform = {
9567
9800
  id: "string.uppercase",
@@ -9580,7 +9813,7 @@ const dateFormatShort = {
9580
9813
  id: "date.formatShort",
9581
9814
  kind: "formatter",
9582
9815
  summary: "Format ISO date string into short human-readable label",
9583
- run: (value, _options, context) => formatDate$1(value, context.dateContext, { date: "short" })
9816
+ run: (value, _options, context) => formatDate(value, context.dateContext, { date: "short" })
9584
9817
  };
9585
9818
  const arrayLengthTransform = {
9586
9819
  id: "array.length",
@@ -10198,12 +10431,6 @@ function appendBackgroundMediaClasses(baseClassName, input) {
10198
10431
  backgroundVideoMobileClassNames(input)
10199
10432
  ].filter(Boolean).join(" ");
10200
10433
  }
10201
- function gradientPresetCss(value) {
10202
- const presetId = parseGradientPresetId(value);
10203
- if (!presetId) return null;
10204
- const preset = getGradientPreset(presetId);
10205
- return gradientToCss(preset, Object.fromEntries(preset.stops.map((stop) => [stop.color, `rgb(var(--tb-${stop.color}))`])));
10206
- }
10207
10434
  const backgroundTransforms = [
10208
10435
  {
10209
10436
  id: "background.resolveMedia",
@@ -10336,12 +10563,11 @@ function parseMediaBackground(value) {
10336
10563
  }
10337
10564
  function resolveBackgroundLayerStyle(value, fallbackToken, context) {
10338
10565
  const background = parseRuntimeBackgroundContent(value);
10566
+ const paint = groundPaint(background, fallbackToken ?? null);
10339
10567
  const style = {};
10340
- const gradient = background?.type === "gradient" ? isString(background.gradient) ? background.gradient.trim() : gradientPresetCss(background.gradientPresetId) : null;
10341
- const color = background?.type === "color" && isString(background.color) ? background.color.trim() : null;
10342
- const resolvedColor = color ? resolveBackgroundColorValue(color, context) : !gradient && isString(fallbackToken) ? resolveBackgroundColorValue(fallbackToken.trim(), context) : null;
10343
- if (resolvedColor) style.backgroundColor = resolvedColor;
10344
- if (gradient) style.backgroundImage = gradient;
10568
+ const fill = paint.kind === "fill" ? paint.colour : paint.kind === "media" ? paint.fill : null;
10569
+ if (fill) style.backgroundColor = resolveBackgroundColorValue(fill, context);
10570
+ if (paint.kind === "gradient") style.backgroundImage = paint.gradient;
10345
10571
  const opacity = backgroundMediaOpacity(background);
10346
10572
  if (opacity !== null) style.opacity = String(opacity);
10347
10573
  return style;
@@ -10996,7 +11222,7 @@ function interpolateRichTextTokens(value, options, context) {
10996
11222
  if (typeof value !== "string" && !isRecord$5(value)) return value;
10997
11223
  const allowedTokens = new Set(options.tokens);
10998
11224
  const tokenValues = {
10999
- year: () => formatDate({
11225
+ year: () => formatDate$1({
11000
11226
  kind: "instant",
11001
11227
  value: readRuntimeNow(context.now)
11002
11228
  }, context.dateContext, {
@@ -11166,14 +11392,25 @@ const eventCalendarSelectionParam = {
11166
11392
  return key === "seriesIds" ? void 0 : scope.filters[key];
11167
11393
  }
11168
11394
  };
11395
+ const scopeParamSchema = z.object({ key: z.enum(eventScopeQueryKeys) });
11169
11396
  /** Public event query params for the section's scope, shared by render loaders and readiness. */
11170
11397
  const eventScopeParam = {
11171
11398
  id: "events.scopeParam",
11172
11399
  kind: "formatter",
11173
11400
  summary: "Public event query params for the section scope",
11174
- schema: z.object({ key: z.enum(eventScopeQueryKeys) }),
11401
+ schema: scopeParamSchema,
11402
+ run(value, { key }) {
11403
+ return eventScopeLoaderParam(resolveEventScopeRead(asPartialObject(value) ?? {}).query, key);
11404
+ }
11405
+ };
11406
+ /** Public event query params for whatever the calendar's display mode reads (see resolveEventCalendarRead). */
11407
+ const eventCalendarReadParam = {
11408
+ id: "events.calendarReadParam",
11409
+ kind: "formatter",
11410
+ summary: "Public event query params for the calendar display mode",
11411
+ schema: scopeParamSchema,
11175
11412
  run(value, { key }) {
11176
- return eventScopeLoaderParam(eventScopeQuery(resolveEventScope(asPartialObject(value) ?? {})), key);
11413
+ return eventScopeLoaderParam(resolveEventCalendarRead(asPartialObject(value) ?? {}).query, key);
11177
11414
  }
11178
11415
  };
11179
11416
  const readJobSchema = z.object({ job: z.enum([
@@ -11258,6 +11495,7 @@ const defaultTransforms = createTransformRegistry([
11258
11495
  eventCalendarListWindow,
11259
11496
  eventCalendarSelectionParam,
11260
11497
  eventScopeParam,
11498
+ eventCalendarReadParam,
11261
11499
  eventCalendarReadEnabled,
11262
11500
  eventCalendarReadProfile,
11263
11501
  eventCalendarBanded,
@@ -11290,55 +11528,6 @@ function headingDecoration({ bindFrom = defaultBindFrom, className } = {}) {
11290
11528
  } } })], when(`${bindFrom}.family`));
11291
11529
  }
11292
11530
  //#endregion
11293
- //#region ../theme-core/src/buttons/parseThemeForPersistence.ts
11294
- /**
11295
- * Proves that every persisted button variant compiles against the theme's
11296
- * concrete palette. Public rendering may still recover from malformed
11297
- * external/runtime input, but persistence boundaries must reject it.
11298
- */
11299
- function parseThemeForPersistence(value) {
11300
- const parsed = themeSchema.safeParse(value);
11301
- if (!parsed.success) return {
11302
- ok: false,
11303
- error: {
11304
- kind: "invalid-theme-schema",
11305
- issues: parsed.error.issues
11306
- }
11307
- };
11308
- const parsedTheme = parsed.data;
11309
- const theme = parsedTheme.buttons && !parsedTheme.buttons.surfacePolicy ? {
11310
- ...parsedTheme,
11311
- buttons: {
11312
- ...parsedTheme.buttons,
11313
- surfacePolicy: createStandardButtonSurfacePolicy()
11314
- }
11315
- } : parsedTheme;
11316
- if (!theme.buttons) return {
11317
- ok: true,
11318
- value: theme
11319
- };
11320
- const palette = expandPalette(theme.palette);
11321
- for (const variant of theme.buttons.variants) {
11322
- const result = compileButtonColourStates({
11323
- variant,
11324
- global: theme.buttons.global,
11325
- palette
11326
- });
11327
- if (!result.ok) return {
11328
- ok: false,
11329
- error: {
11330
- kind: "invalid-button-colour-contract",
11331
- variantId: variant.id,
11332
- cause: result.error
11333
- }
11334
- };
11335
- }
11336
- return {
11337
- ok: true,
11338
- value: theme
11339
- };
11340
- }
11341
- //#endregion
11342
11531
  //#region ../blocks/src/structure/pageRegions.ts
11343
11532
  function outlineRegions(page) {
11344
11533
  return [{
@@ -14148,7 +14337,7 @@ function stripNumericPathSegments(path) {
14148
14337
  }
14149
14338
  const lookOwnedPathCache = /* @__PURE__ */ new WeakMap();
14150
14339
  function lookOwnedPathsOf(content) {
14151
- if (!isPlainObject$3(content)) return [];
14340
+ if (!isRecord$5(content)) return [];
14152
14341
  const cached = lookOwnedPathCache.get(content);
14153
14342
  if (cached) return cached;
14154
14343
  const value = content._lookOwnedPaths;
@@ -14179,7 +14368,7 @@ function contentFieldSegments(fromPath, context) {
14179
14368
  if (first === "content") return rest;
14180
14369
  const named = findNamedScope(context, first);
14181
14370
  if (named) return scopedContentSegments(named, rest);
14182
- const innermost = [...context.scopes].reverse().find((entry) => isPlainObject$3(entry.value) || Array.isArray(entry.value));
14371
+ const innermost = [...context.scopes].reverse().find((entry) => isRecord$5(entry.value) || Array.isArray(entry.value));
14183
14372
  if (!innermost || first in context.viewModel) return void 0;
14184
14373
  return innermost.name === "content" ? [first, ...rest] : scopedContentSegments(innermost, [first, ...rest]);
14185
14374
  }
@@ -14223,29 +14412,23 @@ function readFromSource$1(source, segments) {
14223
14412
  }, source);
14224
14413
  }
14225
14414
  /**
14226
- * Type guard for plain objects.
14227
- */
14228
- function isPlainObject$3(value) {
14229
- return typeof value === "object" && value !== null && !Array.isArray(value);
14230
- }
14231
- /**
14232
14415
  * Validates and converts a route entry from the viewModel.
14233
14416
  */
14234
14417
  function parseRouteEntry(routeId, value) {
14235
14418
  if (typeof routeId !== "string" || routeId.length === 0) return null;
14236
14419
  if (typeof value === "string") return [routeId, value];
14237
- if (isPlainObject$3(value)) return [routeId, value];
14420
+ if (isRecord$5(value)) return [routeId, value];
14238
14421
  return null;
14239
14422
  }
14240
14423
  /**
14241
14424
  * Extracts route map from $root.routes in the viewModel.
14242
14425
  */
14243
14426
  function extractRouteMapFromViewModel(viewModel) {
14244
- if (!isPlainObject$3(viewModel)) return void 0;
14427
+ if (!isRecord$5(viewModel)) return void 0;
14245
14428
  const root = viewModel.$root;
14246
- if (!isPlainObject$3(root)) return void 0;
14429
+ if (!isRecord$5(root)) return void 0;
14247
14430
  const routes = root.routes;
14248
- if (!isPlainObject$3(routes)) return void 0;
14431
+ if (!isRecord$5(routes)) return void 0;
14249
14432
  const entries = Object.entries(routes).map(([routeId, value]) => parseRouteEntry(routeId, value)).filter((entry) => entry !== null);
14250
14433
  if (entries.length === 0) return void 0;
14251
14434
  return Object.fromEntries(entries);
@@ -14254,22 +14437,22 @@ function extractRouteMapFromViewModel(viewModel) {
14254
14437
  * Extracts pagesByIdentifier from $root.pagesByIdentifier in the viewModel.
14255
14438
  */
14256
14439
  function extractPagesByIdentifierFromViewModel(viewModel) {
14257
- if (!isPlainObject$3(viewModel)) return void 0;
14440
+ if (!isRecord$5(viewModel)) return void 0;
14258
14441
  const root = viewModel.$root;
14259
- if (!isPlainObject$3(root)) return void 0;
14442
+ if (!isRecord$5(root)) return void 0;
14260
14443
  const pagesByIdentifier = root.pagesByIdentifier;
14261
- if (!isPlainObject$3(pagesByIdentifier)) return void 0;
14444
+ if (!isRecord$5(pagesByIdentifier)) return void 0;
14262
14445
  return pagesByIdentifier;
14263
14446
  }
14264
14447
  /**
14265
14448
  * Extracts entriesByIdentifier from $root.entriesByIdentifier in the viewModel.
14266
14449
  */
14267
14450
  function extractEntriesByIdentifierFromViewModel(viewModel) {
14268
- if (!isPlainObject$3(viewModel)) return void 0;
14451
+ if (!isRecord$5(viewModel)) return void 0;
14269
14452
  const root = viewModel.$root;
14270
- if (!isPlainObject$3(root)) return void 0;
14453
+ if (!isRecord$5(root)) return void 0;
14271
14454
  const entriesByIdentifier = root.entriesByIdentifier;
14272
- if (!isPlainObject$3(entriesByIdentifier)) return void 0;
14455
+ if (!isRecord$5(entriesByIdentifier)) return void 0;
14273
14456
  return entriesByIdentifier;
14274
14457
  }
14275
14458
  /**
@@ -14291,7 +14474,7 @@ function applyTransformsAndFallback(value, binding, context) {
14291
14474
  const routeMap = context.routes ?? extractRouteMapFromViewModel(context.viewModel);
14292
14475
  const pagesByIdentifier = context.pagesByIdentifier ?? extractPagesByIdentifierFromViewModel(context.viewModel);
14293
14476
  const entriesByIdentifier = context.entriesByIdentifier ?? extractEntriesByIdentifierFromViewModel(context.viewModel);
14294
- const stage = (isPlainObject$3(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
14477
+ const stage = (isRecord$5(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
14295
14478
  const transformed = runTransforms(value, binding.transforms?.map((step) => ({
14296
14479
  id: step.id,
14297
14480
  options: step.options
@@ -14323,15 +14506,15 @@ function resolveTransformData(context, bindingPath) {
14323
14506
  const [first] = splitPath$1(bindingPath);
14324
14507
  if (typeof first === "string" && first !== "$root") {
14325
14508
  const namedScope = findNamedScope(context, first);
14326
- if (namedScope && isPlainObject$3(namedScope.value)) return namedScope.value;
14509
+ if (namedScope && isRecord$5(namedScope.value)) return namedScope.value;
14327
14510
  }
14328
14511
  for (let i = context.scopes.length - 1; i >= 0; i -= 1) {
14329
14512
  const scope = context.scopes[i];
14330
- if (scope && isPlainObject$3(scope.value)) return scope.value;
14513
+ if (scope && isRecord$5(scope.value)) return scope.value;
14331
14514
  }
14332
14515
  const content = context.viewModel.content;
14333
- if (isPlainObject$3(content)) return content;
14334
- if (isPlainObject$3(context.viewModel)) return context.viewModel;
14516
+ if (isRecord$5(content)) return content;
14517
+ if (isRecord$5(context.viewModel)) return context.viewModel;
14335
14518
  }
14336
14519
  function coerceBindingValue(value, binding) {
14337
14520
  const mode = binding.coerce;
@@ -14418,7 +14601,7 @@ function richTextSelfPresence(node) {
14418
14601
  }
14419
14602
  }
14420
14603
  function hasResolvableRichTextImageSource(node) {
14421
- const attrs = isPlainObject$3(node.attrs) ? node.attrs : {};
14604
+ const attrs = isRecord$5(node.attrs) ? node.attrs : {};
14422
14605
  return hasNonBlankStringAttr(attrs, "src") || hasNonBlankStringAttr(attrs, "identifier");
14423
14606
  }
14424
14607
  function hasNonBlankStringAttr(attrs, key) {
@@ -14619,7 +14802,7 @@ function getNestedBinding(bindings, path) {
14619
14802
  const segments = path.split(".");
14620
14803
  let current = bindings;
14621
14804
  for (const segment of segments) {
14622
- if (!isPlainObject$3(current)) return void 0;
14805
+ if (!isRecord$5(current)) return void 0;
14623
14806
  current = current[segment];
14624
14807
  }
14625
14808
  return current;
@@ -14642,7 +14825,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14642
14825
  };
14643
14826
  const binding = bindings[fieldName] ?? getNestedBinding(bindings, fieldName);
14644
14827
  if (!binding) return null;
14645
- if (isPlainObject$3(binding) && "source" in binding) {
14828
+ if (isRecord$5(binding) && "source" in binding) {
14646
14829
  const source = binding.source;
14647
14830
  if (source === "field" && "path" in binding) {
14648
14831
  const path = binding.path;
@@ -14659,7 +14842,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14659
14842
  if (!Array.isArray(options)) return null;
14660
14843
  for (const option of options) {
14661
14844
  if (typeof option === "string") return `content.${option}`;
14662
- if (isPlainObject$3(option) && "source" in option) {
14845
+ if (isRecord$5(option) && "source" in option) {
14663
14846
  const optSource = option.source;
14664
14847
  if (optSource === "field" && "path" in option) {
14665
14848
  const path = option.path;
@@ -14711,7 +14894,7 @@ function derivePreviewTextEditableTarget(parsedBinding, context) {
14711
14894
  };
14712
14895
  }
14713
14896
  const root = context.viewModel?.$root;
14714
- if (isPlainObject$3(root) && root.contentEntry != null && context.pathBase) return {
14897
+ if (isRecord$5(root) && root.contentEntry != null && context.pathBase) return {
14715
14898
  kind: "read-only",
14716
14899
  reason: "entry-template-block-field"
14717
14900
  };
@@ -14770,7 +14953,7 @@ function injectMediaSlotPath(props, node, parsedBinding, context) {
14770
14953
  if (resolveBindingToEditorPath(fieldPath, context.blockBindings, context.editableRouteMetadataFieldIds)) return props;
14771
14954
  }
14772
14955
  const root = context.viewModel?.$root;
14773
- if (isPlainObject$3(root) && root.contentEntry != null && context.pathBase) return props;
14956
+ if (isRecord$5(root) && root.contentEntry != null && context.pathBase) return props;
14774
14957
  return {
14775
14958
  ...props,
14776
14959
  fieldPath
@@ -14888,7 +15071,7 @@ function resolveNode(node, context, indexFallback) {
14888
15071
  const parsedBinding = node.$bind ? parseBinding(node.$bind, "$bind") : void 0;
14889
15072
  const bindingValue = parsedBinding ? resolveBindingValue$1(parsedBinding, scopeContext) : void 0;
14890
15073
  let props = resolveProps(getNodeProps(node), scopeContext, bindingValue);
14891
- props = injectEditorPath(props, node, parsedBinding, scopeContext);
15074
+ props = injectEditorPath(guardResolvedStyle(props, node.type), node, parsedBinding, scopeContext);
14892
15075
  props = injectMediaSlotPath(props, node, parsedBinding, scopeContext);
14893
15076
  const headingDecorationPlan = planHeadingDecoration({
14894
15077
  node,
@@ -14973,19 +15156,12 @@ function resolveProps(props, context, bindingValue) {
14973
15156
  if (bindingValue !== void 0) resolved.value = bindingValue;
14974
15157
  return resolved;
14975
15158
  }
14976
- function getNodeProps(node) {
14977
- const raw = node;
14978
- const legacy = {};
14979
- for (const [key, value] of Object.entries(raw)) {
14980
- if (key === "type" || key === "key" || key === "children" || key === "props") continue;
14981
- if (key.startsWith("$")) continue;
14982
- legacy[key] = value;
14983
- }
14984
- const props = isPlainObject$3(node.props) ? node.props : {};
14985
- return {
14986
- ...legacy,
14987
- ...props
14988
- };
15159
+ /** A node's resolved `style` reaches the DOM only through the inline style guard. */
15160
+ function guardResolvedStyle(props, nodeType) {
15161
+ return "style" in props ? {
15162
+ ...props,
15163
+ style: renderedInlineStyle(props.style, nodeType)
15164
+ } : props;
14989
15165
  }
14990
15166
  /**
14991
15167
  * Main entry point for resolving node definitions into React elements.
@@ -15016,12 +15192,12 @@ function bindItemSurfacePresentation(node, context) {
15016
15192
  const slot = resolveProps({ "data-slot": declared }, context, void 0)["data-slot"];
15017
15193
  if (!["item", "lead"].includes(String(slot))) return context;
15018
15194
  const content = context.blockContent;
15019
- if (!isPlainObject$3(content) || !isPlainObject$3(content._effectiveLook)) return context;
15195
+ if (!isRecord$5(content) || !isRecord$5(content._effectiveLook)) return context;
15020
15196
  const look = content._effectiveLook;
15021
15197
  if (!look.surfacePresentation) return context;
15022
15198
  const itemScope = context.scopes.reduce((found, scope) => scope.repeater ? scope : found, void 0);
15023
15199
  const repeater = itemScope?.repeater;
15024
- const featured = isPlainObject$3(itemScope?.value) && itemScope.value.featured === true;
15200
+ const featured = isRecord$5(itemScope?.value) && itemScope.value.featured === true;
15025
15201
  const role = repeater ? itemRole(repeater.index, repeater.count, look.itemRoles, featured) : void 0;
15026
15202
  return {
15027
15203
  ...context,
@@ -15031,14 +15207,14 @@ function bindItemSurfacePresentation(node, context) {
15031
15207
  function arrangementSlotProps(props, context) {
15032
15208
  const content = context.blockContent;
15033
15209
  const slot = props["data-slot"];
15034
- if (typeof slot !== "string" || !isPlainObject$3(content) || !isPlainObject$3(content._effectiveLook)) return {};
15210
+ if (typeof slot !== "string" || !isRecord$5(content) || !isRecord$5(content._effectiveLook)) return {};
15035
15211
  const look = content._effectiveLook;
15036
15212
  const surface = (context.surfacePresentation ?? look.surfacePresentation)?.slots[slot];
15037
15213
  return surface ? resolvedItemSurfaceProps(surface, slot, props.style) : { "data-surface": "section" };
15038
15214
  }
15039
15215
  function arrangementMediaPlaceholder(node, context) {
15040
15216
  const content = context.blockContent;
15041
- if (!isPlainObject$3(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
15217
+ if (!isRecord$5(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
15042
15218
  const from = arrangementPlaceholderMediaPath(node);
15043
15219
  if (!from) return null;
15044
15220
  const fieldPath = arrangementPlaceholderFieldPath(from, context);
@@ -17293,20 +17469,27 @@ function joinAcrossRun(byPair, previousBlockId, nextBlockId, run) {
17293
17469
  }
17294
17470
  /**
17295
17471
  * The single composition site. For every adjacent pair of survivors with ids,
17296
- * finds its join and composes it from both survivors' final content: what
17297
- * each paints with and the frame each draws.
17472
+ * finds its join and composes it, and decides their seam, from the same facts
17473
+ * read once from each survivor's final content: what each paints with and the
17474
+ * frame each draws.
17298
17475
  */
17299
17476
  function composePageJoins(input) {
17300
17477
  const byPair = joinsByPair(input.joins);
17478
+ const sides = input.survivors.map((survivor) => ({
17479
+ facts: sectionFactsForContent(survivor.content, survivor.ground),
17480
+ section: survivor.section
17481
+ }));
17301
17482
  return input.survivors.flatMap((previous, index) => {
17302
17483
  const next = input.survivors[index + 1];
17303
- if (!next || !previous.id || !next.id) return [];
17484
+ const before = sides[index];
17485
+ const after = sides[index + 1];
17486
+ if (!next || !before || !after || !previous.id || !next.id) return [];
17304
17487
  const join = byPair.get(pairKey(previous.id, next.id));
17305
17488
  return [{
17306
17489
  previousBlockId: previous.id,
17307
17490
  nextBlockId: next.id,
17308
- join: join ? composeJoin(join, previous, next) : null,
17309
- fieldsMeet: sectionShapeFromContent(previous.content) === "field" && sectionShapeFromContent(next.content) === "field"
17491
+ join: join ? composeJoin(join, before.facts, after.facts) : null,
17492
+ seam: sectionSeam(before, after)
17310
17493
  }];
17311
17494
  });
17312
17495
  }
@@ -17316,7 +17499,7 @@ function composeJoin(join, previous, next) {
17316
17499
  previousBlockId: join.previousBlockId,
17317
17500
  nextBlockId: join.nextBlockId,
17318
17501
  treatment: join.treatment,
17319
- outcome: composeBoundary(sectionFactsForContent(previous.content), sectionFactsForContent(next.content), join.treatment)
17502
+ outcome: composeBoundary(previous, next, join.treatment)
17320
17503
  };
17321
17504
  }
17322
17505
  /** Placement, reserves and paint for a join that draws; null otherwise. */
@@ -17398,10 +17581,14 @@ function blockBoundaryReserves(input) {
17398
17581
  return {
17399
17582
  topPlacement: top?.placement,
17400
17583
  bottomPlacement: bottom?.placement,
17401
- fieldSeam: input.before?.fieldsMeet ? "top" : void 0,
17584
+ seamBefore: seamAttribute(input.before),
17585
+ seamAfter: seamAttribute(input.after),
17402
17586
  style: top || bottom ? style : void 0
17403
17587
  };
17404
17588
  }
17589
+ function seamAttribute(slot) {
17590
+ return slot && slot.seam !== "none" ? slot.seam : void 0;
17591
+ }
17405
17592
  /** The reserve one join needs on one side of itself, if it draws at all. */
17406
17593
  function reserveOnSide(slot, side) {
17407
17594
  const layout = renderedJoinLayout(slot?.join ?? null);
@@ -23294,7 +23481,7 @@ const recurringScheduleBlockDefinition = {
23294
23481
  } },
23295
23482
  detailLevel: "listing",
23296
23483
  readProfile: "compact-list",
23297
- ...eventWeekReadScope
23484
+ ...recurringScheduleRead().query
23298
23485
  },
23299
23486
  mode: "server"
23300
23487
  } }
@@ -23551,12 +23738,6 @@ function labelForOfferingPreviewSourceKey(sourceKey) {
23551
23738
  }
23552
23739
  //#endregion
23553
23740
  //#region ../blocks/src/system/blocks/offerings-preview/index.ts
23554
- /**
23555
- * The whole-series presets, as the CSV `listPublicEvents` expects. Both
23556
- * whole-series presets share one loader: the block renders them as a single
23557
- * run group.
23558
- */
23559
- const WHOLE_SERIES_EVENT_PRESETS_PARAM = WHOLE_SERIES_EVENT_PRESET_VALUES.join(",");
23560
23741
  const publicRouteCandidatesSchema = z.object({ routes: z.array(z.object({
23561
23742
  entityId: z.string(),
23562
23743
  path: z.string(),
@@ -23711,7 +23892,10 @@ const offeringsPreviewManifest = createBlockManifest({
23711
23892
  });
23712
23893
  const optionalPublicEventsArraySchema = publicEventsArraySchema.optional();
23713
23894
  const offeringsPreviewEventDataSchemas = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, optionalPublicEventsArraySchema]));
23714
- const offeringsPreviewEventDataLoaders = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, eventPresetLoader(definition.preset)]));
23895
+ const offeringsPreviewEventDataLoaders = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, eventPresetLoader(offeringsPreviewGroupQuery({
23896
+ kind: "eventPreset",
23897
+ preset: definition.preset
23898
+ }).eventPresets)]));
23715
23899
  const offeringsPreviewBlockDefinition = {
23716
23900
  manifest: offeringsPreviewManifest,
23717
23901
  contentNormalizer: {
@@ -23791,7 +23975,7 @@ const offeringsPreviewBlockDefinition = {
23791
23975
  * dates, and each card arrives with the run's complete schedule.
23792
23976
  */
23793
23977
  function wholeSeriesRunLoader() {
23794
- return eventPresetLoader(WHOLE_SERIES_EVENT_PRESETS_PARAM, { readIntent: "runs" });
23978
+ return eventPresetLoader(offeringsPreviewGroupQuery({ kind: "wholeSeries" }).eventPresets, { readIntent: "runs" });
23795
23979
  }
23796
23980
  function eventPresetLoader(eventPresets, extraParams = {}) {
23797
23981
  return {
@@ -27299,6 +27483,10 @@ function getBlockDefinition(name) {
27299
27483
  ensureDefaults();
27300
27484
  return blockStore.get(name);
27301
27485
  }
27486
+ function hasBlockDefinition(name) {
27487
+ ensureDefaults();
27488
+ return blockStore.has(name);
27489
+ }
27302
27490
  //#endregion
27303
27491
  //#region ../blocks/src/sdkBlockTransform.ts
27304
27492
  /**
@@ -28501,11 +28689,32 @@ function composeSurvivorJoins(plan, survivors, themeResources) {
28501
28689
  survivors: survivors.map(({ entry }) => ({
28502
28690
  id: entry.block.id,
28503
28691
  kind: entry.block.kind,
28504
- content: boundaryClassificationContent(entry, themeResources)
28692
+ content: boundaryClassificationContent(entry, themeResources),
28693
+ ...seamSectionFacts(entry)
28505
28694
  }))
28506
28695
  });
28507
28696
  }
28508
28697
  /**
28698
+ * Whether the platform paints this entry's section, and the ground it
28699
+ * declares. Only a system block whose layout is a styled section is
28700
+ * `platform`: that section carries the geometry hook the seam rules target,
28701
+ * whatever the Look or skin. An override component, a custom block, a layout
28702
+ * that draws its own root, or a block that manages its own wrapper (so never
28703
+ * carries the seam attributes) owns its ground and padding.
28704
+ */
28705
+ function seamSectionFacts(entry) {
28706
+ const own = {
28707
+ ground: pageGround,
28708
+ section: "own"
28709
+ };
28710
+ if (entry.kind !== "renderable" || entry.override || entry.managesOwnWrapper || !hasBlockDefinition(entry.block.kind)) return own;
28711
+ const ground = layoutSectionGround(resolveBlockLayout(entry.definition.manifest, entry.effectiveArrangementKey));
28712
+ return ground ? {
28713
+ ground,
28714
+ section: "platform"
28715
+ } : own;
28716
+ }
28717
+ /**
28509
28718
  * The content a join is classified from must be the content that paints the
28510
28719
  * section. The default block renderer layers the theme's per-block style
28511
28720
  * defaults (`theme.blockOverrides[kind].styles`, background included) under
@@ -28806,7 +29015,7 @@ function wrapRenderedPage(props, plan, rendered) {
28806
29015
  function renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation) {
28807
29016
  const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
28808
29017
  const joinSlots = joinSlotsByPair(preparation.joins);
28809
- const renderRegion = (entries, joins, flow) => entries.map((entry, index) => renderGuardedPlanEntry({
29018
+ const renderRegion = (entries, joins, ending) => entries.map((entry, index) => renderGuardedPlanEntry({
28810
29019
  entry,
28811
29020
  index,
28812
29021
  entries,
@@ -28816,27 +29025,28 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
28816
29025
  resolvedRegistry,
28817
29026
  systemTrees: headingPresentation.trees,
28818
29027
  joinSlots: joins,
28819
- flow,
29028
+ ending,
28820
29029
  wrapBlock: props.wrapBlock,
28821
29030
  renderJoin: props.renderJoin
28822
29031
  }));
28823
29032
  const { main, aside } = preparation.regions;
28824
29033
  const title = headingPresentation.needsPageTitle ? /* @__PURE__ */ jsx(PageTitleFallback, { name: props.page?.name ?? "" }) : null;
28825
- if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "main")] });
29034
+ if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "lastBlock")] });
28826
29035
  return /* @__PURE__ */ jsxs("div", {
28827
29036
  className: "rb-page-layout",
28828
29037
  "data-page-layout": "main-aside",
29038
+ "data-page-ending": "",
28829
29039
  children: [
28830
29040
  title,
28831
29041
  /* @__PURE__ */ jsx("div", {
28832
29042
  className: "rb-page-layout__main",
28833
29043
  "data-page-region": "main",
28834
- children: renderRegion(main, joinSlots, "main")
29044
+ children: renderRegion(main, joinSlots, "elsewhere")
28835
29045
  }),
28836
29046
  /* @__PURE__ */ jsx("aside", {
28837
29047
  className: "rb-page-layout__aside rb-sticky-below-site-chrome",
28838
29048
  "data-page-region": "aside",
28839
- children: renderRegion(aside, /* @__PURE__ */ new Map(), "aside")
29049
+ children: renderRegion(aside, /* @__PURE__ */ new Map(), "elsewhere")
28840
29050
  })
28841
29051
  ]
28842
29052
  });
@@ -28925,9 +29135,9 @@ function requireEntryBlockOverride(entry, themeResources) {
28925
29135
  }
28926
29136
  requireBlockOverride(themeResources, entry.override, entry.block.kind);
28927
29137
  }
28928
- /** The footer meets the main flow's last block, which marks itself for the footer edge's reserve. */
28929
- function pageEndingAttribute(flow, position) {
28930
- return flow === "main" && (position === "last" || position === "only") ? "" : void 0;
29138
+ /** The block the footer meets marks itself for the footer edge's reserve. */
29139
+ function pageEndingAttribute(ending, position) {
29140
+ return ending === "lastBlock" && (position === "last" || position === "only") ? "" : void 0;
28931
29141
  }
28932
29142
  /** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
28933
29143
  function blockAnchorId(block) {
@@ -28994,10 +29204,11 @@ function renderPlanEntry(input) {
28994
29204
  "data-block-composition": blockComposition?.treatment,
28995
29205
  "data-block-composition-kind": blockComposition?.kind,
28996
29206
  "data-page-block-position": blockPosition,
28997
- "data-page-ending": pageEndingAttribute(input.flow, blockPosition),
29207
+ "data-page-ending": pageEndingAttribute(input.ending, blockPosition),
28998
29208
  "data-site-style-boundary-before": reserves.topPlacement,
28999
29209
  "data-site-style-boundary-after": reserves.bottomPlacement,
29000
- "data-site-style-field-seam": reserves.fieldSeam,
29210
+ "data-site-style-seam-before": reserves.seamBefore,
29211
+ "data-site-style-seam-after": reserves.seamAfter,
29001
29212
  "data-style-group": styleGroup,
29002
29213
  style: reserves.style,
29003
29214
  children: /* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps })
@@ -30282,9 +30493,9 @@ Object.freeze({
30282
30493
  */
30283
30494
  const SECTION_VALUES_CONTENT_KEY = "sections";
30284
30495
  function readStoredSectionValues(content) {
30285
- if (!isRecord$9(content)) return {};
30496
+ if (!isRecord$8(content)) return {};
30286
30497
  const sections = content[SECTION_VALUES_CONTENT_KEY];
30287
- return isRecord$9(sections) ? sections : {};
30498
+ return isRecord$8(sections) ? sections : {};
30288
30499
  }
30289
30500
  //#endregion
30290
30501
  //#region ../content-model/src/page-sections/facts.ts
@@ -30683,8 +30894,8 @@ function applyTransform(name, value, dateContext) {
30683
30894
  if (!name) return value;
30684
30895
  switch (name) {
30685
30896
  case TRANSFORMS.RICHTEXT_FIRST_PARAGRAPH: return extractFirstParagraph(value);
30686
- case TRANSFORMS.DATE_FORMAT_SHORT: return formatDate$1(value, dateContext, { date: "short" });
30687
- case TRANSFORMS.DATE_FORMAT_LONG: return formatDate$1(value, dateContext, {
30897
+ case TRANSFORMS.DATE_FORMAT_SHORT: return formatDate(value, dateContext, { date: "short" });
30898
+ case TRANSFORMS.DATE_FORMAT_LONG: return formatDate(value, dateContext, {
30688
30899
  date: "long",
30689
30900
  includeTime: true
30690
30901
  });
@@ -31566,7 +31777,7 @@ function ensureFieldValue(field, raw, ctx) {
31566
31777
  return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
31567
31778
  }
31568
31779
  function ensureRepeaterItem(field, value, ctx) {
31569
- const itemData = isRecord$9(value) ? value : {};
31780
+ const itemData = isRecord$8(value) ? value : {};
31570
31781
  const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
31571
31782
  const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
31572
31783
  return {
@@ -32662,7 +32873,7 @@ function bookingMainBlocks(event, identity, hasDetails) {
32662
32873
  showAcceptedMemberships: true,
32663
32874
  showCost: true,
32664
32875
  showMap: true,
32665
- showOtherDates: true,
32876
+ showOtherDates: !isOrdinaryPublicEvent(event),
32666
32877
  showVenue: true
32667
32878
  }
32668
32879
  }] : [],