@riverbankcms/sdk 0.174.1 → 0.175.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 (195) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
  2. package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
  4. package/dist/_dts/{client-B1J6Akyf.d.ts → client-B6tCvmG4.d.ts} +487 -11
  5. package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-B9qryk4R.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
  9. package/dist/_dts/{index-yWDbUojb.d.ts → index-Bl5_pjmq.d.ts} +1 -1
  10. package/dist/_dts/{index-CF62FntA.d.ts → index-Btp5nIoz.d.ts} +2 -2
  11. package/dist/_dts/{index-BLEKFHt1.d.ts → index-CQUzwOxO.d.ts} +1 -1
  12. package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-DmhFb6R1.d.ts} +1 -1
  13. package/dist/_dts/{index-CXZSy_9M.d.ts → index-OtazQE3U.d.ts} +2 -2
  14. package/dist/_dts/{index-BgOr1Xyz.d.ts → index-YRQulWB4.d.ts} +3 -3
  15. package/dist/_dts/{index-DpJm0NpL.d.ts → index-_pXaCO12.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
  17. package/dist/_dts/{request-BK-pHf0P.d.ts → request-BT8i_vH-.d.ts} +1621 -385
  18. package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-CVLYWcoI.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +13 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +3 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +2 -1
  54. package/dist/_dts/{types-DjVNADXR.d.ts → types-C0XZnjXz.d.ts} +3 -3
  55. package/dist/_dts/{types-CwmB2NHU.d.ts → types-CXL1QJSY.d.ts} +7 -7
  56. package/dist/_dts/{types-Dmow_FI6.d.ts → types-OKzbqRBx.d.ts} +2 -2
  57. package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
  59. package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
  60. package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
  63. package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
  64. package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
  65. package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
  66. package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-BybMSKNL.mjs} +4 -3
  67. package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
  69. package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
  70. package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +635 -359
  71. package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
  73. package/dist/client/{Page-BpeP9xdt.mjs → Page-CWN_8cLZ.mjs} +601 -579
  74. package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
  75. package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-C7RJBOW3.mjs} +37 -12
  76. package/dist/client/{accordion-nR7D4m1a.mjs → accordion-uUi_N6mZ.mjs} +1 -1
  77. package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
  78. package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
  79. package/dist/client/bookings.mjs +22 -15
  80. package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-C-gFwhnO.mjs} +2 -1
  81. package/dist/client/{carousel-CVUOatsY.mjs → carousel-C0_BqMA0.mjs} +1 -1
  82. package/dist/client/{cart-DE0K6E0R.mjs → cart-BOHuppVu.mjs} +3 -3
  83. package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-IfJE1zAp.mjs} +1 -1
  84. package/dist/client/{checkout-76cdHyPL.mjs → checkout-C3Aj-aNa.mjs} +3 -3
  85. package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
  87. package/dist/client/client.mjs +112 -21
  88. package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
  89. package/dist/client/{course-DHIrXqNT.mjs → course-DHmeQAvq.mjs} +2 -2
  90. package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
  91. package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
  93. package/dist/client/display-DMqotaGU.mjs +11797 -0
  94. package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
  95. package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-CJapNbTv.mjs} +1 -1
  96. package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-CAdcpnLc.mjs} +176 -75
  97. package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
  98. package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-B9Ly3024.mjs} +4 -4
  99. package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
  100. package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-ZSmvhWII.mjs} +4 -4
  101. package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
  102. package/dist/client/{form-CfqIAhfN.mjs → form-DG_YZSNn.mjs} +3 -3
  103. package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BU6dM0-C.mjs} +4 -4
  104. package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
  105. package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +5 -3
  107. package/dist/client/gifting-DMrsN4B4.mjs +28 -0
  108. package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
  109. package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
  110. package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-D91EzlOR.mjs} +2 -2
  111. package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BDZLALxj.mjs} +2951 -14395
  112. package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
  113. package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
  114. package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
  115. package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
  116. package/dist/client/portal/client.mjs +313 -148
  117. package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
  118. package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
  119. package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-W0_0lDGe.mjs} +3 -3
  120. package/dist/client/{productList-DTgZXOEq.mjs → productList-ayAtPJdb.mjs} +3 -3
  121. package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
  122. package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-B1EEZkcr.mjs} +307 -240
  123. package/dist/client/rendering/client.mjs +25 -491
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +7 -6
  126. package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
  128. package/dist/client/{shop-5LBhftWx.mjs → shop-DbUUoHFJ.mjs} +3 -3
  129. package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
  130. package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
  131. package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
  132. package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
  133. package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
  134. package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CJAINJr3.mjs} +113 -35
  135. package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-DwVAuGsx.mjs} +2 -2
  136. package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel-DBTIFWTb.mjs} +10 -10
  137. package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
  138. package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
  139. package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
  140. package/dist/client/{view-BvuYmQJ5.mjs → view-BTk470k0.mjs} +3 -2
  141. package/dist/client/{view-D9ObkFtz.mjs → view-Cw4EmEPv.mjs} +99 -30
  142. package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +28 -25
  144. package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
  145. package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
  147. package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-B61mZd81.mjs} +4141 -2677
  148. package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
  149. package/dist/preview-next/client/runtime.mjs +3 -3
  150. package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
  151. package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-BZDIC-fA.mjs} +527 -236
  152. package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
  153. package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +13 -4
  154. package/dist/preview-next/container-responsive.css +51 -3
  155. package/dist/preview-next/keepAlive.mjs +1 -1
  156. package/dist/preview-next/middleware.mjs +1 -1
  157. package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-0gSlK9S0.mjs} +86 -12
  158. package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-DeXXycg8.mjs} +4 -4
  159. package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
  160. package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-7L3pC5Os.mjs} +13 -34
  161. package/dist/server/{client-CGtU5fHI.mjs → client-CgghATBm.mjs} +111 -20
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +2 -2
  164. package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
  165. package/dist/server/data/resolveBlockData.mjs +1 -1
  166. package/dist/server/index.mjs +2 -2
  167. package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-D7M5Vcug.mjs} +5 -5
  168. package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CiTId05y.mjs} +2 -2
  169. package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
  170. package/dist/server/next.mjs +35 -9
  171. package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
  172. package/dist/server/page-converter.mjs +1 -1
  173. package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-Cuos4Xcd.mjs} +97 -39
  174. package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
  175. package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-JxlV8_Bo.mjs} +1261 -1129
  176. package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
  177. package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BDhlJbAx.mjs} +1 -1
  178. package/dist/server/prebuild.mjs +1 -1
  179. package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
  180. package/dist/server/{registry-DmqxC8th.mjs → registry-cQ9N5W-n.mjs} +20432 -20165
  181. package/dist/server/rendering/components/pageShared.mjs +1 -1
  182. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  183. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  184. package/dist/server/rendering/server.mjs +3 -3
  185. package/dist/server/rendering.mjs +7 -7
  186. package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
  187. package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/theme-bridge.mjs +1 -1
  190. package/dist/server/theme.mjs +2 -2
  191. package/dist/server/{validation-Bt_8IL1g.mjs → validation-3puM5SM8.mjs} +3 -3
  192. package/dist/server/{version-DT_efohp.mjs → version-B8g-Wx57.mjs} +1 -1
  193. package/dist/styles/index.css +295 -37
  194. package/package.json +1 -1
  195. package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { On as selectAutosaveStatus, Rn as useStore, Xc as Primitive, kn as selectEditorWriteState, mt as useSessionJournal, ol as cn, sl as useShallow, yn as useEditorUiStore } from "./previewAssistantSlot-Jpj_HDra.mjs";
