@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,7 +1,7 @@
1
1
  import { n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
2
- import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-DpBC1hTM.mjs";
3
- import { t as parseSiteId } from "./identity-DQD_8lNO.mjs";
4
- import { t as SDK_VERSION } from "./version-B8g-Wx57.mjs";
2
+ import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-F-ElH2Rd.mjs";
3
+ import { f as parseSiteId, t as publicMapLocationParamsSchema } from "./mapLocation-BM5WX7FY.mjs";
4
+ import { t as SDK_VERSION } from "./version-SuFlio6n.mjs";
5
5
  import { z } from "zod";
6
6
  /**
7
7
  * How long a rendered page may hold availability it read through the batch
@@ -996,7 +996,8 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
996
996
  ]) }),
997
997
  z.object({
998
998
  code: z.literal("clash"),
999
- customerFirstName: z.string().nullable()
999
+ customerFirstName: z.string().nullable(),
1000
+ clashKind: z.enum(["appointment", "arrangement_hold"]).optional()
1000
1001
  }),
1001
1002
  z.object({
1002
1003
  code: z.literal("command_failed"),
@@ -1597,6 +1598,13 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1597
1598
  auth: "user",
1598
1599
  responseKind: "json"
1599
1600
  },
1601
+ makeAppointmentServiceStudio: {
1602
+ path: "/sites/{siteId}/bookings/services/{serviceId}/make-studio",
1603
+ method: "POST",
1604
+ auth: "user",
1605
+ responseKind: "json",
1606
+ errors: []
1607
+ },
1600
1608
  listAvailabilityRules: {
1601
1609
  path: "/sites/{siteId}/bookings/resources/{resourceId}/availability",
1602
1610
  method: "GET",
@@ -3576,7 +3584,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3576
3584
  path: "/public/content/{siteId}/{type}/{slug}/preview",
3577
3585
  method: "GET",
3578
3586
  revalidate: publicReadFreshnessSeconds("getPublishedEntryPreview"),
3579
- tags: ["content-{siteId}-{type}-{slug}"],
3587
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3580
3588
  auth: "public",
3581
3589
  responseKind: "json"
3582
3590
  },
@@ -3584,7 +3592,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3584
3592
  path: "/public/content/{siteId}/{type}/entries",
3585
3593
  method: "GET",
3586
3594
  revalidate: publicReadFreshnessSeconds("listPublishedEntries"),
3587
- tags: ["content-{siteId}-{type}"],
3595
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3588
3596
  auth: "public",
3589
3597
  responseKind: "json"
3590
3598
  },
@@ -4251,6 +4259,7 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
4251
4259
  errors: [
4252
4260
  "auth:forbidden",
4253
4261
  "validation:invalid_input",
4262
+ "rate_limit:exceeded",
4254
4263
  "server:internal_error"
4255
4264
  ]
4256
4265
  },
@@ -7713,6 +7722,18 @@ const API_ENDPOINTS$1 = {
7713
7722
  auth: "admin",
7714
7723
  responseKind: "json"
7715
7724
  },
7725
+ adminSyncPriceOverride: {
7726
+ path: "/admin/billing/price-override",
7727
+ method: "PUT",
7728
+ tags: [
7729
+ "admin",
7730
+ "billing",
7731
+ "price-override"
7732
+ ],
7733
+ auth: "admin",
7734
+ responseKind: "json",
7735
+ errors: []
7736
+ },
7716
7737
  ...EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS,
7717
7738
  getEventSeries: {
7718
7739
  path: "/sites/{siteId}/bookings/events/{eventId}/schedules/{seriesId}",
@@ -11360,7 +11381,7 @@ const API_ENDPOINTS = Object.freeze({
11360
11381
  path: "/public/content/{siteId}/{type}/entries",
11361
11382
  method: "GET",
11362
11383
  revalidate: publicReadFreshnessSeconds("listPublishedEntries"),
11363
- tags: ["content-{siteId}-{type}"],
11384
+ tags: [TAG_TEMPLATES.siteRoutableContent],
11364
11385
  auth: "public",
11365
11386
  responseKind: "json"
11366
11387
  },
@@ -11368,7 +11389,7 @@ const API_ENDPOINTS = Object.freeze({
11368
11389
  path: "/public/content/{siteId}/{type}/{slug}/preview",
11369
11390
  method: "GET",
11370
11391
  revalidate: publicReadFreshnessSeconds("getPublishedEntryPreview"),
11371
- tags: ["content-{siteId}-{type}-{slug}"],
11392
+ tags: [TAG_TEMPLATES.siteRoutableContent],
11372
11393
  auth: "public",
11373
11394
  responseKind: "json"
11374
11395
  },
@@ -12376,13 +12397,27 @@ const defaultRiverbankClientDeps = {
12376
12397
  * const site = await client.getSite({ slug: 'my-site' });
12377
12398
  * ```
12378
12399
  */
12400
+ /**
12401
+ * A memory hit skips fetch, so Next never sees the read's tags: an ISR render would store old
12402
+ * content under a page no webhook can reach. Next's tagged fetch cache already covers these reads.
12403
+ */
12404
+ function isRunningInNextServer() {
12405
+ return typeof window === "undefined" && typeof process !== "undefined" && Boolean(process.env.NEXT_RUNTIME);
12406
+ }
12407
+ function resolveMemoryCachePolicy(config) {
12408
+ const enabled = config.cache?.enabled;
12409
+ return {
12410
+ cacheEnabled: enabled ?? true,
12411
+ servesFreshMemoryHits: enabled ?? !isRunningInNextServer()
12412
+ };
12413
+ }
12379
12414
  function createRiverbankClient(config) {
12380
12415
  return createRiverbankClientWithDeps(defaultRiverbankClientDeps, config);
12381
12416
  }
12382
12417
  function createRiverbankClientWithDeps(deps, config) {
12383
12418
  if (!config.baseUrl) throw new Error("baseUrl is required when creating a Riverbank client. Expected format: https://dashboard.example.com/api (must include /api path)");
12384
12419
  if (!config.baseUrl.endsWith("/api")) throw new Error(`baseUrl must end with '/api'. Received: ${config.baseUrl}. Expected format: https://dashboard.example.com/api`);
12385
- const cacheEnabled = config.cache?.enabled ?? true;
12420
+ const { cacheEnabled, servesFreshMemoryHits } = resolveMemoryCachePolicy(config);
12386
12421
  const cacheTTL = (config.cache?.ttl ?? 300) * 1e3;
12387
12422
  const cacheMaxSize = config.cache?.maxSize ?? 100;
12388
12423
  const resilienceEnabled = config.resilience?.enabled ?? true;
@@ -12531,7 +12566,7 @@ function createRiverbankClientWithDeps(deps, config) {
12531
12566
  durationMs: Date.now() - startTime,
12532
12567
  ...extra
12533
12568
  });
12534
- if (cacheEnabled && !options.force) {
12569
+ if (servesFreshMemoryHits && !options.force) {
12535
12570
  const fresh = cache.getFresh(cacheKey);
12536
12571
  if (fresh !== null) return emitStatus("cache", fresh, statusDetails({ cacheTier: "memory-fresh" }));
12537
12572
  }
@@ -12793,6 +12828,30 @@ function createRiverbankClientWithDeps(deps, config) {
12793
12828
  cacheTags: buildPublicReadMemoryCacheTags("listPublicEvents", { siteId })
12794
12829
  });
12795
12830
  },
