@riverbankcms/sdk 0.175.0 → 0.177.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 (194) hide show
  1. package/README.md +12 -4
  2. package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-sYraeqm9.d.ts} +1 -1
  3. package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-Bp7hTDTy.d.ts} +8 -16
  4. package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-CxkCCyKw.d.ts} +2 -2
  5. package/dist/_dts/{client-B6tCvmG4.d.ts → client-K6UhbL3t.d.ts} +1 -1
  6. package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-BLAdIMyr.d.ts} +4 -8
  7. package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-BG7yTZ6t.d.ts} +8 -8
  8. package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DwMHeYmQ.d.ts} +85 -8
  9. package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-X_WpGzZZ.d.ts} +2 -2
  10. package/dist/_dts/{index-CQUzwOxO.d.ts → index--n-wV8Xd.d.ts} +1 -1
  11. package/dist/_dts/{index-OtazQE3U.d.ts → index-BLseXObg.d.ts} +2 -2
  12. package/dist/_dts/{index-Bl5_pjmq.d.ts → index-BMGif2r3.d.ts} +1 -1
  13. package/dist/_dts/{index-DmhFb6R1.d.ts → index-BpAW9AKB.d.ts} +1 -1
  14. package/dist/_dts/{index-_pXaCO12.d.ts → index-Bygd2RCg.d.ts} +4 -4
  15. package/dist/_dts/{index-Btp5nIoz.d.ts → index-CBRbZJ6u.d.ts} +2 -15
  16. package/dist/_dts/{index-YRQulWB4.d.ts → index-CX9bp60k.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-uhUThWaq.d.ts} +7 -7
  18. package/dist/_dts/{request-BT8i_vH-.d.ts → request-Bf9YImJw.d.ts} +54398 -54148
  19. package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-D6M5NMZB.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-DkzWvFbG.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/gifting/client.d.ts +1 -1
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-OKzbqRBx.d.ts → types-BdZ5pJSk.d.ts} +20 -3
  56. package/dist/_dts/{types-C0XZnjXz.d.ts → types-C1l2Sm2h.d.ts} +5 -5
  57. package/dist/_dts/{types-CXL1QJSY.d.ts → types-DgV8P2mz.d.ts} +7 -7
  58. package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-BtbZIT5f.d.ts} +7 -6
  59. package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
  61. package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
  62. package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
  63. package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
  64. package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
  65. package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
  66. package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
  67. package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
  68. package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
  69. package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
  70. package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
  71. package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
  73. package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
  74. package/dist/client/{Page-CWN_8cLZ.mjs → Page-C03rc6jw.mjs} +339 -269
  75. package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
  76. package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
  77. package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
  78. package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
  79. package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
  80. package/dist/client/bookings.mjs +5 -5
  81. package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
  82. package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
  83. package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
  84. package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
  85. package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
  86. package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
  88. package/dist/client/client.mjs +70 -10
  89. package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
  90. package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
  91. package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
  93. package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
  94. package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
  95. package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
  96. package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
  97. package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
  98. package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
  99. package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
  100. package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
  101. package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
  102. package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
  103. package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
  104. package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
  105. package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +4 -4
  107. package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
  108. package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
  109. package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
  110. package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
  111. package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
  112. package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
  114. package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
  115. package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
  116. package/dist/client/portal/client.mjs +47 -26
  117. package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
  118. package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
  119. package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
  120. package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
  121. package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
  122. package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
  123. package/dist/client/rendering/client.mjs +23 -23
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +87 -22
  126. package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
  128. package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
  129. package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
  130. package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
  131. package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
  132. package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
  133. package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
  134. package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
  135. package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
  136. package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
  137. package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
  138. package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
  139. package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
  140. package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
  141. package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
  142. package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
  143. package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-D6-jojqh.mjs} +52 -8
  144. package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-BUVFKZ4k.mjs} +57 -61
  145. package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-292pOiSt.mjs} +10 -10
  146. package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-CW0Yzj3h.mjs} +9 -8
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-Dba7zoZK.mjs} +87 -48
  148. package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
  149. package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-B-utyhbS.mjs} +506 -282
  150. package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-CCoGydUD.mjs} +1 -1
  151. package/dist/preview-next/client/runtime.mjs +3 -3
  152. package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-DCpXVcA0.mjs} +2 -2
  153. package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-sjOvRAHY.mjs} +27 -17
  154. package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-R1rZ9-IZ.mjs} +3 -30
  155. package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-BS7CANPv.mjs} +17 -3
  156. package/dist/preview-next/container-responsive.css +3 -0
  157. package/dist/preview-next/editor-chrome.css +4 -2
  158. package/dist/preview-next/keepAlive.mjs +1 -1
  159. package/dist/preview-next/middleware.mjs +1 -1
  160. package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BSSbtz6A.mjs} +24 -3
  161. package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Dc3DX7Cf.mjs} +84 -16
  162. package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
  163. package/dist/server/{client-CgghATBm.mjs → client-BPLLL22F.mjs} +69 -10
  164. package/dist/server/config-validation.mjs +1 -1
  165. package/dist/server/config.mjs +2 -2
  166. package/dist/server/data/resolveBlockData.mjs +1 -1
  167. package/dist/server/index.mjs +2 -2
  168. package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
  169. package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
  170. package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
  171. package/dist/server/next/revalidate.mjs +15 -8
  172. package/dist/server/next.mjs +6 -6
  173. package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-CkpwAHvW.mjs} +1 -1
  174. package/dist/server/page-converter.mjs +1 -1
  175. package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
  176. package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
  177. package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-6z6JBU41.mjs} +121 -67
  178. package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-B4_Llisx.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
  181. package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
  182. package/dist/server/rendering/components/pageShared.mjs +1 -1
  183. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  184. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  185. package/dist/server/rendering/server.mjs +4 -4
  186. package/dist/server/rendering.mjs +7 -7
  187. package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
  188. package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
  189. package/dist/server/server.mjs +3 -3
  190. package/dist/server/{validation-3puM5SM8.mjs → validation-BvHio6QI.mjs} +4 -6
  191. package/dist/server/{version-B8g-Wx57.mjs → version-SuFlio6n.mjs} +1 -1
  192. package/dist/styles/index.css +8 -1
  193. package/package.json +1 -1
  194. package/dist/server/identity-DQD_8lNO.mjs +0 -6
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { $r as selectBlockContent, Aa as formEmbedFragment, As as isRecord$1, Ba as ctaButton, Bi as groupOfferingRunsByCourse, Br as defaultTransforms, Bs as unwrapResponse, Ca as richTextFragment, Cr as arrangementHooksFromContent, D as ObservedJoin, Da as faqHeadingFragment, Dr as buildLoadedOfferingsPreviewListing, Ea as faqAccordionFragment, El as parseThemeForPersistence, Er as getDefaultComponentRegistry, Fa as heroCtaRowFragment, Fi as buildResolveImageUrlContext, Fn as renderSourceFor, Fr as siblingPath, Fu as readEditorBlockVersionsFromPlacement, Ga as validateManifestDraft, Gr as createEditorPresentationPageReader, Ha as defineFragment, Hn as unsafeAsLinkedContentEntryId, Hr as resolvePageRouteTarget, Ia as ctaRowFragment, Ii as getCurrentResolveImageUrlContext, Il as defaultThemeTokens, In as renderedFieldChanges, Iu as readPublishedBlockPlacement, Jr as mapOutlineRegions, Ki as readOfferingsGrouping, Kr as allOutlineBlocks, Li as setContextResolveImageUrlContext, Ln as resolveRenderedValues, Ls as calendarWindowQuerySchema, Lu as selectedContentVersionId, Ma as testimonialsCarouselFragment, Mr as logger, Na as testimonialsHeadingFragment, Nl as parseSurfaceTree, Nr as Text$1, Oa as blogFeaturedPostFragment, Or as resolveEventDetailsPresentation, Pa as ctaCopyFragment, Pn as remoteDraftValues, Pr as getAtPath, Pt as clientComponentRegistry, Pu as NO_BLOCK_VERSIONS, Qr as readinessFactsFromLoaders, Ri as normalizeEventRegistrationPageSurfaceSubject, Rr as coerceLinkedContentEntriesPayload, Sa as bookingConsentCarrierSchema, So as mergeContentWithBlockStyleOverrides, Sr as resolveDefaultBlockTree, Ta as cardFragment, Tr as readBlockComposition, Ua as runTransforms, Ur as resolveRouteTarget, Va as bodyCopyFragment, Vr as resolveEntryRouteTarget, W as usePreviewToken, Wa as compileManifestContentContract, Wi as offeringsListingFor, Yu as unsafeAsEditorBlockId, ai as normalizeLocationMapSource, ao as coerceInlineTextWithFallback, ba as pageTemplateFromEntry, bn as useEditorUiStoreInstance, bo as buildThemeRuntime, br as makeDefaultBlockComponent, ci as offeringsPreviewBlockDefinition, do as isInlineTextEmpty, dr as createPageRenderPlanReader, eo as parseBlockIconValue, fr as planArrangementContent, gr as retargetJoinsAcrossOmissions, hr as renderedJoinLayout, id as assertNever, ii as normalizeBlockContent, ja as formCopyFragment, jl as textColorStyle, jr as renderInlineText, k as PreviewRenderPlanProjection, ka as singleButtonFragment, kr as buildAppointmentServicesView, ks as isObjectRecord, li as publicRouteCandidatesSchema, lu as buildMailingListSignupBlockSourceRef, ma as resolveDateRuntimeContext, mo as parseInlineTextFromUnknown, mr as joinSlotKey, ni as getBlockDefinition, no as parseGeneratedIconSetId, oi as resolveLocationMapLocation, oo as deriveInlineTextFieldChanges, pa as readRuntimeNow, pl as bindingSchema, pr as composePageJoins, qr as mapOutlineBlocks, rd as toUtcIsoDateTimeString, s as usePreviewPageDesignRenderState, su as generateUuidV4, to as parseGeneratedIconAssetId, ul as canWriteLinkedEntry, uo as inlineTextToPlainText, va as projectRecurringSchedule, vi as cardListPresentationSchemaShape, wa as headingFragment, wr as blockLookFromContent, wu as sameMailingListPlacementTargeting, xa as publicEventsArraySchema, xu as parseMailingListPlacementTargeting, ya as hiddenFromVisitors, yi as RichText$1, yn as useEditorUiStore, za as heroCopyFragment, zi as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS } from "./previewAssistantSlot-B61mZd81.mjs";
3
- import { Bt as publicLocationSchema, Mt as decideLocationSourcePermission, Rt as parseLocationValue, zt as projectPublicLocation } from "./lucide-react-Dfgl3Vtq.mjs";
4
- import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-BZDIC-fA.mjs";
5
- import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-bq7gbKvn.mjs";
6
- import { f as useEditor } from "./previewChromeRoot-dwOn9XtM.mjs";
7
- import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-ChyjB96e.mjs";
2
+ import { $r as selectBlockContent, Aa as faqHeadingFragment, Bi as setContextResolveImageUrlContext, Br as defaultTransforms, Bs as publicMapLocationParamsSchema, Bu as readEditorBlockVersionsFromPlacement, Ca as pageTemplateFromEntry, Co as buildThemeRuntime, Cr as arrangementHooksFromContent, D as ObservedJoin, Da as headingFragment, Dr as buildLoadedOfferingsPreviewListing, Ea as richTextFragment, Er as getDefaultComponentRegistry, Eu as parseMailingListPlacementTargeting, Fa as testimonialsCarouselFragment, Fn as renderSourceFor, Fr as siblingPath, Ga as defineFragment, Gr as createEditorPresentationPageReader, Ha as heroCopyFragment, Hi as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Hn as unsafeAsLinkedContentEntryId, Hr as resolvePageRouteTarget, Hu as selectedContentVersionId, Ia as testimonialsHeadingFragment, Il as textColorStyle, In as renderedFieldChanges, Ja as validateManifestDraft, Jr as mapOutlineRegions, Ka as runTransforms, Kr as allOutlineBlocks, La as ctaCopyFragment, Ln as resolveRenderedValues, Ma as singleButtonFragment, Mr as logger, Ms as isObjectRecord, Na as formEmbedFragment, Nr as Text$1, Ns as isRecord$1, Oa as cardFragment, Or as resolveEventDetailsPresentation, Pa as formCopyFragment, Pn as remoteDraftValues, Pr as getAtPath, Pt as clientComponentRegistry, Qr as readinessFactsFromLoaders, Ra as heroCtaRowFragment, Ri as buildResolveImageUrlContext, Rl as parseSurfaceTree, Rr as coerceLinkedContentEntriesPayload, Sa as hiddenFromVisitors, Si as RichText$1, Sr as resolveDefaultBlockTree, Ta as bookingConsentCarrierSchema, To as mergeContentWithBlockStyleOverrides, Tr as readBlockComposition, Ua as ctaButton, Ui as groupOfferingRunsByCourse, Ur as resolveRouteTarget, Vi as normalizeEventRegistrationPageSurfaceSubject, Vl as defaultThemeTokens, Vr as resolveEntryRouteTarget, Vs as calendarWindowQuerySchema, Vu as readPublishedBlockPlacement, W as usePreviewToken, Wa as bodyCopyFragment, Ws as unwrapResponse, Yi as readOfferingsGrouping, _a as resolveDateRuntimeContext, _o as parseInlineTextFromUnknown, ai as LOCATION_MAP_LOADER_KEYS, ao as parseGeneratedIconSetId, bn as useEditorUiStoreInstance, br as makeDefaultBlockComponent, cd as toUtcIsoDateTimeString, ci as parseLocationMapLoaderResult, co as coerceInlineTextWithFallback, di as offeringsPreviewBlockDefinition, dr as createPageRenderPlanReader, ed as unsafeAsEditorBlockId, fi as publicRouteCandidatesSchema, fr as planArrangementContent, fu as generateUuidV4, ga as readRuntimeNow, gr as retargetJoinsAcrossOmissions, hl as canWriteLinkedEntry, hr as renderedJoinLayout, ii as normalizeBlockContent, io as parseGeneratedIconAssetId, ja as blogFeaturedPostFragment, jl as parseThemeForPersistence, jr as renderInlineText, k as PreviewRenderPlanProjection, ka as faqAccordionFragment, kr as buildAppointmentServicesView, ku as sameMailingListPlacementTargeting, ld as assertNever, li as resolveLocationMapLocation, lo as deriveInlineTextFieldChanges, mo as isInlineTextEmpty, mr as joinSlotKey, mu as buildMailingListSignupBlockSourceRef, ni as getBlockDefinition, oi as describeUnresolvedLocationMapLocation, po as inlineTextToPlainText, pr as composePageJoins, qa as compileManifestContentContract, qi as offeringsListingFor, qr as mapOutlineBlocks, ro as parseBlockIconValue, s as usePreviewPageDesignRenderState, si as normalizeLocationMapSource, vl as bindingSchema, wa as publicEventsArraySchema, wr as blockLookFromContent, xa as projectRecurringSchedule, xi as cardListPresentationSchemaShape, yn as useEditorUiStore, za as ctaRowFragment, zi as getCurrentResolveImageUrlContext, zu as NO_BLOCK_VERSIONS } from "./previewAssistantSlot-B-utyhbS.mjs";
3
+ import { Lt as parseLocationValue, Rt as projectPublicLocation, zt as publicLocationSchema } from "./lucide-react-McYZeSMb.mjs";
4
+ import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-sjOvRAHY.mjs";
5
+ import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-D6-jojqh.mjs";
6
+ import { f as useEditor } from "./previewChromeRoot-CCoGydUD.mjs";
7
+ import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-CW0Yzj3h.mjs";
8
8
  import * as React$1 from "react";