2
+ import { On as selectAutosaveStatus, Rn as useStore, Xc as Primitive, kn as selectEditorWriteState, mt as useSessionJournal, ol as cn, sl as useShallow, yn as useEditorUiStore } from "./previewAssistantSlot-B61mZd81.mjs";
3
3
  import { A as LoaderCircle } from "./lucide-react-Dfgl3Vtq.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ac as createRovingFocusGroupScope, Ai as isSystemCustomizeFacetId, Bc as FocusScope, Bo as readStoredMode, Bt as derivePromotedFieldPlan, Dc as hideOthers, Fc as Content, Gc as createCollection, Gn as createManifestFormAdapter, Hc as DismissableLayer, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Jc as createContextScope, Kc as useControllableState, Lc as createPopperScope, M as usePreviewRenderReadiness, Mc as Portal$2, Mi as systemCustomizeFacetDefinitionForBlock, Mo as resolveEditorArrangementLook, Nc as Anchor, Ni as systemCustomizeFacetDefinitionsForBlock, Oc as Item, Oi as arrangementKnobChoices, Oo as decideSectionPhoto, Os as augmentManifestWithStyleGroups, Pc as Arrow, Pi as systemCustomizeFacetStoredValue, To as resolveVisiblePromotedFieldPathsForEditorBlock, Uc as useCallbackRef, Us as Root$1, Vc as useFocusGuards, Wc as useDirection, Wo as getCuratedSiteStyle, Wr as fieldsNotShownIn, Xc as Primitive, Yc as composeEventHandlers, Zc as dispatchDiscreteCustomEvent, _c as usePortalContainer, _r as createCustomBlockRegistry, al as useComposedRefs, ar as parseBackgroundColorToken, au as asSiteStyleId, bn as useEditorUiStoreInstance, ei as fieldPathsOwnedBy, fs as lookModes, hc as menuTriggerInteractionClassName, i as usePreviewSidebarNavigation, il as composeRefs, jc as Presence, ji as systemCustomizeFacetAppliesToLayoutVariant, kc as Root, ki as resolveArrangementKnobs, ko as sectionPhotoPresence, ls as isThemeV2NormalEditorRawStyleFieldName, mc as menuItemInteractionClassName, ni as getBlockDefinition, nl as createSlot, o as usePreviewPageDesignEditorState, ol as cn, qn as manifestFieldSectionOptions, rl as createSlottable, sr as parseCanonicalSectionBackground, ti as resolveFieldOwnership, tl as cva, ui as eventCalendarPagingFields, us as isThemeV2NormalEditorRawStylePath, vc as ReactRemoveScroll, vr as mergeBlockDescriptorsWithRegistry, wn as shouldRevealAllBlockFieldValidation, yr as mergeManifestWithSdkOptions, zc as useId$1, zi as eventCalendarListGroupingDecision, zo as lookDefinitionForId } from "./previewAssistantSlot-Jpj_HDra.mjs";
