@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,36 +1,36 @@
1
1
  "use client";
2
- import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CJAINJr3.mjs";
2
+ import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
3
3
  import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Aa as isBlockButtonRole, Eo as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ja as resolveEventRegistrationScopedEvents, Ka as normalizeEventRegistrationPageSurfaceSubject, Oa as BLOCK_BUTTON_ROLE_OPTIONS, Ro as resolveWholeSeriesBookingPhase, To as sanitizeHref, Tr as ImagePresets, Wr as asPartialObject, Xo as formatBookingPriceDisplay, Zr as buildCalendarViewport, _i as buildBookingFormInteractiveIslandProps, _o as groupPublicEventsByRun, ai as formatEventCompactDateRail, ao as isBookableEvent, ei as eventDateOptions, fi as formatTime, hi as resolveRuntimeEventDestination, is as resolvePricingOptionsPriceDisplay, ni as formatCalendarTitle, pi as groupEventsByDate, rs as resolveExactOrFreePriceDisplay, si as formatEventHourLabel, ui as formatEventTimeRange, wr as RichText, yr as bookingPresentation } from "./display-DMqotaGU.mjs";
5
- import { A as normalizeEventCalendarDisplayMode$1, Bt as parseLocationValue, D as isEventCalendarDefaultView, F as arrangementModes, Gt as trimmedStringOrNull, Ht as publicLocationSchema, J as publicEventsArraySchema, O as isEventCalendarDisplayMode, T as eventCalendarVariantMeaning, Ut as toLocationCoordinates, Vt as projectPublicLocation, b as calendarWindowPageSchema, dt as runtimeMediaSchema, fn as resolveBookingBusinessTimeZone, gn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, qt as formatDate, w as eventCalendarListLayoutOptions, zt as normalizeLocationAddressText } from "./noop-DF8_EiFt.mjs";
4
+ import { Ao as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ho as resolveWholeSeriesBookingPhase, Ma as BLOCK_BUTTON_ROLE_OPTIONS, Pa as isBlockButtonRole, Qa as resolveEventRegistrationScopedEvents, Tr as ImagePresets, Wr as asPartialObject, Xa as normalizeEventRegistrationPageSurfaceSubject, _i as groupEventsByDate, cs as resolveExactOrFreePriceDisplay, di as formatEventHourLabel, ei as formatEventLocation, gi as formatTime, ii as eventDateOptions, ko as sanitizeHref, li as formatEventCompactDateRail, lo as isBookableEvent, ls as resolvePricingOptionsPriceDisplay, mi as formatEventTimeRange, oi as formatCalendarTitle, ti as buildCalendarViewport, ts as formatBookingPriceDisplay, wr as RichText, xi as buildBookingFormInteractiveIslandProps, xo as groupPublicEventsByRun, yi as resolveRuntimeEventDestination, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
5
+ import { A as normalizeEventCalendarDisplayMode$1, Bt as projectPublicLocation, D as isEventCalendarDefaultView, F as arrangementModes, Ht as toLocationCoordinates, J as publicEventsArraySchema, Kt as formatDate, O as isEventCalendarDisplayMode, Rt as normalizeLocationAddressText, T as eventCalendarVariantMeaning, Vt as publicLocationSchema, Wt as trimmedStringOrNull, b as calendarWindowPageSchema, dn as resolveBookingBusinessTimeZone, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, w as eventCalendarListLayoutOptions, zt as parseLocationValue } from "./noop-CaQxI-Js.mjs";
6
6
  import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
7
7
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
8
8
  import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
9
- import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-DBTIFWTb.mjs";
9
+ import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel--R0zVzZO.mjs";
10
10
  import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
11
11
  import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-DN8it_Cx.mjs";
12
12
  import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
13
- import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BDZLALxj.mjs";
14
- import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-C-gFwhnO.mjs";
13
+ import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
14
+ import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-B_hcuT06.mjs";
15
15
  import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
16
- import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-Cw4EmEPv.mjs";
17
- import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-DHmeQAvq.mjs";
18
- import { i as SvgNode, s as formatEventLocation } from "./MapDrawingSvg-BJzmFdcn.mjs";
19
- import { n as CardListItems, r as EventItem } from "./EventItem-BybMSKNL.mjs";
20
- import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-Ch0w0Utn.mjs";
21
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-r31k8Icz.mjs";
16
+ import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-BbzH5MQb.mjs";
17
+ import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
18
+ import { n as CardListItems, r as EventItem } from "./EventItem-B0WjGXsH.mjs";
19
+ import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
20
+ import { i as SvgNode } from "./MapDrawingSvg-BfsVyPvB.mjs";
21
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.mjs";
22
22
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
23
23
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
24
- import { t as BookingPanelArrangement } from "./BookingPanelArrangement-DrdtON0q.mjs";
24
+ import { t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
25
25
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
26
26
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
27
- import { t as coerceRichTextDoc } from "./richText-coerce-CDAfpMQU.mjs";
28
- import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BTk470k0.mjs";
29
- import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-C2u4Y-pf.mjs";
30
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-uvWRE5wi.mjs";
31
- import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-C7RJBOW3.mjs";
32
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Db0Iq7nx.mjs";
33
- import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5UfUaD3.mjs";
27
+ import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
28
+ import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-3foOzGWR.mjs";
29
+ import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
30
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-8Ij7vuxY.mjs";
31
+ import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-Bb7rPtSq.mjs";
32
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
33
+ import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
34
34
  import React, { forwardRef } from "react";
35
35
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
36
36
  import { z } from "zod";
@@ -234,6 +234,21 @@ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
234
234
  addressWithBooking: z.boolean().optional()
235
235
  }).readonly();