9
9
  import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -17,6 +17,7 @@ const SUPPORTED_LOADER_ENDPOINTS = [
17
17
  "listPublicEventCalendarWindow",
18
18
  "listPublicRecurringSchedule",
19
19
  "getPublicEventDetails",
20
+ "getPublicMapLocation",
20
21
  "listPublicRouteCandidates",
21
22
  "listPublicTeamMembers",
22
23
  "listPublicProducts",
@@ -578,9 +579,10 @@ function projectLoaderOutcomes(blocks, outcomes) {
578
579
  return values.length ? [[block.id, Object.fromEntries(values)]] : [];
579
580
  })),
580
581
  loaderFailures: Object.fromEntries(blocks.flatMap((block) => {
581
- const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind === "failed" ? [[outcome.request.key, {
582
+ const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind !== "loaded" ? [[outcome.request.key, {
582
583
  endpoint: outcome.request.endpoint,
583
- params: outcome.request.params
584
+ params: outcome.request.params,
585
+ ...outcome.kind === "pending" ? { pending: true } : {}
584
586
  }]] : []);
585
587
  return values.length ? [[block.id, Object.fromEntries(values)]] : [];
586
588
  }))
@@ -902,6 +904,11 @@ function authoringMessage(reason) {
902
904
  case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
903
905
  case "hidden-business-location": return "This map is hidden because your business address is hidden.";
904
906
  case "unresolved-location":
907
+ if (reason.locationReason === "location_loading" || reason.locationReason === "location_load_failed") return describeUnresolvedLocationMapLocation({
908
+ kind: "unresolved",
909
+ source: reason.source,
910
+ reason: reason.locationReason
911
+ }) ?? "";
905
912
  if (reason.source === "business_address") return "Business address details are not configured yet.";
906
913
  return reason.source === "venue" ? "This map is hidden on your site until the venue has a location." : "This map is hidden on your site until you choose a place.";
907
914
  case "editor-unpreviewable":
@@ -1081,11 +1088,7 @@ function buildPageRendererRootRuntime(dataContext) {
1081
1088
  };
1082
1089
  }
1083
1090
  function publicLocationRuntime(context) {
1084
- return {
1085
- businessAddress: context?.businessLocation ?? null,
1086
- venuesById: context?.venuesById ?? {},
1087
- siteCountry: context?.siteCountry ?? null
1088
- };
1091
+ return { siteCountry: context?.siteCountry ?? null };
1089
1092
  }
1090
1093
  function resolveDemoEmailSuppression(dataContext) {
1091
1094
  return dataContext?.demoEmailSuppressed === true;
@@ -1515,11 +1518,10 @@ function createPageRenderPreparationReader() {
1515
1518
  };
1516
1519
  }
1517
1520
  function preparePageRenderEntries(input, previous = null) {
1518
- const admission = preparationAdmission(input);
1519
- const prepared = admission.entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous, admission.permission)]);
1521
+ const prepared = preparationAdmission(input).entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous)]);
1520
1522
  const entries = prepared.map(([, value]) => value);