2
+ import { Ac as createRovingFocusGroupScope, Ai as isSystemCustomizeFacetId, Bc as FocusScope, Bo as readStoredMode, Bt as derivePromotedFieldPlan, Dc as hideOthers, Fc as Content, Gc as createCollection, Gn as createManifestFormAdapter, Hc as DismissableLayer, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Jc as createContextScope, Kc as useControllableState, Lc as createPopperScope, M as usePreviewRenderReadiness, Mc as Portal$2, Mi as systemCustomizeFacetDefinitionForBlock, Mo as resolveEditorArrangementLook, Nc as Anchor, Ni as systemCustomizeFacetDefinitionsForBlock, Oc as Item, Oi as arrangementKnobChoices, Oo as decideSectionPhoto, Os as augmentManifestWithStyleGroups, Pc as Arrow, Pi as systemCustomizeFacetStoredValue, To as resolveVisiblePromotedFieldPathsForEditorBlock, Uc as useCallbackRef, Us as Root$1, Vc as useFocusGuards, Wc as useDirection, Wo as getCuratedSiteStyle, Wr as fieldsNotShownIn, Xc as Primitive, Yc as composeEventHandlers, Zc as dispatchDiscreteCustomEvent, _a as eventCalendarListGroupingDecision, _c as usePortalContainer, _r as createCustomBlockRegistry, al as useComposedRefs, ar as parseBackgroundColorToken, au as asSiteStyleId, bn as useEditorUiStoreInstance, ei as fieldPathsOwnedBy, fs as lookModes, hc as menuTriggerInteractionClassName, i as usePreviewSidebarNavigation, il as composeRefs, jc as Presence, ji as systemCustomizeFacetAppliesToLayoutVariant, kc as Root, ki as resolveArrangementKnobs, ko as sectionPhotoPresence, ls as isThemeV2NormalEditorRawStyleFieldName, mc as menuItemInteractionClassName, ni as getBlockDefinition, nl as createSlot, o as usePreviewPageDesignEditorState, ol as cn, qn as manifestFieldSectionOptions, rl as createSlottable, sr as parseCanonicalSectionBackground, ti as resolveFieldOwnership, tl as cva, ui as eventCalendarPagingFields, us as isThemeV2NormalEditorRawStylePath, vc as ReactRemoveScroll, vr as mergeBlockDescriptorsWithRegistry, wn as shouldRevealAllBlockFieldValidation, yr as mergeManifestWithSdkOptions, zc as useId$1, zo as lookDefinitionForId } from "./previewAssistantSlot-B61mZd81.mjs";
3
3
  import { at as Circle, dt as ChevronRight, mt as Check } from "./lucide-react-Dfgl3Vtq.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { createContext, useContext, useMemo } from "react";
@@ -1729,7 +1729,10 @@ const READINESS_REASON_COPY = {
1729
1729
  product_gone: "The product this block showed is no longer available. Choose another one. Until you do, this block stays hidden from visitors.",
1730
1730
  gallery_empty: "Add a photo. Until you do, this gallery stays hidden from visitors."
1731
1731
  };
1732
- const HIDDEN_REASON_COPY = { events_empty: "Nothing's scheduled here yet, so visitors won't see this section. It'll appear once you add something." };
1732
+ const HIDDEN_REASON_COPY = {
1733
+ events_empty: "Nothing's scheduled here yet, so visitors won't see this section. It'll appear once you add something.",
1734
+ events_coming_up: "The events you picked have dates coming up, so visitors won't see this signup. It'll come back once those dates have passed."
1735
+ };
1733
1736
  //#endregion