12831
+ async getPublicMapLocation(params) {
12832
+ const { siteId, stage, signal } = params;
12833
+ if (!siteId) throw new Error("getPublicMapLocation() requires siteId");
12834
+ const request = publicMapLocationParamsSchema.parse(params);
12835
+ return resilientFetchData("getPublicMapLocation", `public-map-location:${siteId}:${stage ?? ""}:${request.source}:${request.source === "venue" ? request.venueId : ""}`, async (sig) => {
12836
+ const requestId = "mapLocation";
12837
+ return normalizeBatchBlockLoaderResult(await apiClient({
12838
+ endpoint: "batchBlockLoaders",
12839
+ params: {
12840
+ siteId,
12841
+ ...stage && { stage }
12842
+ },
12843
+ body: { requests: [{
12844
+ id: requestId,
12845
+ endpoint: "getPublicMapLocation",
12846
+ params: request
12847
+ }] },
12848
+ options: { signal: sig }
12849
+ }), requestId);
12850
+ }, {
12851
+ signal,
12852
+ cacheTags: buildPublicReadMemoryCacheTags("getPublicMapLocation", { siteId })
12853
+ });
12854
+ },
12796
12855
  async getPublicEventDetails(params) {
12797
12856
  const { siteId, limit, from, to, afterStartsAt, afterId, stage, categoryIds, venueId, staffMemberId, kind, eventSurface, eventPresets, scheduleScope, seriesId, includeOccurrenceId, signal } = params;
12798
12857
  if (!siteId) throw new Error("getPublicEventDetails() requires siteId");
@@ -1,2 +1,2 @@
1
- import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-3puM5SM8.mjs";
1
+ import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-BvHio6QI.mjs";
2
2
  export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
@@ -1,5 +1,5 @@
1
- import { ws as isCanonicalRichTextDoc } from "./registry-cQ9N5W-n.mjs";
2
- import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-3puM5SM8.mjs";
1
+ import { js as isCanonicalRichTextDoc } from "./registry-CXRXsFSx.mjs";
2
+ import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-BvHio6QI.mjs";
3
3
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
4
4
  //#region src/config/bindings.ts
5
5
  function fieldBinding(path) {
@@ -1,2 +1,2 @@
1
- import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-CN4UmmTK.mjs";
1
+ import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-yfe8WLEA.mjs";
2
2
  export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
@@ -1,8 +1,8 @@
1
1
  import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
2
- import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-CgghATBm.mjs";
2
+ import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-BPLLL22F.mjs";
3
3
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
4
4
  import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
5
- import { t as prebuildCache } from "./prebuild-BDhlJbAx.mjs";
5
+ import { t as prebuildCache } from "./prebuild-B4_Llisx.mjs";
6
6
  import * as path from "path";
7
7
  import * as fs from "fs";
8
8
  //#region src/prebuild/loader.ts
@@ -1,10 +1,10 @@
1
- import { Ba as designRuntimeRulesForSiteStyle, Bi as parseFieldDefinition, Bo as resolveRepeaterGridRowFieldId, Cr as blockDesignCapabilityMapFromDefinitions, Fa as buildInitialPolicyPageDesignIntent, Fi as inlineTextToPlainText, Ga as surfaceResolutionContextFromTheme, Gi as isRecord, Ha as requireCuratedSiteStyle, Ks as offeringLabelForPageSurfaceSubject, Li as parseInlineTextFromUnknown, Oo as appearancePresets, Ri as plainTextToInlineText, Vn as siteHeaderManifest, Vo as resolveRepeaterGridSpanFieldId, Xn as resolveDateRuntimeContext, i as systemBlockDefinitions, ms as EVENT_PRESET_VALUES, nc as unsafeAsContentEntryId, ni as parseBackgroundContent, pa as parseListLook, rc as unsafeAsEventCategoryId, ro as parsePageDesignIntent, t as getBlockDefinition, ws as isCanonicalRichTextDoc, za as componentRuntimeRulesForSiteStyle, zo as resolveRepeaterGridColumnFieldId } from "./registry-cQ9N5W-n.mjs";
1
+ import { Ar as blockDesignCapabilityMapFromDefinitions, Fo as appearancePresets, Gi as plainTextToInlineText, Ha as buildInitialPolicyPageDesignIntent, Hi as inlineTextToPlainText, Jn as siteHeaderManifest, Jo as resolveRepeaterGridSpanFieldId, Ka as componentRuntimeRulesForSiteStyle, Ko as resolveRepeaterGridColumnFieldId, Qa as surfaceResolutionContextFromTheme, Qi as isRecord, Wi as parseInlineTextFromUnknown, Ya as requireCuratedSiteStyle, ba as parseListLook, i as systemBlockDefinitions, ic as unsafeAsEventCategoryId, js as isCanonicalRichTextDoc, li as parseBackgroundContent, qa as designRuntimeRulesForSiteStyle, qi as parseFieldDefinition, qo as resolveRepeaterGridRowFieldId, qs as offeringLabelForPageSurfaceSubject, rc as unsafeAsContentEntryId, rr as resolveDateRuntimeContext, t as getBlockDefinition, uo as parsePageDesignIntent, xs as EVENT_PRESET_VALUES } from "./registry-CXRXsFSx.mjs";
2
2
  import { S as asDesignBlockId, T as asLayoutVariantKey, b as asAppearancePresetId } from "./customCss-BZ8YSrQg.mjs";
3
- import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as siteBlockRenderContext, h as registeredManifestContentContract, i as collectMediaAssetSidecar, j as readPublishedBlockPlacement, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as deriveFieldValidationPlan, w as resolveRepeaterGridAcceptedSpans, y as fieldPlanToZod } from "./pageRuntimeSupport-CuVj3bkd.mjs";
3
+ import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as siteBlockRenderContext, h as registeredManifestContentContract, i as collectMediaAssetSidecar, j as readPublishedBlockPlacement, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as deriveFieldValidationPlan, w as resolveRepeaterGridAcceptedSpans, y as fieldPlanToZod } from "./pageRuntimeSupport-uz4gzBOo.mjs";
4
4
  import { i as createRichTextDoc, o as isRecord$1, r as buildRichTextSchema } from "./richTextSchema-QLaQrbII.mjs";