236
236
  //#endregion
237
+ //#region ../site-contracts/src/siteData/mapLocation.ts
238
+ /** Site and preview authority belong to transport, never to the selected source. */
239
+ const publicMapLocationParamsSchema = z.discriminatedUnion("source", [z.object({
240
+ source: z.literal("venue"),
241
+ venueId: z.string().uuid()
242
+ }), z.object({ source: z.literal("business_address") })]);
243
+ const publicMapLocationResultSchema = z.discriminatedUnion("kind", [
244
+ z.object({
245
+ kind: z.literal("shown"),
246
+ location: publicVenueMapLocationSchema
247
+ }),
248
+ z.object({ kind: z.literal("hidden") }),
249
+ z.object({ kind: z.literal("not_found") })
250
+ ]);
251
+ //#endregion
237
252
  //#region ../core/src/links.ts
238
253
  const nullableString = z.union([z.string().min(1), z.null()]);
239
254
  const RESOLVED_INTERNAL_LINK_ENTITY_TYPES = [
@@ -2165,6 +2180,17 @@ const LOCATION_MAP_LIMITS = {
2165
2180
  max: 600
2166
2181
  }
2167
2182
  };
2183
+ /** Each source has its own loader, so a venue map never asks for the business address. */
2184
+ const LOCATION_MAP_LOADER_KEYS = {
2185
+ venue: "venueMapLocation",
2186
+ business_address: "businessMapLocation"
2187
+ };
2188
+ /** Loader data crosses transport boundaries, so anything unrecognised counts as not loaded. */
2189
+ function parseLocationMapLoaderResult(value) {
2190
+ if (value === void 0 || value === null) return void 0;
2191
+ const parsed = publicMapLocationResultSchema.safeParse(value);
2192
+ return parsed.success ? parsed.data : void 0;
2193
+ }
2168
2194
  function normalizeNumber(value, fallback) {
2169
2195
  if (typeof value === "number" && Number.isFinite(value)) return value;
2170
2196
  if (typeof value === "string") {
@@ -2200,14 +2226,14 @@ function normalizeLocationMapSource(value) {
2200
2226
  function resolveLocationMapLocation(input) {
2201
2227
  const source = normalizeLocationMapSource(input.locationSource);
2202
2228
  if (source === "business_address") {
2203
- const locationValue = normalizeLocationMapValue(input.businessAddress, input.siteCountry);
2229
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2204
2230
  return locationValue ? {
2205
2231
  kind: "business_address",
2206
2232
  locationValue
2207
2233
  } : {
2208
2234
  kind: "unresolved",
2209
2235
  source,
2210
- reason: "missing_business_address"
2236
+ reason: unresolvedLoadReason(input.loaded, "missing_business_address")
2211
2237
  };
2212
2238
  }
2213
2239
  if (source === "venue") {
@@ -2217,15 +2243,16 @@ function resolveLocationMapLocation(input) {
2217
2243
  source,
2218
2244
  reason: "missing_venue_id"
2219
2245
  };
2220
- const locationValue = input.venuesById ? normalizeLocationMapValue(input.venuesById[venueId] ?? null, input.siteCountry) : null;
2246
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2221
2247
  return locationValue ? {
2222
2248
  kind: "venue",
2223
2249
  venueId,
2224
- locationValue
2250
+ locationValue,
2251
+ disclosure: loadedDisclosure(input.loaded)
2225
2252
  } : {
2226
2253
  kind: "unresolved",
2227
2254
  source,
2228
- reason: "missing_venue_location"
2255
+ reason: venueLoadReason(input.loaded)
2229
2256
  };
2230
2257
  }
2231
2258
  const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
@@ -2238,6 +2265,26 @@ function resolveLocationMapLocation(input) {
2238
2265
  reason: "missing_custom_location"
2239
2266
  };
2240
2267
  }
2268
+ function loadedLocationValue(loaded, siteCountry) {
2269
+ return loaded?.kind === "shown" ? normalizeLocationMapValue(loaded.location, siteCountry) : null;
2270
+ }
2271
+ function loadedDisclosure(loaded) {
2272
+ return loaded?.kind === "shown" && loaded.location.addressWithBooking ? "area" : "full";
2273
+ }
2274
+ function unresolvedLoadReason(loaded, missing) {
2275
+ switch (loaded?.kind) {
2276
+ case "hidden": return "hidden_business_address";
2277
+ case "pending": return "location_loading";
2278
+ case "failed": return "location_load_failed";
2279
+ case "shown":
2280
+ case "not_found":
2281
+ case void 0: return missing;
2282
+ }
2283
+ }
2284
+ /** Only the business address can be hidden; a venue that says so is simply unavailable. */
2285
+ function venueLoadReason(loaded) {
2286
+ return loaded?.kind === "hidden" ? "missing_venue_location" : unresolvedLoadReason(loaded, "missing_venue_location");
2287
+ }
2241
2288
  function describeUnresolvedLocationMapLocation(resolvedLocation) {
2242
2289
  if (resolvedLocation.kind !== "unresolved") return null;
2243
2290
  switch (resolvedLocation.reason) {
@@ -2245,11 +2292,20 @@ function describeUnresolvedLocationMapLocation(resolvedLocation) {
2245
2292
  case "missing_venue_id": return "Choose a venue to show this map.";
2246
2293
  case "missing_venue_location": return "The selected venue does not have location details yet.";
2247
2294
  case "missing_custom_location": return "Location details coming soon.";
2295
+ case "hidden_business_address": return "This map is hidden because your business address is hidden.";
2296
+ case "location_loading": return "Loading this map's location…";
2297
+ case "location_load_failed": return "We couldn't load this map's location. Reload the preview to try again.";
2248
2298
  }
2249
2299
  }
2250
2300
  function normalizeLocationMapProps(input) {
2251
2301
  const parsedHours = parseWeeklyOpeningHours(input.openingHours);
2252
- const resolvedLocation = resolveLocationMapLocation(input);
2302
+ const resolvedLocation = resolveLocationMapLocation({
2303
+ location: input.location,
2304
+ siteCountry: input.siteCountry,
2305
+ locationSource: input.locationSource,
2306
+ venueId: input.venueId,
2307
+ loaded: parseLocationMapLoaderResult(normalizeLocationMapSource(input.locationSource) === "venue" ? input.venueMapLocation : input.businessMapLocation)
2308
+ });
2253
2309
  const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
2254
2310
  const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
2255
2311
  return {
@@ -11786,4 +11842,4 @@ const serverComponentRegistry = {
11786
11842
  ...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
11787
11843
  };
11788
11844
  //#endregion
11789
- export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ICON_CONFIG as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, linkSchema as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, getAnchorClasses as Cn, repeat as Ct, shopBlockDefinition as D, ACCORDION_SPACING_MAP as Dn, text as Dt, productListBlockDefinition as E, ACCORDION_OPEN_ACCENT_THICKNESS as En, stack as Et, markEditableSurfaceForwarding as F, parseRepeaterGridInteger as Fn, parseBlockIconValue as Ft, withApiBindings as G, teamReadiness as Gt, formDataSchema as H, augmentManifest as Ht, splitPositioningClasses as I, resolveRepeaterGridColumnFieldId as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, testimonialsReadiness as Kt, desktopOnlyDisplay as L, resolveRepeaterGridRowFieldId as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, bindingSchema as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, DEFAULT_MEDIA_FIELD_KINDS as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, ACCORDION_TRIGGER_FONT_SCALE as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, isAcceptedRepeaterGridSpan as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, resolveRepeaterGridSpanFieldId as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, BACKGROUND_POSITION_PRESET_VALUES as Sn, props as St, productDetailBlockDefinition as T, createButtonVariantField as Tn, section as Tt, createBlockManifest as U, chosenString as Ut, formBlockDefinition as V, isCanonicalRichTextDoc as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, eventDisplayFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, containerStylesField as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, normalizeLocationMapProps as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, normalizeLocationMapSource as fn, button as ft, formatAppointmentPrice as g, emptyStateField as gn, form as gt, formatAppointmentLocation as h, columnsField as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ICON_SIZE_PX as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_TRIGGER_LETTER_SPACING as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, cardStylingFields as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, resolveLocationMapLocation as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, layoutField as vn, icon as vt, cartBlockDefinition as w, createButtonGroup as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, sectionStylesField as xn, media as xt, offeringCourseSlotParents as y, cardStylesField as yn, inline as yt, teamMemberCardBiographyFallback as z, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as zn, parseFieldDefinition as zt };
11845
+ export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ACCORDION_SPACING_MAP as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, resolveRepeaterGridRowFieldId as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, containerStylesField as Cn, repeat as Ct, shopBlockDefinition as D, createButtonGroup as Dn, text as Dt, productListBlockDefinition as E, getAnchorClasses as En, stack as Et, markEditableSurfaceForwarding as F, bindingSchema as Fn, parseBlockIconValue as Ft, withApiBindings as G, publicMapLocationResultSchema as Gn, teamReadiness as Gt, formDataSchema as H, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Hn, augmentManifest as Ht, splitPositioningClasses as I, DEFAULT_MEDIA_FIELD_KINDS as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, isCanonicalRichTextDoc as Kn, testimonialsReadiness as Kt, desktopOnlyDisplay as L, isAcceptedRepeaterGridSpan as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, ACCORDION_TRIGGER_LETTER_SPACING as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, ICON_CONFIG as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, createButtonVariantField as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, ICON_SIZE_PX as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, parseRepeaterGridInteger as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, cardStylesField as Sn, props as St, productDetailBlockDefinition as T, BACKGROUND_POSITION_PRESET_VALUES as Tn, section as Tt, createBlockManifest as U, linkSchema as Un, chosenString as Ut, formBlockDefinition as V, resolveRepeaterGridSpanFieldId as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, publicMapLocationParamsSchema as Wn, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, cardStylingFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, eventDisplayFields as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, LOCATION_MAP_LOADER_KEYS as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, describeUnresolvedLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, resolveLocationMapLocation as gn, form as gt, formatAppointmentLocation as h, parseLocationMapLoaderResult as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ACCORDION_TRIGGER_FONT_SCALE as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_OPEN_ACCENT_THICKNESS as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, normalizeLocationMapSource as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, normalizeLocationMapProps as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, columnsField as vn, icon as vt, cartBlockDefinition as w, sectionStylesField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, layoutField as xn, media as xt, offeringCourseSlotParents as y, emptyStateField as yn, inline as yt, teamMemberCardBiographyFallback as z, resolveRepeaterGridColumnFieldId as zn, parseFieldDefinition as zt };
@@ -1,34 +1,34 @@
1
1
  "use client";
2
2
  "use client";
3
- import { xn as staticHeaderChromeRuntime } from "../shop.interactive-CJAINJr3.mjs";
3
+ import { xn as staticHeaderChromeRuntime } from "../shop.interactive-CxDJ8P2r.mjs";
4
4
  import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
5
- import { Ar as renderVideo, Dr as computeMediaTransformStyle, Er as MediaPlaceholder, Or as mediaImageHostProps, Pr as resolveMediaNodeResponsiveImage, Tr as ImagePresets, kr as renderAudio, wr as RichText } from "../display-DMqotaGU.mjs";
6
- import { n as BookingFormNodeClient } from "../booking-form.client-CKHgxvsh.mjs";
7
- import { t as EventRegistrationBlockClient } from "../event-registration.client-CAdcpnLc.mjs";
8
- import { An as ICON_CONFIG, F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-B1EEZkcr.mjs";
9
- import { f as Text } from "../timetableModel-DBTIFWTb.mjs";
10
- import { o as getRuntimeTimeZone } from "../useAvailableSlots-BomyyKeo.mjs";
11
- import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-D8TpQXjX.mjs";
5
+ import { Ar as renderVideo, Dr as computeMediaTransformStyle, Er as MediaPlaceholder, Or as mediaImageHostProps, Pr as resolveMediaNodeResponsiveImage, Tr as ImagePresets, kr as renderAudio, wr as RichText } from "../display-4HYOb-AK.mjs";
6
+ import { n as BookingFormNodeClient } from "../booking-form.client-B8ohIj13.mjs";
7
+ import { t as EventRegistrationBlockClient } from "../event-registration.client-DWvSODTI.mjs";
8
+ import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, Nn as ICON_CONFIG, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-CIWYKz1V.mjs";
9
+ import { f as Text } from "../timetableModel--R0zVzZO.mjs";
10
+ import { o as getRuntimeTimeZone } from "../useAvailableSlots-BGu_2F50.mjs";
11
+ import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-R9p5c8IH.mjs";
12
12
  import "../accessibleSurfaces-DN8it_Cx.mjs";
13
13
  import { S as clsx } from "../ThemedButton-DuaYtnvG.mjs";
14
- import { t as ShopClient } from "../shop.client-BNZ9M8cG.mjs";
14
+ import { t as ShopClient } from "../shop.client-GHTWUKD6.mjs";
15
15
  import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
16
- import { t as coerceRichTextDoc } from "../richText-coerce-CDAfpMQU.mjs";
16
+ import { t as coerceRichTextDoc } from "../richText-coerce-DkPBFb_a.mjs";
17
17
  import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
18
18
  import { t as CarouselNodeClient } from "../carousel.client-h65clfUO.mjs";
19
- import { t as EventDetailsIslandClient } from "../event-details.client-CJapNbTv.mjs";
20
- import { t as ProductListClient } from "../product-list.client-BLfYQ-qi.mjs";
21
- import { t as ProductDetailClient } from "../product-detail.client-D-XNir0m.mjs";
22
- import { t as CartClient } from "../cart.client-IfJE1zAp.mjs";
23
- import { t as CheckoutClient } from "../checkout.client-Tg9lfeYf.mjs";
24
- import { t as GiftingClient } from "../gifting.client-BVa2XYJB.mjs";
25
- import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-Ciuhsk0E.mjs";
26
- import { t as EventListingClient } from "../EventListing.client-DQx9dohz.mjs";
27
- import { n as EventCombinedIslandClient } from "../EventCombined.client-tky8JcnQ.mjs";
28
- import { t as EventCalendarClient } from "../EventCalendar.client-Dg4PHFJJ.mjs";
29
- import { t as FormNodeClient } from "../form.client-BU6dM0-C.mjs";
30
- import { t as NewsletterFormClient } from "../newsletter-form.client-BMGRiRpo.mjs";
31
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-2xzlERTG.mjs";
19
+ import { t as EventDetailsIslandClient } from "../event-details.client-BwjBJP-f.mjs";
20
+ import { t as ProductListClient } from "../product-list.client-Duhl6rtL.mjs";
21
+ import { t as ProductDetailClient } from "../product-detail.client-Di_anRGR.mjs";
22
+ import { t as CartClient } from "../cart.client-c1YkTC-Q.mjs";
23
+ import { t as CheckoutClient } from "../checkout.client-BeU32khQ.mjs";
24
+ import { t as GiftingClient } from "../gifting.client-B__bGhFc.mjs";
25
+ import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DEYDI54E.mjs";
26
+ import { t as EventListingClient } from "../EventListing.client-CWk2NEwd.mjs";
27
+ import { n as EventCombinedIslandClient } from "../EventCombined.client-BTrmSyUB.mjs";
28
+ import { t as EventCalendarClient } from "../EventCalendar.client-BSMuSqg0.mjs";
29
+ import { t as FormNodeClient } from "../form.client-BVlz-9_t.mjs";
30
+ import { t as NewsletterFormClient } from "../newsletter-form.client-B17WYHxZ.mjs";
31
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CeYQQQs7.mjs";
32
32
  import * as React$1 from "react";
33
33
  import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
34
34
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-2xzlERTG.mjs";
3
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CeYQQQs7.mjs";
4
4
  export { BlocksIslandsHydrator };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { Mn as unsafeAsContentEntryId } from "./shop.interactive-CJAINJr3.mjs";
2
+ import { Mn as unsafeAsContentEntryId } from "./shop.interactive-CxDJ8P2r.mjs";
3
3
  import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Dr as computeMediaTransformStyle, Jo as offeringLabelForPageSurfaceSubject, Ma as resolveDateRuntimeContext, Mr as resolveImageUrl$1, Nr as resolveImageUrlWithContext$1, To as sanitizeHref, Xr as plainTextToInlineText, Yr as parseInlineTextFromUnknown, cs as unsafeAsEventCategoryId, ja as readRuntimeNow, jr as resolveImageSourceSetWithContext$1, qr as inlineTextToPlainText, wr as RichText$2 } from "./display-DMqotaGU.mjs";
5
- import { Ft as EVENT_PRESET_VALUES, Pt as isRecord, dt as runtimeMediaSchema, gn as toUtcIsoDateTimeString, it as createRichTextDoc, lt as mediaSchema, rt as buildRichTextSchema, ut as persistableMediaSchema } from "./noop-DF8_EiFt.mjs";
6
- import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$1, o as ThemeScope, ot as applyCompiledRuntimeFieldsToContent, p as applyBindingsToContent, q as registeredManifestContentContract, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as compileEditorModelRuntime, t as Page, tt as resolveRepeaterGridAcceptedSpans, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as allOutlineBlocks } from "./Page-CWN_8cLZ.mjs";
7
- import { In as resolveRepeaterGridColumnFieldId, Ln as resolveRepeaterGridRowFieldId, Rn as resolveRepeaterGridSpanFieldId, Vn as isCanonicalRichTextDoc, zt as parseFieldDefinition } from "./registry.server-B1EEZkcr.mjs";
8
- import { F as surfaceResolutionContextFromTheme, O as componentRuntimeRulesForSiteStyle, Q as parsePageDesignIntent, hn as asLayoutVariantKey, j as requireCuratedSiteStyle, k as designRuntimeRulesForSiteStyle, mn as asDesignBlockId, pn as asAppearancePresetId, w as buildInitialPolicyPageDesignIntent, wt as appearancePresets } from "./lookSurfaces-BDZLALxj.mjs";
9
- import { l as parseBackgroundContent } from "./boxStyleClassNames-C-gFwhnO.mjs";
4
+ import { $o as offeringLabelForPageSurfaceSubject, Dr as computeMediaTransformStyle, Fa as readRuntimeNow, Ia as resolveDateRuntimeContext, Mr as resolveImageUrl$1, Nr as resolveImageUrlWithContext$1, Xr as plainTextToInlineText, Yr as parseInlineTextFromUnknown, jr as resolveImageSourceSetWithContext$1, ko as sanitizeHref, ps as unsafeAsEventCategoryId, qr as inlineTextToPlainText, wr as RichText$2 } from "./display-4HYOb-AK.mjs";
5
+ import { Ft as EVENT_PRESET_VALUES, Pt as isRecord, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, it as createRichTextDoc, lt as mediaSchema, rt as buildRichTextSchema, ut as persistableMediaSchema } from "./noop-CaQxI-Js.mjs";
6
+ import { $ as projectRepeaterGridLayout$1, A as SUPPORTED_LOADER_ENDPOINTS, B as resolveRouteHrefForStage, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as renderBlock, G as siteHeaderManifest, H as getBlockDefinition, I as getDefaultComponentRegistry, J as compileManifestContentContract, K as blockDesignCapabilityMapFromDefinitions, L as resolveAuthoredLinkHref, N as planBlockDataRequests, O as MissingSdkThemeError, P as makeDefaultBlockComponent, Q as fieldPlanToZod, R as isRouteVisibleInStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as systemBlockDefinitions, V as allOutlineBlocks, W as siteFooterManifest, X as admitLayoutGridForPlan, Y as registeredManifestContentContract, Z as deriveFieldValidationPlan, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, ct as applyCompiledRuntimeFieldsToContent, d as buildThemeRuntime, dt as readPublishedBlockPlacement, et as projectRepeaterGridLayoutForRendering$1, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as isRecord$1, j as prefetchBlockDataWithFailures, k as requireSdkTheme, l as PageRenderer, lt as compileEditorModelRuntime, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as normalizeRepeaterGridSpan, o as ThemeScope, ot as parseListLook, p as applyBindingsToContent, q as admitTransportedRenderableManifestContent, r as renderWithOverrideOnlyRuntime, rt as resolveRepeaterGridAcceptedSpans, s as EditorPageRenderer, st as buildPageDesignEditorReadModel, t as Page, tt as flowRepeaterGridItems, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as normalizeRenderStage } from "./Page-C03rc6jw.mjs";
7
+ import { Bn as resolveRepeaterGridRowFieldId, Kn as isCanonicalRichTextDoc, Vn as resolveRepeaterGridSpanFieldId, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-CIWYKz1V.mjs";
8
+ import { F as surfaceResolutionContextFromTheme, O as componentRuntimeRulesForSiteStyle, Q as parsePageDesignIntent, hn as asLayoutVariantKey, j as requireCuratedSiteStyle, k as designRuntimeRulesForSiteStyle, mn as asDesignBlockId, pn as asAppearancePresetId, w as buildInitialPolicyPageDesignIntent, wt as appearancePresets } from "./lookSurfaces-BwiNdgMU.mjs";
9
+ import { l as parseBackgroundContent } from "./boxStyleClassNames-B_hcuT06.mjs";
10
10
  import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
11
11
  import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
12
12
  import "react";
@@ -671,6 +671,36 @@ function buildFooterRenderablePageOutline(siteData, blocks) {
671
671
  customBlocks: resolveSiteCustomBlocks(siteData)
672
672
  });
673
673
  }
674
+ function footerLoaderInputs(siteData, options) {
675
+ return {
676
+ page: projectRenderablePageOutline(buildFooterRenderablePageOutline(siteData, siteData.footerBlocks ?? [])),
677
+ context: {
678
+ siteId: siteData.site.id,
679
+ previewStage: options.previewStage ?? "published",
680
+ root: {
681
+ now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
682
+ bookingTimeZone: siteData.bookingTimeZone
683
+ }
684
+ }
685
+ };
686
+ }
687
+ /**
688
+ * Run the loaders of a site's footer blocks, for a footer `PageRenderer`.
689
+ *
690
+ * A custom footer callback calls this itself and passes the result in its data
691
+ * context, or hands it to `Layout` as `footerBlockData`. Without it, a map in the
692
+ * footer that needs a venue or the business address is left out for visitors.
693
+ */
694
+ async function prefetchFooterBlockData(client, siteData, options = {}) {
695
+ const { page, context } = footerLoaderInputs(siteData, options);
696
+ return prefetchBlockDataWithFailures(page, context, client, { customBlocks: resolveSiteCustomBlocks(siteData) });
697
+ }
698
+ /** Whether a footer needs `prefetchFooterBlockData`, for the warning `Layout` gives when it can't run it. */
699
+ function footerBlocksNeedLoaders(siteData, options = {}) {
700
+ const { page, context } = footerLoaderInputs(siteData, options);
701
+ const supported = SUPPORTED_LOADER_ENDPOINTS;
702
+ return planBlockDataRequests(page, context, { isValidEndpoint: (endpoint) => supported.includes(endpoint) }).blocks.some((block) => block.requests.length > 0);
703
+ }
674
704
  //#endregion
675
705
  //#region src/rendering/components/Layout.tsx
676
706
  /**
@@ -761,7 +791,7 @@ async function Layout(props) {
761
791
  const header = props.header ?? true;
762
792
  const footer = props.footer ?? true;
763
793
  const siteData = await resolveLayoutSiteData(props);
764
- const { site, navigation, layout, routes, footerBlocks = [] } = siteData;
794
+ const { site, navigation, layout, routes } = siteData;
765
795
  const navigationOptions = {
766
796
  hasPortalSession,
767
797
  previewStage,
@@ -787,7 +817,8 @@ async function Layout(props) {
787
817
  legalFooterMenu: legalFooterMenuViewModel,
788
818
  ...chromeLogoContent,
789
819
  site,
790
- routes
820
+ routes,
821
+ footerBlocks: await prepareFooterBlocks(props, siteData, previewStage)
791
822
  };
792
823
  if (isOverrideOnlyLayout(props)) return renderOverrideOnlyLayout(props, {
793
824
  header: props.header ?? true,
@@ -823,10 +854,9 @@ async function Layout(props) {
823
854
  } : theme;
824
855
  const blocksThemeWithVariant = themeWithVariant;
825
856
  const blocksTheme = theme;
826
- const apiBaseUrl = resolveLayoutApiBaseUrl();
827
857
  const sharedViewModelOverrides = {
828
858
  $root: buildLayoutRootContext(siteData, {
829
- apiBaseUrl,
859
+ apiBaseUrl: resolveLayoutApiBaseUrl(),
830
860
  previewStage,
831
861
  theme: themeWithVariant
832
862
  }),
@@ -861,17 +891,16 @@ async function Layout(props) {
861
891
  isSdkSite: Boolean(site.is_sdk_site),
862
892
  mode: resolveSdkFooterMode(siteData.sdkConfig)
863
893
  });
864
- const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
894
+ const footerBlocks = customFooterData.footerBlocks;
895
+ const footerBlocksElement = footerBlocks ? /* @__PURE__ */ jsx(PageRenderer, {
865
896
  theme,
866
897
  themeTokens: builtThemeRuntime.tokens,
867
898
  headingScope: "region",
868
- page: buildFooterRenderablePageOutline(siteData, footerBlocks),
869
- routeMap: routes,
870
- dataContext: buildLayoutRootContext(siteData, {
871
- apiBaseUrl,
872
- previewStage,
899
+ ...footerBlocks,
900
+ dataContext: {
901
+ ...footerBlocks.dataContext,
873
902
  theme: themeWithVariant
874
- }),
903
+ },
875
904
  sdkConfig: siteData.sdkConfig ?? null
876
905
  }) : null;
877
906
  if (footerPlan.renderFooterBlocks && !footerBlocksElement && true) console.debug("[sdk] Footer mode renders blocks, but footerBlocks is empty/missing", {
@@ -901,6 +930,44 @@ async function Layout(props) {
901
930
  ] })
902
931
  });
