@riverbankcms/sdk 0.169.0 → 0.169.1

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 (194) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DpROiz12.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
  2. package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BhCfStX1.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
  4. package/dist/_dts/{client-MURxFla9.d.ts → client-BZMn4Y99.d.ts} +1 -1
  5. package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-DjYsGY3B.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
  9. package/dist/_dts/{index-BaDqRekr.d.ts → index-BR0i0c3G.d.ts} +4 -4
  10. package/dist/_dts/{index-CovKPftP.d.ts → index-BV-qVnt7.d.ts} +2 -2
  11. package/dist/_dts/{index-rfAssXq0.d.ts → index-BYYhTQ_b.d.ts} +3 -3
  12. package/dist/_dts/{index-DDaX-K2D.d.ts → index-BzguBJzR.d.ts} +1 -1
  13. package/dist/_dts/{index-DCw8LO4M.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
  14. package/dist/_dts/{index-CiR_oPYT.d.ts → index-NaRauKDR.d.ts} +1 -1
  15. package/dist/_dts/{index-CVB5wgbz.d.ts → index-QIbYMeI7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
  17. package/dist/_dts/{request-DeVetKBr.d.ts → request-DssgRQSm.d.ts} +8523 -8069
  18. package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-OwqfS8Gn.d.ts → types-DrAWDtqR.d.ts} +3 -3
  54. package/dist/_dts/{types-Fj31kIi2.d.ts → types-Z388-GR1.d.ts} +7 -7
  55. package/dist/_dts/{types-B4MBlP_B.d.ts → types-cObpvZGF.d.ts} +2 -2
  56. package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-hLr8zVrc.d.ts} +4 -4
  57. package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
  58. package/dist/client/{BookingMailingListNote-y3qWjnOo.mjs → BookingMailingListNote-Br1VyHkP.mjs} +5 -5
  59. package/dist/client/{BookingQuestionFields-DjLjd0vc.mjs → BookingQuestionFields-LLGCWjvU.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-VM7C2fdh.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
  62. package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-ucgdMS35.mjs} +7 -7
  63. package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-BEdfJGpx.mjs} +5 -5
  64. package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-OpLehMpT.mjs} +4 -4
  65. package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
  66. package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
  67. package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-BCvRqU86.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
  69. package/dist/client/{Page-Dv9eIOGr.mjs → Page-Bu5TJU3L.mjs} +41 -15
  70. package/dist/client/{StepIndicator-BZNUd0-v.mjs → StepIndicator-CR7_0yu4.mjs} +4 -3
  71. package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
  72. package/dist/client/{accordion-BCtVxnDZ.mjs → accordion-DMItWylU.mjs} +6 -1
  73. package/dist/client/{booking-form.client-Cr5G-HHO.mjs → booking-form.client-wd71DG19.mjs} +10 -10
  74. package/dist/client/bookingForm-Cyr2qeS1.mjs +31 -0
  75. package/dist/client/bookings.mjs +4 -4
  76. package/dist/client/{carousel-DW-HgjvT.mjs → carousel-B5-Hzzif.mjs} +7 -9
  77. package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
  78. package/dist/client/{cart-D1zWe4R7.mjs → cart-B-M5l__W.mjs} +3 -3
  79. package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-COAP4CEy.mjs} +1 -1
  80. package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-ZHc8GfaG.mjs} +3 -3
  81. package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-DRralR3e.mjs} +1 -1
  82. package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
  83. package/dist/client/client.mjs +40 -4
  84. package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
  85. package/dist/client/{cta-Bj5WHgcv.mjs → cta-CfuyGqXL.mjs} +1 -1
  86. package/dist/client/{demoPortalMagicLink-3uVu3WgG.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
  87. package/dist/client/{display-CT8KMSpH.mjs → display-DDNmyb0z.mjs} +18 -793
  88. package/dist/client/{enhanceHeaderSection-B27KFGDv.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -3
  89. package/dist/client/{event-details.client-CL4Lqz2c.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
  90. package/dist/client/{event-registration.client-Dj3Kyp5X.mjs → event-registration.client-CLBdHUfd.mjs} +12 -11
  91. package/dist/client/{eventCalendar-DGsdSF8J.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
  92. package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
  93. package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
  94. package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
  95. package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
  96. package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
  97. package/dist/client/{form-57k2JQnm.mjs → form-RTqunrpz.mjs} +9 -14
  98. package/dist/client/{form.client-CCl6CpRJ.mjs → form.client-D3_RF29v.mjs} +3 -3
  99. package/dist/client/{form.parts-BOJ1yDDf.mjs → form.parts-DWLf_3PF.mjs} +1 -1
  100. package/dist/client/gifting/client.mjs +1 -1
  101. package/dist/client/{headerSection-q_bEzfhW.mjs → headerSection-CyNGt23J.mjs} +2 -2
  102. package/dist/client/{newsletter-form.client-CiqKAmPs.mjs → newsletter-form.client-IfLup4o0.mjs} +4 -4
  103. package/dist/client/{newsletter-form.parts-x1RzAMNO.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
  104. package/dist/client/{newsletterForm-Cn7h4zFe.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
  105. package/dist/client/portal/client.mjs +5 -5
  106. package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
  107. package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-c-777ohj.mjs} +1 -1
  108. package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-hXttfQhE.mjs} +3 -3
  109. package/dist/client/{productList-C0MLeh-v.mjs → productList-BPsYP_jA.mjs} +3 -3
  110. package/dist/client/{propsDecoder-CAmEkJ6Y.mjs → propsDecoder-Dc8j5i79.mjs} +2 -2
  111. package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
  112. package/dist/client/{registry.server-Bf2YX_4v.mjs → registry.server-CMrdUGGv.mjs} +329 -283
  113. package/dist/client/rendering/client.mjs +36 -36
  114. package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
  115. package/dist/client/rendering/islands.mjs +1 -1
  116. package/dist/client/rendering.mjs +4 -4
  117. package/dist/client/{routeIslandApiConfig-UdAlnZGQ.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
  118. package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
  119. package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
  120. package/dist/client/{shop-Dkn6EasY.mjs → shop-Ds47onRS.mjs} +3 -3
  121. package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-B3PyRHaN.mjs} +10 -10
  122. package/dist/client/{shop-commerce-store-Ckxa4_jI.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
  123. package/dist/client/{shop.client-B_GqU6_U.mjs → shop.client-RljK0qPB.mjs} +10 -10
  124. package/dist/client/{shop.interactive-C6L_Ig5F.mjs → shop.interactive-BH0xDlMF.mjs} +37 -12
  125. package/dist/client/{shopShared-CO1Y8lFd.mjs → shopShared-BEfD0e4m.mjs} +12 -15
  126. package/dist/client/{timetableModel-D62jfOxZ.mjs → timetableModel-BG7Ejxdr.mjs} +6 -6
  127. package/dist/client/{useAvailableSlots-CStfVmyY.mjs → useAvailableSlots-GP8tnAVW.mjs} +1 -1
  128. package/dist/client/{useDiscountApply-Ca2pHUDu.mjs → useDiscountApply-Cq07nTyG.mjs} +1 -1
  129. package/dist/client/{useDiscountCodeUi-AEifktGO.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
  130. package/dist/client/{useEventPagination-uxnUWI2v.mjs → useEventPagination-spj7sGQP.mjs} +5 -5
  131. package/dist/client/{view-SVnWic7i.mjs → view-aAP2WbCR.mjs} +2 -2
  132. package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
  133. package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
  134. package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
  135. package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
  136. package/dist/preview-next/client/{PreviewEditorSidebar-DI_LhsMQ.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +117 -117
  137. package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
  138. package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
  139. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +11 -9
  140. package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +362 -283
  141. package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
  142. package/dist/preview-next/client/{previewAssistantSlot-DSR0IdAw.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +268 -875
  143. package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
  146. package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
  147. package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
  148. package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
  149. package/dist/preview-next/keepAlive.mjs +1 -1
  150. package/dist/preview-next/middleware.mjs +3 -4
  151. package/dist/preview-next/{route-contract-BU1m9SV3.mjs → route-contract-jc2Bug-h.mjs} +36 -0
  152. package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-BHgQjX16.mjs} +4 -4
  153. package/dist/server/{ThemeScopeCore-C3HLgqBF.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +25 -2
  154. package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
  155. package/dist/server/{bindings-TAQbo2P5.mjs → bindings-CAbTvrCZ.mjs} +1 -1
  156. package/dist/server/{client-DzCxEl3L.mjs → client-C-asG6Cf.mjs} +38 -2
  157. package/dist/server/config-validation.mjs +1 -1
  158. package/dist/server/config.mjs +1 -1
  159. package/dist/server/data/resolveBlockData.mjs +1 -1
  160. package/dist/server/index.mjs +2 -2
  161. package/dist/server/{loadContent-BO1M9Hdf.mjs → loadContent-DKerbSnI.mjs} +4 -4
  162. package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-XgtQR90Z.mjs} +2 -2
  163. package/dist/server/next.mjs +6 -6
  164. package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
  165. package/dist/server/{overrideResolution-fxuB1zZg.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
  166. package/dist/server/page-converter.mjs +1 -1
  167. package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-DQAo35og.mjs} +8 -7
  168. package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +1 -1
  169. package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-7mPhqqXX.mjs} +325 -277
  170. package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-C0m4KOT9.mjs} +1 -1
  171. package/dist/server/prebuild.mjs +1 -1
  172. package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
  173. package/dist/server/{registry-Fv-7D8o2.mjs → registry-7_0_lUrh.mjs} +41 -796
  174. package/dist/server/rendering/components/pageShared.mjs +1 -1
  175. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  176. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  177. package/dist/server/rendering/islandDelivery.script.mjs +19 -0
  178. package/dist/server/rendering/server.mjs +3 -3
  179. package/dist/server/rendering.mjs +7 -7
  180. package/dist/server/{resolveBlockData-xPgkvoWS.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
  181. package/dist/server/server.mjs +3 -3
  182. package/dist/server/theme-bridge.mjs +2 -2
  183. package/dist/server/{validation-DddhgNdb.mjs → validation-CSMS6XmP.mjs} +3 -3
  184. package/dist/server/{version-D_W2mt8w.mjs → version-DWeqmTXc.mjs} +1 -1
  185. package/dist/styles/index.css +9 -0
  186. package/package.json +10 -6
  187. package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
  188. package/dist/client/bookingForm-B1Fc62Sl.mjs +0 -34
  189. package/dist/client/eventCombined-DFSVDJ3D.mjs +0 -28
  190. package/dist/client/eventListing-CpFFcAUr.mjs +0 -29
  191. package/dist/client/eventRegistration-BipMUOCw.mjs +0 -34
  192. package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
  193. package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
  194. package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Eh as cn, Ht as SURFACE_DOCUMENT_DATA_ATTRIBUTE, Ut as SURFACE_IDS, Wt as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-DSR0IdAw.mjs";
2
+ import { Dh as cn, Ht as SURFACE_DOCUMENT_DATA_ATTRIBUTE, Ut as SURFACE_IDS, Wt as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-DRDu7Ndv.mjs";
3
3
  import { createContext, useContext, useEffect, useMemo, useReducer, useRef } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../ui/src/fixed-bottom-surface.tsx
@@ -5,13 +5,13 @@ import React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/preview-next/client/runtime.tsx
7
7
  const LazySdkPreviewMode = React.lazy(async () => {
8
- return { default: (await import("./SdkPreviewModeRuntime-Bl7jQMI1.mjs")).SdkPreviewModeRuntime };
8
+ return { default: (await import("./SdkPreviewModeRuntime-Dgl7ktO4.mjs")).SdkPreviewModeRuntime };
9
9
  });
10
10
  const LazyPreviewShell = React.lazy(async () => {
11
- return { default: (await import("./sdk-runtime-6Q0RVJTQ.mjs")).PreviewShell };
11
+ return { default: (await import("./sdk-runtime-AGypzhcO.mjs")).PreviewShell };
12
12
  });
13
13
  const LazyPreviewShellLayout = React.lazy(async () => {
14
- return { default: (await import("./sdk-runtime-6Q0RVJTQ.mjs")).PreviewShellLayout };
14
+ return { default: (await import("./sdk-runtime-AGypzhcO.mjs")).PreviewShellLayout };
15
15
  });
16
16
  function SdkPreviewMode(props) {
17
17
  return /* @__PURE__ */ jsx(React.Suspense, {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  import "./PreviewQueryProvider-BC0V7iAR.mjs";
3
- import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-YauP65Gi.mjs";
4
- import "./SdkPreviewModeRuntime-Bl7jQMI1.mjs";
3
+ import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-CFQlAHTe.mjs";
4
+ import "./SdkPreviewModeRuntime-Dgl7ktO4.mjs";
5
5
  export { PreviewShell, PreviewShellLayout };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { Dh as useShallow, Eh as cn, Z as useSessionJournal, en as useEditorUiStore, gh as Primitive, ln as selectAutosaveStatus, un as selectEditorWriteState, xn as useStore } from "./previewAssistantSlot-DSR0IdAw.mjs";
3
- import { M as LoaderCircle } from "./lucide-react-DkZ8fO-G.mjs";
2
+ import { Dh as cn, Oh as useShallow, Z as useSessionJournal, _h as Primitive, en as useEditorUiStore, ln as selectAutosaveStatus, un as selectEditorWriteState, xn as useStore } from "./previewAssistantSlot-DRDu7Ndv.mjs";
3
+ import { M as LoaderCircle } from "./lucide-react-DbC1o6_9.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
6
+ //#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
7
7
  var NAME = "Separator";
8
8
  var DEFAULT_ORIENTATION = "horizontal";
9
9
  var ORIENTATIONS = ["horizontal", "vertical"];
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { $m as Anchor, A as usePreviewRenderReadiness, An as manifestFieldSectionOptions, Ar as resolveArrangementKnobs, Ch as createSlottable, Cr as resolveFieldOwnership, Dr as systemCustomizeFacetDefinitionsForBlock, Ef as getCuratedSiteStyle, Eh as cn, Er as systemCustomizeFacetDefinitionForBlock, Hn as parseBackgroundColorToken, Im as menuItemInteractionClassName, Ja as eventCalendarListGroupingDecision, Jm as Item, Lm as menuTriggerInteractionClassName, Mp as augmentManifestWithStyleGroups, O_ as asSiteStyleId, On as createManifestFormAdapter, Or as systemCustomizeFacetStoredValue, P as lookTilesFor, Qm as Portal$2, Rm as ReactRemoveScroll, Sh as createSlot, Si as eventCalendarPagingFields, Sr as fieldPathsOwnedBy, Th as useComposedRefs, Tr as systemCustomizeFacetAppliesToLayoutVariant, Wn as parseCanonicalSectionBackground, Xm as createRovingFocusGroupScope, Ym as Root, Zm as Presence, _h as dispatchDiscreteCustomEvent, af as resolveVisiblePromotedFieldPathsForEditorBlock, ah as useId$1, an as shouldRevealAllBlockFieldValidation, ap as lookModes, cf as sectionPhotoPresence, ch as DismissableLayer, df as resolveEditorArrangementLook, dh as createCollection, eh as Arrow, er as createCustomBlockRegistry, fh as useControllableState, gh as Primitive, gt as derivePromotedFieldPlan, hh as composeEventHandlers, hv as syncStateOf, jr as getBlockDefinition, kr as arrangementKnobChoices, lh as useCallbackRef, mh as createContextScope, nh as Root2$1, np as isThemeV2NormalEditorRawStyleFieldName, nr as mergeManifestWithSdkOptions, o as usePreviewPageDesignEditorState, oh as FocusScope, qm as hideOthers, rh as createPopperScope, rp as isThemeV2NormalEditorRawStylePath, rr as fieldsNotShownIn, sf as decideSectionPhoto, sh as useFocusGuards, sm as Root$1, th as Content, tr as mergeBlockDescriptorsWithRegistry, uh as useDirection, wh as composeRefs, wr as isSystemCustomizeFacetId, xf as readStoredMode, yf as lookDefinitionForId } from "./previewAssistantSlot-DSR0IdAw.mjs";
3
- import { ft as ChevronRight, ht as Check, ot as Circle } from "./lucide-react-DkZ8fO-G.mjs";
2
+ import { $m as Portal$2, A as usePreviewRenderReadiness, An as manifestFieldSectionOptions, Ar as resolveArrangementKnobs, Ch as createSlot, Cr as resolveFieldOwnership, Df as getCuratedSiteStyle, Dh as cn, Dr as systemCustomizeFacetDefinitionsForBlock, Eh as useComposedRefs, Er as systemCustomizeFacetDefinitionForBlock, Hn as parseBackgroundColorToken, Ja as eventCalendarListGroupingDecision, Jm as hideOthers, Lm as menuItemInteractionClassName, Np as augmentManifestWithStyleGroups, On as createManifestFormAdapter, Or as systemCustomizeFacetStoredValue, P as lookTilesFor, Qm as Presence, Rm as menuTriggerInteractionClassName, Sf as readStoredMode, Si as eventCalendarPagingFields, Sr as fieldPathsOwnedBy, Th as composeRefs, Tr as systemCustomizeFacetAppliesToLayoutVariant, Wn as parseCanonicalSectionBackground, Xm as Root, Ym as Item, Zm as createRovingFocusGroupScope, _h as Primitive, an as shouldRevealAllBlockFieldValidation, bf as lookDefinitionForId, cf as decideSectionPhoto, ch as useFocusGuards, cm as Root$1, dh as useDirection, eh as Anchor, er as createCustomBlockRegistry, ff as resolveEditorArrangementLook, fh as createCollection, gh as composeEventHandlers, gt as derivePromotedFieldPlan, gv as syncStateOf, hh as createContextScope, ih as createPopperScope, ip as isThemeV2NormalEditorRawStylePath, jr as getBlockDefinition, k_ as asSiteStyleId, kr as arrangementKnobChoices, lf as sectionPhotoPresence, lh as DismissableLayer, nh as Content, nr as mergeManifestWithSdkOptions, o as usePreviewPageDesignEditorState, of as resolveVisiblePromotedFieldPathsForEditorBlock, oh as useId$1, op as lookModes, ph as useControllableState, rh as Root2$1, rp as isThemeV2NormalEditorRawStyleFieldName, rr as fieldsNotShownIn, sh as FocusScope, th as Arrow, tr as mergeBlockDescriptorsWithRegistry, uh as useCallbackRef, vh as dispatchDiscreteCustomEvent, wh as createSlottable, wr as isSystemCustomizeFacetId, zm as ReactRemoveScroll } from "./previewAssistantSlot-DRDu7Ndv.mjs";
3
+ import { ft as ChevronRight, ht as Check, ot as Circle } from "./lucide-react-DbC1o6_9.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { createContext, useContext, useMemo } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import deepEqual from "fast-deep-equal";
8
- //#region ../../node_modules/.pnpm/@radix-ui+react-menu@2.1.18_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@_476586c402937c39bc9e1e3c22b45af1/node_modules/@radix-ui/react-menu/dist/index.mjs
8
+ //#region ../../node_modules/.pnpm/@radix-ui+react-menu@2.1.18_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@1_f24ea5a0a00ace27996dbef7fb5354f4/node_modules/@radix-ui/react-menu/dist/index.mjs
9
9
  var SELECTION_KEYS = ["Enter", " "];
10
10
  var FIRST_KEYS = [
11
11
  "ArrowDown",
@@ -767,7 +767,7 @@ var Arrow2$1 = MenuArrow;
767
767
  var SubTrigger = MenuSubTrigger;
768
768
  var SubContent = MenuSubContent;
769
769
  //#endregion
770
- //#region ../../node_modules/.pnpm/@radix-ui+react-dropdown-menu@2.1.18_@types+react-dom@19.2.3_@types+react@19.2.17__@typ_7af4ef59106aedc167d77b05d7699524/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
770
+ //#region ../../node_modules/.pnpm/@radix-ui+react-dropdown-menu@2.1.18_@types+react-dom@19.3.0_@types+react@19.3.0__@type_6c3cb1ca9daa7e0a8824e53ee7383dee/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
771
771
  var DROPDOWN_MENU_NAME = "DropdownMenu";
772
772
  var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(DROPDOWN_MENU_NAME, [createMenuScope]);
773
773
  var useMenuScope = createMenuScope();
@@ -1087,7 +1087,7 @@ const DropdownMenuShortcut = ({ className, ...props }) => {
1087
1087
  };
1088
1088
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1089
1089
  //#endregion
1090
- //#region ../../node_modules/.pnpm/@radix-ui+react-tooltip@1.2.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+rea_888699add025be5d8185ea2863550208/node_modules/@radix-ui/react-tooltip/dist/index.mjs
1090
+ //#region ../../node_modules/.pnpm/@radix-ui+react-tooltip@1.2.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+reac_a819a01f76b5c8223c0528715f7d8657/node_modules/@radix-ui/react-tooltip/dist/index.mjs
1091
1091
  var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [createPopperScope]);
1092
1092
  var usePopperScope = createPopperScope();
1093
1093
  var PROVIDER_NAME = "TooltipProvider";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as usePreviewSidebarNavigation, tn as useEditorUiStoreInstance } from "./previewAssistantSlot-DSR0IdAw.mjs";
2
+ import { i as usePreviewSidebarNavigation, tn as useEditorUiStoreInstance } from "./previewAssistantSlot-DRDu7Ndv.mjs";
3
3
  //#region ../preview-next/src/client/blocks/useOpenBlockForSetup.ts
4
4
  /**
5
5
  * Opens a block in the sidebar, at the field that needs filling in when
@@ -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-BU1m9SV3.mjs";
2
+ import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-jc2Bug-h.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-BU1m9SV3.mjs";
2
+ import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-jc2Bug-h.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}$/;
@@ -30,8 +30,7 @@ function isLocalhostSubdomain(hostname) {
30
30
  const normalized = hostname.toLowerCase();
31
31
  return normalized !== "localhost" && normalized.endsWith(".localhost");
32
32
  }
33
- function resolveRedirectProtocol(request, url, host) {
34
- if (host.includes("localhost") || host.includes(".local")) return "http";
33
+ function resolveRedirectProtocol(request, url) {
35
34
  const forwardedProto = (request.headers.get("x-forwarded-proto") ?? "").split(",")[0]?.trim();
36
35
  if (forwardedProto === "https" || forwardedProto === "http") return forwardedProto;
37
36
  return url.protocol.replace(":", "");
@@ -39,7 +38,7 @@ function resolveRedirectProtocol(request, url, host) {
39
38
  function buildCleanRedirectUrl(request) {
40
39
  const url = getRequestUrl(request);
41
40
  const host = resolveRedirectHost(request, url);
42
- const protocol = resolveRedirectProtocol(request, url, host);
41
+ const protocol = resolveRedirectProtocol(request, url);
43
42
  const cleanUrl = new URL(`${protocol}://${host}${url.pathname}${url.hash ?? ""}`);
44
43
  url.searchParams.forEach((value, key) => {
45
44
  if (key === "preview_code" || key === "token" || key === "refreshToken" || key === "refresh") return;
@@ -1202,6 +1202,30 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1202
1202
  "server:internal_error"
1203
1203
  ]
1204
1204
  },
1205
+ refundAppointment: {
1206
+ path: "/sites/{siteId}/bookings/appointments/{appointmentId}/refund",
1207
+ method: "POST",
1208
+ auth: "user",
1209
+ responseKind: "json",
1210
+ errors: [
1211
+ "validation:invalid_input",
1212
+ "resource:not_found",
1213
+ "auth:forbidden",
1214
+ "resource:conflict",
1215
+ "server:internal_error"
1216
+ ]
1217
+ },
1218
+ listAppointmentRefunds: {
1219
+ path: "/sites/{siteId}/bookings/appointments/{appointmentId}/refunds",
1220
+ method: "GET",
1221
+ auth: "user",
1222
+ responseKind: "json",
1223
+ errors: [
1224
+ "resource:not_found",
1225
+ "auth:forbidden",
1226
+ "server:internal_error"
1227
+ ]
1228
+ },
1205
1229
  setAppointmentNoShow: {
1206
1230
  path: "/sites/{siteId}/bookings/appointments/{appointmentId}/no-show",
1207
1231
  method: "POST",
@@ -3367,6 +3391,18 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3367
3391
  * person when nothing is attached to them.
3368
3392
  */
3369
3393
  const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3394
+ getPersonBookingsPage: {
3395
+ path: "/sites/{siteId}/bookings/people/{personId}/bookings",
3396
+ method: "GET",
3397
+ tags: ["site-{siteId}", "customers-{siteId}"],
3398
+ auth: "user",
3399
+ responseKind: "json",
3400
+ errors: [
3401
+ "auth:forbidden",
3402
+ "resource:not_found",
3403
+ "server:internal_error"
3404
+ ]
3405
+ },
3370
3406
  previewPersonRemoval: {
3371
3407
  path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
3372
3408
  method: "GET",
@@ -1,9 +1,9 @@
1
- import { Fn as siteFooterManifest, Gn as resolveDateRuntimeContext, In as siteHeaderManifest, Wn as readRuntimeNow, lt as setContextResolveImageUrlContext, st as buildResolveImageUrlContext, t as getBlockDefinition, wo as toUtcIsoDateTimeString } from "./registry-Fv-7D8o2.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-CSOJ8p8E.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-BU8pwTNx.mjs";
1
+ import { Fn as siteFooterManifest, Gn as resolveDateRuntimeContext, In as siteHeaderManifest, Wn as readRuntimeNow, lt as setContextResolveImageUrlContext, st as buildResolveImageUrlContext, t as getBlockDefinition, wo as toUtcIsoDateTimeString } from "./registry-7_0_lUrh.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-7mPhqqXX.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-g-K-FCHa.mjs";
4
4
  import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
5
5
  import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
6
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-BvbxqeKn.mjs";
6
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-DcLKHfHG.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_INK_CSS_VARS, Et as parseThemeColorToken, Q as SURFACE_FOREGROUND_CSS_VARS, Tt as parseColorTokenParts, Z as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValueWithOpacity, ft as rgbColorValue, it as surfaceForegroundValue, ot as surfaceInkDeclarations, ut as cssVarValue } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
2
- import { M as safeTokenOr, N as surfaceInkPublication, P as solveSurfaceInks, V as resolveOpaqueSurfaceHex, a as resolveSurface, f as actionVariableFallback, j as resolveSurfaceForeground, r as prepareSurfaceIndex } from "./accessibleSurfaces-108nxyGc.mjs";
2
+ import { M as safeTokenOr, N as surfaceInkPublication, P as solveSurfaceInks, V as resolveOpaqueSurfaceHex, a as resolveSurface, f as actionVariableFallback, j as resolveSurfaceForeground, r as prepareSurfaceIndex } from "./accessibleSurfaces-D0q5tLSW.mjs";
3
3
  import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-QymcmOZ-.mjs";
4
- import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-BawlEAd_.mjs";
4
+ import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-Yltv_u7r.mjs";
5
5
  import "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../theme-core/src/cards/decorations.ts
@@ -250,6 +250,20 @@ const RESOLVED_BUTTON_DISABLED_DECLARATIONS = [
250
250
  */
251
251
  const BOOKING_BAR_SELECTOR = ":where([data-block='event-registration']) .er-booking-bar";
252
252
  const opaquePanels = [
253
+ {
254
+ selector: ":where([data-block='offerings-preview']) .event-quick-date",
255
+ paint: {
256
+ kind: "solid",
257
+ token: "surface"
258
+ }
259
+ },
260
+ {
261
+ selector: ":where([data-block='offerings-preview']) .offerings-preview-card--default",
262
+ paint: {
263
+ kind: "solid",
264
+ token: "surface"
265
+ }
266
+ },
253
267
  {
254
268
  selector: ":where([data-block=\"event-registration\"], [data-block=\"appointment-booking\"]) .rb-reg-surface",
255
269
  paint: {
@@ -16578,6 +16592,15 @@ const containerResponsiveThemeCss = `/*
16578
16592
  }
16579
16593
  }
16580
16594
 
16595
+ /* These panels own their paint; opaquePanels publishes its text and button pair. */
16596
+ :where(.theme-scope) :where([data-block='offerings-preview']) .event-quick-date {
16597
+ background: rgb(var(--tb-surface));
16598
+ }
16599
+
16600
+ :where(.theme-scope) :where([data-block='offerings-preview']) .offerings-preview-card--default {
16601
+ background: rgb(var(--tb-surface));
16602
+ }
16603
+
16581
16604
  /* =============================================================================
16582
16605
  * Featured-editorial testimonial compositions, promoted from the Fran André
16583
16606
  * treatment study and keyed on the Look's composition intent.
@@ -614,6 +614,26 @@ function freezeOwnedThemeValue(value) {
614
614
  return value;
615
615
  }
616
616
  //#endregion
617
+ //#region ../core/src/stable-json.ts
618
+ function stableJsonStringify(value) {
619
+ return JSON.stringify(sortStableJsonValue(value));
620
+ }
621
+ function sortStableJsonValue(value) {
622
+ if (value === null) return null;
623
+ if (typeof value === "string" || typeof value === "boolean") return value;
624
+ if (typeof value === "number") {
625
+ if (!Number.isFinite(value)) throw new TypeError("Stable JSON only supports finite numbers");
626
+ return value;
627
+ }
628
+ if (Array.isArray(value)) return value.map(sortStableJsonValue);
629
+ if (typeof value === "object") {
630
+ const prototype = Object.getPrototypeOf(value);
631
+ if (prototype !== Object.prototype && prototype !== null) throw new TypeError("Stable JSON only supports plain objects");
632
+ return Object.fromEntries(Object.entries(value).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([key, child]) => [key, sortStableJsonValue(child)]));
633
+ }
634
+ throw new TypeError(`Stable JSON does not support ${typeof value}`);
635
+ }
636
+ //#endregion
617
637
  //#region ../theme-core/src/utils/tokenOrColor.ts
618
638
  const CSS_COLOR_FUNCTION_PATTERN = /^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix|light-dark)\(/i;
619
639
  const CSS_HEX_COLOR_PATTERN = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
@@ -1807,6 +1827,7 @@ function missingBackgroundSurface(input) {
1807
1827
  }
1808
1828
  const surfaceOwners = /* @__PURE__ */ new WeakSet();
1809
1829
  const preparedIndexOwners = /* @__PURE__ */ new WeakSet();
1830
+ const derivedSurfaceValues = /* @__PURE__ */ new WeakMap();
1810
1831
  const surfaceTransports = /* @__PURE__ */ new WeakMap();
1811
1832
  const revisionOwners = /* @__PURE__ */ new WeakMap();
1812
1833
  const surfaceRevisionOwners = /* @__PURE__ */ new WeakMap();
@@ -1890,7 +1911,16 @@ function preparedSurfaceIndexFor(context) {
1890
1911
  return matchingPreparedSurfaceIndex(context.preparedSurfaces ?? surfaceRevisionOwners.get(context)?.preparedSurfaces, context);
1891
1912
  }
1892
1913
  function preparedSurfaceValue(spec, context) {
1893
- return preparedSurfaceIndexFor(context)?.values[surfaceResolutionKey(spec, context)];
1914
+ const index = preparedSurfaceIndexFor(context);
1915
+ if (!index) return void 0;
1916
+ const key = surfaceResolutionKey(spec, context);
1917
+ const existing = index.values[key] ?? derivedSurfaceValues.get(index)?.get(key);
1918
+ if (existing) return existing;
1919
+ const surface = certifySurface(spec, context);
1920
+ const derived = derivedSurfaceValues.get(index) ?? /* @__PURE__ */ new Map();
1921
+ derived.set(key, surface);
1922
+ derivedSurfaceValues.set(index, derived);
1923
+ return surface;
1894
1924
  }
1895
1925
  function surfaceResolutionKey(spec, context) {
1896
1926
  const declaration = spec.kind === "tint" ? {
@@ -2381,17 +2411,35 @@ function sectionProof(background, foreground) {
2381
2411
  if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return "unproven-media";
2382
2412
  return /\/|rgba\(/.test(background.color ?? "") ? "checked-composited" : "checked-solid";
2383
2413
  }
2384
- /** One theme revision per JSON envelope, shared by all nested Look slots. */
2414
+ const revisionContentKeys = /* @__PURE__ */ new WeakMap();
2415
+ /**
2416
+ * A revision is exactly its palette and button system; solved inks travel with each reference.
2417
+ * The key is taken from the wire form, so fields JSON drops can't split equal revisions.
2418
+ */
2419
+ function revisionContentKey(revision) {
2420
+ const cached = revisionContentKeys.get(revision);
2421
+ if (cached !== void 0) return cached;
2422
+ const key = stableJsonStringify(JSON.parse(JSON.stringify({
2423
+ palette: revision.palette,
2424
+ buttonSystem: revision.buttonSystem ?? null
2425
+ })));
2426
+ revisionContentKeys.set(revision, key);
2427
+ return key;
2428
+ }
2429
+ /**
2430
+ * One theme revision per distinct palette and button system in a JSON envelope, shared by
2431
+ * all nested Look slots. Separately parsed envelopes own equal inputs as different objects.
2432
+ */
2385
2433
  function serializeSurfaceTree(value) {
2386
2434
  const revisions = [];
2387
2435
  const indices = /* @__PURE__ */ new Map();
2388
2436
  const revisionIndex = (revision) => {
2389
- const index = indices.get(revision) ?? revisions.length;
2390
- if (!indices.has(revision)) {
2391
- indices.set(revision, index);
2392
- revisions.push(revision);
2393
- }
2394
- return index;
2437
+ const key = revisionContentKey(revision);
2438
+ const existing = indices.get(key);
2439
+ if (existing !== void 0) return existing;
2440
+ indices.set(key, revisions.length);
2441
+ revisions.push(revision);
2442
+ return revisions.length - 1;
2395
2443
  };
2396
2444
  const encode = (item) => {
2397
2445
  const revision = isSurfaceTreeRecord(item) ? surfaceRevisionOwners.get(item)?.revision : void 0;
@@ -1,4 +1,4 @@
1
- import { Ei as plainTextToInlineText, Fi as isRecord, er as formatDate } from "./registry-Fv-7D8o2.mjs";
1
+ import { Ei as plainTextToInlineText, Fi as isRecord, er as formatDate } from "./registry-7_0_lUrh.mjs";
2
2
  import { i as isRichTextDoc } from "./richTextSchema-DQ2NBP0n.mjs";
3
3
  import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
4
4
  //#region ../blocks/src/bindings/types.ts
@@ -1,7 +1,7 @@
1
- import { n as parseSurfaceTree } from "./accessibleSurfaces-108nxyGc.mjs";
1
+ import { n as parseSurfaceTree } from "./accessibleSurfaces-D0q5tLSW.mjs";
2
2
  import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-t6gs0cB7.mjs";
3
3
  import { t as parseSiteId } from "./identity-20XHqyuO.mjs";
4
- import { t as SDK_VERSION } from "./version-D_W2mt8w.mjs";
4
+ import { t as SDK_VERSION } from "./version-DWeqmTXc.mjs";
5
5
  import { z } from "zod";
6
6
  const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
7
7
  function availability(transport) {
@@ -1414,6 +1414,30 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1414
1414
  "server:internal_error"
1415
1415
  ]
1416
1416
  },
1417
+ refundAppointment: {
1418
+ path: "/sites/{siteId}/bookings/appointments/{appointmentId}/refund",
1419
+ method: "POST",
1420
+ auth: "user",
1421
+ responseKind: "json",
1422
+ errors: [
1423
+ "validation:invalid_input",
1424
+ "resource:not_found",
1425
+ "auth:forbidden",
1426
+ "resource:conflict",
1427
+ "server:internal_error"
1428
+ ]
1429
+ },
1430
+ listAppointmentRefunds: {
1431
+ path: "/sites/{siteId}/bookings/appointments/{appointmentId}/refunds",
1432
+ method: "GET",
1433
+ auth: "user",
1434
+ responseKind: "json",
1435
+ errors: [
1436
+ "resource:not_found",
1437
+ "auth:forbidden",
1438
+ "server:internal_error"
1439
+ ]
1440
+ },
1417
1441
  setAppointmentNoShow: {
1418
1442
  path: "/sites/{siteId}/bookings/appointments/{appointmentId}/no-show",
1419
1443
  method: "POST",
@@ -3578,6 +3602,18 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3578
3602
  * person when nothing is attached to them.
3579
3603
  */
3580
3604
  const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3605
+ getPersonBookingsPage: {
3606
+ path: "/sites/{siteId}/bookings/people/{personId}/bookings",
3607
+ method: "GET",
3608
+ tags: ["site-{siteId}", "customers-{siteId}"],
3609
+ auth: "user",
3610
+ responseKind: "json",
3611
+ errors: [
3612
+ "auth:forbidden",
3613
+ "resource:not_found",
3614
+ "server:internal_error"
3615
+ ]
3616
+ },
3581
3617
  previewPersonRemoval: {
3582
3618
  path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
3583
3619
  method: "GET",
@@ -1,2 +1,2 @@
1
- import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-DddhgNdb.mjs";
1
+ import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-CSMS6XmP.mjs";
2
2
  export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
@@ -1,4 +1,4 @@
1
- import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-DddhgNdb.mjs";
1
+ import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-CSMS6XmP.mjs";
2
2
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
3
3
  //#region ../core/src/rich-text.ts
4
4
  function isRecord(value) {
@@ -1,2 +1,2 @@
1
- import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-xPgkvoWS.mjs";
1
+ import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-q3WnpvyZ.mjs";
2
2
  export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
@@ -1,8 +1,8 @@
1
1
  import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
2
- import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-DzCxEl3L.mjs";
2
+ import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-C-asG6Cf.mjs";
3
3
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
4
4
  import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
5
- import { t as prebuildCache } from "./prebuild-C5ZYo7wA.mjs";
5
+ import { t as prebuildCache } from "./prebuild-C0m4KOT9.mjs";
6
6
  import * as path from "path";
7
7
  import * as fs from "fs";
8
8
  //#region src/prebuild/loader.ts
@@ -1,8 +1,8 @@
1
- import { Fi as isRecord, Gn as resolveDateRuntimeContext } from "./registry-Fv-7D8o2.mjs";
2
- import { E as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-BU8pwTNx.mjs";
3
- import { t as applyBindingsToContent } from "./bindings-TAQbo2P5.mjs";
1
+ import { Fi as isRecord, Gn as resolveDateRuntimeContext } from "./registry-7_0_lUrh.mjs";
2
+ import { E as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-g-K-FCHa.mjs";
3
+ import { t as applyBindingsToContent } from "./bindings-CAbTvrCZ.mjs";
4
4
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
5
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-xPgkvoWS.mjs";
5
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-q3WnpvyZ.mjs";
6
6
  //#region ../content-model/src/entry-slots/types.ts
7
7
  function ok(value) {
8
8
  return {
@@ -1,7 +1,7 @@
1
- import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BU8pwTNx.mjs";
1
+ import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-g-K-FCHa.mjs";
2
2
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
3
3
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
4
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-xPgkvoWS.mjs";
4
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-q3WnpvyZ.mjs";
5
5
  //#region src/rendering/helpers/loadPage.ts
6
6
  /**
7
7
  * Server-side helper to fetch all data needed for <Page> component.
@@ -1,16 +1,16 @@
1
- import { So as resolveBookingBusinessTimeZone, mo as inferSiteDateLocale, wo as toUtcIsoDateTimeString } from "./registry-Fv-7D8o2.mjs";
2
- import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-CSOJ8p8E.mjs";
3
- import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-DzCxEl3L.mjs";
1
+ import { So as resolveBookingBusinessTimeZone, mo as inferSiteDateLocale, wo as toUtcIsoDateTimeString } from "./registry-7_0_lUrh.mjs";
2
+ import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-7mPhqqXX.mjs";
3
+ import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-C-asG6Cf.mjs";
4
4
  import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
5
5
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
6
6
  import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
7
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BO1M9Hdf.mjs";
7
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-DKerbSnI.mjs";
8
8
  import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
9
9
  import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
10
10
  import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
11
- import { t as SDK_VERSION } from "./version-D_W2mt8w.mjs";
11
+ import { t as SDK_VERSION } from "./version-DWeqmTXc.mjs";
12
12
  import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
13
- import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-fxuB1zZg.mjs";
13
+ import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-Z5pwH-kz.mjs";
14
14
  import "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1,5 +1,5 @@
1
1
  import { $ as SURFACE_INK_CSS_VARS, A as expandPalette, Et as parseThemeColorToken, Q as SURFACE_FOREGROUND_CSS_VARS, ft as rgbColorValue, ot as surfaceInkDeclarations, tt as surfaceForegroundDeclarations, z as preparePaletteColourIndex } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
2
- import { A as ownedThemeSnapshot, i as requireResolvedSurface, k as freezeOwnedThemeValue, p as contextualButtonSurfaceResetStyles } from "./accessibleSurfaces-108nxyGc.mjs";
2
+ import { A as ownedThemeSnapshot, i as requireResolvedSurface, k as freezeOwnedThemeValue, p as contextualButtonSurfaceResetStyles } from "./accessibleSurfaces-D0q5tLSW.mjs";
3
3
  //#region ../theme-core/src/surfaces/opaqueSurface.ts
4
4
  function opaqueSurfaceContextFromTheme(theme) {
5
5
  const palette = freezeOwnedThemeValue(expandPalette(theme.palette));
@@ -1,4 +1,4 @@
1
- import { t as PageContent } from "./pageShared-CSOJ8p8E.mjs";
1
+ import { t as PageContent } from "./pageShared-7mPhqqXX.mjs";
2
2
  import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/rendering/components/Page.server.tsx
@@ -1,4 +1,4 @@
1
- import { Ur as parseBackgroundContent, n as listBlockDescriptors } from "./registry-Fv-7D8o2.mjs";
1
+ import { Ur as parseBackgroundContent, n as listBlockDescriptors } from "./registry-7_0_lUrh.mjs";
2
2
  import { r as createRichTextDoc } from "./richTextSchema-DQ2NBP0n.mjs";
3
3
  import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
4
4
  import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
@@ -1,14 +1,14 @@
1
1
  import { Et as parseThemeColorToken, G as oklabToOklch, K as oklabToSrgb, L as contrastRatio, N as getTextColorForBackground, W as hexToRgb, X as srgbToOklab, Y as rgbToHex, q as oklchToHexGamut } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
2
- import { $n as formattingTransforms, $r as lookCarouselRegionTransform, Bi as resolveLookSurfacePresentation, Bn as contentTransforms, Bt as weekColumnDays, Ca as assertNever, Cn as isEventFull, F as combinedLookSchema, G as resolveCalendarReadProfile, Gi as arrangementAppearancePresets, Gr as parseRuntimeBackgroundContent, Gt as eventCalendarWeekStart, Hi as heroPhotoPaintsGround, J as CardListContentPart, Ji as readStoredMode, Jn as chromeLogoTransforms, Jr as resolveBackgroundColorValue, Kn as mediaTransforms, Kr as resolveSectionSurfaceForeground, Kt as eventDateOptions, Ni as augmentManifest, Oa as cardListFamilyBlocks, Pi as isObjectRecord, Po as arrangementSlotNames, Pt as ThemedButtonLink, Q as MediaNodeServer, Qi as deriveSiteStyleBlockPolicy, Qn as uiTransforms, Qr as getAnchorClasses, Qt as formatEventDateParts, Rt as buildEventListWeek, Sa as resolveEffectiveKnobs, Sn as getEventAvailabilityStatus, So as resolveBookingBusinessTimeZone, Ur as parseBackgroundContent, Ut as formatEventPriceDisplay, Vt as formatEventPrice, Wn as readRuntimeNow, Wr as parseBackgroundOverlay, X as resolveCardListSchedule, Xi as resolveModeArrangement, Xr as standardImageShapeOptions, Y as CardListLeadDate, Yi as resolveEffectiveArrangement, Yn as layoutTransforms, Z as selectCardListPresentation, Za as orderedLiveRunSessions, Zi as resolvePublishedLook, Zn as resolveHeroTitleLength, Zr as BACKGROUND_POSITION_PRESET_VALUES, Zt as formatEventCompactDateRail, _a as parseCanonicalRuntimeBackground, _o as compareLocalScheduleDates, _r as standardAspectRatioOptions, _t as eventCalendarListGroupingDecision, ba as stripStaleTransitionStyleGroup, bn as formatTotalCapacity, bo as parseBookingLocalDate, br as heroTitleSizeOptions, cn as formatDateKey, da as sectionShapeHook, do as formatDate, dr as listItemPresentation, ei as lookLeadSlotTransform, et as ImagePresets, fa as boundaryRuntimeMetricsForDecorativeTransition, fo as formatDateRange, ft as resolveEventSelection, ga as deriveSectionGround, gi as ClockIcon, gn as formatBookingSchedulePresentation, ha as applyLookPhotoTreatment, hn as resolveRuntimeEventDestination, ii as createTransformRegistry, in as resolveEventTimeZone, ka as cardListKnobBlocks, la as sectionShapeForGround, mn as isToday, ni as lookSkinSlotTransform, nn as formatTime, nt as computeMediaTransformStyle, po as formatDateTimeRange, pr as listLookSlot, qi as arrangementManifestFromVariants, qn as headerRuntimeTransforms, qr as resolveSurfaceForegroundStyles, qt as eventLocalDateKey, ri as asPartialObject, t as getBlockDefinition, ti as lookQuoteLimitTransform, tn as formatEventTimeRange, tr as eventCalendarListLayoutCompatibleDisplayModeValues, ua as sectionShapeFromContent, va as resolveSectionBackground, vn as canJoinEventWaitlistOnAnyMode, vt as eventCalendarListLayoutOptions, wo as toUtcIsoDateTimeString, xa as themeV2CompilerOwnedFieldNames, ya as sectionSurfaceBase, yn as formatEventRemainingPlaces, yo as getLocalScheduleDate, yt as resolveEventCalendarReadPlan, zi as lookPresentationOnPalette, zr as boxStylesTransforms } from "./registry-Fv-7D8o2.mjs";
3
- import { B as resolveConcreteColorHex, E as resolveOnColorForThemeToken, O as resolveTokenOrCssColorValue, T as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-108nxyGc.mjs";
2
+ import { $n as formattingTransforms, $r as lookCarouselRegionTransform, Bi as resolveLookSurfacePresentation, Bn as contentTransforms, Bt as weekColumnDays, Ca as assertNever, Cn as isEventFull, F as combinedLookSchema, G as resolveCalendarReadProfile, Gi as arrangementAppearancePresets, Gr as parseRuntimeBackgroundContent, Gt as eventCalendarWeekStart, Hi as heroPhotoPaintsGround, J as CardListContentPart, Ji as readStoredMode, Jn as chromeLogoTransforms, Jr as resolveBackgroundColorValue, Kn as mediaTransforms, Kr as resolveSectionSurfaceForeground, Kt as eventDateOptions, Ni as augmentManifest, Oa as cardListFamilyBlocks, Pi as isObjectRecord, Po as arrangementSlotNames, Pt as ThemedButtonLink, Q as MediaNodeServer, Qi as deriveSiteStyleBlockPolicy, Qn as uiTransforms, Qr as getAnchorClasses, Qt as formatEventDateParts, Rt as buildEventListWeek, Sa as resolveEffectiveKnobs, Sn as getEventAvailabilityStatus, So as resolveBookingBusinessTimeZone, Ur as parseBackgroundContent, Ut as formatEventPriceDisplay, Vt as formatEventPrice, Wn as readRuntimeNow, Wr as parseBackgroundOverlay, X as resolveCardListSchedule, Xi as resolveModeArrangement, Xr as standardImageShapeOptions, Y as CardListLeadDate, Yi as resolveEffectiveArrangement, Yn as layoutTransforms, Z as selectCardListPresentation, Za as orderedLiveRunSessions, Zi as resolvePublishedLook, Zn as resolveHeroTitleLength, Zr as BACKGROUND_POSITION_PRESET_VALUES, Zt as formatEventCompactDateRail, _a as parseCanonicalRuntimeBackground, _o as compareLocalScheduleDates, _r as standardAspectRatioOptions, _t as eventCalendarListGroupingDecision, ba as stripStaleTransitionStyleGroup, bn as formatTotalCapacity, bo as parseBookingLocalDate, br as heroTitleSizeOptions, cn as formatDateKey, da as sectionShapeHook, do as formatDate, dr as listItemPresentation, ei as lookLeadSlotTransform, et as ImagePresets, fa as boundaryRuntimeMetricsForDecorativeTransition, fo as formatDateRange, ft as resolveEventSelection, ga as deriveSectionGround, gi as ClockIcon, gn as formatBookingSchedulePresentation, ha as applyLookPhotoTreatment, hn as resolveRuntimeEventDestination, ii as createTransformRegistry, in as resolveEventTimeZone, ka as cardListKnobBlocks, la as sectionShapeForGround, mn as isToday, ni as lookSkinSlotTransform, nn as formatTime, nt as computeMediaTransformStyle, po as formatDateTimeRange, pr as listLookSlot, qi as arrangementManifestFromVariants, qn as headerRuntimeTransforms, qr as resolveSurfaceForegroundStyles, qt as eventLocalDateKey, ri as asPartialObject, t as getBlockDefinition, ti as lookQuoteLimitTransform, tn as formatEventTimeRange, tr as eventCalendarListLayoutCompatibleDisplayModeValues, ua as sectionShapeFromContent, va as resolveSectionBackground, vn as canJoinEventWaitlistOnAnyMode, vt as eventCalendarListLayoutOptions, wo as toUtcIsoDateTimeString, xa as themeV2CompilerOwnedFieldNames, ya as sectionSurfaceBase, yn as formatEventRemainingPlaces, yo as getLocalScheduleDate, yt as resolveEventCalendarReadPlan, zi as lookPresentationOnPalette, zr as boxStylesTransforms } from "./registry-7_0_lUrh.mjs";
3
+ import { B as resolveConcreteColorHex, E as resolveOnColorForThemeToken, O as resolveTokenOrCssColorValue, T as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-D0q5tLSW.mjs";
4
4
  import { I as asLayoutVariantKey, P as asDesignBlockId, R as asSiteStyleId, z as makeBoundaryId } from "./headerVariant-8O5MvxIU.mjs";
5
5
  import { o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
6
6
  import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
7
7
  import { a as isRecord$1 } from "./richTextSchema-DQ2NBP0n.mjs";
8
8
  import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
9
- import { z } from "zod";
10
9
  import React from "react";
11
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
+ import { z } from "zod";
12
12
  //#region ../theme-core/src/tokens/tokens.ts
13
13
  const defaultThemeTokens = {
14
14
  color: {
@@ -3780,21 +3780,22 @@ function planPageRender(input, previous = null) {
3780
3780
  const reusable = previous && samePlanSettings(previous.input, input) ? previous : null;
3781
3781
  const planned = input.page.blocks.map((block) => [block, reusable?.outcomes.get(block) ?? planPageBlock(block, input, resolveTarget)]);
3782
3782
  const outcomes = planned.map(([, outcome]) => outcome);
3783
- const entries = outcomes.flatMap((outcome) => outcome.kind === "admitted" ? [outcome.entry] : []);
3784
- const rhythmic = entries.map((entry, position) => {
3783
+ const rhythmic = outcomes.flatMap((outcome) => outcome.kind === "admitted" ? [outcome.entry] : []).map((entry, position) => {
3785
3784
  const cached = reusable?.rhythm.get(entry);
3786
3785
  return [entry, {
3787
3786
  position,
3788
3787
  entry: cached?.position === position ? cached.entry : applyArrangementRhythm(entry, position)
3789
3788
  }];
3790
3789
  });
3790
+ const hidden = new Set(input.hiddenBlockIds);
3791
+ const visibleEntries = rhythmic.map(([, value]) => value.entry).filter((entry) => !entry.block.id || !hidden.has(entry.block.id));
3791
3792
  const plan = {
3792
- entries: rhythmic.map(([, value]) => value.entry),
3793
+ entries: visibleEntries,
3793
3794
  omitted: outcomes.flatMap((outcome) => outcome.kind === "omitted" ? [outcome.omission] : []),
3794
3795
  runtimeJoins: retargetJoinsAcrossOmissions({
3795
3796
  joins: input.runtimeJoins ?? [],
3796
3797
  originalBlocks: input.page.blocks,
3797
- survivingBlocks: new Set(entries.map((entry) => entry.block))
3798
+ survivingBlocks: new Set(visibleEntries.map((entry) => entry.block))
3798
3799
  })
3799
3800
  };
3800
3801
  return {
@@ -1,4 +1,4 @@
1
- import { Ba as resolveRepeaterGridColumnFieldId, Ci as inlineTextToPlainText, Di as normalizeSelectSource, Ei as plainTextToInlineText, Ha as resolveRepeaterGridSpanFieldId, Ja as isRecord$1, Ma as DEFAULT_MEDIA_FIELD_KINDS, No as parseContentVersionId, Ra as isAcceptedRepeaterGridSpan, So as resolveBookingBusinessTimeZone, Ti as parseInlineTextFromUnknown, Va as resolveRepeaterGridRowFieldId, ao as locationValueSchema, c as sanitizeNewsletterSignupPublicContent, co as publicLocationSchema, ji as linkSchema, ki as parseFieldDefinitions, lo as trimmedStringOrNull, so as projectPublicLocation, t as getBlockDefinition, ui as parseBlockIconValue, wo as toUtcIsoDateTimeString, za as parseRepeaterGridInteger } from "./registry-Fv-7D8o2.mjs";
1
+ import { Ba as resolveRepeaterGridColumnFieldId, Ci as inlineTextToPlainText, Di as normalizeSelectSource, Ei as plainTextToInlineText, Ha as resolveRepeaterGridSpanFieldId, Ja as isRecord$1, Ma as DEFAULT_MEDIA_FIELD_KINDS, No as parseContentVersionId, Ra as isAcceptedRepeaterGridSpan, So as resolveBookingBusinessTimeZone, Ti as parseInlineTextFromUnknown, Va as resolveRepeaterGridRowFieldId, ao as locationValueSchema, c as sanitizeNewsletterSignupPublicContent, co as publicLocationSchema, ji as linkSchema, ki as parseFieldDefinitions, lo as trimmedStringOrNull, so as projectPublicLocation, t as getBlockDefinition, ui as parseBlockIconValue, wo as toUtcIsoDateTimeString, za as parseRepeaterGridInteger } from "./registry-7_0_lUrh.mjs";
2
2
  import { a as runtimeBoxBackgroundSchema, i as boxBackgroundSchema } from "./headerVariant-8O5MvxIU.mjs";
3
3
  import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
4
4
  import { i as isRichTextDoc } from "./richTextSchema-DQ2NBP0n.mjs";