5
- import { a as buildPageDesignEditorReadModel, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as applyCompiledRuntimeFieldsToContent, r as resolveRuntimeJoinFacts, s as compileEditorModelRuntime, t as applyBindingsToContent } from "./bindings-7L3pC5Os.mjs";
5
+ import { a as buildPageDesignEditorReadModel, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as applyCompiledRuntimeFieldsToContent, r as resolveRuntimeJoinFacts, s as compileEditorModelRuntime, t as applyBindingsToContent } from "./bindings-VGgS6UvF.mjs";
6
6
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
7
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-CN4UmmTK.mjs";
7
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-yfe8WLEA.mjs";
8
8
  import { z } from "zod";
9
9
  //#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
10
10
  function asContentTemplateDesignBlockId(value) {
@@ -2083,7 +2083,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
2083
2083
  const { client, siteId, site, contentResponse, preview = false, dataLoaderOverrides, searchParams } = params;
2084
2084
  const previewStage = preview ? "preview" : "published";
2085
2085
  const blockDataPolicy = createBlockDataLoadPolicy(dataLoaderOverrides, normalizeDataLoaderSearchParams(searchParams));
2086
- const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets), contentLocationSupport(contentResponse));
2086
+ const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets));
2087
2087
  const templateContentSupport = toTemplateContentRenderSupport(support, siteId);
