@riverbankcms/sdk 0.163.0 → 0.165.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  10. package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
  11. package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
  12. package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
  13. package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
  14. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  15. package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
  16. package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
  17. package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
  48. package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
  49. package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
  68. package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
  74. package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +5 -4
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BV5xfaZH.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
  125. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  126. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  138. package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
  141. package/dist/preview-next/before-render.mjs +2 -2
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  143. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  144. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  145. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
  146. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
  149. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
  150. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
  151. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  152. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  153. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  154. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  157. package/dist/preview-next/keepAlive.mjs +3 -3
  158. package/dist/preview-next/middleware.mjs +2 -2
  159. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
  160. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  161. package/dist/preview-next/session.mjs +1 -1
  162. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
  163. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  164. package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
  168. package/dist/server/index.mjs +3 -3
  169. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
  170. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  171. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
  172. package/dist/server/next/middleware.mjs +1 -1
  173. package/dist/server/next/revalidate.mjs +1 -1
  174. package/dist/server/next.mjs +11 -11
  175. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  176. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
  177. package/dist/server/page-converter.mjs +1 -1
  178. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
  181. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
  182. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
  183. package/dist/server/rendering/server.mjs +4 -4
  184. package/dist/server/rendering.mjs +8 -8
  185. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  186. package/dist/server/routing.mjs +1 -1
  187. package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
  190. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
  191. package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
  192. package/dist/server/theme-bridge.mjs +1 -1
  193. package/dist/server/theme.mjs +1 -1
  194. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
  195. package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
  196. package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
  197. package/dist/styles/index.css +1173 -72
  198. package/package.json +2 -3
  199. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  200. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  201. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  202. package/dist/client/src-BNZzXgWu.mjs +0 -102
  203. package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
  204. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