1734
1737
  //#region ../editor-blocks/src/block-form/debug.ts
1735
1738
  const noop = () => {};
@@ -2602,8 +2605,14 @@ function surfaceForToken(options, token) {
2602
2605
  //#region ../preview-next/src/client/blocks/blockNeedsSetup.ts
2603
2606
  /** The short label every editing surface uses for a block that isn't set up. */
2604
2607
  const NEEDS_SETUP_LABEL = "Needs setting up";
2605
- const HIDDEN_LABEL = { events_empty: "Hidden while empty" };
2606
- const HIDDEN_ACTION = { events_empty: "Choose what shows when empty" };
2608
+ const HIDDEN_LABEL = {
2609
+ events_empty: "Hidden while empty",
2610
+ events_coming_up: "Hidden while dates are coming up"
2611
+ };
2612
+ const HIDDEN_ACTION = {
2613
+ events_empty: "Choose what shows when empty",
2614
+ events_coming_up: "Choose when this shows"
2615
+ };
2607
2616
  /**
2608
2617
  * Whether the draft as rendered needs setting up. This reads the preview's own
2609
2618
  * render, so it's for editing surfaces; publishing checks published facts on the server.
@@ -841,7 +841,7 @@
841
841
  :where([data-block='event-registration'].event-registration--embedded)
842
842
  .er-container {
843
843
  display: flex;
844
- max-height: calc(100dvh - 9rem);
844
+ max-height: calc(100dvh - var(--site-sticky-chrome-height, 0px) - 7.5rem);
845
845
  min-height: 0;
846
846
  }
847
847
 
@@ -1107,8 +1107,8 @@
1107
1107
  :where(.theme-scope:is(*, :scope))
1108
1108
  :where([data-block='event-calendar'])
1109
1109
  .event-calendar-container {
1110
- margin-left: -1.5rem;
1111
- margin-right: -1.5rem;
1110
+ /* Edge to edge on a phone, whatever gutter the site style gives the page. */
1111
+ margin-inline: calc(50% - 50cqi);
1112
1112
  border-left: none;
1113
1113
  border-right: none;
1114
1114
  border-radius: 0;
@@ -3295,6 +3295,13 @@
3295
3295
  }
3296
3296
  @container rb-site (max-width: 767px) {
3297
3297
  @scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
3298
+ [data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"])) { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
3299
+ [data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"]))::before { grid-row: auto; }
3300
+ [data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"])) > * { grid-column: 1; }
3301
+ }
3302
+ }
3303
+ @container rb-site (max-width: 767px) {
3304
+ @scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
3298
3305
  [data-skin="orbit"]:is(*, :scope) [data-arrangement]:is([data-treat="cta-centred"], [data-treat="cta-panel"], [data-treat="cta-beside"]) [data-slot="actions"] > * { box-sizing: border-box; flex: 1 1 100%; justify-content: center; }
3299
3306
  /* The panel sits straight in the section, so on a phone it keeps the page gutter itself. */
3300
3307
  [data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="section"] > [data-slot="copy"] { margin-inline: 1rem; }
@@ -3387,3 +3394,44 @@
3387
3394
  }
3388
3395
  }
3389
3396
  }
3397
+ @layer rb-utilities {
3398
+ @container rb-site (min-width: 1024px) {
3399
+ @scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
3400
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="frame"], [data-slot="layout"], [data-slot="lead"]) {
3401
+ grid-template-columns: minmax(0, 1fr) !important;
3402
+ width: auto !important;
3403
+ max-width: 100% !important;
3404
+ margin-inline: 0 !important;
3405
+ }
3406
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="frame"], [data-slot="layout"], [data-slot="lead"]) > * {
3407
+ grid-column: 1 / -1 !important;
3408
+ grid-row: auto !important;
3409
+ }
3410
+ /* Looks that never stack on a wide screen can leave no gap between the rows. */
3411
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) [data-slot="frame"] {
3412
+ row-gap: var(--rb-skin-stack-gap, 2rem) !important;
3413
+ }
3414
+ /* A photo running off the page's edge stops at the column's edge instead. */
3415
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) [data-slot="frame"] > [data-slot="media"] {
3416
+ --rb-edge-bleed: 0px !important;
3417
+ }
3418
+ /* So does a photo that a reading column widens past its words. */
3419
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="copy"], [data-slot="item-body"]) [data-slot="photo"] {
3420
+ width: 100% !important;
3421
+ margin-inline: 0 !important;
3422
+ }
3423
+ /* Cards: two across only when two fit, whatever count the Look asks for. */
3424
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block="feature-cards"] :is([data-slot="items"], [data-card-list]) {
3425
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
3426
+ }
3427
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block="feature-cards"] :is([data-slot="items"], [data-card-list]) > * {
3428
+ grid-column: auto !important;
3429
+ grid-row: auto !important;
3430
+ }
3431
+ /* A list's heading goes above its ticks, so a long word in it can't reach them. */
3432
+ :where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] .rb-list-ticks {
3433
+ grid-template-columns: minmax(0, 1fr) !important;
3434
+ }
3435
+ }
3436
+ }
3437
+ }
@@ -1,5 +1,5 @@
1
1
  import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
