@riverbankcms/sdk 0.163.0 → 0.165.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 (204) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  10. package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
  11. package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
  12. package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
  13. package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
  14. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  15. package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
  16. package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
  17. package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  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/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
  48. package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
  49. package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
  68. package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
  74. package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +5 -4
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BV5xfaZH.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
  125. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  126. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  138. package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
  141. package/dist/preview-next/before-render.mjs +2 -2
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  143. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  144. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  145. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
  146. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
  149. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
  150. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
  151. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  152. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  153. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  154. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  157. package/dist/preview-next/keepAlive.mjs +3 -3
  158. package/dist/preview-next/middleware.mjs +2 -2
  159. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
  160. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  161. package/dist/preview-next/session.mjs +1 -1
  162. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
  163. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  164. package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
  168. package/dist/server/index.mjs +3 -3
  169. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
  170. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  171. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
  172. package/dist/server/next/middleware.mjs +1 -1
  173. package/dist/server/next/revalidate.mjs +1 -1
  174. package/dist/server/next.mjs +11 -11
  175. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  176. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
  177. package/dist/server/page-converter.mjs +1 -1
  178. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
  181. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
  182. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
  183. package/dist/server/rendering/server.mjs +4 -4
  184. package/dist/server/rendering.mjs +8 -8
  185. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  186. package/dist/server/routing.mjs +1 -1
  187. package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
  190. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
  191. package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
  192. package/dist/server/theme-bridge.mjs +1 -1
  193. package/dist/server/theme.mjs +1 -1
  194. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
  195. package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
  196. package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
  197. package/dist/styles/index.css +1173 -72
  198. package/package.json +2 -3
  199. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  200. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  201. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  202. package/dist/client/src-BNZzXgWu.mjs +0 -102
  203. package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
  204. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,14 +1,14 @@
1
- import { Cn as ok, Dn as parseResolvedSurface, Dt as indexRenderableMediaAssets, Et as renderableMediaAssetSchema, Lt as asDesignBlockId, On as parseSurfaceTree, Ot as resolveManagedMediaReference, Sn as err, St as mediaSchema, Ut as asSiteStyleId, Vt as asLayoutVariantKey, _n as parseSiteTermsVersionId, bt as stripStaleTransitionStyleGroup, dn as parseApiKeyId, dr as defaultThemeTokens, gn as parseSiteId, kn as resolveSurface, r as themeSchema, tn as makeBoundaryId, vn as parseUserId, wn as mapDrawingStyle, wt as runtimeMediaSchema } from "./schema-DgrigZq9.mjs";
1
+ import { An as resolveSurface, Cn as err, Ct as mediaSchema, Dt as renderableMediaAssetSchema, Ht as asLayoutVariantKey, On as parseResolvedSurface, Ot as indexRenderableMediaAssets, Rt as asDesignBlockId, Tn as mapDrawingStyle, Tt as runtimeMediaSchema, Wt as asSiteStyleId, _n as parseSiteId, bt as stripStaleTransitionStyleGroup, fn as parseApiKeyId, fr as defaultThemeTokens, kn as parseSurfaceTree, kt as resolveManagedMediaReference, nn as makeBoundaryId, r as themeSchema, vn as parseSiteTermsVersionId, wn as ok, xt as themeV2CompilerOwnedFieldNames, yn as parseUserId } from "./schema-uSA_x1Zh.mjs";
2
+ import { $n as formattingTransforms, $r as lookSkinSlotTransform, Bn as contentTransforms, Br as parseBackgroundContent, Bt as buildEventListWeek, Ca as getLocalScheduleDate, Di as builtInBlockKindsSchema, Ei as blockSectionDeclarationShape, F as projectRecurringSchedule, Fi as NodeSchema, G as resolveCalendarReadProfile, Gn as resolveDateRuntimeContext, Gr as resolveBackgroundColorValue, Hr as parseRuntimeBackgroundContent, Ii as bindingSchema, Ir as boxStylesTransforms, Ji as augmentManifest, Jn as chromeLogoTransforms, Jr as BACKGROUND_POSITION_PRESET_VALUES, Kn as mediaTransforms, Li as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Mi as validateManifestLookField, Ni as sdkBlockPresentationShape, Oi as fieldSchema, Pi as validateSdkBlockDeclaration, Qn as uiTransforms, Qr as lookQuoteLimitTransform, Ti as blockCategoryEnum, Ur as resolveSectionSurfaceForeground, Vr as parseBackgroundOverlay, W as calendarWindowQuerySchema, Wn as readRuntimeNow, Wr as resolveSurfaceForegroundStyles, Xr as lookCarouselRegionTransform, Yn as layoutTransforms, Yr as getAnchorClasses, Zn as resolveHeroTitleLength, Zr as lookLeadSlotTransform, bt as eventCalendarListLayoutOptions, da as locationValueSchema, ei as asPartialObject, hr as standardAspectRatioOptions, ka as toUtcIsoDateTimeString, ni as runTransforms, nt as computeMediaTransformStyle, pt as resolveEventSelection, qn as headerRuntimeTransforms, qr as standardImageShapeOptions, qt as eventCalendarWeekStart, sa as parseMailingListProviderScope, t as getBlockDefinition, ti as createTransformRegistry, vt as eventCalendarListGroupingDecision, xt as resolveEventCalendarReadPlan, yt as eventCalendarListLayoutCompatibleDisplayModeValues } from "./registry-Cdvz1OtL.mjs";
2
3
  import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