2088
2088
  if (isEntryResponse(contentResponse)) {
2089
2089
  const entryData = contentResponse.entry;
@@ -2306,8 +2306,5 @@ function isEntryResponse(response) {
2306
2306
  function isPageSurfaceResponse(response) {
2307
2307
  return response.type === "pageSurface";
2308
2308
  }
2309
- function contentLocationSupport(response) {
2310
- return "page" in response ? response.locationMapSupport : void 0;
2311
- }
2312
2309
  //#endregion
2313
2310
  export { loadContent as i, isPageContent as n, isPageSurfaceContent as r, isEntryContent as t };
@@ -1,7 +1,7 @@
1
- import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-CuVj3bkd.mjs";
1
+ import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-uz4gzBOo.mjs";
2
2
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
3
3
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
4
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-CN4UmmTK.mjs";
4
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-yfe8WLEA.mjs";
5
5
  //#region src/rendering/helpers/loadPage.ts
6
6
  /**
7
7
  * Server-side helper to fetch all data needed for <Page> component.
@@ -0,0 +1,315 @@
1
+ import { C as ok, S as err, x as parseUuidBrand } from "./media-luf7RF22.mjs";
2
+ import { z } from "zod";
3
+ //#region ../core/src/branded/identity.ts
4
+ const unsafeAsSiteId = (id) => id;
5
+ const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
6
+ //#endregion
7
+ //#region ../core/src/map-drawing/model.ts
8
+ const MAX_DRAWING_BYTES = 1024 * 1024;
9
+ /** Current real city extracts fit with >2x headroom; reservations precede allocation. */
10
+ const DRAWING_DECODE_LIMITS = {
11
+ pathsPerFeature: 2048,
12
+ verticesPerPath: 8192,
13
+ verticesPerFeature: 32768,
14
+ featuresPerLayer: 1e4,
15
+ featuresPerTile: 16e3,
16
+ featuresPerAttempt: 6e4,
17
+ verticesPerAttempt: 1e6
18
+ };
19
+ /**
20
+ * The two fixed framings. Neighbourhood draws 1 m per view-box unit, wider 4 m, so the same stroke and label
21
+ * sizes read well in both. The wider view leaves out buildings, distant paths and small green patches, which turn to
22
+ * noise at that scale. `minParkArea` is in square view-box units. Labels go to the nearest streets first, with a
23
+ * minor street counted as `minorLabelDistance` times further away than it is, so the wider view names main roads.
24
+ */
25
+ const FRAMINGS = [{
26
+ name: "neighbourhood",
27
+ radiusMeters: 400,
28
+ zoom: 15,
29
+ roads: [
30
+ "major",
31
+ "minor",
32
+ "path"
33
+ ],
34
+ maxPathDistance: 800,
35
+ buildings: true,
36
+ minParkArea: .3,
37
+ maxLabels: 6,
38
+ minorLabelDistance: 1.5
39
+ }, {
40
+ name: "wider",
41
+ radiusMeters: 1600,
42
+ zoom: 14,
43
+ roads: [
44
+ "major",
45
+ "minor",
46
+ "path"
47
+ ],
48
+ maxPathDistance: 100,
49
+ buildings: false,
50
+ minParkArea: 40,
51
+ maxLabels: 5,
52
+ minorLabelDistance: 4
53
+ }];
54
+ const tilePoint = z.tuple([z.number().finite().min(-8192).max(12288), z.number().finite().min(-8192).max(12288)]).readonly();
55
+ const paths = z.array(z.array(tilePoint).min(2).max(DRAWING_DECODE_LIMITS.verticesPerPath).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly();
56
+ const featureFields = {
57
+ kind: z.string().max(80),
58
+ name: z.string().trim().max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/).nullish().transform((value) => value === void 0 || value === null || value === "" ? null : value),
59
+ sortRank: z.number().finite().min(-1e4).max(1e4).default(0),
60
+ paths: paths.refine((value) => value.reduce((n, path) => n + path.length, 0) <= DRAWING_DECODE_LIMITS.verticesPerFeature)
61
+ };
62
+ const feature = z.discriminatedUnion("geometry", [z.strictObject({
63
+ ...featureFields,
64
+ layer: z.literal("roads"),
65
+ geometry: z.literal("line")
66
+ }).readonly(), z.strictObject({
67
+ ...featureFields,
68
+ layer: z.enum([
69
+ "earth",
70
+ "water",
71
+ "landuse",
72
+ "buildings"
73
+ ]),
74
+ geometry: z.literal("polygon")
75
+ }).refine((value) => value.paths.every((ring) => ring.length >= 3)).readonly()]);
76
+ const tile = z.strictObject({
77
+ z: z.union([z.literal(14), z.literal(15)]),
78
+ x: z.number().int().nonnegative(),
79
+ y: z.number().int().nonnegative(),
80
+ extent: z.literal(4096),
81
+ features: z.array(feature).max(DRAWING_DECODE_LIMITS.featuresPerTile).readonly()
82
+ }).refine((value) => value.x < 2 ** value.z && value.y < 2 ** value.z).readonly();
83
+ z.strictObject({
84
+ buildId: z.string().regex(/^\d{8}$/),
85
+ tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
86
+ pin: z.lazy(() => locationPinSchema),
87
+ tiles: z.array(tile).min(1).max(96).readonly()
88
+ }).superRefine((value, ctx) => {
89
+ const features = value.tiles.flatMap((item) => item.features);
90
+ if (features.length > DRAWING_DECODE_LIMITS.featuresPerAttempt || features.reduce((sum, item) => sum + item.paths.reduce((count, path) => count + path.length, 0), 0) > DRAWING_DECODE_LIMITS.verticesPerAttempt) ctx.addIssue({
91
+ code: "custom",
92
+ message: "Decoded geometry exceeds the attempt budget."
93
+ });
94
+ }).readonly();
95
+ const point = z.tuple([z.number().min(0).max(800), z.number().min(0).max(800)]).readonly();
96
+ const polygon = z.strictObject({
97
+ kind: z.literal("polygon"),
98
+ fillRule: z.literal("evenodd"),
99
+ className: z.enum([
100
+ "map-land",
101
+ "map-water",
102
+ "map-park",
103
+ "map-building"
104
+ ]),
105
+ rings: z.array(z.array(point).min(3).max(8192).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly()
106
+ }).readonly();
107
+ const line = z.strictObject({
108
+ kind: z.literal("line"),
109
+ className: z.enum([
110
+ "map-road-major-casing",
111
+ "map-road-major",
112
+ "map-road-minor-casing",
113
+ "map-road-minor",
114
+ "map-road-path"
115
+ ]),
116
+ points: z.array(point).min(2).max(8192).readonly()
117
+ }).readonly();
118
+ const drawingPathSchema = z.discriminatedUnion("kind", [polygon, line]);
119
+ const label = z.strictObject({
120
+ className: z.literal("map-label"),
121
+ haloClassName: z.literal("map-label-halo"),
122
+ text: z.string().trim().min(1).max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/),
123
+ point,
124
+ angle: z.number().min(-90).max(90)
125
+ }).readonly();
126
+ const drawingFrameSchema = z.strictObject({
127
+ radiusMeters: z.union([z.literal(FRAMINGS[0].radiusMeters), z.literal(FRAMINGS[1].radiusMeters)]),
128
+ viewBox: z.tuple([
129
+ z.literal(0),
130
+ z.literal(0),
131
+ z.literal(800),
132
+ z.literal(800)
133
+ ]).readonly(),
134
+ backgroundClass: z.literal("map-water"),
135
+ paths: z.array(drawingPathSchema).max(1800).readonly(),
136
+ labels: z.array(label).max(12).readonly(),
137
+ pin: z.strictObject({
138
+ className: z.literal("map-pin"),
139
+ point: z.tuple([z.literal(400), z.literal(400)]).readonly()
140
+ }).readonly()
141
+ }).superRefine((value, ctx) => {
142
+ if (value.paths.reduce((sum, path) => sum + (path.kind === "line" ? path.points.length : path.rings.reduce((n, ring) => n + ring.length, 0)), 0) > 5e4) ctx.addIssue({
143
+ code: "custom",
144
+ message: "Drawing exceeds its vertex budget."
145
+ });
146
+ }).readonly();
147
+ const mapDrawingSchema = z.strictObject({
148
+ schemaVersion: z.literal(2),
149
+ generatorVersion: z.literal(3),
150
+ buildId: z.string().regex(/^\d{8}$/),
151
+ tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
152
+ frames: z.strictObject({
153
+ neighbourhood: drawingFrameSchema,
154
+ wider: drawingFrameSchema
155
+ }).readonly()
156
+ }).refine((value) => value.frames.neighbourhood.radiusMeters === FRAMINGS[0].radiusMeters && value.frames.wider.radiusMeters === FRAMINGS[1].radiusMeters).refine((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= MAX_DRAWING_BYTES, { error: "Drawing exceeds its byte budget." }).readonly();
157
+ //#endregion
158
+ //#region ../core/src/string.ts
159
+ /**
160
+ * Trim a user-entered string and collapse blank values to null.
161
+ */
162
+ function trimmedStringOrNull(value) {
163
+ const trimmed = typeof value === "string" ? value.trim() : "";
164
+ return trimmed.length > 0 ? trimmed : null;
165
+ }
166
+ //#endregion
167
+ //#region ../core/src/location.ts
168
+ /** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
169
+ const locationPinSchema = z.strictObject({
170
+ lat: z.number().min(-90).max(90),
171
+ lng: z.number().min(-180).max(180)
172
+ }).readonly().brand();
173
+ const addressPart = z.string().trim().max(200).nullish().transform((value) => trimmedStringOrNull(value));
174
+ /** Building identifies the place; unit/floor refine it without moving it. */
175
+ const locationAddressSchema = z.strictObject({
176
+ building: addressPart,
177
+ unit: addressPart,
178
+ floor: addressPart,
179
+ street: addressPart,
180
+ locality: addressPart,
181
+ region: addressPart,
182
+ postalCode: addressPart,
183
+ country: addressPart.transform((value) => value?.length === 2 ? value.toUpperCase() : value)
184
+ }).readonly().transform((address) => Object.values(address).some((part) => part !== null) ? address : null);
185
+ const locationAddressMatchSchema = z.strictObject({
186
+ point: locationPinSchema,
187
+ precision: z.enum([
188
+ "building",
189
+ "street",
190
+ "area",
191
+ "unknown"
192
+ ]),
193
+ placeId: z.string().trim().max(1024).regex(/^[a-z][a-z0-9-]*:\S+$/),
194
+ attribution: z.array(z.strictObject({
195
+ text: z.string().trim().min(1).max(500),
196
+ url: z.url().max(2048).refine((value) => /^https?:\/\//.test(value))
197
+ }).readonly()).min(1).max(4).readonly()
198
+ }).readonly();
199
+ const locationValueSchema = z.strictObject({
200
+ address: locationAddressSchema.nullable().default(null),
201
+ pin: locationPinSchema.nullable().default(null),
202
+ doorNote: z.string().trim().max(1e3).nullish().transform(trimmedStringOrNull),
203
+ addressMatch: locationAddressMatchSchema.nullable().default(null),
204
+ addressCheckSettled: z.literal(true).optional(),
205
+ ownerConfirmedPinAndAddress: z.boolean().default(false)
206
+ }).superRefine((value, context) => {
207
+ if (value.address === null && value.pin === null) context.addIssue({
208
+ code: "custom",
209
+ path: ["address"],
210
+ message: "Use null to remove a location."
211
+ });
212
+ if (value.address === null && value.addressMatch !== null) context.addIssue({
213
+ code: "custom",
214
+ path: ["addressMatch"],
215
+ message: "Address evidence requires an address."
216
+ });
217
+ if (value.address === null && value.addressCheckSettled) context.addIssue({
218
+ code: "custom",
219
+ path: ["addressCheckSettled"],
220
+ message: "A settled address check requires an address."
221
+ });
222
+ if (value.ownerConfirmedPinAndAddress && (value.address === null || value.pin === null)) context.addIssue({
223
+ code: "custom",
224
+ path: ["ownerConfirmedPinAndAddress"],
225
+ message: "Confirmation requires both address and pin."
226
+ });
227
+ }).readonly();
228
+ /** API/DB ingress parses once. Removed locations are represented by null. */
229
+ function parseLocationValue(input) {
230
+ const parsed = locationValueSchema.nullable().safeParse(input);
231
+ return parsed.success ? ok(parsed.data) : err({
232
+ kind: "invalid_location",
233
+ issues: parsed.error.issues
234
+ });
235
+ }
236
+ /** One display formatter: a known matching site country is redundant. */
237
+ function formatLocationAddress(address, siteCountry) {
238
+ if (address === null) return null;
239
+ return [
240
+ address.building,
241
+ address.street,
242
+ address.unit,
243
+ address.floor,
244
+ address.locality,
245
+ address.region,
246
+ address.postalCode,
247
+ sameLocationCountry(address.country, siteCountry) ? null : address.country
248
+ ].filter((part) => part !== null).join(", ") || null;
249
+ }
250
+ const regionNames = new Intl.DisplayNames(["en"], { type: "region" });
251
+ const countryIdentity = (country) => {
252
+ const text = country.trim();
253
+ const code = text.toUpperCase() === "UK" ? "GB" : text.toUpperCase();
254
+ return (code.length === 2 && /^[A-Z]{2}$/.test(code) ? regionNames.of(code) ?? text : text).toLowerCase();
255
+ };
256
+ function sameLocationCountry(country, siteCountry) {
257
+ return country !== null && Boolean(siteCountry?.trim()) && countryIdentity(country) === countryIdentity(siteCountry ?? "");
258
+ }
259
+ const publicLocationSchema = z.strictObject({
260
+ drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
261
+ address: locationAddressSchema.nullable(),
262
+ displayAddress: z.string().nullable().default(null),
263
+ pin: locationPinSchema.nullable(),
264
+ doorNote: z.string().max(1e3).nullable(),
265
+ attribution: z.array(locationAddressMatchSchema.unwrap().shape.attribution.unwrap().element).max(4).readonly()
266
+ }).readonly();
267
+ /** Permission belongs to the resource/source owner before this projection. */
268
+ function projectPublicLocation(location, siteCountry) {
269
+ return {
270
+ address: location.address,
271
+ displayAddress: formatLocationAddress(location.address, siteCountry),
272
+ pin: location.pin,
273
+ doorNote: location.doorNote,
274
+ attribution: location.addressMatch?.attribution ?? []
275
+ };
276
+ }
277
+ function normalizeLocationAddressText(value) {
278
+ if (typeof value !== "string") return null;
279
+ return trimmedStringOrNull(value);
280
+ }
281
+ function hasLocationCoordinates(value) {
282
+ return value != null && typeof value.lat === "number" && Number.isFinite(value.lat) && Math.abs(value.lat) <= 90 && typeof value.lng === "number" && Number.isFinite(value.lng) && Math.abs(value.lng) <= 180;
283
+ }
284
+ function toLocationCoordinates(value) {
285
+ if (!hasLocationCoordinates(value)) return null;
286
+ return {
287
+ lat: value.lat,
288
+ lng: value.lng
289
+ };
290
+ }
291
+ //#endregion
292
+ //#region ../site-contracts/src/siteData/venues.ts
293
+ /** Additive map DTO; hidden venues retain only their public name and area. */
294
+ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
295
+ name: z.string().optional(),
296
+ area: z.string().nullable().optional(),
297
+ addressWithBooking: z.boolean().optional()
298
+ }).readonly();
299
+ //#endregion
300
+ //#region ../site-contracts/src/siteData/mapLocation.ts
301
+ /** Site and preview authority belong to transport, never to the selected source. */
302
+ const publicMapLocationParamsSchema = z.discriminatedUnion("source", [z.object({
303
+ source: z.literal("venue"),
304
+ venueId: z.string().uuid()
305
+ }), z.object({ source: z.literal("business_address") })]);
306
+ const publicMapLocationResultSchema = z.discriminatedUnion("kind", [
307
+ z.object({
308
+ kind: z.literal("shown"),
309
+ location: publicVenueMapLocationSchema
310
+ }),
311
+ z.object({ kind: z.literal("hidden") }),
312
+ z.object({ kind: z.literal("not_found") })
313
+ ]);
314
+ //#endregion
315
+ export { normalizeLocationAddressText as a, publicLocationSchema as c, mapDrawingSchema as d, parseSiteId as f, locationValueSchema as i, toLocationCoordinates as l, publicMapLocationResultSchema as n, parseLocationValue as o, publicVenueMapLocationSchema as r, projectPublicLocation as s, publicMapLocationParamsSchema as t, trimmedStringOrNull as u };
@@ -154,11 +154,8 @@ function createRevalidateHandler(options = {}) {
154
154
  invalidPathCount: normalizedPaths.invalidPaths.length
155
155
  });
156
156
  const normalizedTags = normalizeRevalidationTags(payload.tags);
157
- revalidated.push(...revalidateWebhookTags(payload.event, normalizedTags));
158
- for (const path of normalizedPaths.paths) {
159
- revalidatePath(path);
160
- revalidated.push(`path:${path}`);
161
- }
157
+ revalidated.push(...revalidateWebhookTags(payload, normalizedTags));
158
+ revalidated.push(...revalidateWebhookPaths(normalizedPaths.paths));
162
159
  const metadata = getRevalidationRequestMetadata(request, payload, {
163
160
  pathCount: normalizedPaths.paths.length,
164
161
  tagCount: normalizedTags.length,
@@ -193,9 +190,19 @@ function createRevalidateHandler(options = {}) {
193
190
  });
194
191
  };
195
192
  }