2
- import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-BOuNcOcN.mjs";
2
+ import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-0gSlK9S0.mjs";
3
3
  import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
4
4
  import { NextResponse } from "next/server";
5
5
  import { z } from "zod";
@@ -1,5 +1,5 @@
1
1
  import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
2
- import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-BOuNcOcN.mjs";
2
+ import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-0gSlK9S0.mjs";
3
3
  import { NextResponse } from "next/server";
4
4
  //#region ../preview-next/src/middleware.ts
5
5
  const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
@@ -1037,6 +1037,42 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1037
1037
  "server:internal_error"
1038
1038
  ]
1039
1039
  },
1040
+ updateOwnTrainerProfile: {
1041
+ path: "/sites/{siteId}/bookings/my-trainer-profile",
1042
+ method: "PUT",
1043
+ auth: "user",
1044
+ responseKind: "json",
1045
+ errors: [
1046
+ "validation:invalid_input",
1047
+ "auth:forbidden",
1048
+ "resource:not_found",
1049
+ "server:internal_error"
1050
+ ]
1051
+ },
1052
+ createOwnTrainerPhotoUploadUrl: {
1053
+ path: "/sites/{siteId}/bookings/my-trainer-profile/photo/upload-url",
1054
+ method: "POST",
1055
+ tags: ["media"],
1056
+ auth: "user",
1057
+ responseKind: "json",
1058
+ errors: [
1059
+ "validation:invalid_input",
1060
+ "auth:forbidden",
1061
+ "server:internal_error"
1062
+ ]
1063
+ },
1064
+ finalizeOwnTrainerPhotoUpload: {
1065
+ path: "/sites/{siteId}/bookings/my-trainer-profile/photo/finalize",
1066
+ method: "POST",
1067
+ tags: ["media"],
1068
+ auth: "user",
1069
+ responseKind: "json",
1070
+ errors: [
1071
+ "validation:invalid_input",
1072
+ "auth:forbidden",
1073
+ "server:internal_error"
1074
+ ]
1075
+ },
1040
1076
  createTeamMemberProfile: {
1041
1077
  path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
1042
1078
  method: "POST",
@@ -1671,6 +1707,18 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
1671
1707
  "server:internal_error"
1672
1708
  ]
1673
1709
  },
1710
+ findTransferRecipient: {
1711
+ path: "/sites/{siteId}/bookings/transfer-recipient",
1712
+ method: "POST",
1713
+ auth: "user",
1714
+ responseKind: "json",
1715
+ demoMutation: DEMO_MUTATION_ALLOWED,
1716
+ errors: [
1717
+ "validation:invalid_input",
1718
+ "auth:forbidden",
1719
+ "server:internal_error"
1720
+ ]
1721
+ },
1674
1722
  correctBookingCheckIn: {
1675
1723
  path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
1676
1724
  method: "PATCH",
@@ -3940,6 +3988,18 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3940
3988
  "server:internal_error"
3941
3989
  ]
3942
3990
  },
3991
+ exportPersonDataReadable: {
3992
+ path: "/sites/{siteId}/bookings/people/{personId}/export.html",
3993
+ method: "GET",
3994
+ auth: "user",
3995
+ responseKind: "blob",
3996
+ tags: ["site-{siteId}", "customers-{siteId}"],
3997
+ errors: [
3998
+ "auth:forbidden",
3999
+ "resource:not_found",
4000
+ "server:internal_error"
4001
+ ]
4002
+ },
3943
4003
  lookupBookingPersonByEmail: {
3944
4004
  path: "/sites/{siteId}/bookings/people/lookup-email",
3945
4005
  method: "POST",
@@ -3952,6 +4012,18 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3952
4012
  "server:internal_error"
3953
4013
  ]
3954
4014
  },
