@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,5 +1,5 @@
1
1
  "use client";
2
- import { cn as SURFACE_DOCUMENT_DATA_ATTRIBUTE, gc as PortalContainerProvider, ln as resolveSurfaceDocumentAttributes, ol as cn } from "./previewAssistantSlot-B61mZd81.mjs";
2
+ import { cn as SURFACE_DOCUMENT_DATA_ATTRIBUTE, dl as cn, ln as resolveSurfaceDocumentAttributes, xc as PortalContainerProvider } from "./previewAssistantSlot-B-utyhbS.mjs";
3
3
  import { createContext, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../ui/src/fixed-bottom-surface.tsx
@@ -6,13 +6,13 @@ import React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/preview-next/client/runtime.tsx
8
8
  const LazySdkPreviewMode = React.lazy(async () => {
9
- return { default: (await import("./SdkPreviewModeRuntime-D_czeC0l.mjs")).SdkPreviewModeRuntime };
9
+ return { default: (await import("./SdkPreviewModeRuntime-Dba7zoZK.mjs")).SdkPreviewModeRuntime };
10
10
  });
11
11
  const LazyPreviewShell = React.lazy(async () => {
12
- return { default: (await import("./sdk-runtime-DZDfOxoW.mjs")).PreviewShell };
12
+ return { default: (await import("./sdk-runtime-DCpXVcA0.mjs")).PreviewShell };
13
13
  });
14
14
  const LazyPreviewShellLayout = React.lazy(async () => {
15
- return { default: (await import("./sdk-runtime-DZDfOxoW.mjs")).PreviewShellLayout };
15
+ return { default: (await import("./sdk-runtime-DCpXVcA0.mjs")).PreviewShellLayout };
16
16
  });
17
17
  function SdkPreviewMode(props) {
18
18
  return /* @__PURE__ */ jsx(React.Suspense, {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "./PreviewLayoutContext-Dy0LwcHc.mjs";
3
3
  import "./PreviewQueryProvider-BgIucg_5.mjs";
4
- import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-ChyjB96e.mjs";
5
- import "./SdkPreviewModeRuntime-D_czeC0l.mjs";
4
+ import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-CW0Yzj3h.mjs";
5
+ import "./SdkPreviewModeRuntime-Dba7zoZK.mjs";
6
6
  export { PreviewShell, PreviewShellLayout };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
3
- import { Ac as createRovingFocusGroupScope, Al as rgbColorValue, Ao as applyCompiledRuntimeFieldsToContent, Ar as LocationMapView, As as isRecord$1, Bc as FocusScope, Bs as unwrapResponse, Co as DEFAULT_THEME_RESPONSIVE_MODE, Dc as hideOthers, Dl as surfaceForegroundInputFromResolved, Eo as heroPhotoPaintsGround, Fc as Content$1, Fn as renderSourceFor, Gc as createCollection, Go as headerStyleRecipeForTheme, Gs as Callout, Hc as DismissableLayer, Ho as componentRuntimeRulesForTheme, Ic as Root2$1, Ir as withValueAtPath, Jc as createContextScope, Ji as buildThemeDataAttrs, Jo as compiledRuntimeStyleFieldNames, K as siteChromeHeaderLogoMayBeHardToSee, Kc as useControllableState, Lc as createPopperScope, Ll as expandPalette, Ln as resolveRenderedValues, Mc as Portal, Ml as mapDrawingStyle, Nc as Anchor, Nl as parseSurfaceTree, No as restoreCompiledRuntimeFieldsFromContent, Oc as Item, Ol as surfaceForegroundStyle, Pc as Arrow, Pl as resolveSurfaceForeground, Pn as remoteDraftValues, Po as formatSiteChromeBackgroundTokenLabel, Qc as Button, Rc as useSize, Rs as ApiEnvelopeError, Uc as useCallbackRef, Uo as designRuntimeRulesForTheme, Vc as useFocusGuards, Wc as useDirection, Ws as VISUALLY_HIDDEN_STYLES, Xc as Primitive, Xi as themeRuntimeScopeProps, Yc as composeEventHandlers, Yo as surfaceResolutionContextFromTheme, Yu as unsafeAsEditorBlockId, _c as usePortalContainer, ac as DialogContent, al as useComposedRefs, ao as coerceInlineTextWithFallback, bo as buildThemeRuntime, c as usePreviewShownTheme, cc as DialogPortal, cd as unsafeAsPositiveSeconds, cs as resolveCompiledSectionContextFromContent, da as siteTopChromeMeasurementTargets$1, el as useControlReadiness, es as buildGoogleFontFamilyQuery, eu as getFontWidthRange, fr as planArrangementContent, h as composePreviewTheme, ia as SITE_CHROME_VISIBLE_HEADER_SELECTOR, ic as DialogClose, id as assertNever, jc as Presence, jo as compileEditorModelRuntime, kc as Root, la as measureSiteTopChromeBottomPx, lc as DialogTitle, mc as menuItemInteractionClassName, ni as getBlockDefinition, nl as createSlot, ns as getSiteFontsStorageUrl, ol as cn$1, oo as deriveInlineTextFieldChanges, ou as authoredValuesEqual, qc as useLayoutEffect2, rc as Dialog, ru as asDesignBlockId, s as usePreviewPageDesignRenderState, sd as unsafeAsPositiveByteCount, ts as generateFontFaceCss, u as useSiteChromeCustomizeOptional, uc as DialogTrigger, un as ApiRequestError, vc as ReactRemoveScroll, wo as getResponsiveScopeSpec, xn as useOptionalEditorUiStoreInstance, xo as escapeStyleContent, xr as resolveBlockVariantKey, y as applyBindingsToContent, zc as useId$1, zs as extractApiEnvelopeErrorDetails } from "./previewAssistantSlot-B61mZd81.mjs";
4
- import { At as sameMeaningfulAddress, C as Move, Ct as LOCATION_MATCH_THRESHOLDS_METRES, D as MapPin, Dt as editLocationValue, Et as decideLocationSave, Ft as locationPinSchema, I as Info, Kt as err, Mt as decideLocationSourcePermission, Nt as formatLocationAddress, Ot as locationDistanceMetres, Pt as locationAddressSchema, Q as ExternalLink, Rt as parseLocationValue, Tt as decideLocationRelationship, V as House, at as Circle, c as Trash2, ct as CircleCheck, dt as ChevronRight, et as Crosshair, ft as ChevronLeft, g as RotateCcw, gt as Building2, h as Route, kt as sameLocationSpatialPair, l as Store, mt as Check, n as X, p as Search, pt as ChevronDown, qt as ok, r as WifiOff, s as TriangleAlert, ut as ChevronUp, v as Plus, w as Mountain, wt as confirmLocationPair, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
5
- import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
3
+ import { $c as createContextScope, $i as themeRuntimeScopeProps, Ar as LocationMapView, Bc as Content$1, Cc as ReactRemoveScroll, Co as buildThemeRuntime, Do as getResponsiveScopeSpec, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Fc as createRovingFocusGroupScope, Fl as rgbColorValue, Fn as renderSourceFor, Gc as FocusScope, Go as componentRuntimeRulesForTheme, Hc as createPopperScope, Hl as expandPalette, Hs as ApiEnvelopeError, Ic as Presence, Io as restoreCompiledRuntimeFieldsFromContent, Ir as withValueAtPath, Jc as useCallbackRef, Jo as headerStyleRecipeForTheme, Js as VISUALLY_HIDDEN_STYLES, K as siteChromeHeaderLogoMayBeHardToSee, Kc as useFocusGuards, Ko as designRuntimeRulesForTheme, Lc as Portal, Ll as mapDrawingStyle, Ln as resolveRenderedValues, Lo as formatSiteChromeBackgroundTokenLabel, Mc as hideOthers, Ml as surfaceForegroundInputFromResolved, Nc as Item, Nl as surfaceForegroundStyle, No as applyCompiledRuntimeFieldsToContent, Ns as isRecord$1, Pc as Root, Pn as remoteDraftValues, Po as compileEditorModelRuntime, Qc as useLayoutEffect2, Qo as surfaceResolutionContextFromTheme, Qs as Spinner, Rc as Anchor, Rl as parseSurfaceTree, Sc as usePortalContainer, Uc as useSize, Us as extractApiEnvelopeErrorDetails, Vc as Root2$1, Wc as useId$1, Ws as unwrapResponse, Xc as createCollection, Yc as useDirection, Ys as Callout, Zc as useControllableState, Zi as buildThemeDataAttrs, Zo as compiledRuntimeStyleFieldNames, al as useControlReadiness, as as getSiteFontsStorageUrl, au as getFontWidthRange, c as usePreviewShownTheme, cc as Dialog, co as coerceInlineTextWithFallback, cu as asDesignBlockId, dl as cn$1, ds as resolveCompiledSectionContextFromContent, du as authoredValuesEqual, ed as unsafeAsEditorBlockId, el as composeEventHandlers, fa as measureSiteTopChromeBottomPx, fd as unsafeAsPositiveByteCount, fr as planArrangementContent, h as composePreviewTheme, hc as DialogTrigger, is as generateFontFaceCss, ko as heroPhotoPaintsGround, lc as DialogClose, ld as assertNever, lo as deriveInlineTextFieldChanges, ma as siteTopChromeMeasurementTargets$1, mc as DialogTitle, ni as getBlockDefinition, pc as DialogPortal, pd as unsafeAsPositiveSeconds, qc as DismissableLayer, rl as Button, rs as buildGoogleFontFamilyQuery, s as usePreviewPageDesignRenderState, sa as SITE_CHROME_VISIBLE_HEADER_SELECTOR, sl as createSlot, tl as Primitive, u as useSiteChromeCustomizeOptional, uc as DialogContent, ul as useComposedRefs, un as ApiRequestError, wo as escapeStyleContent, xn as useOptionalEditorUiStoreInstance, xr as resolveBlockVariantKey, y as applyBindingsToContent, yc as menuItemInteractionClassName, zc as Arrow, zl as resolveSurfaceForeground } from "./previewAssistantSlot-B-utyhbS.mjs";
4
+ import { $ as Crosshair, B as House, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, F as Info, Gt as err, Kt as ok, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, Tt as decideLocationSave, Z as ExternalLink, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, p as Search, pt as Check, r as WifiOff, s as TriangleAlert, st as CircleCheck, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
5
+ import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
6
6
  import * as React$1 from "react";
7
7
  import React, { Suspense, cloneElement, createContext, forwardRef, isValidElement, lazy, useCallback, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1828,6 +1828,22 @@ function SelectScrollDownButton({ className, ...props }) {
1828
1828
  });
1829
1829
  }
1830
1830
  //#endregion
1831
+ //#region ../ui/src/inline-spinner.tsx
1832
+ /** A lookup in a field or a line of text: the muted ring, always beside words. */
1833
+ function InlineSpinner({ children, size = 16, className }) {
1834
+ return /* @__PURE__ */ jsxs("span", {
1835
+ role: "status",
1836
+ className: cn$1("inline-flex items-center gap-2 text-muted-foreground", className),
1837
+ children: [/* @__PURE__ */ jsx(Spinner, {
1838
+ size,
1839
+ className: "shrink-0"
1840
+ }), /* @__PURE__ */ jsx("span", {
1841
+ className: "min-w-0",
1842
+ children
1843
+ })]
1844
+ });
1845
+ }
1846
+ //#endregion
1831
1847
  //#region ../ui/src/textarea.tsx
1832
1848
  const Textarea = React$1.forwardRef(({ className, disabled, "aria-describedby": ariaDescribedBy, ...props }, ref) => {
1833
1849
  const readiness = useControlReadiness(disabled);
@@ -5490,11 +5506,10 @@ function ResultListHead({ controller }) {
5490
5506
  " for “",
5491
5507
  query,
5492
5508
  "”"
5493
- ] }) : /* @__PURE__ */ jsxs("span", {
5494
- className: "inline-flex items-center gap-2",
5509
+ ] }) : /* @__PURE__ */ jsxs(InlineSpinner, {
5510
+ size: 14,
5495
5511
  children: [
5496
- /* @__PURE__ */ jsx(Spinner, {}),
5497
- " Looking for “",
5512
+ "Looking for “",
5498
5513
  query,
5499
5514
  "”…"
5500
5515
  ]
@@ -5572,12 +5587,6 @@ function SearchDown({ controller, retryAfter }) {
5572
5587
  ]
5573
5588
  });
5574
5589
  }
5575
- function Spinner() {
5576
- return /* @__PURE__ */ jsx("span", {
5577
- "aria-hidden": "true",
5578
- className: "inline-block size-3.5 flex-none animate-spin rounded-full border-2 border-[color:color-mix(in_srgb,var(--primary)_30%,transparent)] border-t-[color:var(--primary-ink,var(--primary))] motion-reduce:animate-none"
5579
- });
5580
- }
5581
5590
  function SearchRowItem({ row, homeCountry, id, selected, query, separated, onChoose, onHover }) {
5582
5591
  const content = rowContent(row, homeCountry);
5583
5592
  const Icon = content.icon;
@@ -6307,7 +6316,7 @@ function usePreviewTheme(siteId, enabled) {
6307
6316
  }
6308
6317
  //#endregion
6309
6318
  //#region ../editor-blocks/src/widgets/location/PickerMapArea.tsx
6310
- const LazyEditMap = lazy(() => import("./MapLibreEditMap-AIUPN1Zx.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
6319
+ const LazyEditMap = lazy(() => import("./MapLibreEditMap-B52hkdIZ.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
6311
6320
  function EditMap(props) {
6312
6321
  return /* @__PURE__ */ jsx(Suspense, {
6313
6322
  fallback: null,
@@ -6787,9 +6796,10 @@ function statusContent(view, actions, touch) {
6787
6796
  };
6788
6797
  case "checking": return {
6789
6798
  tone: "info",
6790
- body: /* @__PURE__ */ jsxs("span", {
6791
- className: "inline-flex items-center gap-2",
6792
- children: [/* @__PURE__ */ jsx(Spinner, {}), view.operation === "reverse" ? "Finding the address at the pin…" : view.hasPin ? "Checking the address against the pin…" : "Finding this address on the map…"]
6799
+ body: /* @__PURE__ */ jsx(InlineSpinner, {
6800
+ size: 14,
6801
+ className: "text-current",
6802
+ children: view.operation === "reverse" ? "Finding the address at the pin…" : view.hasPin ? "Checking the address against the pin…" : "Finding this address on the map…"
6793
6803
  })
6794
6804
  };
6795
6805
  case "address-edited": return {
@@ -1,8 +1,7 @@
1
1
  "use client";
2
- import { On as selectAutosaveStatus, Rn as useStore, Xc as Primitive, kn as selectEditorWriteState, mt as useSessionJournal, ol as cn, sl as useShallow, yn as useEditorUiStore } from "./previewAssistantSlot-B61mZd81.mjs";
3
- import { A as LoaderCircle } from "./lucide-react-Dfgl3Vtq.mjs";
2
+ import { On as selectAutosaveStatus, Rn as useStore, dl as cn, fl as useShallow, kn as selectEditorWriteState, mt as useSessionJournal, tl as Primitive, yn as useEditorUiStore } from "./previewAssistantSlot-B-utyhbS.mjs";
4
3
  import * as React$1 from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { jsx } from "react/jsx-runtime";
6
5
  //#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
7
6
  var NAME = "Separator";
8
7
  var DEFAULT_ORIENTATION = "horizontal";
@@ -38,32 +37,6 @@ function Separator({ className, orientation = "horizontal", decorative = true, .
38
37
  });
39
38
  }
40
39
  //#endregion
41
- //#region ../ui/src/spinner.tsx
42
- const sizeClasses = {
43
- xs: "size-3",
44
- sm: "size-4",
45
- md: "size-5",
46
- lg: "size-6",
47
- xl: "size-10"
48
- };
49
- function Spinner({ size = "sm", srLabel, className, ...props }) {
50
- return /* @__PURE__ */ jsxs("span", {
51
- ...srLabel ? {
52
- role: "status",
53
- "aria-live": "polite"
54
- } : { "aria-hidden": true },
55
- className: cn("inline-flex items-center justify-center text-current", className),
56
- ...props,
57
- children: [/* @__PURE__ */ jsx(LoaderCircle, {
58
- "aria-hidden": "true",
59
- className: cn("animate-spin motion-reduce:animate-none", sizeClasses[size])
60
- }), srLabel ? /* @__PURE__ */ jsx("span", {
61
- className: "sr-only",
62
- children: srLabel
63
- }) : null]
64
- });
65
- }
66
- //#endregion
67
40
  //#region ../editor/src/chrome/editorStatusDecision.ts
68
41
  function decideEditorStatus(input) {
69
42
  return {
@@ -135,4 +108,4 @@ function useEditorWriteState() {
135
108
  return useEditorUiStore(useShallow((state) => selectEditorWriteState(state, journalState)));
136
109
  }
137
110
  //#endregion
138
- export { publicationLabel as a, formatEditorStatus as i, useEditorWriteState as n, Spinner as o, decideEditorStatus as r, Separator as s, useAutosaveStatus as t };
111
+ export { publicationLabel as a, formatEditorStatus as i, useEditorWriteState as n, Separator as o, decideEditorStatus as r, useAutosaveStatus as t };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { Ac as createRovingFocusGroupScope, Ai as isSystemCustomizeFacetId, Bc as FocusScope, Bo as readStoredMode, Bt as derivePromotedFieldPlan, Dc as hideOthers, Fc as Content, Gc as createCollection, Gn as createManifestFormAdapter, Hc as DismissableLayer, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Jc as createContextScope, Kc as useControllableState, Lc as createPopperScope, M as usePreviewRenderReadiness, Mc as Portal$2, Mi as systemCustomizeFacetDefinitionForBlock, Mo as resolveEditorArrangementLook, Nc as Anchor, Ni as systemCustomizeFacetDefinitionsForBlock, Oc as Item, Oi as arrangementKnobChoices, Oo as decideSectionPhoto, Os as augmentManifestWithStyleGroups, Pc as Arrow, Pi as systemCustomizeFacetStoredValue, To as resolveVisiblePromotedFieldPathsForEditorBlock, Uc as useCallbackRef, Us as Root$1, Vc as useFocusGuards, Wc as useDirection, Wo as getCuratedSiteStyle, Wr as fieldsNotShownIn, Xc as Primitive, Yc as composeEventHandlers, Zc as dispatchDiscreteCustomEvent, _a as eventCalendarListGroupingDecision, _c as usePortalContainer, _r as createCustomBlockRegistry, al as useComposedRefs, ar as parseBackgroundColorToken, au as asSiteStyleId, bn as useEditorUiStoreInstance, ei as fieldPathsOwnedBy, fs as lookModes, hc as menuTriggerInteractionClassName, i as usePreviewSidebarNavigation, il as composeRefs, jc as Presence, ji as systemCustomizeFacetAppliesToLayoutVariant, kc as Root, ki as resolveArrangementKnobs, ko as sectionPhotoPresence, ls as isThemeV2NormalEditorRawStyleFieldName, mc as menuItemInteractionClassName, ni as getBlockDefinition, nl as createSlot, o as usePreviewPageDesignEditorState, ol as cn, qn as manifestFieldSectionOptions, rl as createSlottable, sr as parseCanonicalSectionBackground, ti as resolveFieldOwnership, tl as cva, ui as eventCalendarPagingFields, us as isThemeV2NormalEditorRawStylePath, vc as ReactRemoveScroll, vr as mergeBlockDescriptorsWithRegistry, wn as shouldRevealAllBlockFieldValidation, yr as mergeManifestWithSdkOptions, zc as useId$1, zo as lookDefinitionForId } from "./previewAssistantSlot-B61mZd81.mjs";
3
- import { at as Circle, dt as ChevronRight, mt as Check } from "./lucide-react-Dfgl3Vtq.mjs";
2
+ import { $c as createContextScope, Bc as Content, Bt as derivePromotedFieldPlan, Cc as ReactRemoveScroll, Fc as createRovingFocusGroupScope, Fi as systemCustomizeFacetDefinitionForBlock, Fo as resolveEditorArrangementLook, Gc as FocusScope, Gn as createManifestFormAdapter, Hc as createPopperScope, Ho as lookDefinitionForId, I as lookTilesFor, Ic as Presence, Ii as systemCustomizeFacetDefinitionsForBlock, Jc as useCallbackRef, Kc as useFocusGuards, Lc as Portal$2, Li as systemCustomizeFacetStoredValue, M as usePreviewRenderReadiness, Mc as hideOthers, Mi as resolveArrangementKnobs, Mo as sectionPhotoPresence, Nc as Item, Ni as isSystemCustomizeFacetId, Oo as resolveVisiblePromotedFieldPathsForEditorBlock, Pc as Root, Pi as systemCustomizeFacetAppliesToLayoutVariant, Rc as Anchor, Sc as usePortalContainer, Uo as readStoredMode, Vc as Root2$1, Wc as useId$1, Wr as fieldsNotShownIn, Xc as createCollection, Yc as useDirection, Zc as useControllableState, _r as createCustomBlockRegistry, ar as parseBackgroundColorToken, ba as eventCalendarListGroupingDecision, bc as menuTriggerInteractionClassName, bn as useEditorUiStoreInstance, cl as createSlottable, dl as cn, ei as fieldPathsOwnedBy, el as composeEventHandlers, fs as isThemeV2NormalEditorRawStyleFieldName, hs as lookModes, i as usePreviewSidebarNavigation, ji as arrangementKnobChoices, jo as decideSectionPhoto, js as augmentManifestWithStyleGroups, ll as composeRefs, ni as getBlockDefinition, nl as dispatchDiscreteCustomEvent, o as usePreviewPageDesignEditorState, ol as cva, pi as eventCalendarPagingFields, ps as isThemeV2NormalEditorRawStylePath, qc as DismissableLayer, qn as manifestFieldSectionOptions, qo as getCuratedSiteStyle, qs as Root$1, qu as syncStateOf, sl as createSlot, sr as parseCanonicalSectionBackground, ti as resolveFieldOwnership, tl as Primitive, ul as useComposedRefs, uu as asSiteStyleId, vr as mergeBlockDescriptorsWithRegistry, wn as shouldRevealAllBlockFieldValidation, yc as menuItemInteractionClassName, yr as mergeManifestWithSdkOptions, zc as Arrow } from "./previewAssistantSlot-B-utyhbS.mjs";
3
+ import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-McYZeSMb.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { createContext, useContext, useMemo } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1038,11 +1038,25 @@ const DropdownMenuSubContent = React$1.forwardRef(({ className, ...props }, ref)
1038
1038
  ...props
1039
1039
  }));
1040
1040
  DropdownMenuSubContent.displayName = SubContent2.displayName;
1041
- const DropdownMenuContent = React$1.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPortal, {
1041
+ /**
1042
+ * A menu hands focus back to its button once it has finished closing, which is
1043
+ * after a dialog opened from one of its items has taken focus. That would pull
1044
+ * focus out of the dialog, closing a search dropdown someone has started typing
1045
+ * into, so the button only gets it if nothing else has.
1046
+ */
1047
+ function focusMovedPastMenu(event) {
1048
+ const active = document.activeElement;
1049
+ return active instanceof HTMLElement && active !== document.body && event.currentTarget instanceof Node && !event.currentTarget.contains(active);
1050
+ }
1051
+ const DropdownMenuContent = React$1.forwardRef(({ className, sideOffset = 4, container, onCloseAutoFocus, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPortal, {
1042
1052
  container,
1043
1053
  children: /* @__PURE__ */ jsx(Content2$1, {
1044
1054
  ref,
1045
1055
  sideOffset,
1056
+ onCloseAutoFocus: (event) => {
1057
+ onCloseAutoFocus?.(event);
1058
+ if (focusMovedPastMenu(event)) event.preventDefault();
1059
+ },
1046
1060
  className: cn("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-[var(--item-radius)] border border-border/60 bg-popover p-1 text-popover-foreground shadow-md", "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", className),
1047
1061
  ...props
1048
1062
  })
@@ -3032,6 +3032,9 @@
3032
3032
  @container rb-site (min-width: 768px) {
3033
3033
  @scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
3034
3034
  [data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="plates"] [data-card-list] > [data-card-list-item]:only-child:not(:has(> [data-slot="item-media"])) > [data-slot="item-body"] > [data-slot="dates"] { margin: 0; }
3035
+ /* Two or more cards go two across, each with its photo on top. A lone card keeps the wide layout above. */
3036
+ [data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="plates"] [data-card-list]:has(> [data-card-list-item]:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
3037
+ [data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="plates"] [data-card-list]:has(> [data-card-list-item]:nth-child(2)) > [data-card-list-item] { display: flex; flex-direction: column; align-items: stretch; }
3035
3038
  }
3036
3039
  }
3037
3040
  @container rb-site (max-width: 767px) {
@@ -31,8 +31,10 @@
31
31
  * out: they show focus with their own border and glow (packages/ui
32
32
  * fieldControl.ts), and a square outline around a rounded field reads as a
33
33
  * mistake. Native checkboxes and radios have no glow, so they keep the
34
- * outline. The exclusion sits in :where() to keep this rule at two classes. */
35
- .builder-dashboard-chrome-theme :focus-visible:where(:not([data-slot="input"], [data-slot="textarea"], [data-slot="native-select"], [data-slot="select-trigger"], [data-slot="field-trigger"], [role="checkbox"], [role="radio"])) {
34
+ * outline. A heading focused by code when a screen opens isn't something the
35
+ * person moved to, so it stays plain. The exclusion sits in :where() to keep
36
+ * this rule at two classes. */
37
+ .builder-dashboard-chrome-theme :focus-visible:where(:not(h1[tabindex="-1"], h2[tabindex="-1"], h3[tabindex="-1"], [data-slot="input"], [data-slot="textarea"], [data-slot="native-select"], [data-slot="select-trigger"], [data-slot="field-trigger"], [role="checkbox"], [role="radio"])) {
36
38
  outline: 2px solid var(--studio-accent, var(--ring));
37
39
  outline-offset: 2px;
38
40
  }
@@ -1,5 +1,5 @@
1
1
  import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
2
- import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-0gSlK9S0.mjs";
2
+ import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-BSSbtz6A.mjs";
3
3
  import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
4
4
  import { NextResponse } from "next/server";
5
5
  import { z } from "zod";
@@ -1,5 +1,5 @@
1
1
  import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
2
- import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-0gSlK9S0.mjs";
2
+ import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-BSSbtz6A.mjs";
3
3
  import { NextResponse } from "next/server";
4
4
  //#region ../preview-next/src/middleware.ts
5
5
  const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
@@ -753,7 +753,8 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
753
753
  ]) }),
754
754
  z.object({
755
755
  code: z.literal("clash"),
756
- customerFirstName: z.string().nullable()
756
+ customerFirstName: z.string().nullable(),
757
+ clashKind: z.enum(["appointment", "arrangement_hold"]).optional()
757
758
  }),
758
759
  z.object({
759
760
  code: z.literal("command_failed"),
@@ -1354,6 +1355,13 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1354
1355
  auth: "user",
1355
1356
  responseKind: "json"
1356
1357
  },
1358
+ makeAppointmentServiceStudio: {
1359
+ path: "/sites/{siteId}/bookings/services/{serviceId}/make-studio",
1360
+ method: "POST",
1361
+ auth: "user",
1362
+ responseKind: "json",
1363
+ errors: []
1364
+ },
1357
1365
  listAvailabilityRules: {
1358
1366
  path: "/sites/{siteId}/bookings/resources/{resourceId}/availability",
1359
1367
  method: "GET",
@@ -3334,7 +3342,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3334
3342
  path: "/public/content/{siteId}/{type}/{slug}/preview",
3335
3343
  method: "GET",
3336
3344
  revalidate: publicReadFreshnessSeconds("getPublishedEntryPreview"),
3337
- tags: ["content-{siteId}-{type}-{slug}"],
3345
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3338
3346
  auth: "public",
3339
3347
  responseKind: "json"
3340
3348
  },
@@ -3342,7 +3350,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3342
3350
  path: "/public/content/{siteId}/{type}/entries",
3343
3351
  method: "GET",
3344
3352
  revalidate: publicReadFreshnessSeconds("listPublishedEntries"),
3345
- tags: ["content-{siteId}-{type}"],
3353
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3346
3354
  auth: "public",
3347
3355
  responseKind: "json"
3348
3356
  },
@@ -4009,6 +4017,7 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
4009
4017
  errors: [
4010
4018
  "auth:forbidden",
4011
4019
  "validation:invalid_input",
4020
+ "rate_limit:exceeded",
4012
4021
  "server:internal_error"
4013
4022
  ]
4014
4023
  },
@@ -7471,6 +7480,18 @@ const API_ENDPOINTS = {
7471
7480
  auth: "admin",
7472
7481
  responseKind: "json"
7473
7482
  },
7483
+ adminSyncPriceOverride: {
7484
+ path: "/admin/billing/price-override",
7485
+ method: "PUT",
7486
+ tags: [
7487
+ "admin",
7488
+ "billing",
7489
+ "price-override"
7490
+ ],
7491
+ auth: "admin",
7492
+ responseKind: "json",
7493
+ errors: []
7494
+ },
7474
7495
  ...EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS,
7475
7496
  getEventSeries: {
7476
7497
  path: "/sites/{siteId}/bookings/events/{eventId}/schedules/{seriesId}",
@@ -1,9 +1,9 @@
1
- import { Bn as siteFooterManifest, Gs as toUtcIsoDateTimeString, Vn as siteHeaderManifest, Xn as resolveDateRuntimeContext, Yn as readRuntimeNow, dt as setContextResolveImageUrlContext, lt as buildResolveImageUrlContext, t as getBlockDefinition } from "./registry-cQ9N5W-n.mjs";
2
- import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-JxlV8_Bo.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-CuVj3bkd.mjs";
1
+ import { Jn as siteHeaderManifest, Ks as toUtcIsoDateTimeString, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, nr as readRuntimeNow, qn as siteFooterManifest, rr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-CXRXsFSx.mjs";
2
+ import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-6z6JBU41.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-uz4gzBOo.mjs";
4
4
  import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-iC_hXjJI.mjs";
5
5
  import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
6
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-kERh_c0v.mjs";
6
+ import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-CCiYV8_s.mjs";
7
7
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
8
8
  import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
9
9
  import "react";
@@ -27,6 +27,36 @@ function buildFooterRenderablePageOutline(siteData, blocks) {
27
27
  customBlocks: resolveSiteCustomBlocks(siteData)
28
28
  });
29
29
  }
30
+ function footerLoaderInputs(siteData, options) {
31
+ return {
32
+ page: projectRenderablePageOutline(buildFooterRenderablePageOutline(siteData, siteData.footerBlocks ?? [])),
33
+ context: {
34
+ siteId: siteData.site.id,
35
+ previewStage: options.previewStage ?? "published",
36
+ root: {
37
+ now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
38
+ bookingTimeZone: siteData.bookingTimeZone
39
+ }
40
+ }
41
+ };
42
+ }
43
+ /**
44
+ * Run the loaders of a site's footer blocks, for a footer `PageRenderer`.
45
+ *
46
+ * A custom footer callback calls this itself and passes the result in its data
47
+ * context, or hands it to `Layout` as `footerBlockData`. Without it, a map in the
48
+ * footer that needs a venue or the business address is left out for visitors.
49
+ */
50
+ async function prefetchFooterBlockData(client, siteData, options = {}) {
51
+ const { page, context } = footerLoaderInputs(siteData, options);
52
+ return prefetchBlockDataWithFailures(page, context, client, { customBlocks: resolveSiteCustomBlocks(siteData) });
53
+ }
54
+ /** Whether a footer needs `prefetchFooterBlockData`, for the warning `Layout` gives when it can't run it. */
55
+ function footerBlocksNeedLoaders(siteData, options = {}) {
56
+ const { page, context } = footerLoaderInputs(siteData, options);
57
+ const supported = SUPPORTED_LOADER_ENDPOINTS;
58
+ return planBlockDataRequests(page, context, { isValidEndpoint: (endpoint) => supported.includes(endpoint) }).blocks.some((block) => block.requests.length > 0);
59
+ }
30
60
  //#endregion
31
61
  //#region src/rendering/components/Layout.tsx
32
62
  /**
@@ -117,7 +147,7 @@ async function Layout(props) {
117
147
  const header = props.header ?? true;
118
148
  const footer = props.footer ?? true;
119
149
  const siteData = await resolveLayoutSiteData(props);
120
- const { site, navigation, layout, routes, footerBlocks = [] } = siteData;
150
+ const { site, navigation, layout, routes } = siteData;
121
151
  const navigationOptions = {
122
152
  hasPortalSession,
123
153
  previewStage,
@@ -143,7 +173,8 @@ async function Layout(props) {
143
173
  legalFooterMenu: legalFooterMenuViewModel,
144
174
  ...chromeLogoContent,
145
175
  site,
146
- routes
176
+ routes,
177
+ footerBlocks: await prepareFooterBlocks(props, siteData, previewStage)
147
178
  };
148
179
  if (isOverrideOnlyLayout(props)) return renderOverrideOnlyLayout(props, {
149
180
  header: props.header ?? true,
@@ -179,10 +210,9 @@ async function Layout(props) {
179
210
  } : theme;
180
211
  const blocksThemeWithVariant = themeWithVariant;
181
212
  const blocksTheme = theme;
182
- const apiBaseUrl = resolveLayoutApiBaseUrl();
183
213
  const sharedViewModelOverrides = {
184
214
  $root: buildLayoutRootContext(siteData, {
185
- apiBaseUrl,
215
+ apiBaseUrl: resolveLayoutApiBaseUrl(),
186
216
  previewStage,
187
217
  theme: themeWithVariant
188
218
  }),
@@ -217,17 +247,16 @@ async function Layout(props) {
217
247
  isSdkSite: Boolean(site.is_sdk_site),
218
248
  mode: resolveSdkFooterMode(siteData.sdkConfig)
219
249
  });
220
- const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
250
+ const footerBlocks = customFooterData.footerBlocks;
251
+ const footerBlocksElement = footerBlocks ? /* @__PURE__ */ jsx(PageRenderer, {
221
252
  theme,
222
253
  themeTokens: builtThemeRuntime.tokens,
223
254
  headingScope: "region",
224
- page: buildFooterRenderablePageOutline(siteData, footerBlocks),
225
- routeMap: routes,
226
- dataContext: buildLayoutRootContext(siteData, {
227
- apiBaseUrl,
228
- previewStage,
255
+ ...footerBlocks,
256
+ dataContext: {
257
+ ...footerBlocks.dataContext,
229
258
  theme: themeWithVariant
230
- }),
259
+ },
231
260
  sdkConfig: siteData.sdkConfig ?? null
232
261
  }) : null;
233
262
  if (footerPlan.renderFooterBlocks && !footerBlocksElement && process.env.NODE_ENV !== "production") console.debug("[sdk] Footer mode renders blocks, but footerBlocks is empty/missing", {
@@ -257,6 +286,44 @@ async function Layout(props) {
257
286
  ] })
258
287
  });
259
288
  }
289
+ /** Footer data is loaded once here, for the built-in footer and a custom callback alike. */
290
+ async function prepareFooterBlocks(props, siteData, previewStage) {
291
+ const footer = props.footer ?? true;
292
+ const blocks = siteData.footerBlocks ?? [];
293
+ if (footer === false || blocks.length === 0) return null;
294
+ if (footer === true && !siteRendersFooterBlocks(siteData)) return null;
295
+ return {
296
+ page: buildFooterRenderablePageOutline(siteData, blocks),
297
+ routeMap: siteData.routes,
298
+ dataContext: {
299
+ ...buildLayoutRootContext(siteData, {
300
+ apiBaseUrl: resolveLayoutApiBaseUrl(),
301
+ previewStage
302
+ }),
303
+ ...footerLoaderContext(await resolveFooterBlockData(props, siteData, previewStage))
304
+ }
305
+ };
306
+ }
307
+ function siteRendersFooterBlocks(siteData) {
308
+ return resolveFooterRenderPlan({
309
+ isSdkSite: Boolean(siteData.site.is_sdk_site),
310
+ mode: resolveSdkFooterMode(siteData.sdkConfig)
311
+ }).renderFooterBlocks;
312
+ }
313
+ function footerLoaderContext(data) {
314
+ return data ? {
315
+ resolvedData: data.resolvedData,
316
+ loaderFailures: data.loaderFailures,
317
+ loaderSnapshot: data.loaderSnapshot,
318
+ prefetchedBlockData: data
319
+ } : {};
320
+ }
321
+ /** Requiring a client would break every `siteData` caller, so an unloaded footer block is left out instead. */
322
+ async function resolveFooterBlockData(props, siteData, previewStage) {
323
+ if (props.footerBlockData) return props.footerBlockData;
324
+ if (props.client) return prefetchFooterBlockData(props.client, siteData, { previewStage });
325
+ if (process.env.NODE_ENV !== "production" && 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.");
326
+ }
260
327
  /** Shared public facts for SDK chrome; no customer acceptance is present. */
261
328
  function buildLayoutRootContext(siteData, input) {
262
329
  return {
@@ -272,6 +339,7 @@ function buildLayoutRootContext(siteData, input) {
272
339
  siteTerms: siteData.siteTerms,
273
340
  mailingList: siteData.mailingList,
274
341
  interactionContext: siteData.interactionContext,
342
+ siteCountry: siteData.site.siteCountry ?? null,
275
343
  theme: input.theme
276
344
  };
277
345
  }
@@ -440,4 +508,4 @@ async function BlockContent(props) {
440
508
  });
441
509
  }
442
510
  //#endregion
443
- export { buildFooterRenderablePageOutline as a, UnsupportedOverrideOnlyLayoutChromeError as i, toBlockHydrationBootstrapConfig as n, Layout as r, BlockContent as t };
511
+ export { buildFooterRenderablePageOutline as a, UnsupportedOverrideOnlyLayoutChromeError as i, toBlockHydrationBootstrapConfig as n, prefetchFooterBlockData as o, Layout as r, BlockContent as t };
@@ -1,8 +1,8 @@
1
- import { at as lookFillPartsFromContent, ot as resolveRuntimeSection, rt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-Cuos4Xcd.mjs";
2
- import { Ca as arrangementStyleAvailability, Co as resolveSectionBackground, Da as resolveArrangementLookForBlock, Ea as getCompatibleBlockAppearancePresets, Gi as isRecord, Ia as deriveSiteStyleBlockPolicy, La as filterLayoutProfilesForPolicy, Ma as resolveEffectiveArrangement, Oa as resolveLookForBlock, Ra as filterLookIdsForPolicy, Ri as plainTextToInlineText, So as parseCanonicalRuntimeBackground, Ta as compileArrangementLookRuntime, To as defaultHeroImageSurfaceTreatment, Ua as compilePageRuntimeFields, Va as getCuratedSiteStyle, Wa as stripCompiledRuntimeStyleFields, _o as transitionIntentForTreatment, ao as resolvePageDesignBoundaryChoice, ct as systemCustomizeFacetDefinitionsForBlock, fo as boundaryTreatmentForBoundaryOptionId, go as spaciousBoundaryOption, ho as softBoundaryOption, io as resolvePageDesignBlockLookChoice, ir as formatDate, ja as readStoredMode, lo as boundaryOptionForTransitionIntent, mo as noneBoundaryOption, po as isDecorativeTransitionIntent, t as getBlockDefinition, uo as boundaryOptions, wa as automaticArrangementLook, wr as resolveDeclaredBlockDesignCapability, xa as arrangementAppearancePresets } from "./registry-cQ9N5W-n.mjs";
1
+ import { et as parseStoredVariant, nt as lookFillPartsFromContent, rt as resolveRuntimeSection, t as buildPageRenderPlan } from "./pageRenderPlan-CfSnAkCO.mjs";
2
+ import { Aa as arrangementStyleAvailability, Ao as resolveSectionBackground, Co as spaciousBoundaryOption, Fa as resolveLookForBlock, Ga as filterLookIdsForPolicy, Gi as plainTextToInlineText, Ja as getCuratedSiteStyle, Ma as compileArrangementLookRuntime, Mo as defaultHeroImageSurfaceTreatment, Na as getCompatibleBlockAppearancePresets, Oa as arrangementAppearancePresets, Pa as resolveArrangementLookForBlock, Qi as isRecord, Ra as readStoredMode, So as softBoundaryOption, Ua as deriveSiteStyleBlockPolicy, Wa as filterLayoutProfilesForPolicy, Xa as compilePageRuntimeFields, Za as stripCompiledRuntimeStyleFields, _o as boundaryOptions, bo as isDecorativeTransitionIntent, do as resolvePageDesignBlockLookChoice, dr as formatDate, dt as systemCustomizeFacetDefinitionsForBlock, fo as resolvePageDesignBoundaryChoice, go as boundaryOptionForTransitionIntent, ja as automaticArrangementLook, jr as resolveDeclaredBlockDesignCapability, ko as parseCanonicalRuntimeBackground, t as getBlockDefinition, wo as transitionIntentForTreatment, xo as noneBoundaryOption, yo as boundaryTreatmentForBoundaryOptionId, za as resolveEffectiveArrangement } from "./registry-CXRXsFSx.mjs";
3
3
  import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
4
4
  import { r as sectionStylesOverrideSchema } from "./schema-BpsqaSSU.mjs";
5
- import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-CuVj3bkd.mjs";
5
+ import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-uz4gzBOo.mjs";
6
6
  import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
7
7
  import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-CaH018pK.mjs";
8
8
  import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";