1521
1523
  const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
1522
- const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
1524
+ const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && candidate.prepared.kind !== "hidden-business-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
1523
1525
  const surviving = new Set(survivors);
1524
1526
  const survivingByEntry = new Map(prepared.filter(([, candidate]) => surviving.has(candidate)));
1525
1527
  const regions = {
@@ -1552,47 +1554,61 @@ function preparationAdmission(input) {
1552
1554
  mailingList: input.dataContext?.mailingList,
1553
1555
  template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
1554
1556
  });
1555
- const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
1556
- return {
1557
- permission,
1558
- entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden")
1559
- };
1557
+ return { entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)) };
1560
1558
  }
1561
- function readPreparedPlanEntry(entry, input, previous, permission) {
1559
+ function readPreparedPlanEntry(entry, input, previous) {
1562
1560
  const cached = previous?.byEntry.get(entry);
1563
1561
  if (cached && previous && samePreparationSettings(previous.input, input) && sameBlockRenderDataContext(previous.input.dataContext, input.dataContext, entry.block.id)) return cached;
1564
- return preparedPlanEntry(entry, prepareSourceEntry(entry, input, permission));
1562
+ return preparedPlanEntry(entry, prepareSourceEntry(entry, input));
1565
1563
  }
1566
1564
  function samePreparationSettings(previous, current) {
1567
1565
  return previous.audience === current.audience && previous.routeMap === current.routeMap && previous.themeResources === current.themeResources && previous.imageResolveContext === current.imageResolveContext;
1568
1566
  }
1569
- /** Source availability is decided before constructing the block or its hydration props. */
1570
- function prepareSourceEntry(entry, input, permission) {
1571
- if (!isPublicSourcePermitted(entry, permission)) return {
1572
- kind: "hidden-business-location",
1573
- businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
1574
- };
1567
+ /**
1568
+ * A map's place is decided before constructing the block or its hydration props,
1569
+ * so a map with nothing to show touches no override, wrapper or authored detail.
1570
+ * Anything short of a loaded place leaves visitors with no map at all.
1571
+ */
1572
+ function prepareSourceEntry(entry, input) {
1575
1573
  if (entry.block.kind === "block.location-map") {
1576
1574
  const content = entry.renderableContent;
1575
+ const locationSource = typeof content.locationSource === "string" ? content.locationSource : null;
1577
1576
  const resolved = resolveLocationMapLocation({
1578
1577
  location: content.location,
1579
- locationSource: typeof content.locationSource === "string" ? content.locationSource : null,
1578
+ locationSource,
1580
1579
  venueId: typeof content.venueId === "string" ? content.venueId : null,
1581
- businessAddress: input.dataContext?.businessLocation,
1582
- venuesById: input.dataContext?.venuesById
1580
+ loaded: readLocationMapLoad(entry.block.id, normalizeLocationMapSource(locationSource), input.dataContext)
1583
1581
  });
1584
- if (resolved.kind === "unresolved") return {
1582
+ if (resolved.kind === "unresolved") return resolved.reason === "hidden_business_address" ? {
1583
+ kind: "hidden-business-location",
1584
+ businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
1585
+ } : {
1585
1586
  kind: "unresolved-location",
1586
- source: resolved.source
1587
+ source: resolved.source,
1588
+ reason: resolved.reason
1587
1589
  };
1590
+ if (resolved.kind === "venue" && resolved.disclosure === "area") return prepareEntry(withoutEntrancePhoto(entry), input);
1588
1591
  }
1589
1592
  return prepareEntry(entry, input);
1590
1593
  }
1591
- /** No source data, override component or wrapper is touched for a hidden map. */
1592
- function isPublicSourcePermitted(entry, permission) {
1593
- if (entry.block.kind !== "block.location-map") return true;
1594
- const rawSource = entry.renderableContent.locationSource;
1595
- return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
1594
+ /** A photo of the entrance gives away a place whose address is only shared with a booking. */
1595
+ function withoutEntrancePhoto(entry) {
1596
+ const { entrancePhoto: _withheld, ...content } = entry.renderableContent;
1597
+ return {
1598
+ ...entry,
1599
+ renderableContent: content
1600
+ };
1601
+ }
1602
+ /** A custom place is in the content. The other sources read only this block's own loader. */
1603
+ function readLocationMapLoad(blockId, source, dataContext) {
1604
+ if (source === "custom" || !blockId) return void 0;
1605
+ const key = LOCATION_MAP_LOADER_KEYS[source];
1606
+ const failure = dataContext?.loaderFailures?.[blockId]?.[key];
1607
+ if (failure) return locationMapLoadFromFailure(failure);
1608
+ return parseLocationMapLoaderResult(dataContext?.resolvedData?.[blockId]?.[key]);
1609
+ }
1610
+ function locationMapLoadFromFailure(failure) {
1611
+ return { kind: failure.pending ? "pending" : "failed" };
1596
1612
  }
1597
1613
  function entryHiddenFromVisitors(entry, facts, interaction) {
1598
1614
  return entry.kind === "renderable" && entry.definition.readiness !== void 0 && hiddenFromVisitors(entry.definition.readiness.assess(entry.renderableContent, facts, {
@@ -1650,7 +1666,16 @@ function prepareEntry(entry, input) {
1650
1666
  */
1651
1667
  function previewableEditorContent(entry) {
1652
1668
  if (entry.block.presentationAdmission.kind !== "editor") return entry.renderableContent;
1653
- return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), entry.ownerEditableContent).kind === "previewable" ? entry.renderableContent : null;
1669
+ return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), withoutRenderOnlyLocation(entry)).kind === "previewable" ? entry.renderableContent : null;
1670
+ }
1671
+ /**
1672
+ * The editor gives a custom map its public projection to draw (authoringLocationMaps).
1673
+ * The draft contract rightly refuses that shape, because it mustn't be saved, and
1674
+ * the owner's stored location was admitted before it was projected.
1675
+ */
1676
+ function withoutRenderOnlyLocation(entry) {
1677
+ const { location, ...content } = entry.ownerEditableContent;
1678
+ return entry.block.kind === "block.location-map" && publicLocationSchema.safeParse(location).success ? content : entry.ownerEditableContent;
1654
1679
  }
1655
1680
  function buildPreparedContent(entry, content, input) {
1656
1681
  const { dataContext } = input;
@@ -2221,7 +2246,8 @@ function preparationDiagnostic(prepared, blockKind) {
2221
2246
  reason: {
2222
2247
  kind: prepared.kind,
2223
2248
  blockKind,
2224
- source: prepared.source
2249
+ source: prepared.source,
2250
+ locationReason: prepared.reason
2225
2251
  },
2226
2252
  outcome: "invalidPlaceholder"
2227
2253
  };
@@ -2963,6 +2989,11 @@ const batchRequestBuilders = {
2963
2989
  endpoint: "getPublicWeeklySlotAvailability",
2964
2990
  params: params ?? { serviceId: "" }
2965
2991
  }),
2992
+ getPublicMapLocation: (id, params) => ({
2993
+ id,
2994
+ endpoint: "getPublicMapLocation",
2995
+ params
2996
+ }),
2966
2997
  getPublicFormById: (id, params) => ({
2967
2998
  id,
2968
2999
  endpoint: "getPublicFormById",
@@ -3026,6 +3057,7 @@ const previewBatchParamReaders = {
3026
3057
  listPublicMemberships: categoriesParam,
3027
3058
  getPublicBookingServices: (params) => nonEmpty(stripUndefined({ ids: normalizeIdsParam(params.ids || void 0) })),
3028
3059
  getPublicFormById: (params) => ({ formId: params.formId ?? "" }),
3060
+ getPublicMapLocation: (params) => publicMapLocationParamsSchema.parse(params),
3029
3061
  listPublicRouteCandidates: noBatchParams,
3030
3062
  listPublicTeamMembers: noBatchParams,
3031
3063
  getPublicWeeklySlotAvailability: noBatchParams
@@ -3122,6 +3154,9 @@ function batchAbortSignal(signals) {
3122
3154
  //#region ../preview-next/src/client/blocks/usePreviewBlockResolvedData.ts
3123
3155
  /** Only active resolved requests live here; the current plan always owns content provenance. */
3124
3156
  function createPreviewLoaderRequests(apiClient, context) {
3157
+ return createLoaderRequests(createPreviewBlockDataApiClient(apiClient, context), context);
3158
+ }
3159
+ function createLoaderRequests(client, context) {
3125
3160
  const entries = /* @__PURE__ */ new Map();
3126
3161
  const listeners = /* @__PURE__ */ new Set();
3127
3162
  const version = { current: 0 };
@@ -3129,7 +3164,6 @@ function createPreviewLoaderRequests(apiClient, context) {
3129
3164
  data: {},
3130
3165
  failures: {}
3131
3166
  };
3132
- const client = createPreviewBlockDataApiClient(apiClient, context);
3133
3167
  const keyFor = (request) => stableSerialize({
3134
3168
  endpoint: request.endpoint,
3135
3169
  params: isSupportedLoaderEndpoint(request.endpoint) ? normalizePublicApiLoaderParams(request.endpoint, request.params, context) : request.params
@@ -3208,9 +3242,10 @@ function serverRequestMatches(plan, request, snapshot) {
3208
3242
  const saved = source.requests[request.key];
3209
3243
  return Boolean(saved && saved.endpoint === request.endpoint && stableSerialize(saved.params) === stableSerialize(request.params));
3210
3244
  }
3245
+ /** Every planned request is started by `reconcile`, so with no server answer it's still on its way. */
3211
3246
  function matchingServerOutcome(plan, request, server) {
3212
3247
  if (!server || !serverRequestMatches(plan, request, server.loaderSnapshot)) return {
3213
- kind: "failed",
3248
+ kind: "pending",
3214
3249
  request
3215
3250
  };
3216
3251
  const values = server.resolvedData[request.blockId];
@@ -3245,11 +3280,7 @@ function usePreviewBlockResolvedData(input) {
3245
3280
  serverGeneration
3246
3281
  ]);
3247
3282
  const plan = useMemo(() => planBlockDataRequests(page, context, { isValidEndpoint: isSupportedLoaderEndpoint }), [page, dataContext]);
3248
- const version = useSyncExternalStore(requests?.subscribe ?? emptySubscribe, requests?.version ?? zero, zero);
3249
- useEffect(() => {
3250
- requests?.reconcile(plan);
3251
- }, [plan, requests]);
3252
- useEffect(() => () => requests?.dispose(), [requests]);
3283
+ const version = useActiveLoaderRequests(requests, plan);
3253
3284
  const icons = usePreviewGeneratedIcons(page, dataContext?.siteId, apiClient, scope, serverGeneration);
3254
3285
  const current = useMemo(() => {
3255
3286
  const server = dataContext?.prefetchedBlockData ?? (dataContext?.loaderSnapshot ? {
@@ -3282,6 +3313,14 @@ function usePreviewBlockResolvedData(input) {
3282
3313
  };
3283
3314
  }, [current, resolvedData]);
3284
3315
  }
3316
+ function useActiveLoaderRequests(requests, plan) {
3317
+ const version = useSyncExternalStore(requests?.subscribe ?? emptySubscribe, requests?.version ?? zero, zero);
3318
+ useEffect(() => {
3319
+ requests?.reconcile(plan);
3320
+ }, [plan, requests]);
3321
+ useEffect(() => () => requests?.dispose(), [requests]);
3322
+ return version;
3323
+ }
3285
3324
  const emptySubscribe = () => () => {};
3286
3325
  const zero = () => 0;
3287
3326
  function buildPreviewBlockDataContext(dataContext) {
@@ -52000,4 +52000,4 @@ var lucide_react_exports = /* @__PURE__ */ __exportAll({
52000
52000
  useLucideContext: () => useLucideContext
52001
52001
  });
52002
52002
  //#endregion
52003
- export { EllipsisVertical as $, LoaderCircle as A, sameMeaningfulAddress as At, ImageOff as B, publicLocationSchema as Bt, Move as C, LOCATION_MATCH_THRESHOLDS_METRES as Ct, MapPin as D, editLocationValue as Dt, Maximize2 as E, decideLocationSave as Et, Italic as F, locationPinSchema as Ft, FileText as G, mapDrawingSchema as Gt, Highlighter as H, asNonEmptyStringOrNull as Ht, Info as I, locationValueSchema as It, FileHeadphone as J, FileSpreadsheet as K, err as Kt, Image as L, normalizeLocationAddressText as Lt, ListOrdered as M, decideLocationSourcePermission as Mt, Link as N, formatLocationAddress as Nt, Lock as O, locationDistanceMetres as Ot, Link2 as P, locationAddressSchema as Pt, ExternalLink as Q, ImageUp as R, parseLocationValue as Rt, Palette as S, Archive as St, Minus as T, decideLocationRelationship as Tt, GripVertical as U, capitalize as Ut, House as V, toLocationCoordinates as Vt, File as W, trimmedStringOrNull as Wt, Eye as X, FileArchive as Y, EyeOff as Z, Redo2 as _, Box as _t, Upload as a, Circle as at, PanelTop as b, ArrowUpRight as bt, Trash2 as c, CircleCheck as ct, SlidersHorizontal as d, ChevronRight as dt, Crosshair as et, Settings as f, ChevronLeft as ft, RotateCcw as g, Building2 as gt, Route as h, Calendar as ht, Video as i, Clock3 as it, List as j, stableJsonStringify as jt, LocateFixed as k, sameLocationSpatialPair as kt, Store as l, CircleAlert as lt, Rows3 as m, Check as mt, X as n, Copy as nt, Undo2 as o, CirclePlus as ot, Search as p, ChevronDown as pt, FilePlay as q, ok as qt, WifiOff as r, Clock as rt, TriangleAlert as s, CircleMinus as st, lucide_react_exports as t, Crop as tt, Sparkles as u, ChevronUp as ut, Plus as v, Bold as vt, Mountain as w, confirmLocationPair as wt, PanelBottom as x, ArrowDown as xt, Pencil as y, ArrowUp as yt, ImagePlus as z, projectPublicLocation as zt };
52003
+ export { Crosshair as $, List as A, stableJsonStringify as At, House as B, toLocationCoordinates as Bt, Move as C, confirmLocationPair as Ct, MapPin as D, locationDistanceMetres as Dt, Maximize2 as E, editLocationValue as Et, Info as F, locationValueSchema as Ft, FileSpreadsheet as G, err as Gt, GripVertical as H, capitalize as Ht, Image as I, normalizeLocationAddressText as It, FileArchive as J, FilePlay as K, ok as Kt, ImageUp as L, parseLocationValue as Lt, Link as M, formatLocationAddress as Mt, Link2 as N, locationAddressSchema as Nt, Lock as O, sameLocationSpatialPair as Ot, Italic as P, locationPinSchema as Pt, EllipsisVertical as Q, ImagePlus as R, projectPublicLocation as Rt, Palette as S, LOCATION_MATCH_THRESHOLDS_METRES as St, Minus as T, decideLocationSave as Tt, File as U, trimmedStringOrNull as Ut, Highlighter as V, asNonEmptyStringOrNull as Vt, FileText as W, mapDrawingSchema as Wt, EyeOff as X, Eye as Y, ExternalLink as Z, Redo2 as _, Bold as _t, Upload as a, CirclePlus as at, PanelTop as b, ArrowDown as bt, Trash2 as c, CircleAlert as ct, SlidersHorizontal as d, ChevronLeft as dt, Crop as et, Settings as f, ChevronDown as ft, RotateCcw as g, Box as gt, Route as h, Building2 as ht, Video as i, Circle as it, ListOrdered as j, decideLocationSourcePermission as jt, LocateFixed as k, sameMeaningfulAddress as kt, Store as l, ChevronUp as lt, Rows3 as m, Calendar as mt, X as n, Clock as nt, Undo2 as o, CircleMinus as ot, Search as p, Check as pt, FileHeadphone as q, WifiOff as r, Clock3 as rt, TriangleAlert as s, CircleCheck as st, lucide_react_exports as t, Copy as tt, Sparkles as u, ChevronRight as ut, Plus as v, ArrowUp as vt, Mountain as w, decideLocationRelationship as wt, PanelBottom as x, Archive as xt, Pencil as y, ArrowUpRight as yt, ImageOff as z, publicLocationSchema as zt };