903
932
  }
933
+ /** Footer data is loaded once here, for the built-in footer and a custom callback alike. */
934
+ async function prepareFooterBlocks(props, siteData, previewStage) {
935
+ const footer = props.footer ?? true;
936
+ const blocks = siteData.footerBlocks ?? [];
937
+ if (footer === false || blocks.length === 0) return null;
938
+ if (footer === true && !siteRendersFooterBlocks(siteData)) return null;
939
+ return {
940
+ page: buildFooterRenderablePageOutline(siteData, blocks),
941
+ routeMap: siteData.routes,
942
+ dataContext: {
943
+ ...buildLayoutRootContext(siteData, {
944
+ apiBaseUrl: resolveLayoutApiBaseUrl(),
945
+ previewStage
946
+ }),
947
+ ...footerLoaderContext(await resolveFooterBlockData(props, siteData, previewStage))
948
+ }
949
+ };
950
+ }
951
+ function siteRendersFooterBlocks(siteData) {
952
+ return resolveFooterRenderPlan({
953
+ isSdkSite: Boolean(siteData.site.is_sdk_site),
954
+ mode: resolveSdkFooterMode(siteData.sdkConfig)
955
+ }).renderFooterBlocks;
956
+ }
957
+ function footerLoaderContext(data) {
958
+ return data ? {
959
+ resolvedData: data.resolvedData,
960
+ loaderFailures: data.loaderFailures,
961
+ loaderSnapshot: data.loaderSnapshot,
962
+ prefetchedBlockData: data
963
+ } : {};
964
+ }
965
+ /** Requiring a client would break every `siteData` caller, so an unloaded footer block is left out instead. */
966
+ async function resolveFooterBlockData(props, siteData, previewStage) {
967
+ if (props.footerBlockData) return props.footerBlockData;
968
+ if (props.client) return prefetchFooterBlockData(props.client, siteData, { previewStage });
969
+ if (footerBlocksNeedLoaders(siteData, { previewStage })) console.warn("[sdk] Layout has footer blocks that load data, but no client or footerBlockData, so they will not show. Pass client, or footerBlockData from prefetchFooterBlockData.");
970
+ }
904
971
  /** Shared public facts for SDK chrome; no customer acceptance is present. */