196
- /** The accepted process-memory lag does not permit stale Next fetch-cache copies. */
197
- function revalidateWebhookTags(event, tags) {
198
- const profile = event === "site.settings_updated" ? { expire: 0 } : "max";
193
+ function revalidateWebhookPaths(paths) {
194
+ return paths.map((path) => {
195
+ revalidatePath(path);
196
+ return `path:${path}`;
197
+ });
198
+ }
199
+ /**
200
+ * Most events expire at once, so the first view after a delivered webhook re-renders and shows the
201
+ * change. A booking fires events.updated too, and a page's spaces are only advisory (checkout
202
+ * enforces capacity), so those visitors keep the fast stale page while it refreshes behind them.
203
+ */
204
+ function revalidateWebhookTags(payload, tags) {
205
+ const profile = payload.event === "events.updated" && payload.data.entity === "registration" ? "max" : { expire: 0 };
199
206
  return tags.map((tag) => {
200
207
  revalidateTag(tag, profile);
201
208
  return `tag:${tag}`;
@@ -1,16 +1,16 @@
1
- import { Fs as inferSiteDateLocale, Gs as toUtcIsoDateTimeString, Us as resolveBookingBusinessTimeZone } from "./registry-cQ9N5W-n.mjs";
2
- import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-JxlV8_Bo.mjs";
3
- import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-CgghATBm.mjs";
4
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D7M5Vcug.mjs";
1
+ import { Is as inferSiteDateLocale, Ks as toUtcIsoDateTimeString, Ws as resolveBookingBusinessTimeZone } from "./registry-CXRXsFSx.mjs";
2
+ import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-6z6JBU41.mjs";
3
+ import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-BPLLL22F.mjs";
4
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-CxASA3PE.mjs";
5
5
  import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
6
6
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
7
7
  import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
8
8
  import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
9
9
  import { t as getPortalToken } from "./portal-BjVHMAUC.mjs";
10
10
  import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
11
- import { t as SDK_VERSION } from "./version-B8g-Wx57.mjs";
11
+ import { t as SDK_VERSION } from "./version-SuFlio6n.mjs";
12
12
  import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
13
- import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-CJ3MRI5Q.mjs";
13
+ import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-CkpwAHvW.mjs";
14
14
  import { cache } from "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1,4 +1,4 @@
1
- import { t as PageContent } from "./pageShared-JxlV8_Bo.mjs";
1
+ import { t as PageContent } from "./pageShared-6z6JBU41.mjs";
2
2
  import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
3
3
  import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { n as listBlockDescriptors, ni as parseBackgroundContent } from "./registry-cQ9N5W-n.mjs";
1
+ import { li as parseBackgroundContent, n as listBlockDescriptors } from "./registry-CXRXsFSx.mjs";
2
2
  import { i as createRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
3
3
  import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
4
4
  import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";