3
- import { $r as lookSkinSlotTransform, Ai as validateManifestLookField, Br as parseRuntimeBackgroundContent, Bt as buildEventListWeek, Ci as blockCategoryEnum, Da as toUtcIsoDateTimeString, Ei as fieldSchema, F as projectRecurringSchedule, Fi as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, G as resolveCalendarReadProfile, Gn as headerRuntimeTransforms, Gt as eventCalendarWeekStart, Hn as readRuntimeNow, Hr as resolveSurfaceForegroundStyles, Jr as BACKGROUND_POSITION_PRESET_VALUES, Ki as augmentManifest, Kn as chromeLogoTransforms, Mi as validateSdkBlockDeclaration, Ni as NodeSchema, Pi as bindingSchema, Pr as boxStylesTransforms, Qr as lookQuoteLimitTransform, Rn as contentTransforms, Rr as parseBackgroundContent, Ti as builtInBlockKindsSchema, Un as resolveDateRuntimeContext, Ur as resolveBackgroundColorValue, Vr as resolveSectionSurfaceForeground, W as calendarWindowQuerySchema, Wn as mediaTransforms, Xn as uiTransforms, Xr as lookCarouselRegionTransform, Yn as resolveHeroTitleLength, Yr as getAnchorClasses, Zn as formattingTransforms, Zr as lookLeadSlotTransform, aa as parseMailingListProviderScope, bt as eventCalendarListLayoutOptions, ei as asPartialObject, ji as sdkBlockPresentationShape, la as locationValueSchema, ni as runTransforms, nt as computeMediaTransformStyle, pr as standardAspectRatioOptions, pt as resolveEventSelection, qn as layoutTransforms, qr as standardImageShapeOptions, t as getBlockDefinition, ti as createTransformRegistry, vt as eventCalendarListGroupingDecision, wi as blockSectionDeclarationShape, xa as getLocalScheduleDate, xt as resolveEventCalendarReadPlan, yt as eventCalendarListLayoutCompatibleDisplayModeValues, zr as parseBackgroundOverlay } from "./registry-4ZF3bUuJ.mjs";
4
- import { n as parsePublicProductCategorySelector, p as SUPPORTED_LOADER_ENDPOINTS$1, r as isRecord$3 } from "./publicProducts-BVcJ6TG7.mjs";
5
- import { D as parseGradientPresetId, E as getGradientPreset, H as cardListFamilyBlocks, T as gradientToCss, U as cardListKnobBlocks, V as resolveEffectiveKnobs, _ as resolveEffectiveArrangement, b as deriveSiteStyleBlockPolicy, f as arrangementSlotNames, g as readStoredMode, h as arrangementManifestFromVariants, m as resolveLookSlotSurfaces, p as resolveItemSurface, v as resolveModeArrangement, y as resolvePublishedLook } from "./effectiveNavLinkStyle-DLzJPcDL.mjs";
6
- import { a as heroPhotoPaintsGround, i as deriveSectionGround, n as composeBoundary, o as parseCanonicalRuntimeBackground, r as sectionFactsForContent, s as resolveSectionBackground, t as boundaryLayout } from "./site-styles-CxE9F3hj.mjs";
4
+ import { m as SUPPORTED_LOADER_ENDPOINTS$1, n as parsePublicProductCategorySelector } from "./publicProducts-Bz8loTRn.mjs";
5
+ import { B as sectionShapeForGround, D as gradientToCss, H as sectionShapeHook, O as getGradientPreset, S as deriveSiteStyleBlockPolicy, V as sectionShapeFromContent, X as cardListFamilyBlocks, Y as resolveEffectiveKnobs, Z as cardListKnobBlocks, _ as arrangementManifestFromVariants, b as resolveModeArrangement, f as arrangementAppearancePresets, g as resolveLookSlotSurfaces, h as resolveItemSurface, k as parseGradientPresetId, m as arrangementSlotNames, v as readStoredMode, x as resolvePublishedLook, y as resolveEffectiveArrangement } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
6
+ import { a as sectionFactsForContent, c as parseCanonicalRuntimeBackground, i as composeBoundary, l as resolveSectionBackground, n as storedSectionPhoto, o as applyLookPhotoTreatment, r as boundaryLayout, s as deriveSectionGround, t as heroPhotoPaintsGround } from "./site-styles-CntHn2KI.mjs";
7
7
  import { i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
8
8
  import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
9
9
  import { z } from "zod";
10
10
  //#region ../core/src/rich-text.ts
11
- function isRecord$2(value) {
11
+ function isRecord$3(value) {
12
12
  return typeof value === "object" && value !== null && !Array.isArray(value);
13
13
  }
14
14
  function hasOnlyKeys(value, allowed) {
@@ -28,15 +28,15 @@ function isDenseArrayOf(value, predicate) {
28
28
  return true;
29
29
  }
30
30
  function isTipTapMark(value) {
31
- return isRecord$2(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$2(value.attrs));
31
+ return isRecord$3(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$3(value.attrs));
32
32
  }
33
33
  function isTipTapNode(value) {
34
- if (!isRecord$2(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$2(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
34
+ if (!isRecord$3(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$3(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
35
35
  if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
36
36
  return value.text === void 0;
37
37
  }
38
38
  function isCanonicalRichTextDoc(value) {
39
- return isRecord$2(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
39
+ return isRecord$3(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
40
40
  }
41
41
  //#endregion
42
42
  //#region ../core/src/secret.ts
@@ -388,43 +388,56 @@ function parseStoredVariant(manifest, content) {
388
388
  }
389
389
  //#endregion
390
390
  //#region ../blocks/src/pageRenderAdmission.ts
391
- function toPresentationPage(page) {
392
- if (!page) return null;
393
- return {
394
- ...page,
395
- blocks: page.blocks.map((block) => {
396
- const presentationMetadata = {
397
- id: block.id,
398
- kind: block.kind,
399
- purpose: block.purpose,
400
- ...block.contentVersionId ? { contentVersionId: block.contentVersionId } : {},
401
- ...block.draftContentId !== void 0 ? { draftContentId: block.draftContentId } : {},
402
- publishedPlacement: block.publishedPlacement,
403
- ...block.bindings ? { bindings: block.bindings } : {}
404
- };
405
- return block.admission.kind === "renderable" ? {
406
- ...presentationMetadata,
407
- content: block.admission.content,
408
- presentationAdmission: { kind: "renderable" }
409
- } : {
410
- ...presentationMetadata,
411
- presentationAdmission: {
412
- kind: "invalid",
413
- error: block.admission.error
414
- }
415
- };
416
- })
391
+ function presentPublicBlock(block) {
392
+ const metadata = {
393
+ id: block.id,
394
+ kind: block.kind,
395
+ purpose: block.purpose,
396
+ ...block.contentVersionId ? { contentVersionId: block.contentVersionId } : {},
397
+ ...block.draftContentId !== void 0 ? { draftContentId: block.draftContentId } : {},
398
+ publishedPlacement: block.publishedPlacement,
399
+ ...block.bindings ? { bindings: block.bindings } : {}
400
+ };
401
+ return block.admission.kind === "renderable" ? {
402
+ ...metadata,
403
+ content: block.admission.content,
404
+ presentationAdmission: { kind: "renderable" }
405
+ } : {
406
+ ...metadata,
407
+ presentationAdmission: {
408
+ kind: "invalid",
409
+ error: block.admission.error
410
+ }
417
411
  };
418
412
  }
419
- function toEditorPresentationPage(page) {
420
- if (!page) return null;
413
+ function presentEditorBlock(block) {
421
414
  return {
415
+ ...block,
416
+ presentationAdmission: { kind: "editor" }
417
+ };
418
+ }
419
+ function createPresentationPageReader() {
420
+ const readBlock = memoizePresentationBlock(presentPublicBlock);
421
+ return (page) => page ? {
422
422
  ...page,
423
- blocks: page.blocks.map((block) => ({
424
- ...block,
425
- publishedPlacement: block.publishedPlacement,
426
- presentationAdmission: { kind: "editor" }
427
- }))
423
+ blocks: page.blocks.map(readBlock)
424
+ } : null;
425
+ }
426
+ function createEditorPresentationPageReader() {
427
+ const readBlock = memoizePresentationBlock(presentEditorBlock);
428
+ return (page) => page ? {
429
+ ...page,
430
+ blocks: page.blocks.map(readBlock)
431
+ } : null;
432
+ }
433
+ function memoizePresentationBlock(present) {
434
+ const blocks = /* @__PURE__ */ new WeakMap();
435
+ return (block) => {
436
+ const cached = blocks.get(block);
437
+ if (cached) return cached;
438
+ const presentation = present(block);
439
+ blocks.set(block, presentation);
440
+ return presentation;
428
441
  };
429
442
  }
430
443
  //#endregion
@@ -572,6 +585,20 @@ const onOff = [{
572
585
  value: "false",
573
586
  label: "Off"
574
587
  }];
588
+ const columnCounts = [
589
+ {
590
+ value: "2",
591
+ label: "2"
592
+ },
593
+ {
594
+ value: "3",
595
+ label: "3"
596
+ },
597
+ {
598
+ value: "4",
599
+ label: "4"
600
+ }
601
+ ];
575
602
  const systemCustomizeFacetDefinitions = [
576
603
  eventCalendarListLayoutFacet,
577
604
  fixedKnob("block.offerings-preview", "dates", "Dates", [{
@@ -664,6 +691,9 @@ const systemCustomizeFacetDefinitions = [
664
691
  ...fixedKnob("block.feature-cards", "showPhotos", "Show photos", onOff, "true", false, true),
665
692
  blockKinds: cardListFamilyBlocks
666
693
  },
694
+ fixedKnob("block.feature-cards", "columns", "Columns", columnCounts, "3", true),
695
+ fixedKnob("block.image-gallery", "blackAndWhite", "Black and white", onOff, "false", false, true),
696
+ fixedKnob("block.event-calendar", "listColumns", "Columns", columnCounts, "3", true),
667
697
  fixedKnob("block.event-calendar", "showPhotos", "Photos", [{
668
698
  value: "true",
669
699
  label: "Show"
@@ -699,6 +729,121 @@ function systemCustomizeFacetDefinitionsForBlock(blockKind) {
699
729
  return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
700
730
  }
701
731
  //#endregion
732
+ //#region ../blocks/src/system/customize/fieldOwnership.ts
733
+ /**
734
+ * Values with their own owner, whatever their fields are tagged: the Background
735
+ * row and Photo control edit `_sectionStyles`, and the style compiler writes the
736
+ * other style groups (card, container and text-card styles), which the editor
737
+ * already hides on styles with a page design.
738
+ */
739
+ const dedicatedPaths = ["_sectionStyles", ...themeV2CompilerOwnedFieldNames];
740
+ /**
741
+ * One owner for "does this setting belong to the Look?". The editor form, the
742
+ * renderer's bindings, publish validation and the catalogue all ask here.
743
+ * With no arrangement Look resolved (older styles, recipes, blocks without
744
+ * Looks on a newer style), every field stays with the owner.
745
+ */
746
+ function resolveFieldOwnership(input) {
747
+ if (!input.arrangementLook) return { kind: "no-look" };
748
+ const knobFields = new Set(systemCustomizeFacetDefinitionsForBlock(input.blockKind).flatMap((facet) => facet.knob && facet.target.kind === "content-field" ? [facet.target.field] : []));
749
+ const meaning = input.manifest.variantMeaning;
750
+ const arrangementField = meaning?.kind === "mode" ? meaning.arrangementField : meaning ? "variant" : null;
751
+ const modeField = meaning?.kind === "mode" ? "variant" : null;
752
+ const paths = /* @__PURE__ */ new Map();
753
+ const dataPaths = /* @__PURE__ */ new Map();
754
+ const visit = (fields, parent, inherited, inRepeaterItem = false) => {
755
+ fields.forEach((field) => {
756
+ const path = parent.schema ? `${parent.schema}.${field.id}` : field.id;
757
+ const flattened = inRepeaterItem && field.type === "group" && field.ui?.flattenInRepeater === true;
758
+ const dataPath = flattened ? parent.data : parent.data ? `${parent.data}.${field.id}` : field.id;
759
+ const owner = ownerOf(field, path, inherited, {
760
+ knobFields,
761
+ arrangementField,
762
+ modeField
763
+ });
764
+ paths.set(path, owner);
765
+ if (!flattened) dataPaths.set(dataPath, owner);
766
+ childFields(field).forEach((children) => visit(children, {
767
+ schema: path,
768
+ data: dataPath
769
+ }, owner, field.type === "repeater"));
770
+ });
771
+ };
772
+ visit(input.manifest.fields ?? [], {
773
+ schema: "",
774
+ data: ""
775
+ }, "owner");
776
+ knobFields.forEach((field) => {
777
+ if (!paths.has(field)) paths.set(field, "knob");
778
+ if (!dataPaths.has(field)) dataPaths.set(field, "knob");
779
+ });
780
+ return {
781
+ kind: "look",
782
+ paths,
783
+ dataPaths
784
+ };
785
+ }
786
+ new Set(arrangementAppearancePresets.flatMap((preset) => preset.blockKinds));
787
+ /** Content paths with a given owner, for the renderer, outermost first. */
788
+ function contentPathsOwnedBy(ownership, owners) {
789
+ return ownership.kind === "no-look" ? [] : outermost(ownership.dataPaths, owners);
790
+ }
791
+ function outermost(paths, owners) {
792
+ const matching = [...paths].filter(([, owner]) => owners.includes(owner)).map(([path]) => path);
793
+ return matching.filter((path) => !matching.some((other) => path.startsWith(`${other}.`)));
794
+ }
795
+ /**
796
+ * Content with the owner's values for Look-owned paths taken out, so nothing
797
+ * that renders the block (bindings, views, media delivery) can read them.
798
+ */
799
+ function withoutLookOwnedContent(content, paths) {
800
+ return paths.reduce((current, path) => withoutPath(current, path.split(".")), { ...content });
801
+ }
802
+ function withoutPath(value, [key, ...rest]) {
803
+ if (key === void 0 || !(key in value)) return { ...value };
804
+ if (rest.length === 0) return Object.fromEntries(Object.entries(value).filter(([entry]) => entry !== key));
805
+ const child = value[key];
806
+ const stripped = Array.isArray(child) ? child.map((item) => isContentRecord(item) ? withoutPath(item, rest) : item) : isContentRecord(child) ? withoutPath(child, rest) : child;
807
+ return {
808
+ ...value,
809
+ [key]: stripped
810
+ };
811
+ }
812
+ function isContentRecord(value) {
813
+ return typeof value === "object" && value !== null && !Array.isArray(value);
814
+ }
815
+ function ownerOf(field, path, inherited, facts) {
816
+ return inheritedOwner(path, inherited) ?? lookSectionOwner(field, path, facts) ?? keptByOwner(field, path, facts) ?? intentOwner(field, inherited);
817
+ }
818
+ /** Below a dedicated or Look-owned container, everything goes with it. */
819
+ function inheritedOwner(path, inherited) {
820
+ if (inherited === "dedicated" || dedicatedPaths.includes(path)) return "dedicated";
821
+ return inherited === "look" ? "look" : null;
822
+ }
823
+ function lookSectionOwner(field, path, facts) {
824
+ if (!path.includes(".") && facts.knobFields.has(path)) return "knob";
825
+ if (field.ui?.hidden === true || field.ui?.renderInHeader === true) return "dedicated";
826
+ return path === facts.arrangementField ? "arrangement" : null;
827
+ }
828
+ function keptByOwner(field, path, facts) {
829
+ return path === facts.modeField || field.ui?.underLooks === "owner" ? "owner" : null;
830
+ }
831
+ function intentOwner(field, inherited) {
832
+ switch (field.ui?.intent) {
833
+ case "display":
834
+ case "style": return "look";
835
+ case "content":
836
+ case "behavior": return "owner";
837
+ case void 0: return inherited;
838
+ }
839
+ }
840
+ function childFields(field) {
841
+ if (field.type === "group" || field.type === "modal") return [field.schema.fields];
842
+ if (field.type === "repeater") return [field.schema?.fields ?? [], ...Object.values(field.itemTypes ?? {}).map((item) => item.fields)];
843
+ if (field.type === "tabGroup") return field.tabs.map((tab) => tab.fields);
844
+ return [];
845
+ }
846
+ //#endregion
702
847
  //#region ../blocks/src/system/transforms/registry/offeringsPreview.ts
703
848
  /** Reuse the existing occurrence read for the date strip and card date rows. */
704
849
  const offeringsPreviewDatesReadEnabled = {
@@ -1127,7 +1272,7 @@ const defaultTransforms = createTransformRegistry(builtinTransformDefinitions);
1127
1272
  //#region ../blocks/src/system/data/linkedContentEntries.ts
1128
1273
  const LINKED_CONTENT_ENTRY_META_KEY = "__rbLinkedContentEntry";
1129
1274
  function coerceLinkedContentEntriesPayload(payload) {
1130
- if (!isRecord$1(payload)) return payload;
1275
+ if (!isRecord$2(payload)) return payload;
1131
1276
  const response = payload;
1132
1277
  if (!Array.isArray(response.entries)) return payload;
1133
1278
  const contentType = parsePublicContentTypeMeta(response.contentType);
@@ -1135,16 +1280,19 @@ function coerceLinkedContentEntriesPayload(payload) {
1135
1280
  return response.entries.map((entry) => enrichLinkedContentEntry(entry, contentType));
1136
1281
  }
1137
1282
  function getLinkedContentEntryMeta(value) {
1138
- if (!isRecord$1(value)) return null;
1283
+ if (!isRecord$2(value)) return null;
1139
1284
  const candidate = value[LINKED_CONTENT_ENTRY_META_KEY];
1140
- return isLinkedContentEntryMeta(candidate) ? candidate : null;
1285
+ return isLinkedContentEntryMeta(candidate) ? {
1286
+ ...candidate,
1287
+ editRevision: candidate.editRevision ?? null
1288
+ } : null;
1141
1289
  }
1142
1290
  function buildLinkedContentEditTarget(input) {
1143
1291
  const { entry, sourceBlockId, sourceBlockKind, itemIndex } = input;
1144
- if (!isRecord$1(entry)) return null;
1292
+ if (!isRecord$2(entry)) return null;
1145
1293
  const meta = getLinkedContentEntryMeta(entry);
1146
1294
  if (!meta || meta.support.kind !== "supported") return null;
1147
- const content = isRecord$1(entry.content) ? entry.content : {};
1295
+ const content = isRecord$2(entry.content) ? entry.content : {};
1148
1296
  return {
1149
1297
  kind: "linked-content-entry",
1150
1298
  entryId: meta.entryId,
@@ -1152,6 +1300,7 @@ function buildLinkedContentEditTarget(input) {
1152
1300
  contentTypeLabel: meta.contentTypeLabel,
1153
1301
  title: meta.title,
1154
1302
  optimisticHash: meta.optimisticHash,
1303
+ editRevision: meta.editRevision,
1155
1304
  sourceBlockId: sourceBlockId ?? null,
1156
1305
  sourceBlockKind: sourceBlockKind ?? null,
1157
1306
  itemIndex,
@@ -1208,12 +1357,13 @@ function resolveLinkedEntryInlineFieldEligibility(input) {
1208
1357
  };
1209
1358
  }
1210
1359
  function enrichLinkedContentEntry(entry, contentType) {
1211
- if (!isRecord$1(entry)) return entry;
1360
+ if (!isRecord$2(entry)) return entry;
1212
1361
  const entryId = typeof entry.id === "string" ? entry.id : null;
1213
1362
  if (!entryId) return entry;
1214
1363
  const title = typeof entry.title === "string" && entry.title.trim().length > 0 ? entry.title : entryId;
1215
1364
  const optimisticHash = typeof entry.optimisticHash === "string" && entry.optimisticHash.length > 0 ? entry.optimisticHash : null;
1216
- const content = isRecord$1(entry.content) ? entry.content : {};
1365
+ const content = isRecord$2(entry.content) ? entry.content : {};
1366
+ const editRevision = typeof entry.editRevision === "number" ? entry.editRevision : null;
1217
1367
  const meta = {
1218
1368
  kind: "linked-content-entry",
1219
1369
  entryId,
@@ -1221,6 +1371,7 @@ function enrichLinkedContentEntry(entry, contentType) {
1221
1371
  contentTypeLabel: contentTypeKeyToLabel(contentType.key),
1222
1372
  title,
1223
1373
  optimisticHash,
1374
+ editRevision,
1224
1375
  support: resolveLinkedContentEditSupport(contentType),
1225
1376
  contentType,
1226
1377
  fieldSources: deriveLinkedEntryFieldSources(entry, contentType, content)
@@ -1309,7 +1460,7 @@ function capitalize(value) {
1309
1460
  return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();
1310
1461
  }
1311
1462
  function parsePublicContentTypeMeta(value) {
1312
- if (!isRecord$1(value)) return null;
1463
+ if (!isRecord$2(value)) return null;
1313
1464
  if (typeof value.key !== "string" || value.key.trim().length === 0) return null;
1314
1465
  return {
1315
1466
  key: value.key,
@@ -1319,7 +1470,7 @@ function parsePublicContentTypeMeta(value) {
1319
1470
  };
1320
1471
  }
1321
1472
  function parsePublicContentTypeLinkedEntryEditing(value) {
1322
- if (!isRecord$1(value) || typeof value.kind !== "string") return null;
1473
+ if (!isRecord$2(value) || typeof value.kind !== "string") return null;
1323
1474
  switch (value.kind) {
1324
1475
  case "generic": return { kind: "generic" };
1325
1476
  case "unsupported-domain-backed": return {
@@ -1330,7 +1481,7 @@ function parsePublicContentTypeLinkedEntryEditing(value) {
1330
1481
  }
1331
1482
  }
1332
1483
  function parsePublicContentTypeFieldMeta(value) {
1333
- if (!isRecord$1(value)) return [];
1484
+ if (!isRecord$2(value)) return [];
1334
1485
  if (typeof value.id !== "string" || typeof value.type !== "string") return [];
1335
1486
  return [{
1336
1487
  id: value.id,
@@ -1345,22 +1496,29 @@ function parseStringArray(value) {
1345
1496
  return value.filter((item) => typeof item === "string");
1346
1497
  }
1347
1498
  function isLinkedContentEntryMeta(value) {
1348
- if (!isRecord$1(value)) return false;
1349
- if (value.kind !== "linked-content-entry") return false;
1350
- if (typeof value.entryId !== "string") return false;
1351
- if (typeof value.contentTypeKey !== "string") return false;
1352
- if (typeof value.contentTypeLabel !== "string") return false;
1353
- if (typeof value.title !== "string") return false;
1354
- if (!(value.optimisticHash === null || typeof value.optimisticHash === "string")) return false;
1355
- if (!isRecord$1(value.contentType)) return false;
1356
- if (!isLinkedEntryFieldSourceArray(value.fieldSources)) return false;
1357
- return isLinkedContentEditSupport(value.support);
1499
+ if (!isRecord$2(value) || value.kind !== "linked-content-entry") return false;
1500
+ return [
1501
+ [
1502
+ "entryId",
1503
+ "contentTypeKey",
1504
+ "contentTypeLabel",
1505
+ "title"
1506
+ ].every((key) => typeof value[key] === "string"),
1507
+ isNullOrOfType(value.optimisticHash, "string"),
1508
+ value.editRevision === void 0 || isNullOrOfType(value.editRevision, "number"),
1509
+ isRecord$2(value.contentType),
1510
+ isLinkedEntryFieldSourceArray(value.fieldSources),
1511
+ isLinkedContentEditSupport(value.support)
1512
+ ].every(Boolean);
1513
+ }
1514
+ function isNullOrOfType(value, type) {
1515
+ return value === null || typeof value === type;
1358
1516
  }
1359
1517
  function isLinkedEntryFieldSourceArray(value) {
1360
1518
  return Array.isArray(value) && value.every(isLinkedEntryFieldSource);
1361
1519
  }
1362
1520
  function isLinkedEntryFieldSource(value) {
1363
- if (!isRecord$1(value)) return false;
1521
+ if (!isRecord$2(value)) return false;
1364
1522
  if (typeof value.displayPath !== "string") return false;
1365
1523
  switch (value.kind) {
1366
1524
  case "content-field": return typeof value.fieldPath === "string" && (value.fieldType === "text" || value.fieldType === "richText");
@@ -1381,7 +1539,7 @@ function isLinkedEntryInlineFieldReadOnlyReason(value) {
1381
1539
  }
1382
1540
  }
1383
1541
  function isLinkedContentEditSupport(value) {
1384
- if (!isRecord$1(value) || typeof value.kind !== "string") return false;
1542
+ if (!isRecord$2(value) || typeof value.kind !== "string") return false;
1385
1543
  switch (value.kind) {
1386
1544
  case "supported": return true;
1387
1545
  case "unsupported-domain-backed":
@@ -1390,7 +1548,7 @@ function isLinkedContentEditSupport(value) {
1390
1548
  default: return false;
1391
1549
  }
1392
1550
  }
1393
- function isRecord$1(value) {
1551
+ function isRecord$2(value) {
1394
1552
  return typeof value === "object" && value !== null && !Array.isArray(value);
1395
1553
  }
1396
1554
  //#endregion
@@ -1584,7 +1742,8 @@ function composePageJoins(input) {
1584
1742
  return [{
1585
1743
  previousBlockId: previous.id,
1586
1744
  nextBlockId: next.id,
1587
- join: join ? composeJoin(join, previous, next) : null
1745
+ join: join ? composeJoin(join, previous, next) : null,
1746
+ fieldsMeet: sectionShapeFromContent(previous.content) === "field" && sectionShapeFromContent(next.content) === "field"
1588
1747
  }];
1589
1748
  });
1590
1749
  }
@@ -1615,19 +1774,29 @@ function pairKey(previousBlockId, nextBlockId) {
1615
1774
  }
1616
1775
  //#endregion
1617
1776
  //#region ../blocks/src/pageRenderPlan.ts
1618
- /**
1619
- * Decides, once per page render, which blocks can render and what happens to
1620
- * the ones that cannot.
1621
- *
1622
- * Pure. Effects — logging in particular — belong at the call site, because this
1623
- * runs inside a `useMemo` whose recomputation React makes no promises about.
1624
- */
1625
- function buildPageRenderPlan(input) {
1777
+ /** Owner-local derived reuse; shared settings and admitted rhythm position remain inputs. */
1778
+ function createPageRenderPlanReader() {
1779
+ const memo = { current: null };
1780
+ return (input) => {
1781
+ memo.current = planPageRender(input, memo.current);
1782
+ return memo.current.plan;
1783
+ };
1784
+ }
1785
+ function planPageRender(input, previous = null) {
1626
1786
  const resolveTarget = createRenderTargetResolver(input);
1627
- const outcomes = input.page.blocks.map((block) => planPageBlock(block, input, resolveTarget));
1787
+ const reusable = previous && samePlanSettings(previous.input, input) ? previous : null;
1788
+ const planned = input.page.blocks.map((block) => [block, reusable?.outcomes.get(block) ?? planPageBlock(block, input, resolveTarget)]);
1789
+ const outcomes = planned.map(([, outcome]) => outcome);
1628
1790
  const entries = outcomes.flatMap((outcome) => outcome.kind === "admitted" ? [outcome.entry] : []);
1629
- return {
1630
- entries: entries.map(applyArrangementRhythm),
1791
+ const rhythmic = entries.map((entry, position) => {
1792
+ const cached = reusable?.rhythm.get(entry);
1793
+ return [entry, {
1794
+ position,
1795
+ entry: cached?.position === position ? cached.entry : applyArrangementRhythm(entry, position)
1796
+ }];
1797
+ });
1798
+ const plan = {
1799
+ entries: rhythmic.map(([, value]) => value.entry),
1631
1800
  omitted: outcomes.flatMap((outcome) => outcome.kind === "omitted" ? [outcome.omission] : []),
1632
1801
  runtimeJoins: retargetJoinsAcrossOmissions({
1633
1802
  joins: input.runtimeJoins ?? [],
@@ -1635,6 +1804,15 @@ function buildPageRenderPlan(input) {
1635
1804
  survivingBlocks: new Set(entries.map((entry) => entry.block))
1636
1805
  })
1637
1806
  };
1807
+ return {
1808
+ input,
1809
+ outcomes: new Map(planned),
1810
+ rhythm: new Map(rhythmic),
1811
+ plan
1812
+ };
1813
+ }
1814
+ function samePlanSettings(previous, current) {
1815
+ return previous.siteStyleId === current.siteStyleId && previous.audience === current.audience && previous.previewStage === current.previewStage && previous.sdkConfig === current.sdkConfig && previous.customBlocks === current.customBlocks && previous.blockOverrides === current.blockOverrides;
1638
1816
  }
1639
1817
  /**
1640
1818
  * Mirrors the order of the checks `MemoBlockSection` used to make inline, so no
@@ -1775,10 +1953,15 @@ function arrangementRuntime(content) {
1775
1953
  const value = parseSurfaceTree(content._arrangementLooks);
1776
1954
  return isObjectRecord(value) && isObjectRecord(value.byMode) && Array.isArray(value.available) && Array.isArray(value.rhythm) ? restoreArrangementRuntime(value) : null;
1777
1955
  }
1778
- /** JSON transports carry resolver inputs; rebuild every surface at this boundary. */
1956
+ /**
1957
+ * JSON transports carry resolver inputs; rebuild every surface at this boundary.
1958
+ * A payload cached before compiled looks carried `slotRoles` gets the Look's own.
1959
+ */
1779
1960
  function restoreCompiledLook(look) {
1961
+ const transported = look;
1780
1962
  return {
1781
1963
  ...look,
1964
+ slotRoles: transported.slotRoles ?? look.look.structure.slotRoles ?? {},
1782
1965
  itemSurfaces: Object.fromEntries(Object.entries(look.itemSurfaces).map(([slot, surface]) => [slot, parseResolvedSurface(surface)])),
1783
1966
  ...look.roleSurfaces ? { roleSurfaces: {
1784
1967
  card: parseResolvedSurface(look.roleSurfaces.card),
@@ -1788,8 +1971,11 @@ function restoreCompiledLook(look) {
1788
1971
  };
1789
1972
  }
1790
1973
  function restoreArrangementRuntime(runtime) {
1974
+ const transported = runtime;
1975
+ const fieldGrounds = Array.isArray(transported.fieldGrounds) ? transported.fieldGrounds.filter((token) => typeof token === "string") : [];
1791
1976
  return {
1792
1977
  ...runtime,
1978
+ fieldGrounds,
1793
1979
  available: runtime.available.map(restoreCompiledLook),
1794
1980
  byMode: Object.fromEntries(Object.entries(runtime.byMode).map(([mode, look]) => [mode, restoreCompiledLook(look)]))
1795
1981
  };
@@ -1810,7 +1996,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
1810
1996
  const { facts } = arrangementContentFacts(content);
1811
1997
  const published = resolvePublishedLook({
1812
1998
  look: selected.look,
1813
- contentFacts: facts,
1999
+ facts,
1814
2000
  audience,
1815
2001
  catalogue: runtime.available.map((entry) => entry.look)
1816
2002
  });
@@ -1822,7 +2008,12 @@ function planArrangementContent(blockKind, manifest, content, audience) {
1822
2008
  });
1823
2009
  const values = Object.fromEntries(Object.entries(knobs).flatMap(([key, knob]) => knob.kind === "kept" ? [] : [[key, knob.value]]));
1824
2010
  const effectiveContent = Object.fromEntries(Object.entries(values).map(([key, value]) => [key, effectiveContentKnobValue(blockKind, key, value)]));
1825
- const activeContent = Object.fromEntries(Object.entries(content).filter(([key]) => knobs[key]?.kind !== "kept"));
2011
+ const lookOwnedPaths = contentPathsOwnedBy(resolveFieldOwnership({
2012
+ blockKind,
2013
+ manifest,
2014
+ arrangementLook: true
2015
+ }), ["look"]);
2016
+ const activeContent = withoutLookOwnedContent(Object.fromEntries(Object.entries(content).filter(([key]) => knobs[key]?.kind !== "kept")), lookOwnedPaths);
1826
2017
  const photoContent = arrangementPhotoContent(activeContent, effectiveContent);
1827
2018
  const visiblePhotos = arrangementContentFacts({
1828
2019
  ...activeContent,
@@ -1831,35 +2022,45 @@ function planArrangementContent(blockKind, manifest, content, audience) {
1831
2022
  });
1832
2023
  return {
1833
2024
  ...activeContent,
2025
+ ...arrangementPhotoTreatmentContent(activeContent, effective.look),
1834
2026
  ...mode !== null ? { variant: mode } : {},
1835
2027
  ...effectiveContent,
1836
2028
  ...photoContent,
1837
- ...arrangementShapeContent(effective.look.id, {
1838
- ...activeContent,
1839
- ...effectiveContent
1840
- }),
2029
+ ...arrangementShapeContent(knobs),
1841
2030
  ...arrangementPanelContent(activeContent, effective, mode),
1842
2031
  ...arrangementQuoteContent(blockKind, effective, values),
1843
2032
  _arrangementLooks: runtime,
1844
2033
  _effectiveLook: effective,
1845
2034
  _lookHooks: arrangementContentHooks(effective, mode, length, {
1846
- ...facts,
1847
- photo: visiblePhotos.facts.photo
2035
+ ...facts.content,
2036
+ photo: visiblePhotos.facts.content.photo
1848
2037
  }, values, visiblePhotos.photoCount),
1849
2038
  _effectiveKnobs: knobs,
2039
+ _lookOwnedPaths: lookOwnedPaths,
1850
2040
  _lookAudience: audience,
1851
2041
  _lookSlots: arrangementContentSlots(blockKind),
1852
2042
  blockLook: effective.look.id
1853
2043
  };
1854
2044
  }
2045
+ /** Typed Look composition owns contrast treatment; parsing preserves authored paint. */
2046
+ function arrangementPhotoTreatmentContent(content, look) {
2047
+ if (!look.structure.photoTreatment) return {};
2048
+ const authored = parseCanonicalRuntimeBackground(content);
2049
+ if (authored.kind === "none") return {};
2050
+ return { _sectionStyles: {
2051
+ ...isObjectRecord(content._sectionStyles) ? content._sectionStyles : {},
2052
+ background: applyLookPhotoTreatment(authored.background, look.structure.photoTreatment)
2053
+ } };
2054
+ }
1855
2055
  /** Widget section hooks use the theme; hero background geometry never travels to list islands. */
1856
2056
  function arrangementContentSlots(blockKind) {
1857
2057
  return Object.fromEntries(arrangementSlotNames.filter((slot) => (!slot.startsWith("price-") || blockKind === "block.shop") && slot !== "schedule-section" && slot !== "shop-section" && (slot !== "background" || blockKind === "block.hero")).map((slot) => [slot, slot]));
1858
2058
  }
1859
- /** C photo Looks render shape-specific crops without rewriting authored preferences. */
1860
- function arrangementShapeContent(lookId, content) {
1861
- if (lookId !== "intro-photo-beside-text" && lookId !== "media-text-photo-beside-text") return {};
1862
- return content.imageShape === "circle" ? { aspectRatio: "1/1" } : content.imageShape === "arch" ? { aspectRatio: "4/5" } : {};
2059
+ /** Where a Look offers the photo shape, the shape sets the crop, without rewriting authored preferences. */
2060
+ function arrangementShapeContent(knobs) {
2061
+ const shape = knobs.imageShape;
2062
+ if (!shape || shape.kind === "kept") return {};
2063
+ return shape.value === "circle" ? { aspectRatio: "1/1" } : shape.value === "arch" ? { aspectRatio: "4/5" } : {};
1863
2064
  }
1864
2065
  function arrangementQuoteContent(blockKind, effective, values) {
1865
2066
  if (blockKind !== "block.testimonials") return {};
@@ -1890,18 +2091,25 @@ function arrangementPhotoContent(content, knobs) {
1890
2091
  return copy;
1891
2092
  }) };
1892
2093
  }
2094
+ /**
2095
+ * The one owner of the facts `whenMissing` rules read from block content.
2096
+ * Content facts also become `data-has-*` hooks; setting facts never do.
2097
+ */
1893
2098
  function arrangementContentFacts(content) {
1894
2099
  const photoCount = arrangementPhotoCount(content);
1895
2100
  const featured = typeof content.featured === "string" ? content.featured.trim().length > 0 : content.featured !== void 0 && content.featured !== null;
1896
2101
  return {
1897
2102
  photoCount,
1898
2103
  facts: {
1899
- photo: photoCount > 0,
1900
- facts: Array.isArray(content.facts) && content.facts.length > 0,
1901
- featured,
1902
- outcome: typeof content.outcome === "string" && content.outcome.length > 0,
1903
- figure: typeof content.figure === "string" && content.figure.trim().length > 0,
1904
- entrance: isObjectRecord(content.entrancePhoto)
2104
+ content: {
2105
+ photo: photoCount > 0,
2106
+ facts: Array.isArray(content.facts) && content.facts.length > 0,
2107
+ featured,
2108
+ outcome: typeof content.outcome === "string" && content.outcome.length > 0,
2109
+ figure: typeof content.figure === "string" && content.figure.trim().length > 0,
2110
+ entrance: isObjectRecord(content.entrancePhoto)
2111
+ },
2112
+ settings: { "listed-by-week": content.listBy === "week" }
1905
2113
  }
1906
2114
  };
1907
2115
  }
@@ -1911,8 +2119,7 @@ function arrangementPhotoCount(content) {
1911
2119
  if (Array.isArray(content.members)) return content.members.filter((member) => isObjectRecord(member) && isObjectRecord(member.photo)).length;
1912
2120
  if (Array.isArray(content.images)) return content.images.filter((item) => isObjectRecord(item) && isObjectRecord(item.image)).length;
1913
2121
  if (isObjectRecord(content.media) || isObjectRecord(content.entrancePhoto)) return 1;
1914
- const section = isObjectRecord(content._sectionStyles) ? content._sectionStyles : {};
1915
- return isObjectRecord((isObjectRecord(section.background) ? section.background : {}).image) ? 1 : 0;
2122
+ return storedSectionPhoto(content) === null ? 0 : 1;
1916
2123
  }
1917
2124
  function effectiveContentKnobValue(blockKind, key, value) {
1918
2125
  const facet = systemCustomizeFacetDefinitionsForBlock(blockKind).find((entry) => entry.target.kind === "content-field" && entry.target.field === key);
@@ -1936,11 +2143,12 @@ function applyArrangementRhythm(entry, position) {
1936
2143
  if (!runtime || !look) return entry;
1937
2144
  const rhythm = runtime.rhythm.length === 0 ? null : runtime.rhythm[position % runtime.rhythm.length];
1938
2145
  const content = entry.renderableContent;
1939
- const resolved = resolveSectionBackground(parseCanonicalRuntimeBackground(content), null, rhythm, heroPhotoGround(entry));
2146
+ const resolved = resolveSectionBackground(parseCanonicalRuntimeBackground(content), null, rhythm, heroPhotoGround(entry.block.kind, entry.kind === "renderable" ? entry.effectiveArrangementKey ?? void 0 : void 0));
1940
2147
  const updated = applyResolvedArrangementBackground(content, resolved);
1941
2148
  const surface = arrangementGroundToken(resolved);
1942
2149
  const grounded = resolveArrangementRoleSurfaces(look, runtime, resolved);
1943
2150
  const tinted = resolveArrangementTints(updated, grounded, runtime, surface) ?? grounded;
2151
+ const shape = sectionShapeHook(sectionShapeForGround(runtime.fieldGrounds, surface));
1944
2152
  return {
1945
2153
  ...entry,
1946
2154
  styleBackground: arrangementGroundToken(resolveSectionBackground({ kind: "none" }, null, rhythm)),
@@ -1949,7 +2157,8 @@ function applyArrangementRhythm(entry, position) {
1949
2157
  _effectiveLook: tinted,
1950
2158
  _lookHooks: {
1951
2159
  ...isObjectRecord(updated._lookHooks) ? updated._lookHooks : {},
1952
- "data-surface": surface
2160
+ "data-surface": surface,
2161
+ ...shape
1953
2162
  }
1954
2163
  }
1955
2164
  };
@@ -2054,12 +2263,11 @@ function resolveArrangementRoleSurfaces(look, runtime, background) {
2054
2263
  ...look,
2055
2264
  ground,
2056
2265
  roleSurfaces,
2057
- itemSurfaces: resolveLookSlotSurfaces(look.look, look.itemRoles, roleSurfaces)
2266
+ itemSurfaces: resolveLookSlotSurfaces(look, look.itemRoles, roleSurfaces)
2058
2267
  };
2059
2268
  }
2060
- /** The arrangement key is resolved once by planBlock, including pinned Looks. */
2061
- function heroPhotoGround(entry) {
2062
- return entry.kind === "renderable" && entry.block.kind === "block.hero" ? { paintsGround: heroPhotoPaintsGround(entry.effectiveArrangementKey ?? void 0) } : void 0;
2269
+ function heroPhotoGround(blockKind, arrangementKey) {
2270
+ return blockKind === "block.hero" ? { paintsGround: heroPhotoPaintsGround(arrangementKey) } : void 0;
2063
2271
  }
2064
2272
  //#endregion
2065
2273
  //#region ../blocks/src/system/data/utils.ts
@@ -2339,11 +2547,12 @@ function shouldSkipResolvedLoader(input) {
2339
2547
  if (input.loader.requiredParams?.some((param) => !input.params[param]?.trim())) return true;
2340
2548
  return Boolean(input.isValidEndpoint && !input.isValidEndpoint(input.endpoint));
2341
2549
  }
2342
- async function prefetchBlockDataWithFailures$1(page, context, options) {
2550
+ /** Resolve once through the shared bindings owner; request reuse never reuses content provenance. */
2551
+ function planBlockDataRequests(page, context, options = {}) {
2343
2552
  const runtime = admitLoaderDateRuntime(context);
2344
2553
  const blocks = page.blocks.flatMap((block) => block.id ? [planBlockRequests(block, block.id, context, options, runtime)] : []);
2345
2554
  return {
2346
- ...projectLoaderOutcomes(blocks, await Promise.all(blocks.flatMap((block) => block.requests.map((request) => executeLoaderRequest(request, options))))),
2555
+ blocks,
2347
2556
  loaderSnapshot: {
2348
2557
  stage: context.previewStage === "preview" ? "draft" : "published",
2349
2558
  blocks: Object.fromEntries(blocks.map((block) => [block.id, {
@@ -2357,6 +2566,16 @@ async function prefetchBlockDataWithFailures$1(page, context, options) {
2357
2566
  }
2358
2567
  };
2359
2568
  }
2569
+ async function prefetchBlockDataWithFailures$1(page, context, options) {
2570
+ const plan = planBlockDataRequests(page, context, options);
2571
+ return projectBlockDataOutcomes(plan, await Promise.all(plan.blocks.flatMap((block) => block.requests.map((request) => executeBlockDataRequest(request, options)))));
2572
+ }
2573
+ function projectBlockDataOutcomes(plan, outcomes) {
2574
+ return {
2575
+ ...projectLoaderOutcomes(plan.blocks, outcomes),
2576
+ loaderSnapshot: plan.loaderSnapshot
2577
+ };
2578
+ }
2360
2579
  function planBlockRequests(block, id, context, options, runtime) {
2361
2580
  const definition = (options.getBlockDefinition ?? getBlockDefinition)(block.kind);
2362
2581
  const loaders = definition ? normalizeDataLoaders(definition) : customLoaders(block.kind, options);
@@ -2406,7 +2625,7 @@ function planLoaderRequest({ key, loader }, block, blockId, vm, options, runtime
2406
2625
  params
2407
2626
  };
2408
2627
  }
2409
- async function executeLoaderRequest(request, options) {
2628
+ async function executeBlockDataRequest(request, options) {
2410
2629
  try {
2411
2630
  return {
2412
2631
  kind: "loaded",
@@ -2665,6 +2884,11 @@ z.object({
2665
2884
  limit: z.coerce.number().int().min(1).max(100).default(50),
2666
2885
  search: z.string().trim().min(1).max(120).optional()
2667
2886
  });
2887
+ //#endregion
2888
+ //#region ../api/src/utils/isRecord.ts
2889
+ function isRecord$1(value) {
2890
+ return typeof value === "object" && value !== null && !Array.isArray(value);
2891
+ }
2668
2892
  z.object({
2669
2893
  formulaVersion: z.literal("managed-domain-overage-v1"),
2670
2894
  conversionRule: z.literal("usd-to-gbp-1-to-1-v1"),
@@ -3590,7 +3814,7 @@ function sanitizeMarks(marks) {
3590
3814
  if (!Array.isArray(marks) || marks.length === 0) return;
3591
3815
  const sanitized = marks.flatMap((mark) => {
3592
3816
  if (mark.type === "bold" || mark.type === "strong" || mark.type === "italic" || mark.type === "em") return [{ type: mark.type }];
3593
- if (mark.type === "link" && isRecord$3(mark.attrs) && typeof mark.attrs.href === "string") {
3817
+ if (mark.type === "link" && isRecord$1(mark.attrs) && typeof mark.attrs.href === "string") {
3594
3818
  const attrs = { href: mark.attrs.href };
3595
3819
  if (typeof mark.attrs.target === "string" && mark.attrs.target.trim().length > 0) attrs.target = mark.attrs.target;
3596
3820
  if (typeof mark.attrs.rel === "string" && mark.attrs.rel.trim().length > 0) attrs.rel = mark.attrs.rel;
@@ -3697,7 +3921,7 @@ function collectCartLinkStats(items, depth = 0) {
3697
3921
  return result;
3698
3922
  }
3699
3923
  function isNavigationMenuValidationItem(value) {
3700
- if (!isRecord$3(value)) return false;
3924
+ if (!isRecord$1(value)) return false;
3701
3925
  return typeof value.label === "string";
3702
3926
  }
3703
3927
  //#endregion
@@ -4132,4 +4356,4 @@ function sdkCustomLoaders(block) {
4132
4356
  }])) : void 0;
4133
4357
  }
4134
4358
  //#endregion
4135
- export { resolvePageRouteTarget as C, parseStoredVariant as D, toPresentationPage as E, isCanonicalRichTextDoc as O, resolveEntryRouteTarget as S, toEditorPresentationPage as T, buildLinkedContentEditTarget as _, SDK_WORKFLOW_ENDPOINT_PATTERN as a, defaultTransforms as b, navigationLinkInputSchemaOptions as c, resolveSdkFooterMode as d, buildPageRenderPlan as f, retargetJoinsAcrossOmissions as g, renderedJoinLayout as h, collectPortalLinkStats as i, footerModeSchema as l, joinSlotKey as m, prefetchBlockDataWithFailures as n, SDK_WORKFLOW_ID_PATTERN as o, composePageJoins as p, collectCartLinkStats as r, loaderFallbackScalarSchema as s, SUPPORTED_LOADER_ENDPOINTS as t, resolveFooterRenderPlan as u, resolveLinkedEntryInlineFieldEligibility as v, resolveRouteTarget as w, resolveAuthoredLinkHref as x, builtinTransformDefinitions as y };
4359
+ export { resolvePageRouteTarget as C, parseStoredVariant as D, createPresentationPageReader as E, isCanonicalRichTextDoc as O, resolveEntryRouteTarget as S, createEditorPresentationPageReader as T, buildLinkedContentEditTarget as _, SDK_WORKFLOW_ENDPOINT_PATTERN as a, defaultTransforms as b, navigationLinkInputSchemaOptions as c, resolveSdkFooterMode as d, createPageRenderPlanReader as f, retargetJoinsAcrossOmissions as g, renderedJoinLayout as h, collectPortalLinkStats as i, footerModeSchema as l, joinSlotKey as m, prefetchBlockDataWithFailures as n, SDK_WORKFLOW_ID_PATTERN as o, composePageJoins as p, collectCartLinkStats as r, loaderFallbackScalarSchema as s, SUPPORTED_LOADER_ENDPOINTS as t, resolveFooterRenderPlan as u, resolveLinkedEntryInlineFieldEligibility as v, resolveRouteTarget as w, resolveAuthoredLinkHref as x, builtinTransformDefinitions as y };