4015
+ addStaffClient: {
4016
+ path: "/sites/{siteId}/bookings/people/add-client",
4017
+ method: "POST",
4018
+ tags: ["site-{siteId}", "customers-{siteId}"],
4019
+ auth: "user",
4020
+ responseKind: "json",
4021
+ errors: [
4022
+ "auth:forbidden",
4023
+ "validation:invalid_input",
4024
+ "server:internal_error"
4025
+ ]
4026
+ },
3955
4027
  getBookingPerson: {
3956
4028
  path: "/sites/{siteId}/bookings/people/{personId}",
3957
4029
  method: "GET",
@@ -4454,18 +4526,6 @@ const API_ENDPOINTS = {
4454
4526
  "server:internal_error"
4455
4527
  ]
4456
4528
  },
4457
- turnOnCourses: {
4458
- path: "/sites/{siteId}/bookings/settings/courses",
4459
- method: "POST",
4460
- tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
4461
- auth: "user",
4462
- responseKind: "json",
4463
- errors: [
4464
- "auth:forbidden",
4465
- "resource:conflict",
4466
- "server:internal_error"
4467
- ]
4468
- },
4469
4529
  sendTestEmail: {
4470
4530
  path: "/sites/{siteId}/settings/emails/test",
4471
4531
  method: "POST",
@@ -5863,6 +5923,19 @@ const API_ENDPOINTS = {
5863
5923
  ],
5864
5924
  responseKind: "json"
5865
5925
  },