3
- import { Ar as unsafeAsStorageBucketName, Dr as unsafeAsMediaAssetId, En as PUBLIC_BUTTON_ROLES, Mr as err, Nr as ok$1, Xt as parseResolvedSurface, bn as opaqueSurfaceDeclarations, dn as backgroundColorStyle, dr as resolveManagedMediaReference, gn as textColorStyle, jr as unsafeAsStoragePath, mn as mergeStyles, pr as parseCanonicalMediaIdentifier, sr as runtimeMediaSchema, vr as parseEventOfferingId, yr as parseEventSeriesId } from "./schema-BFwQDvJL.mjs";
4
- import { B as getBookingInstalmentPlanIntervalCount, C as clsx, F as resolveAvailableBookingCollectionOptions, I as resolveBookingCollectionOptionFacts, L as getBookingLaterInstalments, M as planFlexibleBalanceCreditFirst, N as isBookingCollectionEquivalentToUpfront, O as checkoutCopy, P as repriceBookingCollectionOptions, U as formatCurrencyAmount, j as planCheckoutPaymentFlow, k as getStripeMinimumChargeRequirement } from "./ThemedButton-DclwabI7.mjs";
3
+ import { Mr as unsafeAsStoragePath, Nr as err, Or as unsafeAsMediaAssetId, Pr as ok$1, Zt as parseResolvedSurface, _n as opaqueSurfaceDeclarations, br as parseEventSeriesId, cn as backgroundColorStyle, cr as runtimeMediaSchema, dn as mergeStyles, er as PUBLIC_BUTTON_ROLES, fr as resolveManagedMediaReference, jr as unsafeAsStorageBucketName, mr as parseCanonicalMediaIdentifier, pn as textColorStyle, yr as parseEventOfferingId } from "./schema-BdSglH2X.mjs";
4
+ import { _ as getBookingInstalmentPlanIntervalCount, a as checkoutCopy, b as formatCurrencyAmount, c as planCheckoutPaymentFlow, d as repriceBookingCollectionOptions, f as resolveAvailableBookingCollectionOptions, l as planFlexibleBalanceCreditFirst, m as getBookingLaterInstalments, o as getStripeMinimumChargeRequirement, p as resolveBookingCollectionOptionFacts, u as isBookingCollectionEquivalentToUpfront } from "./purchase-BV5xfaZH.mjs";
5
5
  import { c as assertNever, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-4XFGzJpT.mjs";
7
- import { l as arrangementSlotNames } from "./site-styles-dy54AUdz.mjs";
8
- import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DIkX2S-X.mjs";
6
+ import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-CQU7tiMg.mjs";
7
+ import { p as arrangementSlotNames } from "./site-styles-CWHmlVT5.mjs";
8
+ import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
9
+ import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-CwT6ZOm7.mjs";
9
10
  import React from "react";
10
11
  import { z } from "zod";
11
12
  import { Fragment, jsx } from "react/jsx-runtime";
@@ -357,6 +358,11 @@ function isRecord$6(value) {
357
358
  return typeof value === "object" && value !== null && !Array.isArray(value);
358
359
  }
359
360
  const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
361
+ /**
362
+ * Seeded into a new setup so every signup form carries a preferences/unsubscribe
363
+ * reassurance out of the box. Administrators can edit or clear it.
364
+ */
365
+ const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
360
366
  function parseMailingListProviderScope(value) {
361
367
  if (!isRecord$6(value)) return err("invalid_mailing_list_provider_scope");
362
368
  if (value.provider === "native") return ok$1({ provider: "native" });
@@ -817,18 +823,20 @@ function resolveDirectImagePathTarget(target) {
817
823
  case "bucket-scoped": return target.storagePath;
818
824
  }
819
825
  }
826
+ function buildDirectImageTransformQuery(options) {
827
+ const resize = options.resize ?? (options.width && options.height ? void 0 : "contain");
828
+ const params = new URLSearchParams();
829
+ if (options.width) params.set("width", String(options.width));
830
+ if (options.height) params.set("height", String(options.height));
831
+ if (options.quality) params.set("quality", String(options.quality));
832
+ if (resize) params.set("resize", resize);
833
+ return params.toString();
834
+ }
820
835
  function getDirectImageUrl(supabaseUrl, target, storageBucket = "media", options) {
821
836
  const baseUrl = supabaseUrl.replace(/\/$/, "");
822
837
  const encodedPath = encodeStoragePath(resolveDirectImagePathTarget(target));
823
838
  const isSvg = target.storagePath.toLowerCase().endsWith(".svg");
824
- if (options && !isSvg && (options.width || options.height)) {
825
- const params = new URLSearchParams();
826
- if (options.width) params.set("width", String(options.width));
827
- if (options.height) params.set("height", String(options.height));
828
- if (options.quality) params.set("quality", String(options.quality));
829
- if (options.resize) params.set("resize", options.resize);
830
- return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${params.toString()}`;
831
- }
839
+ if (options && !isSvg && (options.width || options.height)) return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${buildDirectImageTransformQuery(options)}`;
832
840
  return `${baseUrl}/storage/v1/object/public/${storageBucket}/${encodedPath}`;
833
841
  }
834
842
  function getDirectImageUrlForRelativePath(supabaseUrl, storagePath, siteId, storageBucket = "media", options) {
@@ -1880,8 +1888,7 @@ function buildStandardBookingPaymentDisclosure(input, payment, amount) {
1880
1888
  ...discountCode ? { discountCode } : {},
1881
1889
  ...amount,
1882
1890
  ...selectedCollectionOptionKind ? { selectedCollectionOptionKind } : {},
1883
- shownTerms: input.shownTerms ?? snapshotBookingShownTerms(payment, input.promisedDiscountId),
1884
- altchaSolution: input.altchaSolution ?? null
1891
+ shownTerms: input.shownTerms ?? snapshotBookingShownTerms(payment, input.promisedDiscountId)
1885
1892
  };
1886
1893
  }
1887
1894
  function validateBookingSlidingSelection(service, data) {
@@ -2172,7 +2179,6 @@ const bookingSourceSchema = z.object({
2172
2179
  successMessage: z.string().nullable().optional(),
2173
2180
  form: bookingSourceFormSchema.nullable().optional(),
2174
2181
  services: bookingServicesSourceSchema.nullable().optional(),
2175
- spamProtectionEnabled: z.boolean().optional(),
2176
2182
  className: z.string().nullable().optional()
2177
2183
  });
2178
2184
  const bookingDisplaySchema = z.object({
@@ -2201,8 +2207,7 @@ const bookingHydrationSchema = z.object({
2201
2207
  rebookContext: z.object({ kind: z.literal("portal_rebook") }).nullable().optional(),
2202
2208
  form: bookingConfigSchema.nullable(),
2203
2209
  services: z.array(bookingServiceSchema),
2204
- serviceCategories: z.array(bookingServiceCategorySchema).optional(),
2205
- spamProtectionEnabled: z.boolean().optional()
2210
+ serviceCategories: z.array(bookingServiceCategorySchema).optional()
2206
2211
  });
2207
2212
  const bookingRenderSchema = z.object({
2208
2213
  display: bookingDisplaySchema,
@@ -2253,8 +2258,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
2253
2258
  rebookContext: source.rebookContext ?? null,
2254
2259
  form,
2255
2260
  services,
2256
- serviceCategories: normalizeBookingServiceCategories(source.services),
2257
- spamProtectionEnabled: source.spamProtectionEnabled
2261
+ serviceCategories: normalizeBookingServiceCategories(source.services)
2258
2262
  }
2259
2263
  };
2260
2264
  }
@@ -3902,14 +3906,31 @@ function mediaImageHostProps(props, style) {
3902
3906
  };
3903
3907
  }
3904
3908
  //#endregion
3905
- //#region ../blocks/src/primitives/content/components/RichText.tsx
3909
+ //#region ../blocks/src/primitives/content/richTextImageSize.ts
3906
3910
  function parseDimension(value) {
3907
- if (typeof value === "number" && Number.isFinite(value) && value > 0) return Math.round(value);
3908
- if (typeof value === "string" && value.trim().length > 0) {
3909
- const parsed = Number(value);
3910
- if (Number.isFinite(parsed) && parsed > 0) return Math.round(parsed);
3911
- }
3911
+ const parsed = typeof value === "number" || typeof value === "string" ? Number(value) : NaN;
3912
+ return Number.isFinite(parsed) && parsed > 0 ? Math.round(parsed) : void 0;
3912
3913
  }
3914
+ /** View and editor images must request the same resource to preserve browser cache reuse. */
3915
+ function getRichTextImageSize(attrs) {
3916
+ const width = parseDimension(attrs.width);
3917
+ const height = parseDimension(attrs.height);
3918
+ return {
3919
+ width,
3920
+ height,
3921
+ urlOptions: width ? {
3922
+ width,
3923
+ resize: "contain",
3924
+ quality: 85
3925
+ } : height ? {
3926
+ height,
3927
+ resize: "contain",
3928
+ quality: 85
3929
+ } : ImagePresets.full
3930
+ };
3931
+ }
3932
+ //#endregion
3933
+ //#region ../blocks/src/primitives/content/components/RichText.tsx
3913
3934
  function normalizeRel(target, rel) {
3914
3935
  const normalizedRel = rel?.trim();
3915
3936
  if (target !== "_blank") return normalizedRel && normalizedRel.length > 0 ? normalizedRel : void 0;
@@ -3985,36 +4006,22 @@ function renderSimpleNode(node, key, children, context) {
3985
4006
  default: return null;
3986
4007
  }
3987
4008
  }
3988
- function richTextImageOptions(width, height) {
3989
- if (width) return {
3990
- width,
3991
- resize: "contain",
3992
- quality: 85
3993
- };
3994
- if (height) return {
3995
- height,
3996
- resize: "contain",
3997
- quality: 85
3998
- };
3999
- return ImagePresets.full;
4000
- }
4001
- function resolveRichTextImageSource(attrs, width, height, context) {
4009
+ function resolveRichTextImageSource(attrs, context) {
4002
4010
  if (attrs.identifier !== void 0 && attrs.identifier !== null) {
4003
4011
  const parsed = parseCanonicalMediaIdentifier(attrs.identifier);
4004
4012
  if (!parsed.ok) return void 0;
4005
4013
  if (context?.mediaAssetIndex) return resolveImageUrlWithContext({
4006
4014
  type: "image",
4007
4015
  identifier: parsed.value
4008
- }, richTextImageOptions(width, height), context);
4016
+ }, getRichTextImageSize(attrs).urlOptions, context);
4009
4017
  return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
4010
4018
  }
4011
4019
  return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
4012
4020
  }
4013
4021
  function renderRichTextImage(node, key, context) {
4014
4022
  const attrs = node.attrs ?? {};
4015
- const width = parseDimension(attrs.width);
4016
- const height = parseDimension(attrs.height);
4017
- const src = resolveRichTextImageSource(attrs, width, height, context.imageResolveContext);
4023
+ const { width, height } = getRichTextImageSize(attrs);
4024
+ const src = resolveRichTextImageSource(attrs, context.imageResolveContext);
4018
4025
  if (!src) return null;
4019
4026
  return /* @__PURE__ */ jsx("img", {
4020
4027
  src,
@@ -5700,8 +5707,11 @@ function getStepLabel(step) {
5700
5707
  function visitorHoldsOwnPlace(input) {
5701
5708
  return input.hasWaitlistClaim || input.retryingHeldPlace;
5702
5709
  }
5703
- function getTicketSelectionPurpose(admission) {
5704
- return admission.kind === "waitlist" ? "waitlist" : "book";
5710
+ /** A first quote needs a selection, including when all published tickets are full.
5711
+ * Cached capacity permits requesting waitlist places; fresh admission still owns continuation. */
5712
+ function getTicketSelectionPurpose(input) {
5713
+ if (input.admission.kind === "waitlist") return "waitlist";
5714
+ return input.admission.kind === "checking" && input.event && canJoinEventWaitlist(input.event, { attendanceMode: input.attendanceMode }) ? "waitlist" : "book";
5705
5715
  }
5706
5716
  function resolveRegistrationAdmission(input) {
5707
5717
  if (input.holdsOwnPlace) return { kind: "resume" };
@@ -6601,4 +6611,4 @@ function registrationStepLabel(step, context) {
6601
6611
  }
6602
6612
  }
6603
6613
  //#endregion
6604
- export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, formatBookingPriceDisplay as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingRedirectStateFromLocation as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, isBookingServiceSlidingAmountInRange as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getBookingSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, parseBookingCurrencyInputToCents as Jn, parseMailingListProviderScope as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingFormConfig as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, deriveBookingFormViewState as Ln, itemRole as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, parseNewsletterListId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingCentsAsCurrencyInput as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getRegistrationSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingServiceSlidingScale as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, getShopSuccessCopy as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, parseMailchimpAudienceId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, prepareBookingSubmission as Yn, parseBrevoListId as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, parseMailchimpInterestId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingType as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatEventPricing as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingStrategy as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, publicEventPricingCurrency as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, resolveExactOrFreePriceDisplay as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, normalizeBookingServices as qn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingDisplay as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolvePricingOptionsPriceDisplay as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, isPublicEventPricingOptionDisplayable as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, formatBookingSubmissionPreparationError as zn, isRecord$3 as zr, placesLeftLabel as zt };
6614
+ export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseNewsletterListId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingRedirectStateFromLocation as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, isBookingServiceSlidingAmountInRange as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getBookingSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, parseBookingCurrencyInputToCents as Jn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingFormConfig as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, deriveBookingFormViewState as Ln, itemRole as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, parseMailchimpInterestId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingCentsAsCurrencyInput as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getRegistrationSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingServiceSlidingScale as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, getShopSuccessCopy as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, parseBrevoListId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, prepareBookingSubmission as Yn, parseMailingListProviderScope as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, parseMailchimpAudienceId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingStrategy as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, resolvePricingOptionsPriceDisplay as ci, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatBookingPriceDisplay as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingDisplay as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, isPublicEventPricingOptionDisplayable as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, publicEventPricingType as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, normalizeBookingServices as qn, DEFAULT_MAILING_LIST_PRIVACY_NOTE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingCurrency as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolveExactOrFreePriceDisplay as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, formatEventPricing as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, formatBookingSubmissionPreparationError as zn, isRecord$3 as zr, placesLeftLabel as zt };
@@ -1,6 +1,6 @@
1
1
  import "./constants-Bf-vqdKH.mjs";
2
- import "./route-contract-CxCstfkP.mjs";
3
- import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-P1R_ajT7.mjs";
2
+ import "./route-contract-BBAJjFIz.mjs";
3
+ import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-DU6zpYUQ.mjs";
4
4
  import "./refresh-contract-uQ6BXgLJ.mjs";
5
5
  import { z } from "zod";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { bi as checkBrowserStripeKey, n as ThemedButton, vi as SpinnerNode } from "./ThemedButton-nUnE3iMv.mjs";
3
+ import { Ci as SpinnerNode, Ti as checkBrowserStripeKey, n as ThemedButton } from "./ThemedButton-Dc6aJ34Z.mjs";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Mt as locationPinSchema } from "./lucide-react-CA9cpo0P.mjs";
2
+ import { It as locationPinSchema } from "./lucide-react-CqxuVAyz.mjs";
3
3
  import { createContext, useContext } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../editor-blocks/src/widgets/location/editMapDecision.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { Dt as sameMeaningfulAddress, E as Minus, Mt as locationPinSchema, k as LocateFixed, y as Plus } from "./lucide-react-CA9cpo0P.mjs";
4
- import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-QtSG2Bl-.mjs";
3
+ import { It as locationPinSchema, M as LocateFixed, O as Minus, jt as sameMeaningfulAddress, y as Plus } from "./lucide-react-CqxuVAyz.mjs";
4
+ import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-Bp4BHLCL.mjs";
5
5
  import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createPortal } from "react-dom";