905
972
  function buildLayoutRootContext(siteData, input) {
906
973
  return {
@@ -916,6 +983,7 @@ function buildLayoutRootContext(siteData, input) {
916
983
  siteTerms: siteData.siteTerms,
917
984
  mailingList: siteData.mailingList,
918
985
  interactionContext: siteData.interactionContext,
986
+ siteCountry: siteData.site.siteCountry ?? null,
919
987
  theme: input.theme
920
988
  };
921
989
  }
@@ -3763,7 +3831,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
3763
3831
  const { client, siteId, site, contentResponse, preview = false, dataLoaderOverrides, searchParams } = params;
3764
3832
  const previewStage = preview ? "preview" : "published";
3765
3833
  const blockDataPolicy = createBlockDataLoadPolicy(dataLoaderOverrides, normalizeDataLoaderSearchParams(searchParams));
3766
- const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets), contentLocationSupport(contentResponse));
3834
+ const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets));
3767
3835
  const templateContentSupport = toTemplateContentRenderSupport(support, siteId);
3768
3836
  if (isEntryResponse(contentResponse)) {
3769
3837
  const entryData = contentResponse.entry;
@@ -3986,9 +4054,6 @@ function isEntryResponse(response) {
3986
4054
  function isPageSurfaceResponse(response) {
3987
4055
  return response.type === "pageSurface";
3988
4056
  }
3989
- function contentLocationSupport(response) {
3990
- return "page" in response ? response.locationMapSupport : void 0;
3991
- }
3992
4057
  //#endregion
3993
4058
  //#region src/contracts/rendering.ts
3994
4059
  const ImagePresets = {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { nt as RichTextDocSchema, t as logger } from "./noop-DF8_EiFt.mjs";
2
+ import { nt as RichTextDocSchema, t as logger } from "./noop-CaQxI-Js.mjs";
3
3
  //#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
4
4
  function parseRichTextDoc(value) {
5
5
  const parsed = RichTextDocSchema.safeParse(value);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Pa as createHostedBlockApiConfig } from "./display-DMqotaGU.mjs";
2
+ import { Ra as createHostedBlockApiConfig } from "./display-4HYOb-AK.mjs";
3
3
  //#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
4
4
  function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
5
5
  if (readAuthority) return createHostedBlockApiConfig({
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
3
- import { t as ShopClient } from "./shop.client-BNZ9M8cG.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-DwVAuGsx.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
+ import { t as ShopClient } from "./shop.client-GHTWUKD6.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.mjs";
5
5
  //#region src/rendering/islands/enhancers/shop.tsx
6
6
  const decode = defineIslandPropsDecoder("shop");
7
7
  const enhance = (root, props) => {
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { u as getShopDisplayForItems } from "./shop.interactive-CJAINJr3.mjs";
3
- import { _ as deriveCommerceCheckoutState, a as buildProductCardDisplay, c as formatCommercePrice, g as buildProductCartItem, o as buildProductDetailDisplay, wr as RichText, y as productItemKey } from "./display-DMqotaGU.mjs";
4
- import { n as assertNever, o as clearWorkflowFeedback, s as reportWorkflowError } from "./noop-DF8_EiFt.mjs";
5
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-Dr5lj4oY.mjs";
6
- import { n as useBlockApi } from "./context-D8TpQXjX.mjs";
2
+ import { u as getShopDisplayForItems } from "./shop.interactive-CxDJ8P2r.mjs";
3
+ import { _ as deriveCommerceCheckoutState, a as buildProductCardDisplay, c as formatCommercePrice, g as buildProductCartItem, o as buildProductDetailDisplay, wr as RichText, y as productItemKey } from "./display-4HYOb-AK.mjs";
4
+ import { n as assertNever, o as clearWorkflowFeedback, s as reportWorkflowError } from "./noop-CaQxI-Js.mjs";
5
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
6
+ import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
7
7
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
- import { a as useDiscountApply, d as planUnifiedCheckoutRequest, i as isDiscountCodeRefusal, l as planCartDiscountAvailabilityRequests, n as DemoBookingPortalAccess, o as aggregateCartDiscountUiState, p as DiscountCodeDisclosure, s as checkoutFormForDiscountUiState } from "./DemoBookingPortalAccess-DGgsjqXK.mjs";
9
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-OLqQdAXD.mjs";
8
+ import { a as useDiscountApply, d as planUnifiedCheckoutRequest, i as isDiscountCodeRefusal, l as planCartDiscountAvailabilityRequests, n as DemoBookingPortalAccess, o as aggregateCartDiscountUiState, p as DiscountCodeDisclosure, s as checkoutFormForDiscountUiState } from "./DemoBookingPortalAccess-C9Ggcfx3.mjs";
9
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-DVfSUSKp.mjs";
10
10
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
11
11
  import { n as useTransientShopAddFeedback, r as consumeSearchParam, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
12
12
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { t as coerceRichTextDoc } from "./richText-coerce-CDAfpMQU.mjs";
14
- import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BTk470k0.mjs";
15
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BdcuW_pa.mjs";
16
- import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-DGvPBmVP.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
14
+ import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-3foOzGWR.mjs";
15
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-tZxIm3RL.mjs";
16
+ import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-DOm7vx0X.mjs";
17
17
  import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
18
- import { n as useCommerceCart } from "./shop-commerce-store-Cd7USpuY.mjs";
18
+ import { n as useCommerceCart } from "./shop-commerce-store-DGcc7twO.mjs";
19
19
  import * as React$1 from "react";
20
20
  import { useEffect, useState } from "react";
21
21
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { b as reduceCommerceCart, h as buildPassCartItem, m as EMPTY_COMMERCE_CART_STATE, v as parseStoredCommerceCartState } from "./display-DMqotaGU.mjs";
2
+ import { b as reduceCommerceCart, h as buildPassCartItem, m as EMPTY_COMMERCE_CART_STATE, v as parseStoredCommerceCartState } from "./display-4HYOb-AK.mjs";
3
3
  import * as React$1 from "react";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
5
5
  const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { n as assertNever } from "./noop-DF8_EiFt.mjs";
3
- import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-DGgsjqXK.mjs";
2
+ import { n as assertNever } from "./noop-CaQxI-Js.mjs";
3
+ import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-C9Ggcfx3.mjs";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
5
5
  const initialDiscountApplyState = {
6
6
  isOpen: false,