5926
+ accountUpdateName: {
5927
+ path: "/account/name",
5928
+ method: "POST",
5929
+ tags: ["account"],
5930
+ auth: "user",
5931
+ errors: [
5932
+ "auth:unauthenticated",
5933
+ "auth:forbidden",
5934
+ "validation:invalid_input",
5935
+ "server:internal_error"
5936
+ ],
5937
+ responseKind: "json"
5938
+ },
5866
5939
  accountDismissTwoStepPrompt: {
5867
5940
  path: "/account/two-step-prompt/dismiss",
5868
5941
  method: "POST",
@@ -8242,6 +8315,7 @@ const API_ENDPOINTS = {
8242
8315
  responseKind: "json",
8243
8316
  errors: [
8244
8317
  "validation:invalid_input",
8318
+ "auth:forbidden",
8245
8319
  "resource:already_exists",
8246
8320
  "server:internal_error"
8247
8321
  ]
@@ -1,9 +1,9 @@
1
- import { Jn as resolveDateRuntimeContext, Rn as siteFooterManifest, Rs as toUtcIsoDateTimeString, dt as setContextResolveImageUrlContext, lt as buildResolveImageUrlContext, qn as readRuntimeNow, t as getBlockDefinition, zn as siteHeaderManifest } from "./registry-DmqxC8th.mjs";
2
- import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-CuVFoV4z.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-8-f1Zr9e.mjs";
1
+ import { Bn as siteFooterManifest, Gs as toUtcIsoDateTimeString, Vn as siteHeaderManifest, Xn as resolveDateRuntimeContext, Yn as readRuntimeNow, dt as setContextResolveImageUrlContext, lt as buildResolveImageUrlContext, t as getBlockDefinition } from "./registry-cQ9N5W-n.mjs";
2
+ import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-JxlV8_Bo.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-CuVj3bkd.mjs";
4
4
  import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-iC_hXjJI.mjs";
5
5
  import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
6
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-5oC5kyHe.mjs";
6
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-kERh_c0v.mjs";
7
7
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
8
8
  import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
9
9
  import "react";
@@ -1,7 +1,7 @@
1
1
  import { $ as SURFACE_FOREGROUND_CSS_VARS, Dt as parseThemeColorToken, Et as parseColorTokenParts, Q as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValue, et as SURFACE_INK_CSS_VARS, ft as cssVarValue, lt as surfaceInkValue, mt as rgbColorValue, ot as surfaceForegroundValueWithOpacity, st as surfaceInkDeclarations } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
2
  import { F as resolveSurfaceForeground, I as safeTokenOr, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex, z as solveSurfaceInks } from "./accessibleSurfaces-CM3QANtw.mjs";
3
- import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-BGB8gMVb.mjs";
4
- import { P as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-BBr0mkze.mjs";
3
+ import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-BZ8YSrQg.mjs";
4
+ import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-CaH018pK.mjs";
5
5
  import "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../theme-core/src/cards/decorations.ts
@@ -409,6 +409,20 @@ const opaquePanels = [
409
409
  kind: "solid",
410
410
  token: "surface"
411
411
  }
412
+ },
413
+ {
414
+ selector: "[data-block=\"gifting\"] .gifting-panel",
415
+ paint: {
416
+ kind: "solid",
417
+ token: "surface"
418
+ }
419
+ },
420
+ {
421
+ selector: "[data-block=\"gifting\"] .gifting-field :is(input, textarea)",
422
+ paint: {
423
+ kind: "solid",
424
+ token: "surface"
425
+ }
412
426
  }
413
427
  ];
414
428
  /**
@@ -1,10 +1,10 @@
1
- import { et as parseStoredVariant, nt as lookFillPartsFromContent, rt as resolveRuntimeSection, t as buildPageRenderPlan } from "./pageRenderPlan-0jvm0RBk.mjs";
2
- import { $a as filterLookIdsForPolicy, Ao as transitionIntentForTreatment, Ba as compileArrangementLookRuntime, Co as boundaryOptions, Do as noneBoundaryOption, Eo as isDecorativeTransitionIntent, Fi as plainTextToInlineText, Fo as parseCanonicalRuntimeBackground, Ha as resolveArrangementLookForBlock, Ia as arrangementAppearancePresets, Io as resolveSectionBackground, Ka as readStoredMode, Oo as softBoundaryOption, Qa as filterLayoutProfilesForPolicy, Ra as arrangementStyleAvailability, So as boundaryOptionForTransitionIntent, Sr as resolveDeclaredBlockDesignCapability, To as boundaryTreatmentForBoundaryOptionId, Ua as resolveLookForBlock, Va as getCompatibleBlockAppearancePresets, Za as deriveSiteStyleBlockPolicy, _o as resolvePageDesignBlockLookChoice, ao as stripCompiledRuntimeStyleFields, ba as isRecord, ct as systemCustomizeFacetDefinitionsForBlock, io as compilePageRuntimeFields, ko as spaciousBoundaryOption, no as getCuratedSiteStyle, nr as formatDate, qa as resolveEffectiveArrangement, t as getBlockDefinition, vo as resolvePageDesignBoundaryChoice, za as automaticArrangementLook } from "./registry-DmqxC8th.mjs";
3
- import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BGB8gMVb.mjs";
4
- import { r as sectionStylesOverrideSchema } from "./schema-CUDHMirj.mjs";
5
- import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-8-f1Zr9e.mjs";
1
+ import { at as lookFillPartsFromContent, ot as resolveRuntimeSection, rt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-Cuos4Xcd.mjs";
2
+ import { Ca as arrangementStyleAvailability, Co as resolveSectionBackground, Da as resolveArrangementLookForBlock, Ea as getCompatibleBlockAppearancePresets, Gi as isRecord, Ia as deriveSiteStyleBlockPolicy, La as filterLayoutProfilesForPolicy, Ma as resolveEffectiveArrangement, Oa as resolveLookForBlock, Ra as filterLookIdsForPolicy, Ri as plainTextToInlineText, So as parseCanonicalRuntimeBackground, Ta as compileArrangementLookRuntime, To as defaultHeroImageSurfaceTreatment, Ua as compilePageRuntimeFields, Va as getCuratedSiteStyle, Wa as stripCompiledRuntimeStyleFields, _o as transitionIntentForTreatment, ao as resolvePageDesignBoundaryChoice, ct as systemCustomizeFacetDefinitionsForBlock, fo as boundaryTreatmentForBoundaryOptionId, go as spaciousBoundaryOption, ho as softBoundaryOption, io as resolvePageDesignBlockLookChoice, ir as formatDate, ja as readStoredMode, lo as boundaryOptionForTransitionIntent, mo as noneBoundaryOption, po as isDecorativeTransitionIntent, t as getBlockDefinition, uo as boundaryOptions, wa as automaticArrangementLook, wr as resolveDeclaredBlockDesignCapability, xa as arrangementAppearancePresets } from "./registry-cQ9N5W-n.mjs";
3
+ import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
4
+ import { r as sectionStylesOverrideSchema } from "./schema-BpsqaSSU.mjs";
5
+ import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-CuVj3bkd.mjs";
6
6
  import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
7
- import { E as sectionBackgroundPaintValues, O as toNonEmptyReadonlyArray, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as plainFrame } from "./lookMediaFrame-BBr0mkze.mjs";
7
+ import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-CaH018pK.mjs";
8
8
  import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
9
9
  //#region ../theme-core/src/site-styles/resolver.ts
10
10
  const repairActionsByIssueKind = {
@@ -23,8 +23,7 @@ const repairActionsByIssueKind = {
23
23
  "unsupported-block-composition": ["remove-composition"],
24
24
  "image-surface-treatment-without-image-surface": ["fallback-image-surface-treatment"],
25
25
  "image-surface-motion-without-image-surface": ["fallback-image-surface-motion"],
26
- "hero-legibility-overridden-by-image-surface-treatment": ["remove-hero-legibility"],
27
- "hero-image-without-legibility": ["fallback-hero-legibility"]
26
+ "hero-image-without-treatment": ["fallback-image-surface-treatment"]
28
27
  };
29
28
  function repairActionsForIssue(issueKind) {
30
29
  return repairActionsByIssueKind[issueKind];
@@ -67,7 +66,6 @@ const blockDesignFallback = {
67
66
  sectionSurface: "base",
68
67
  contentFrame: plainFrame,
69
68
  sectionHeight: "default",
70
- heroLegibility: "none",
71
69
  imageSurfaceTreatment: { kind: "none" },
72
70
  imageSurfaceMotion: "static",
73
71
  tileTreatment: "default",
@@ -83,7 +81,6 @@ const appliedBlockDesignFallback = {
83
81
  appliedContentFrame: blockDesignFallback.contentFrame,
84
82
  appliedCardRole: null,
85
83
  appliedSectionHeight: blockDesignFallback.sectionHeight,
86
- appliedHeroLegibility: blockDesignFallback.heroLegibility,
87
84
  appliedImageSurfaceTreatment: blockDesignFallback.imageSurfaceTreatment,
88
85
  appliedImageSurfaceMotion: blockDesignFallback.imageSurfaceMotion,
89
86
  appliedTileTreatment: blockDesignFallback.tileTreatment,
@@ -108,7 +105,6 @@ function blockDesignRequest(block) {
108
105
  contentFrame: block.contentFrame,
109
106
  ...block.cardRole ? { cardRole: block.cardRole } : {},
110
107
  sectionHeight: block.sectionHeight,
111
- heroLegibility: block.heroLegibility,
112
108
  imageSurfaceTreatment: block.imageSurfaceTreatment,
113
109
  imageSurfaceMotion: block.imageSurfaceMotion,
114
110
  tileTreatment: block.tileTreatment,
@@ -127,7 +123,6 @@ function resolveBlockDesignPlan(input) {
127
123
  let appliedContentFrame = block.contentFrame;
128
124
  const appliedCardRole = appliedCardRoleFor(block, capability);
129
125
  let appliedSectionHeight = block.sectionHeight ?? "default";
130
- let appliedHeroLegibility = block.heroLegibility ?? "none";
131
126
  let appliedImageSurfaceTreatment = block.imageSurfaceTreatment ?? { kind: "none" };
132
127
  let appliedImageSurfaceMotion = block.imageSurfaceMotion ?? "static";
133
128
  let appliedTileTreatment = block.tileTreatment ?? "default";
@@ -354,33 +349,18 @@ function resolveBlockDesignPlan(input) {
354
349
  allowedRepairActions: repairActionsForIssue("image-surface-motion-without-image-surface")
355
350
  });
356
351
  }
357
- if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind !== "none" && appliedHeroLegibility !== "none") {
358
- const requested = appliedHeroLegibility;
359
- appliedHeroLegibility = "none";
352
+ if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind === "none") {
353
+ appliedImageSurfaceTreatment = defaultHeroImageSurfaceTreatment;
360
354
  issues.push({
361
- kind: "hero-legibility-overridden-by-image-surface-treatment",
355
+ kind: "hero-image-without-treatment",
362
356
  blockId: block.blockId,
363
357
  blockKind: block.blockKind,
364
358
  purpose: block.purpose,
365
- requested,
366
- fallback: appliedHeroLegibility,
367
- policy: input.policy,
368
- severity: designIssueSeverityForPolicy(input.policy),
369
- allowedRepairActions: repairActionsForIssue("hero-legibility-overridden-by-image-surface-treatment")
370
- });
371
- }
372
- if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind === "none" && (block.heroLegibility === void 0 || appliedHeroLegibility === "none")) {
373
- appliedHeroLegibility = "scrim-gradient";
374
- issues.push({
375
- kind: "hero-image-without-legibility",
376
- blockId: block.blockId,
377
- blockKind: block.blockKind,
378
- purpose: block.purpose,
379
- requested: block.heroLegibility,
380
- fallback: appliedHeroLegibility,
359
+ requested: block.imageSurfaceTreatment,
360
+ fallback: appliedImageSurfaceTreatment,
381
361
  policy: input.policy,
382
362
  severity: designIssueSeverityForPolicy(input.policy),
383
- allowedRepairActions: repairActionsForIssue("hero-image-without-legibility")
363
+ allowedRepairActions: repairActionsForIssue("hero-image-without-treatment")
384
364
  });
385
365
  }
386
366
  return {
@@ -390,7 +370,6 @@ function resolveBlockDesignPlan(input) {
390
370
  appliedCardRole,
391
371
  appliedSectionBackgroundPaints: capability.sectionBackgroundPaints,
392
372
  appliedSectionHeight,
393
- appliedHeroLegibility,
394
373
  appliedImageSurfaceTreatment,
395
374
  appliedImageSurfaceMotion,
396
375
  appliedTileTreatment,