@riverbankcms/sdk 0.167.0 → 0.169.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 (235) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-DHBBDRC_.d.ts} +7 -6
  3. package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
  4. package/dist/_dts/{client-CwsI23pj.d.ts → client-MURxFla9.d.ts} +90 -418
  5. package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
  6. package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CHNvzh0y.d.ts} +6 -4
  7. package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
  9. package/dist/_dts/{index-CS6b1B-c.d.ts → index-BaDqRekr.d.ts} +4 -4
  10. package/dist/_dts/{index-bDln38Hm.d.ts → index-CVB5wgbz.d.ts} +2 -2
  11. package/dist/_dts/{index-D7EbliE3.d.ts → index-CiR_oPYT.d.ts} +3 -3
  12. package/dist/_dts/{index-5_jf52sZ.d.ts → index-CovKPftP.d.ts} +2 -2
  13. package/dist/_dts/{index-C20yUyob.d.ts → index-DCw8LO4M.d.ts} +1 -1
  14. package/dist/_dts/index-DDaX-K2D.d.ts +14 -0
  15. package/dist/_dts/{index-DeHDwMfu.d.ts → index-rfAssXq0.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
  17. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
  18. package/dist/_dts/{index-ChpjHK0U.d.ts → request-DeVetKBr.d.ts} +81273 -46979
  19. package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-D8MZWyNO.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  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 +2 -2
  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 +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -5
  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 +1 -1
  54. package/dist/_dts/{types-BlaCuPLr.d.ts → types-B4MBlP_B.d.ts} +4 -2
  55. package/dist/_dts/{types-D-WElMCy.d.ts → types-Fj31kIi2.d.ts} +7 -7
  56. package/dist/_dts/{types-CwtTcaQP.d.ts → types-OwqfS8Gn.d.ts} +3 -3
  57. package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +21 -21
  59. package/dist/client/BookingMailingListNote-y3qWjnOo.mjs +957 -0
  60. package/dist/client/BookingQuestionFields-DjLjd0vc.mjs +359 -0
  61. package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +8 -8
  62. package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +68 -12
  64. package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-DDjz7tuX.mjs} +10 -10
  65. package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-CeYbNsch.mjs} +9 -9
  66. package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
  67. package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-B5J0IeF4.mjs} +37 -15
  68. package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
  69. package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
  70. package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-BYBaElec.mjs} +34 -16
  71. package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +362 -90
  72. package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-BFp2uQQQ.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
  74. package/dist/client/{Page-D4_H_u9V.mjs → Page-Dv9eIOGr.mjs} +4475 -1600
  75. package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
  76. package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-BZNUd0-v.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
  78. package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
  79. package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
  80. package/dist/client/{accordion--EUHmEGa.mjs → accordion-BCtVxnDZ.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-Cr5G-HHO.mjs} +1323 -567
  82. package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-B1Fc62Sl.mjs} +9 -5
  83. package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
  84. package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
  85. package/dist/client/bookings.mjs +28 -20
  86. package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DW-HgjvT.mjs} +3 -3
  87. package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
  88. package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
  89. package/dist/client/{cart-CCZZC-Lq.mjs → cart-D1zWe4R7.mjs} +3 -3
  90. package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-CIfbTLHS.mjs} +1 -1
  91. package/dist/client/{checkout-CipmYL4A.mjs → checkout-fDCNZ3IT.mjs} +3 -3
  92. package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
  94. package/dist/client/client.mjs +287 -63
  95. package/dist/client/{context-Cv3QHjAF.mjs → context-DQnTyApV.mjs} +320 -4
  96. package/dist/client/creditProducts-CMOmhWm2.mjs +364 -0
  97. package/dist/client/{cta-P2vJVTEn.mjs → cta-Bj5WHgcv.mjs} +2 -2
  98. package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
  100. package/dist/client/{site-styles-D56hT2u1.mjs → display-CT8KMSpH.mjs} +19832 -17912
  101. package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-B27KFGDv.mjs} +4 -3
  102. package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
  103. package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-Dj3Kyp5X.mjs} +118 -241
  104. package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
  105. package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
  106. package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzMskXYA.mjs} +2 -2
  107. package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CpFFcAUr.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
  109. package/dist/client/{form-Bw1uuiUs.mjs → form-57k2JQnm.mjs} +3 -3
  110. package/dist/client/{form.client-pZ-9gN33.mjs → form.client-CCl6CpRJ.mjs} +5 -5
  111. package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-BOJ1yDDf.mjs} +3 -3
  112. package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-BGlhrmhF.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-q_bEzfhW.mjs} +2 -2
  115. package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
  116. package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
  117. package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-CiqKAmPs.mjs} +6 -6
  118. package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-x1RzAMNO.mjs} +2 -2
  119. package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
  120. package/dist/client/{noop-ByVtIWf4.mjs → noop-B_f7RqLD.mjs} +544 -494
  121. package/dist/client/portal/client.mjs +86 -231
  122. package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
  123. package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
  124. package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
  125. package/dist/client/{productList-B21TGdpT.mjs → productList-C0MLeh-v.mjs} +3 -3
  126. package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-CAmEkJ6Y.mjs} +5 -4
  127. package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Bf2YX_4v.mjs} +2218 -2435
  128. package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
  129. package/dist/client/rendering/client.mjs +30 -30
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +10 -9
  132. package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-BTurYEao.mjs} +1 -1
  133. package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
  134. package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
  135. package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
  136. package/dist/client/{shop-mqyoOvOK.mjs → shop-Dkn6EasY.mjs} +3 -3
  137. package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-bo0Z6kwf.mjs} +13 -13
  138. package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
  139. package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-B_GqU6_U.mjs} +111 -32
  140. package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C6L_Ig5F.mjs} +87 -528
  141. package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-BozhJ43Z.mjs +3 -0
  144. package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
  145. package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
  146. package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-D62jfOxZ.mjs} +12 -12
  147. package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
  148. package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
  149. package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-Ca2pHUDu.mjs} +6 -4
  150. package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
  151. package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-uxnUWI2v.mjs} +7 -7
  152. package/dist/client/{view-BN-fxyfq.mjs → view-B6KSxQMO.mjs} +11 -7
  153. package/dist/client/{view-Dh2tGoS0.mjs → view-SVnWic7i.mjs} +3 -4
  154. package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-kbdqYkWM.mjs} +26 -17
  155. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
  156. package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
  157. package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
  158. package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +212 -55
  159. package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-yyD-ZREP.mjs} +6 -6
  160. package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-YauP65Gi.mjs} +199 -155
  161. package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +32 -32
  162. package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +4772 -3687
  163. package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
  164. package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
  165. package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-DSR0IdAw.mjs} +16547 -13046
  166. package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
  167. package/dist/preview-next/client/runtime.mjs +3 -3
  168. package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
  169. package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
  170. package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
  171. package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +2 -2
  172. package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +2 -2
  173. package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-CK-GWb9k.mjs} +1 -1
  174. package/dist/preview-next/keepAlive.mjs +1 -1
  175. package/dist/preview-next/middleware.mjs +1 -1
  176. package/dist/preview-next/{route-contract-Bv3nkdpV.mjs → route-contract-BU1m9SV3.mjs} +212 -0
  177. package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-4vx7wzxj.mjs} +5 -5
  178. package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-C3HLgqBF.mjs} +463 -127
  179. package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
  180. package/dist/server/{bindings-ConMYJ2U.mjs → bindings-TAQbo2P5.mjs} +2 -2
  181. package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
  182. package/dist/server/{client-Cot-H5fQ.mjs → client-DzCxEl3L.mjs} +308 -61
  183. package/dist/server/config-validation.mjs +1 -1
  184. package/dist/server/config.mjs +1 -1
  185. package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
  186. package/dist/server/data/resolveBlockData.mjs +1 -1
  187. package/dist/server/headerVariant-8O5MvxIU.mjs +464 -0
  188. package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
  189. package/dist/server/index.mjs +3 -3
  190. package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-BO1M9Hdf.mjs} +4 -5
  191. package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-BvWzmZcD.mjs} +2 -2
  192. package/dist/server/manifest.mjs +1 -1
  193. package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
  194. package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
  195. package/dist/server/next.mjs +6 -6
  196. package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
  197. package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
  198. package/dist/server/page-converter.mjs +3 -3
  199. package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-DzduDSqY.mjs} +255 -158
  200. package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +291 -5
  201. package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-CSOJ8p8E.mjs} +1303 -907
  202. package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-BebSeE17.mjs} +593 -1592
  203. package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
  204. package/dist/server/prebuild.mjs +1 -1
  205. package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-BvbxqeKn.mjs} +5 -4
  206. package/dist/server/{registry-BPFcpn6k.mjs → registry-Fv-7D8o2.mjs} +4595 -4045
  207. package/dist/server/rendering/components/pageShared.mjs +1 -1
  208. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  209. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  210. package/dist/server/rendering/server.mjs +3 -3
  211. package/dist/server/rendering.mjs +8 -8
  212. package/dist/server/{resolveBlockData-BHvfGD4y.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
  213. package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
  214. package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
  215. package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
  216. package/dist/server/server.mjs +3 -3
  217. package/dist/server/theme-bridge.mjs +2 -3
  218. package/dist/server/theme.mjs +1 -2
  219. package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
  220. package/dist/server/{validation-bl6WcAi_.mjs → validation-DddhgNdb.mjs} +58 -9
  221. package/dist/server/{version-BLXZ31S-.mjs → version-D_W2mt8w.mjs} +1 -1
  222. package/dist/styles/index.css +342 -67
  223. package/package.json +4 -3
  224. package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
  225. package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
  226. package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
  227. package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
  228. package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
  229. package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
  230. package/dist/client/src-CdRISvQp.mjs +0 -3
  231. package/dist/client/src-DjnxOjXG.mjs +0 -217
  232. package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
  233. package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
  234. package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
  235. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
@@ -0,0 +1,464 @@
1
+ import { Dt as themeColorTokenSchema } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
2
+ import { n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-Brn9FW5s.mjs";
3
+ import { z } from "zod";
4
+ //#region ../site-contracts/src/identity/designIds.ts
5
+ function asDesignBlockId(value) {
6
+ return brandNonEmptyString(value, "DesignBlockId");
7
+ }
8
+ function asDesignBoundaryId(value) {
9
+ const boundaryId = brandNonEmptyString(value, "DesignBoundaryId");
10
+ if (!boundaryId.startsWith("boundary:")) throw new Error(`DesignBoundaryId must start with "boundary:". Received: ${value}`);
11
+ return boundaryId;
12
+ }
13
+ function asLayoutVariantKey(value) {
14
+ return brandNonEmptyString(value, "LayoutVariantKey");
15
+ }
16
+ function asAppearancePresetId(value) {
17
+ return brandNonEmptyString(value, "AppearancePresetId");
18
+ }
19
+ function asBoundaryOptionId(value) {
20
+ return brandNonEmptyString(value, "BoundaryOptionId");
21
+ }
22
+ function asPageFlowPresetId(value) {
23
+ return brandNonEmptyString(value, "PageFlowPresetId");
24
+ }
25
+ function asSiteStyleId(value) {
26
+ const siteStyleId = brandNonEmptyString(value, "SiteStyleId");
27
+ if (!siteStyleId.startsWith("site-style:")) throw new Error(`SiteStyleId must start with "site-style:". Received: ${value}`);
28
+ return siteStyleId;
29
+ }
30
+ function asDesignSystemTemplateId(value) {
31
+ return brandNonEmptyString(value, "DesignSystemTemplateId");
32
+ }
33
+ function makeBoundaryId(previousBlockId, nextBlockId) {
34
+ return asDesignBoundaryId(`boundary:${encodeURIComponent(previousBlockId)}:${encodeURIComponent(nextBlockId)}`);
35
+ }
36
+ function brandNonEmptyString(value, label) {
37
+ if (value.length === 0) throw new Error(`${label} must be a non-empty string.`);
38
+ return value;
39
+ }
40
+ //#endregion
41
+ //#region ../site-contracts/src/identity/presentationVocabulary.ts
42
+ const arrangementModes = [
43
+ "list",
44
+ "calendar",
45
+ "week",
46
+ "combined"
47
+ ];
48
+ function isArrangementMode(value) {
49
+ return value === "list" || value === "calendar" || value === "week" || value === "combined";
50
+ }
51
+ const tileTreatmentValues = [
52
+ "default",
53
+ "quiet",
54
+ "brand-depth"
55
+ ];
56
+ const eventListTreatmentValues = [
57
+ "plain",
58
+ "lined-panel",
59
+ "ruled-register",
60
+ "editorial-register",
61
+ "dense-index"
62
+ ];
63
+ const eyebrowTreatmentValues = [
64
+ "plain",
65
+ "accent",
66
+ "pill",
67
+ "accent-pill",
68
+ "pill-bounce",
69
+ "accent-pill-bounce"
70
+ ];
71
+ const visibleHeadingDecorationFamilyValues = ["organic-squiggle", "short-center-rule"];
72
+ const headingDecorationOverrideValues = ["site-default", "off"];
73
+ const headingDecorationColorTokenValues = [
74
+ "text",
75
+ "primary",
76
+ "secondary",
77
+ "accent",
78
+ "border",
79
+ "muted"
80
+ ];
81
+ const accordionIconSetValues = [
82
+ "plus",
83
+ "chevron",
84
+ "caret",
85
+ "minimal-cross"
86
+ ];
87
+ const accordionIconColorTokenValues = [
88
+ "text",
89
+ "muted",
90
+ "primary",
91
+ "secondary",
92
+ "accent",
93
+ "current"
94
+ ];
95
+ const accordionIconMotionValues = [
96
+ "none",
97
+ "rotate",
98
+ "swap"
99
+ ];
100
+ //#endregion
101
+ //#region ../site-contracts/src/identity/siteStyleLooks.ts
102
+ /** Deterministic fallback order; Fulcrum is the default. */
103
+ const bookingPageLookIdValues = [
104
+ "site-style:fulcrum",
105
+ "site-style:folio",
106
+ "site-style:measure",
107
+ "site-style:lantern",
108
+ "site-style:poster",
109
+ "site-style:loom",
110
+ "site-style:brook",
111
+ "site-style:poise"
112
+ ];
113
+ function asFooterLookId(value) {
114
+ return value;
115
+ }
116
+ function asHeaderLayoutId(value) {
117
+ return value;
118
+ }
119
+ function asHeaderStyleId(value) {
120
+ return value;
121
+ }
122
+ const pageDesignEditorBackgroundOverrideOwner = "page-design-editor";
123
+ const siteChromeBackgroundOverrideOwner = "site-chrome-editor";
124
+ //#endregion
125
+ //#region ../site-contracts/src/theme/cards.ts
126
+ /** Arrangement Looks can request only these shared item roles. */
127
+ const itemRoleValues = [
128
+ "card",
129
+ "statement",
130
+ "highlight"
131
+ ];
132
+ const cardVariantRoleValues = ["default", "alternative"];
133
+ const boxlessCardVariantValue = "none";
134
+ const openCardRoleValue = "open";
135
+ /**
136
+ * The roles a site style implements with an actual card variant. `none` is
137
+ * deliberately absent: it is a role value only, never a variant.
138
+ */
139
+ const surfaceCardRoleValues = [...cardVariantRoleValues, openCardRoleValue];
140
+ /**
141
+ * The closed role vocabulary Looks and blocks use for surfaced and boxless
142
+ * card choices.
143
+ *
144
+ * - `none` — no site-style card surface; the block's own composition and
145
+ * the author's own card fields govern the item. This is *not*
146
+ * a promise of visible boxlessness: a block whose base class
147
+ * draws a border still draws one. It says the Look is not
148
+ * asking the site style for a card.
149
+ * - `open` — boxless but marked (a rule or accent edge, no enclosing box)
150
+ * - `default` — the site's quiet everyday card
151
+ * - `alternative` — the statement card carrying the site's personality
152
+ */
153
+ const cardRoleValues = [...surfaceCardRoleValues, boxlessCardVariantValue];
154
+ const cardSpacingSchema = z.enum([
155
+ "none",
156
+ "compact",
157
+ "cozy",
158
+ "medium",
159
+ "comfortable",
160
+ "spacious"
161
+ ]);
162
+ /** Per-axis padding, for boxless cards whose inline padding differs from block. */
163
+ const cardSpacingAxesSchema = z.object({
164
+ block: cardSpacingSchema,
165
+ inline: cardSpacingSchema
166
+ });
167
+ /**
168
+ * A card's content padding: one value for both axes, or one per axis. Two
169
+ * fields would let a variant say both and leave the reader to guess, so this is
170
+ * a union.
171
+ */
172
+ const cardSpacingValueSchema = z.union([cardSpacingSchema, cardSpacingAxesSchema]);
173
+ const gradientDirectionSchema = z.enum([
174
+ "to-r",
175
+ "to-l",
176
+ "to-t",
177
+ "to-b",
178
+ "to-tr",
179
+ "to-tl",
180
+ "to-br",
181
+ "to-bl"
182
+ ]);
183
+ const surfaceCardRoleSchema = z.enum(surfaceCardRoleValues);
184
+ const cardRoleSchema = z.enum(cardRoleValues);
185
+ const cardBackgroundSchema = z.discriminatedUnion("type", [
186
+ z.object({
187
+ type: z.literal("solid"),
188
+ colorToken: themeColorTokenSchema
189
+ }),
190
+ z.object({
191
+ type: z.literal("gradient"),
192
+ fromToken: themeColorTokenSchema,
193
+ toToken: themeColorTokenSchema,
194
+ direction: gradientDirectionSchema
195
+ }),
196
+ z.object({ type: z.literal("transparent") })
197
+ ]);
198
+ const cardBorderSchema = z.object({
199
+ widthClass: z.string(),
200
+ colorToken: themeColorTokenSchema
201
+ });
202
+ /** Per-corner radius value. `expressive` is a large block-radius multiple. */
203
+ const cardCornerValueSchema = z.enum([
204
+ "square",
205
+ "soft",
206
+ "rounded",
207
+ "pill",
208
+ "expressive"
209
+ ]);
210
+ const cardEdgeSchema = z.enum([
211
+ "left",
212
+ "top",
213
+ "right",
214
+ "bottom"
215
+ ]);
216
+ /** `hairline` (1px) is the widening the boxless `open` role needs. */
217
+ const cardEdgeRuleWidthSchema = z.enum([
218
+ "hairline",
219
+ "thin",
220
+ "medium",
221
+ "thick",
222
+ "heavy"
223
+ ]);
224
+ const cardEdgeRuleLengthSchema = z.enum(["full", "short"]);
225
+ const cardEdgeRuleAlignSchema = z.enum([
226
+ "start",
227
+ "center",
228
+ "end"
229
+ ]);
230
+ /**
231
+ * Decorations are edge rules today. The alias exists so the list can grow into
232
+ * a discriminated union without every call site changing.
233
+ */
234
+ const cardDecorationSchema = z.object({
235
+ edge: cardEdgeSchema,
236
+ colorToken: themeColorTokenSchema,
237
+ width: cardEdgeRuleWidthSchema,
238
+ /** Defaults to `full`. */
239
+ length: cardEdgeRuleLengthSchema.optional(),
240
+ /** Where a `short` rule sits along its edge. Defaults to `start`. */
241
+ align: cardEdgeRuleAlignSchema.optional(),
242
+ /** Opacity applied to `colorToken`, 0–1. Scoped here, not on the token. */
243
+ alpha: z.number().min(0).max(1).optional()
244
+ });
245
+ const cardDecorationsSchema = z.array(cardDecorationSchema).max(2);
246
+ const cardCornerRadiiSchema = z.object({
247
+ topLeft: cardCornerValueSchema.optional(),
248
+ topRight: cardCornerValueSchema.optional(),
249
+ bottomLeft: cardCornerValueSchema.optional(),
250
+ bottomRight: cardCornerValueSchema.optional()
251
+ });
252
+ const cardVariantSchema = z.strictObject({
253
+ id: z.string(),
254
+ name: z.string().min(1).max(20),
255
+ enabled: z.boolean(),
256
+ priority: z.union([
257
+ z.literal(1),
258
+ z.literal(2),
259
+ z.literal(3)
260
+ ]),
261
+ role: surfaceCardRoleSchema,
262
+ background: cardBackgroundSchema,
263
+ spacing: cardSpacingValueSchema,
264
+ foregroundToken: themeColorTokenSchema.optional(),
265
+ shadow: z.object({
266
+ elevation: z.enum([
267
+ "none",
268
+ "low",
269
+ "medium",
270
+ "high"
271
+ ]),
272
+ softness: z.enum([
273
+ "crisp",
274
+ "soft",
275
+ "hard"
276
+ ]).nullable(),
277
+ position: z.enum(["bottom", "bottom-right"]).default("bottom")
278
+ }).optional(),
279
+ corners: z.enum([
280
+ "square",
281
+ "soft",
282
+ "rounded",
283
+ "pill"
284
+ ]).optional(),
285
+ cornerRadii: cardCornerRadiiSchema.optional(),
286
+ border: cardBorderSchema.optional(),
287
+ decorations: cardDecorationsSchema.optional()
288
+ });
289
+ /**
290
+ * A site style saying "these two
291
+ * variants are both the default card" is an authoring error worth rejecting.
292
+ */
293
+ function validateUniqueCardVariantRoles(system, ctx) {
294
+ const declared = /* @__PURE__ */ new Set();
295
+ system.variants.forEach((variant, index) => {
296
+ const role = variant.role;
297
+ if (declared.has(role)) {
298
+ ctx.addIssue({
299
+ code: "custom",
300
+ path: [
301
+ "variants",
302
+ index,
303
+ "role"
304
+ ],
305
+ message: `Card role "${role}" is already implemented by another variant.`
306
+ });
307
+ return;
308
+ }
309
+ declared.add(role);
310
+ });
311
+ }
312
+ const cardSystemSchema = z.object({ variants: z.array(cardVariantSchema).min(1).max(3) }).superRefine(validateUniqueCardVariantRoles);
313
+ //#endregion
314
+ //#region ../site-contracts/src/theme/tokenOrColor.ts
315
+ /**
316
+ * Runtime color-reference fields intentionally accept any string, including
317
+ * the legacy empty-string "no color" sentinel. Semantic validation needs
318
+ * palette context and happens in `parseThemeColorReference`.
319
+ */
320
+ const tokenOrCssColorValueSchema = z.string();
321
+ //#endregion
322
+ //#region ../site-contracts/src/theme/backgrounds.ts
323
+ const boxBackgroundOverlaySchema = z.preprocess(normalizeAuthoringOpacity, z.discriminatedUnion("type", [
324
+ z.object({ type: z.literal("none") }),
325
+ z.object({
326
+ type: z.literal("color"),
327
+ color: tokenOrCssColorValueSchema.nullable().optional(),
328
+ opacity: z.number().min(0).max(1).nullable().optional()
329
+ }),
330
+ z.object({
331
+ type: z.literal("gradient"),
332
+ gradient: z.string().nullable().optional(),
333
+ opacity: z.number().min(0).max(1).nullable().optional()
334
+ })
335
+ ]));
336
+ const commonSchema = z.object({
337
+ contentOwner: z.literal(pageDesignEditorBackgroundOverrideOwner).optional(),
338
+ textColor: tokenOrCssColorValueSchema.nullable().optional(),
339
+ headingColor: tokenOrCssColorValueSchema.nullable().optional(),
340
+ linkColor: tokenOrCssColorValueSchema.nullable().optional(),
341
+ supportingColor: tokenOrCssColorValueSchema.nullable().optional()
342
+ });
343
+ const mediaPresentationSchema = commonSchema.extend({
344
+ opacity: z.preprocess(normalizeOpacity, z.number().min(0).max(1).nullable()).optional(),
345
+ objectFit: z.enum([
346
+ "fill",
347
+ "fit",
348
+ "original",
349
+ "custom"
350
+ ]).nullable().optional(),
351
+ scale: z.string().nullable().optional(),
352
+ position: z.string().nullable().optional(),
353
+ motion: z.enum(["static", "fixed-frame"]).nullable().optional(),
354
+ overflow: z.boolean().nullable().optional(),
355
+ overlay: boxBackgroundOverlaySchema.nullable().optional()
356
+ });
357
+ const boxBackgroundSchema = z.discriminatedUnion("type", [
358
+ commonSchema.extend({
359
+ type: z.literal("color"),
360
+ color: tokenOrCssColorValueSchema.nullable().optional(),
361
+ /**
362
+ * Compiler-owned. The scrim a site-style colour surface lays over media
363
+ * that replaces it (a Look's band meeting an authored photo), sized so the
364
+ * surface's foreground stays legible over any pixel. A colour background
365
+ * never draws it itself; `resolveSectionBackground` moves it onto the
366
+ * merged media background as its overlay.
367
+ */
368
+ mediaScrim: boxBackgroundOverlaySchema.nullable().optional()
369
+ }),
370
+ commonSchema.extend({
371
+ type: z.literal("gradient"),
372
+ gradient: z.string().nullable().optional(),
373
+ gradientPresetId: z.string().min(1).nullable().optional(),
374
+ /** Compiler-owned; see the colour branch. */
375
+ mediaScrim: boxBackgroundOverlaySchema.nullable().optional()
376
+ }),
377
+ mediaPresentationSchema.extend({
378
+ type: z.literal("image"),
379
+ image: imageMediaSchema.nullable().optional()
380
+ }),
381
+ mediaPresentationSchema.extend({
382
+ type: z.literal("video"),
383
+ image: videoMediaSchema.nullable().optional(),
384
+ showVideoOnMobile: z.boolean().nullable().optional()
385
+ })
386
+ ]);
387
+ /** Application rendering sources are admitted separately from saved references. */
388
+ const runtimeBoxBackgroundSchema = z.discriminatedUnion("type", [
389
+ boxBackgroundSchema.options[0],
390
+ boxBackgroundSchema.options[1],
391
+ boxBackgroundSchema.options[2].extend({ image: z.union([
392
+ imageMediaSchema,
393
+ externalMediaSchema.extend({ type: z.literal("image") }),
394
+ assetMediaSchema.extend({ type: z.literal("image") })
395
+ ]).nullable().optional() }),
396
+ boxBackgroundSchema.options[3].extend({ image: z.union([
397
+ videoMediaSchema,
398
+ externalMediaSchema.extend({ type: z.literal("video") }),
399
+ assetMediaSchema.extend({ type: z.literal("video") })
400
+ ]).nullable().optional() })
401
+ ]);
402
+ function normalizeAuthoringOpacity(value) {
403
+ if (!isRecord(value)) return value;
404
+ return {
405
+ ...value,
406
+ opacity: normalizeOpacity(value.opacity)
407
+ };
408
+ }
409
+ function normalizeOpacity(value) {
410
+ return typeof value === "number" && value > 1 && value <= 100 ? value / 100 : value;
411
+ }
412
+ function isRecord(value) {
413
+ return typeof value === "object" && value !== null && !Array.isArray(value);
414
+ }
415
+ //#endregion
416
+ //#region ../site-contracts/src/theme/headerVariant.ts
417
+ /**
418
+ * The header variants the system actually renders.
419
+ *
420
+ * Each one has a layout row in the site-header block and a paint target in
421
+ * `paintTargets.ts`. This is the canonical list: the block transform's variant
422
+ * class allowlist and the AI theme generator's enum both derive from it, so
423
+ * they cannot drift.
424
+ */
425
+ const headerVariantValues = [
426
+ "classic",
427
+ "centered",
428
+ "floating"
429
+ ];
430
+ z.enum(headerVariantValues);
431
+ /**
432
+ * Header variant spellings that were once authorable but no longer name a
433
+ * layout of their own, and the variant they read as now.
434
+ *
435
+ * `transparent` was an overlay header with no CSS of its own: everything it
436
+ * did (transparent root background, overlay content flow) is what `floating`
437
+ * already does, and it had zero persisted usage in production or locally when
438
+ * it was retired. It survives here as a one-boundary alias so a theme authored
439
+ * against the old vocabulary still parses.
440
+ *
441
+ * This matters because the theme schema is strict and has no per-field
442
+ * `.catch()`: an out-of-enum variant fails `themeSchema.safeParse` for the
443
+ * *whole* theme, which silently swaps the site's theme for
444
+ * `modernMinimalTheme`. Aliasing here keeps that from happening.
445
+ */
446
+ const legacyHeaderVariants = { transparent: "floating" };
447
+ const legacyHeaderVariantValues = Object.keys(legacyHeaderVariants);
448
+ /**
449
+ * The header variant boundary for themes that go through `themeSchema`:
450
+ * canonical variants pass through, legacy spellings normalize to the variant
451
+ * they meant, everything else fails the parse.
452
+ *
453
+ * Deliberately an enum plus a transform rather than a `z.preprocess`, so the
454
+ * schema's *input* type stays an accurate union (the legacy spelling is still
455
+ * accepted on the wire) instead of widening to `unknown`. `SdkThemeWire` in
456
+ * `@riverbankcms/api` is `z.input<typeof themeSchema>`, so a widened input here
457
+ * would leak straight into a public type.
458
+ *
459
+ * Persisted runtime themes are admitted through `parseThemeForPersistence`
460
+ * before reaching consumers, so legacy spellings normalize at that boundary.
461
+ */
462
+ const headerVariantWithLegacyAliasSchema = z.enum([...headerVariantValues, ...legacyHeaderVariantValues]).transform((value) => value in legacyHeaderVariants ? legacyHeaderVariants[value] : value);
463
+ //#endregion
464
+ export { tileTreatmentValues as A, accordionIconSetValues as C, headingDecorationColorTokenValues as D, eyebrowTreatmentValues as E, asDesignSystemTemplateId as F, asLayoutVariantKey as I, asPageFlowPresetId as L, asAppearancePresetId as M, asBoundaryOptionId as N, headingDecorationOverrideValues as O, asDesignBlockId as P, asSiteStyleId as R, accordionIconMotionValues as S, eventListTreatmentValues as T, asHeaderStyleId as _, runtimeBoxBackgroundSchema as a, siteChromeBackgroundOverrideOwner as b, cardRoleSchema as c, cardVariantRoleValues as d, itemRoleValues as f, asHeaderLayoutId as g, asFooterLookId as h, boxBackgroundSchema as i, visibleHeadingDecorationFamilyValues as j, isArrangementMode as k, cardRoleValues as l, surfaceCardRoleValues as m, headerVariantWithLegacyAliasSchema as n, tokenOrCssColorValueSchema as o, openCardRoleValue as p, boxBackgroundOverlaySchema as r, boxlessCardVariantValue as s, headerVariantValues as t, cardSystemSchema as u, bookingPageLookIdValues as v, arrangementModes as w, accordionIconColorTokenValues as x, pageDesignEditorBackgroundOverrideOwner as y, makeBoundaryId as z };
@@ -1,4 +1,4 @@
1
- import { v as parseUuidBrand } from "./media-DnlczCMA.mjs";
1
+ import { x as parseUuidBrand } from "./media-Brn9FW5s.mjs";
2
2
  //#region ../core/src/branded/identity.ts
3
3
  const unsafeAsSiteId = (id) => id;
4
4
  const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
@@ -1,8 +1,8 @@
1
- import { a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, m as parseMediaIdentifier, o as runtimeMediaSchema, p as parseCanonicalMediaIdentifier } from "./media-DnlczCMA.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-Cot-H5fQ.mjs";
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";
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-DOG4MkOy.mjs";
5
+ import { t as prebuildCache } from "./prebuild-C5ZYo7wA.mjs";
6
6
  import * as path from "path";
7
7
  import * as fs from "fs";
8
8
  //#region src/prebuild/loader.ts
@@ -1,9 +1,8 @@
1
- import { Gn as resolveDateRuntimeContext } from "./registry-BPFcpn6k.mjs";
2
- import { 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, v as readPublishedBlockPlacement } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
3
- import { o as isRecord } from "./richTextSchema-Euhuj-7V.mjs";
4
- import { t as applyBindingsToContent } from "./bindings-ConMYJ2U.mjs";
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";
5
4
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
6
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-BHvfGD4y.mjs";
5
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-xPgkvoWS.mjs";
7
6
  //#region ../content-model/src/entry-slots/types.ts
8
7
  function ok(value) {
9
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-DZ6cLxrM.mjs";
1
+ import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BU8pwTNx.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-BHvfGD4y.mjs";
4
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-xPgkvoWS.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,5 +1,5 @@
1
1
  import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-DwKJfMYb.mjs";
2
- import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-_j2UE2tR.mjs";
2
+ import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-CQWdnfjV.mjs";
3
3
  //#region src/manifest/prompt/knowledge-base.ts
4
4
  /**
5
5
  * LLM Knowledge Base for HTML-to-Manifest Conversion
@@ -81,6 +81,20 @@ const mediaTypeDiscriminants = [
81
81
  "spreadsheet",
82
82
  "archive"
83
83
  ];
84
+ const DISPLAY_MEDIA_KINDS = [
85
+ "image",
86
+ "video",
87
+ "audio"
88
+ ];
89
+ const PUBLIC_FILE_FIELD_KINDS = [
90
+ "document",
91
+ "spreadsheet",
92
+ "archive",
93
+ "audio"
94
+ ];
95
+ function isDisplayMediaKind(kind) {
96
+ return DISPLAY_MEDIA_KINDS.includes(kind);
97
+ }
84
98
  //#endregion
85
99
  //#region ../media-core/src/renderableMediaAsset.ts
86
100
  /** Shared identifier indexing for admitted site-scoped projections. */
@@ -228,4 +242,4 @@ const runtimeMediaSchema = z.union([
228
242
  assetMediaSchema
229
243
  ]);
230
244
  //#endregion
231
- export { unsafeAsStoragePath as _, persistableMediaSchema as a, ok as b, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, mediaIdentifierSchema as f, unsafeAsStorageBucketName as g, unsafeAsMediaAssetId as h, mediaSchema as i, renderableMediaAssetSchema as l, parseMediaIdentifier as m, externalMediaSchema as n, runtimeMediaSchema as o, parseCanonicalMediaIdentifier as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u, parseUuidBrand as v, err as y };
245
+ export { ok as C, err as S, parseMediaIdentifier as _, persistableMediaSchema as a, unsafeAsStoragePath as b, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, PUBLIC_FILE_FIELD_KINDS as f, parseCanonicalMediaIdentifier as g, mediaIdentifierSchema as h, mediaSchema as i, renderableMediaAssetSchema as l, mediaTypeDiscriminants as m, externalMediaSchema as n, runtimeMediaSchema as o, isDisplayMediaKind as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u, unsafeAsMediaAssetId as v, parseUuidBrand as x, unsafeAsStorageBucketName as y };
@@ -1,11 +1,13 @@
1
1
  import { z } from "zod";
2
- //#region ../theme-core/src/footer/mode.ts
2
+ //#region ../site-contracts/src/theme/footerMode.ts
3
3
  const footerModeSchema = z.enum([
4
4
  "default",
5
5
  "blocks",
6
6
  "default+blocks",
7
7
  "none"
8
8
  ]);
9
+ //#endregion
10
+ //#region ../theme-core/src/footer/mode.ts
9
11
  /** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
10
12
  function resolveSdkFooterMode(config) {
11
13
  const parsed = z.object({ layout: z.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
@@ -60,4 +62,4 @@ function resolveFooterRenderPlan(params) {
60
62
  }
61
63
  }
62
64
  //#endregion
63
- export { resolveFooterRenderPlan as n, resolveSdkFooterMode as r, footerModeSchema as t };
65
+ export { resolveSdkFooterMode as n, footerModeSchema as r, resolveFooterRenderPlan as t };
@@ -1,16 +1,16 @@
1
- import { _o as resolveBookingBusinessTimeZone, lo as inferSiteDateLocale, yo as toUtcIsoDateTimeString } from "./registry-BPFcpn6k.mjs";
2
- import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-Q_Vij87H.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-Cot-H5fQ.mjs";
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";
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-BkaWYEwt.mjs";
7
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BO1M9Hdf.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-BLXZ31S-.mjs";
11
+ import { t as SDK_VERSION } from "./version-D_W2mt8w.mjs";
12
12
  import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
13
- import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-itXZCXs7.mjs";
13
+ import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-fxuB1zZg.mjs";
14
14
  import "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1,15 +1,15 @@
1
- import { Dt as rgbColorValue, I as expandPalette, Mt as parseThemeColorToken, et as preparePaletteColourIndex, gt as surfaceForegroundDeclarations, mt as SURFACE_INK_CSS_VARS, pt as SURFACE_FOREGROUND_CSS_VARS, xt as surfaceInkDeclarations } from "./resolveButtonColourStates-OXFRGn5M.mjs";
2
- import { f as contextualButtonSurfaceResetStyles, r as requireResolvedSurface } from "./accessibleSurfaces-B_Y_dA20.mjs";
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";
3
3
  //#region ../theme-core/src/surfaces/opaqueSurface.ts
4
4
  function opaqueSurfaceContextFromTheme(theme) {
5
- const palette = expandPalette(theme.palette);
6
- return {
5
+ const palette = freezeOwnedThemeValue(expandPalette(theme.palette));
6
+ return Object.freeze({
7
7
  palette,
8
8
  colourIndex: preparePaletteColourIndex(palette),
9
- buttonSystem: theme.buttons,
9
+ buttonSystem: ownedThemeSnapshot(theme.buttons),
10
10
  linkHoverToken: theme.typography.proseLinkStyle?.hoverColorToken,
11
11
  solvedInks: "publish"
12
- };
12
+ });
13
13
  }
14
14
  /**
15
15
  * The declarations that make an element own its surface: `color`, every
@@ -1,4 +1,4 @@
1
- import { t as PageContent } from "./pageShared-Q_Vij87H.mjs";
1
+ import { t as PageContent } from "./pageShared-CSOJ8p8E.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,8 +1,8 @@
1
- import { Vr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-BPFcpn6k.mjs";
2
- import { n as createRichTextDoc } from "./richTextSchema-Euhuj-7V.mjs";
1
+ import { Ur as parseBackgroundContent, n as listBlockDescriptors } from "./registry-Fv-7D8o2.mjs";
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";
5
- import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-_j2UE2tR.mjs";
5
+ import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-CQWdnfjV.mjs";
6
6
  import { z } from "zod";
7
7
  //#region ../blocks/src/assistantSectionCatalog.ts
8
8
  const words = (text) => createRichTextDoc([text]);