@riverbankcms/sdk 0.170.0 → 0.171.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 (219) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
  3. package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4fzXy8H9.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
  5. package/dist/_dts/{client-x82SZgwK.d.ts → client-BPoU758C.d.ts} +32 -1
  6. package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-TnkhoSls.d.ts} +3 -3
  7. package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-7wrMA79U.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
  10. package/dist/_dts/{index-BisbMZTW.d.ts → index-585vn6qb.d.ts} +72 -36
  11. package/dist/_dts/{index-B7Mq5M6P.d.ts → index-CZKSUcDs.d.ts} +4 -4
  12. package/dist/_dts/{index-B82pqQAC.d.ts → index-Cbw0IiY7.d.ts} +2 -2
  13. package/dist/_dts/{index-DXc_ewhR.d.ts → index-ChNbrcgD.d.ts} +1 -1
  14. package/dist/_dts/{index-C3rMEJ5a.d.ts → index-DDKJfaLY.d.ts} +2 -2
  15. package/dist/_dts/{index-CCugONHM.d.ts → index-DNCDENic.d.ts} +1 -1
  16. package/dist/_dts/{index-CstY6ZMa.d.ts → index-W9R3Bnf2.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
  18. package/dist/_dts/{request-CJ_ClHLv.d.ts → request-jXTRN1Y4.d.ts} +3554 -1370
  19. package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-BBgih00D.d.ts} +2 -2
  21. package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  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 +4 -4
  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 +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -2
  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 +4740 -3
  55. package/dist/_dts/{types-CbjK5ZLy.d.ts → types-BXuVxDYo.d.ts} +2 -2
  56. package/dist/_dts/{types-CpuxuS40.d.ts → types-DEAKoDNi.d.ts} +3 -3
  57. package/dist/_dts/{types-990t4t99.d.ts → types-kWvBwYK6.d.ts} +7 -7
  58. package/dist/_dts/{validation-BN95LiS0.d.ts → validation-BAO0_ntM.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-DXD5i0Ar.mjs} +8 -8
  68. package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
  69. package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-BnwcoFQN.mjs} +10 -7
  70. package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DuG6z02f.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
  72. package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BM7rTVSL.mjs} +42 -396
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.mjs} +13 -13
  74. package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
  75. package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
  76. package/dist/client/{Page-PW4Ojv9r.mjs → Page-DH2sm4Cf.mjs} +2696 -2426
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-CsRlU46Y.mjs +894 -0
  79. package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
  80. package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
  81. package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-Bbn1-jJ8.mjs} +52 -2
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.mjs} +2 -2
  88. package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
  89. package/dist/client/{cart-wlRXnOjO.mjs → cart-BozMM5NK.mjs} +3 -3
  90. package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-CqOOxPbW.mjs} +1 -1
  91. package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-CTWF5nbB.mjs} +3 -3
  92. package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
  94. package/dist/client/client.mjs +640 -218
  95. package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
  96. package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
  97. package/dist/client/{cta-CfuyGqXL.mjs → cta-pzQkBLgS.mjs} +2 -2
  98. package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
  100. package/dist/client/{display-DDNmyb0z.mjs → display-Cl6mgSJa.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
  104. package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
  105. package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-dELKxxIe.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
  107. package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-B2HTUWLq.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
  109. package/dist/client/{form-Cfl8d6qc.mjs → form-DX70QG-J.mjs} +3 -3
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.mjs} +3 -3
  112. package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJuPX_1K.mjs} +2 -2
  115. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
  116. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
  117. package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-D1MHoPbh.mjs} +3 -3
  118. package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
  119. package/dist/client/portal/client.mjs +294 -48
  120. package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DOQ7El1d.mjs} +1 -1
  121. package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
  122. package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-BN3zv5sa.mjs} +3 -3
  123. package/dist/client/{productList-BNZAsfaP.mjs → productList-GN_Id4bF.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
  125. package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-BOyra8CA.mjs} +1015 -926
  126. package/dist/client/rendering/client.mjs +57 -32
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +1956 -191
  129. package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-DnaJ8PQc.mjs} +1 -1
  131. package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
  132. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
  133. package/dist/client/{shop-PgmiVKSV.mjs → shop-LjBLDBqF.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
  135. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
  136. package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
  137. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
  138. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-D1jDTbms.mjs} +11 -11
  141. package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
  142. package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
  143. package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-CHGYDxdM.mjs} +2 -2
  144. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
  145. package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
  146. package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
  147. package/dist/client/{view-CgComegl.mjs → view-ShYH3WXh.mjs} +3 -3
  148. package/dist/preview-next/before-render.mjs +33 -13
  149. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
  150. package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-lW2aLGWd.mjs} +1 -1
  151. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
  152. package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-DsSqwrMS.mjs} +392 -11
  153. package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3264 -3199
  154. package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-C86Out4V.mjs} +5 -6
  155. package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-CBWYjBvQ.mjs} +20 -10
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
  157. package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1155 -330
  158. package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
  159. package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-DygTyy7K.mjs} +1 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3558 -2230
  161. package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-DPeV7KaP.mjs} +1 -1
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-zTTFZ4MM.mjs} +2 -2
  164. package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
  165. package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +28 -3
  166. package/dist/preview-next/container-responsive.css +43 -0
  167. package/dist/preview-next/keepAlive.mjs +1 -1
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-CtSgU8UZ.mjs} +547 -188
  170. package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-ifgaBglp.mjs} +4 -4
  171. package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-DGDOH6OU.mjs} +3 -3
  172. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
  173. package/dist/server/bindings-CiYpie1M.mjs +1802 -0
  174. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  175. package/dist/server/{client-Djjv-NuA.mjs → client-ngWuFsmN.mjs} +638 -216
  176. package/dist/server/config-template-validation.mjs +30 -4
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +3 -34
  179. package/dist/server/data/resolveBlockData.mjs +1 -1
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
  182. package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-D4J747FQ.mjs} +2 -2
  183. package/dist/server/manifest.mjs +1 -1
  184. package/dist/server/next.mjs +8 -6
  185. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
  186. package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
  187. package/dist/server/page-converter.mjs +3 -3
  188. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  189. package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-DFv3h4Ib.mjs} +306 -287
  190. package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
  191. package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-CAZD0LcY.mjs} +848 -315
  192. package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
  193. package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-BKOCND3b.mjs} +1 -1
  194. package/dist/server/prebuild.mjs +1 -1
  195. package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
  196. package/dist/server/{registry-Djrj9gWy.mjs → registry-BogXzcOD.mjs} +4000 -1989
  197. package/dist/server/rendering/components/pageShared.mjs +1 -1
  198. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  199. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  200. package/dist/server/rendering/server.mjs +3 -3
  201. package/dist/server/rendering.mjs +7 -7
  202. package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
  203. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
  204. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  205. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  206. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
  207. package/dist/server/server.mjs +3 -3
  208. package/dist/server/theme-bridge.mjs +2 -2
  209. package/dist/server/theme.mjs +2 -1
  210. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  211. package/dist/server/{validation-Dh8htd6l.mjs → validation-vSBCWU3w.mjs} +9 -9
  212. package/dist/server/{version-LMwnoksN.mjs → version-Cw5vFmUY.mjs} +1 -1
  213. package/dist/styles/index.css +408 -10
  214. package/package.json +1 -1
  215. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  216. package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
  217. package/dist/server/bindings-C1-MNwwS.mjs +0 -257
  218. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  219. package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
@@ -1,378 +1,13 @@
1
1
  "use client";
2
- import { Gt as weekColumnDays, Kt as formatEventPrice, zt as MediaNodeServer } from "./shop.interactive-BH0xDlMF.mjs";
3
- import { $a as runtimeBoxBackgroundSchema, Gi as listLookSlot, Kn as formatEventNextDateFact, Qa as boxBackgroundSchema, Rn as eventDateOptions, Ui as listItemPresentation, Un as formatEventCompactDateRail, Vn as formatDate, Za as boxBackgroundOverlaySchema, ao as itemRoleValues, io as cardVariantRoleValues, oo as openCardRoleValue, qn as formatEventTimeRange, to as boxlessCardVariantValue, wn as ImagePresets, zn as eventLocalDateKey } from "./display-DDNmyb0z.mjs";
4
- import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-BdnEwA38.mjs";
5
- import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CfuyGqXL.mjs";
6
- import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DDWfmgpA.mjs";
7
- import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-gFuZn-dE.mjs";
2
+ import { Ht as EventQuickFacts, Vt as MediaNodeServer, Xt as formatEventPrice, Yt as weekColumnDays } from "./shop.interactive-DAKyWK1B.mjs";
3
+ import { Bn as formatDate, Cn as ImagePresets, Gi as listItemPresentation, Gn as formatEventNextDateFact, Hn as formatEventCompactDateRail, Ln as eventDateOptions, Rn as eventLocalDateKey, qi as listLookSlot, qn as formatEventTimeRange } from "./display-Cl6mgSJa.mjs";
4
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-iLF_3KX9.mjs";
5
+ import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-BMDHwnM6.mjs";
6
+ import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-pzQkBLgS.mjs";
7
+ import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-Dy6UMuIw.mjs";
8
+ import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-BnwcoFQN.mjs";
8
9
  import "react";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
- import { z } from "zod";
11
- z.enum(itemRoleValues);
12
- z.enum(cardVariantRoleValues);
13
- function isCardVariantRole(value) {
14
- return typeof value === "string" && cardVariantRoleValues.includes(value);
15
- }
16
- function normalizeCardVariantRole(value) {
17
- return isCardVariantRole(value) ? value : null;
18
- }
19
- /** The one untrusted-input boundary for the closed role vocabulary. */
20
- function normalizeCardRole(value) {
21
- if (value === "none") return boxlessCardVariantValue;
22
- if (value === "open") return openCardRoleValue;
23
- return normalizeCardVariantRole(value);
24
- }
25
- //#endregion
26
- //#region ../blocks/src/system/transforms/registry/core.ts
27
- /**
28
- * Safely narrows unknown values to partial object shapes used by transforms.
29
- * Arrays are intentionally excluded.
30
- */
31
- function asPartialObject(value) {
32
- if (typeof value !== "object" || value === null || Array.isArray(value)) return;
33
- return value;
34
- }
35
- function runTransforms(value, transforms, context, registry) {
36
- if (!transforms?.length) return value;
37
- return transforms.reduce((acc, step) => {
38
- const transform = registry.get(step.id);
39
- if (!transform) throw new Error(`Unknown transform: ${step.id}`);
40
- const options = transform.schema ? transform.schema.parse(step.options ?? {}) : step.options ?? {};
41
- return transform.run(acc, options, context);
42
- }, value);
43
- }
44
- function createTransformRegistry(definitions) {
45
- const registry = /* @__PURE__ */ new Map();
46
- for (const definition of definitions) {
47
- if (registry.has(definition.id)) continue;
48
- registry.set(definition.id, definition);
49
- }
50
- return registry;
51
- }
52
- //#endregion
53
- //#region ../blocks/src/system/spacing.ts
54
- /**
55
- * Type-safe spacing system for sections and containers.
56
- *
57
- * This module provides:
58
- * - Semantic spacing values (none, compact, cozy, medium, comfortable, spacious)
59
- * - Type-safe mappings to CSS class tokens
60
- * - Runtime validation via type guards
61
- * - Separate handling for section (vertical) vs container (all-sides) spacing
62
- *
63
- * Type Safety Guarantees:
64
- * - Type is derived from data (single source of truth)
65
- * - Maps are validated for completeness at compile time
66
- * - Runtime validation available via isSemanticSpacing()
67
- */
68
- /**
69
- * Single source of truth for semantic spacing values.
70
- * The SemanticSpacing type is derived from this array to ensure they stay in sync.
71
- *
72
- * Adding a new spacing value:
73
- * 1. Add it to this array
74
- * 2. TypeScript will error until you update both spacing maps
75
- * 3. No way to get out of sync
76
- */
77
- const SEMANTIC_SPACING_VALUES = [
78
- "none",
79
- "compact",
80
- "cozy",
81
- "medium",
82
- "comfortable",
83
- "spacious"
84
- ];
85
- const SECTION_MIN_HEIGHT_VALUES = [
86
- "none",
87
- "banner",
88
- "hero",
89
- "immersive"
90
- ];
91
- /**
92
- * Runtime type guard for validating spacing values.
93
- * Use this at system boundaries where data enters from external sources.
94
- *
95
- * @param value - Unknown value to validate
96
- * @returns true if value is a valid SemanticSpacing, with type narrowing
97
- *
98
- * @example
99
- * const userInput = 'medium';
100
- * if (isSemanticSpacing(userInput)) {
101
- * // TypeScript knows userInput is SemanticSpacing here
102
- * const classes = resolveSpacing(userInput, 'y');
103
- * }
104
- */
105
- function isSemanticSpacing(value) {
106
- return typeof value === "string" && SEMANTIC_SPACING_VALUES.includes(value);
107
- }
108
- function isSectionMinHeight(value) {
109
- return typeof value === "string" && SECTION_MIN_HEIGHT_VALUES.includes(value);
110
- }
111
- /**
112
- * Type-safe mapping from semantic spacing to CSS classes for sections (y-axis).
113
- *
114
- * Sections use vertical padding only to control spacing between blocks.
115
- * Horizontal padding (px-6) is handled separately via baseClass.
116
- *
117
- * The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
118
- * TypeScript will error if any spacing value is missing or if extra keys exist.
119
- */
120
- const SECTION_SPACING_MAP = {
121
- none: "rb-section-pad-none",
122
- compact: "rb-section-pad-compact",
123
- cozy: "rb-section-pad-cozy",
124
- medium: "rb-section-pad-medium",
125
- comfortable: "rb-section-pad-comfortable",
126
- spacious: "rb-section-pad-spacious"
127
- };
128
- /**
129
- * Type-safe mapping from semantic spacing to CSS classes for containers (all sides).
130
- *
131
- * Containers use padding on all sides for internal content spacing.
132
- *
133
- * The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
134
- */
135
- const CONTAINER_SPACING_MAP = {
136
- none: "rb-container-pad-none",
137
- compact: "rb-container-pad-compact",
138
- cozy: "rb-container-pad-cozy",
139
- medium: "rb-container-pad-medium",
140
- comfortable: "rb-container-pad-comfortable",
141
- spacious: "rb-container-pad-spacious"
142
- };
143
- const SECTION_MIN_HEIGHT_MAP = {
144
- none: "",
145
- banner: "rb-section-min-h-banner",
146
- hero: "rb-section-min-h-hero",
147
- immersive: "rb-section-min-h-immersive"
148
- };
149
- /**
150
- * Resolve semantic spacing to CSS classes based on axis.
151
- *
152
- * This function guarantees that valid SemanticSpacing values always return a result.
153
- * Since spacing is typed, there's no need for fallback logic.
154
- *
155
- * @param spacing - Semantic spacing value (validated at compile time)
156
- * @param axis - Which axis to apply padding ('y' for sections, 'all' for containers)
157
- * @returns CSS class token string
158
- *
159
- * @example
160
- * resolveSpacing('medium', 'y') // => 'rb-section-pad-medium'
161
- * resolveSpacing('medium', 'all') // => 'rb-container-pad-medium'
162
- * resolveSpacing('compact') // => 'rb-section-pad-compact' (defaults to 'y' axis)
163
- */
164
- function resolveSpacing(spacing, axis = "y") {
165
- return (axis === "y" ? SECTION_SPACING_MAP : CONTAINER_SPACING_MAP)[spacing];
166
- }
167
- function resolveSectionMinHeight(minHeight) {
168
- return SECTION_MIN_HEIGHT_MAP[minHeight];
169
- }
170
- /**
171
- * Default spacing value for sections when not explicitly configured.
172
- */
173
- const DEFAULT_SECTION_SPACING = "medium";
174
- //#endregion
175
- //#region ../blocks/src/system/fields/backgroundContent.ts
176
- function parseBackgroundContent(value) {
177
- const result = boxBackgroundSchema.safeParse(value);
178
- return result.success ? result.data : null;
179
- }
180
- function parseBackgroundOverlay(value) {
181
- const result = boxBackgroundOverlaySchema.safeParse(value);
182
- return result.success ? result.data : void 0;
183
- }
184
- /** Rendering accepts explicit application sources separately from stored references. */
185
- const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
186
- function parseRuntimeBackgroundContent(value) {
187
- const result = runtimeBackgroundContentSchema.safeParse(value);
188
- return result.success ? result.data : null;
189
- }
190
- //#endregion
191
- //#region ../blocks/src/system/transforms/registry/_utils/boxStyleClassNames.ts
192
- /**
193
- * @file The one place box-style content becomes CSS classes.
194
- *
195
- * `boxStyles.all` runs this for the binding pipeline, and the React nodes that
196
- * render a card outside that pipeline (offerings-preview) call it directly, so
197
- * there is a single card-class emission path rather than copies that drift.
198
- */
199
- /** The elevation class an elevated box gets when the theme defines a shadow. */
200
- const RAISED_SHADOW_CLASS = "rb-shadow-md";
201
- /** Radius values to their `rb-*` classes (defined in `rb-utilities.css`). */
202
- const ROUNDED_CLASSES = {
203
- sm: "rb-rounded-sm",
204
- md: "rb-rounded-md",
205
- lg: "rb-rounded-lg",
206
- xl: "rb-rounded-xl",
207
- "2xl": "rb-rounded-2xl",
208
- full: "rb-rounded-full"
209
- };
210
- const fixedFrameScopeClass = "rb-bg-motion-fixed-frame-scope";
211
- function hasFixedFrameBackgroundMotion(value) {
212
- const background = parseBackgroundContent(asPartialObject(value)?.background);
213
- return (background?.type === "image" || background?.type === "video") && background.motion === "fixed-frame";
214
- }
215
- /**
216
- * The stable per-theme class for a card role. Generated card CSS emits these
217
- * aliases alongside each `.card-{id}` rule, so content addresses "this site
218
- * style's open card" without knowing which variant implements it.
219
- */
220
- function cardRoleClass(role) {
221
- return `card-role-${role}`;
222
- }
223
- /**
224
- * The role class for a card slot the *block* owns structurally, where a Look
225
- * may still name the surface.
226
- *
227
- * Some layouts have more than one card slot and decide themselves which one is
228
- * the statement — the featured-editorial testimonials field is a lead voice
229
- * beside its supporting voices, and that is structure, not composition. Those
230
- * slots still have to honour a Look that picks a surface, or a role-picking
231
- * Look would silently no-op under the layout. So the slot carries a default
232
- * role and the Look's compiled role wins over it when there is one.
233
- *
234
- * An explicit `none` is honoured as boxlessness and emits no class, matching
235
- * how the composite emitter reads it.
236
- */
237
- /**
238
- * The role a card renders with, and the one place a set of card styles becomes
239
- * a role.
240
- *
241
- * Precedence: a per-item override, then the `role` a Look or semantic field
242
- * compiled onto the block's card styles. Persisted inputs are normalized at
243
- * this boundary because raw block records do not pass through the theme schema.
244
- */
245
- function resolveCardRoleForBoxStyles(input, override) {
246
- return override ?? normalizeCardRole(input.role);
247
- }
248
- /**
249
- * Parse a block's own per-item surface vocabulary into a card role. The alias
250
- * map is declared by the block (its persisted values are its own history), and
251
- * `normalizeCardRole` remains the one untrusted-input boundary after that.
252
- */
253
- function resolveItemCardRole(value, aliases) {
254
- if (typeof value !== "string") return null;
255
- const trimmed = value.trim();
256
- if (!trimmed) return null;
257
- return normalizeCardRole(aliases?.[trimmed] ?? trimmed);
258
- }
259
- /**
260
- * The card surface for a set of box styles: one role, one class vocabulary, so
261
- * a site-style swap re-skins the card whichever field named it.
262
- */
263
- function cardSurface(input, override, fallback) {
264
- const role = resolveCardRoleForBoxStyles(input, override) ?? fallback ?? null;
265
- if (!role) return {
266
- role: null,
267
- classes: []
268
- };
269
- return {
270
- role,
271
- classes: role === "none" ? [] : [cardRoleClass(role)]
272
- };
273
- }
274
- const BOX_BORDER_WIDTHS = [
275
- "none",
276
- "1",
277
- "2",
278
- "3"
279
- ];
280
- function parseBoxBorderWidth(value) {
281
- return BOX_BORDER_WIDTHS.find((width) => width === value);
282
- }
283
- /**
284
- * A box's border record with `{ width: 'none' }`-without-`enabled` resolved.
285
- *
286
- * That shape used to mean two different things to two different readers: the
287
- * old private offerings emitter read it as border-off, while the shared
288
- * emitter read it as "no opinion" and left the caller's base `rb-border` in
289
- * place. Same persisted bytes, opposite answers. A width of `none` says there
290
- * is no border, so it is read as `enabled: false` here — once, at the one
291
- * place box-style content is interpreted — and every reader downstream now
292
- * agrees.
293
- *
294
- * Nothing persisted carries the shape (the #1297 usage audit found zero rows;
295
- * the authoring UI cannot produce it, since the width control is gated on
296
- * `enabled === true`), so this is boundary hygiene rather than a migration.
297
- */
298
- function normalizeBoxStylesBorder(value) {
299
- const border = asPartialObject(value);
300
- if (!border) return null;
301
- const width = parseBoxBorderWidth(border.width);
302
- return {
303
- enabled: border.enabled === true ? true : border.enabled === false || width === "none" ? false : null,
304
- width,
305
- colorToken: typeof border.colorToken === "string" && border.colorToken.trim() ? border.colorToken.trim() : void 0
306
- };
307
- }
308
- /** The border class a box's own border override asks for, if it has one. */
309
- function borderOverrideClass(input) {
310
- const border = normalizeBoxStylesBorder(input.border);
311
- if (!border) return null;
312
- if (border.enabled === false) return "rb-border-0";
313
- if (border.enabled !== true) return null;
314
- switch (border.width) {
315
- case "2": return "rb-border-2";
316
- case "3": return "rb-border-3";
317
- case "none": return "rb-border-0";
318
- case "1":
319
- case void 0: return "rb-border";
320
- }
321
- }
322
- /** The base class with any border utilities stripped, so an override can win. */
323
- function withoutBorderClasses(baseClass) {
324
- return baseClass.split(/\s+/).filter((token) => token && !/^rb-border(?:-(?:0|2|3))?$/.test(token)).join(" ");
325
- }
326
- /**
327
- * The padding class a box's spacing asks for, if it names a known value.
328
- *
329
- * An unknown value is dropped rather than guessed, and says so in development —
330
- * persisted content is the untrusted input here, and a silently missing padding
331
- * is much harder to trace back than a warning.
332
- */
333
- function boxSpacingClass(input, axis) {
334
- const spacing = typeof input.spacing === "string" ? input.spacing.trim() : "";
335
- if (!spacing) return null;
336
- if (!isSemanticSpacing(spacing)) {
337
- console.warn(`[boxStyles] Invalid spacing value: "${spacing}". Expected one of: ${SEMANTIC_SPACING_VALUES.join(", ")}.`);
338
- return null;
339
- }
340
- return resolveSpacing(spacing, axis);
341
- }
342
- /** The radius class a box's corners ask for, if it names a known value. */
343
- function boxRoundedClass(input) {
344
- const rounded = typeof input.rounded === "string" ? input.rounded.trim() : "";
345
- if (!rounded || rounded === "none") return null;
346
- return ROUNDED_CLASSES[rounded] ?? null;
347
- }
348
- /** The elevation class to use, honouring an explicit `null` opt-out. */
349
- function raisedClassFor(options) {
350
- return options.raisedClass === void 0 ? RAISED_SHADOW_CLASS : options.raisedClass;
351
- }
352
- /**
353
- * The class list for a set of box styles: the caller's base class, the border /
354
- * spacing / elevation / radius overrides the box carries, and its card surface.
355
- *
356
- * Pure, so the React nodes that render a card outside the binding pipeline
357
- * (offerings-preview) share this one emission path with `boxStyles.all` instead
358
- * of keeping a copy that drifts.
359
- */
360
- function boxStyleClassNames(value, options) {
361
- const input = value && typeof value === "object" ? value : {};
362
- const borderOverride = borderOverrideClass(input);
363
- const surface = cardSurface(input, options.cardRoleOverride, options.cardRoleFallback);
364
- const cardOwnsBorder = surface.role !== null && surface.role !== "none";
365
- return [
366
- borderOverride || cardOwnsBorder ? withoutBorderClasses(options.baseClass ?? "") : options.baseClass ?? "",
367
- borderOverride,
368
- options.includeSpacing === false ? null : boxSpacingClass(input, options.axis ?? "all"),
369
- input.raised === true ? raisedClassFor(options) : null,
370
- boxRoundedClass(input),
371
- ...surface.classes,
372
- hasFixedFrameBackgroundMotion(input) ? "rb-bg-motion-fixed-frame-scope" : null
373
- ].filter((token) => Boolean(token)).join(" ").trim() || "";
374
- }
375
- //#endregion
376
11
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
377
12
  /**
378
13
  * EventCard Component
@@ -507,6 +142,10 @@ function EventCardContent(props) {
507
142
  children: props.title
508
143
  })
509
144
  }),
145
+ /* @__PURE__ */ jsx(EventQuickFacts, {
146
+ facts: event.facts,
147
+ context: "card"
148
+ }),
510
149
  /* @__PURE__ */ jsx("div", {
511
150
  ...listLookSlot(props, "item-meta"),
512
151
  className: "rb-mb-2 rb-caption",
@@ -725,30 +364,37 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
725
364
  className: "event-compact-row-body",
726
365
  children: [/* @__PURE__ */ jsxs("div", {
727
366
  className: "event-compact-row-content",
728
- children: [/* @__PURE__ */ jsx("h3", {
729
- className: "event-compact-row-title",
730
- children: /* @__PURE__ */ jsx("a", {
731
- className: "event-title-link",
732
- ...resolveEventLinkProps(event),
733
- children: event.title
734
- })
735
- }), /* @__PURE__ */ jsxs("div", {
736
- className: "event-compact-row-meta",
737
- children: [
738
- showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
739
- className: "event-compact-row-venue",
740
- children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
741
- }),
742
- teacherLine && /* @__PURE__ */ jsx("span", {
743
- className: "event-compact-row-teacher",
744
- children: teacherLine
745
- }),
746
- /* @__PURE__ */ jsx("span", {
747
- className: "event-compact-row-price",
748
- children: price
367
+ children: [
368
+ /* @__PURE__ */ jsx("h3", {
369
+ className: "event-compact-row-title",
370
+ children: /* @__PURE__ */ jsx("a", {
371
+ className: "event-title-link",
372
+ ...resolveEventLinkProps(event),
373
+ children: event.title
749
374
  })
750
- ]
751
- })]
375
+ }),
376
+ /* @__PURE__ */ jsx(EventQuickFacts, {
377
+ facts: event.facts,
378
+ context: "card"
379
+ }),
380
+ /* @__PURE__ */ jsxs("div", {
381
+ className: "event-compact-row-meta",
382
+ children: [
383
+ showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
384
+ className: "event-compact-row-venue",
385
+ children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
386
+ }),
387
+ teacherLine && /* @__PURE__ */ jsx("span", {
388
+ className: "event-compact-row-teacher",
389
+ children: teacherLine
390
+ }),
391
+ /* @__PURE__ */ jsx("span", {
392
+ className: "event-compact-row-price",
393
+ children: price
394
+ })
395
+ ]
396
+ })
397
+ ]
752
398
  }), /* @__PURE__ */ jsxs("div", {
753
399
  className: "event-compact-row-action",
754
400
  children: [/* @__PURE__ */ jsxs("span", {
@@ -949,4 +595,4 @@ function eventListSlotParents(arrangement, root = null) {
949
595
  };
950
596
  }
951
597
  //#endregion
952
- export { asPartialObject as C, resolveSpacing as S, runTransforms as T, DEFAULT_SECTION_SPACING as _, EventCard as a, isSemanticSpacing as b, boxStyleClassNames as c, normalizeBoxStylesBorder as d, resolveCardRoleForBoxStyles as f, parseRuntimeBackgroundContent as g, parseBackgroundOverlay as h, EventCompactRow as i, fixedFrameScopeClass as l, parseBackgroundContent as m, eventListSlotParents as n, RAISED_SHADOW_CLASS as o, resolveItemCardRole as p, EmptyState as r, ROUNDED_CLASSES as s, EventListingFrameView as t, hasFixedFrameBackgroundMotion as u, SEMANTIC_SPACING_VALUES as v, createTransformRegistry as w, resolveSectionMinHeight as x, isSectionMinHeight as y };
598
+ export { EventCard as a, EventCompactRow as i, eventListSlotParents as n, EmptyState as r, EventListingFrameView as t };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { A as createInitialRegistrationFlowState, Ai as leavePage, Ct as getTicketSelectionRemainingPlaces, Dt as withRegistrationAvailability, E as registrationRoute, Et as shouldLoadRegistrationOptions, F as buildEventRegistrationPaymentOptionsViewModel, H as planRegistrationDetailsContinuation, Hr as decideBookingQuestionsRestoration, Ht as getPortalSubjectEmail, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, K as resolveRegistrationTicketContinuation, Kt as transformRegistrationOptionsResponse, M as getDeclinedPass, Mi as requestSignIn, N as isRegistrationLocked, Oi as PAGE_NAVIGATION, Ot as registrationQuestionsMessage, P as registrationFlowReducer, Po as publicEventPricingStrategy, Pt as findSelectedTicketType, Q as resolveEventRegistrationSubmitPlan, Qt as getTicketSelectionTotal, Ri as resolveEventRegistrationScopedEvents, So as resolveBookingSignupOffer, St as getSlidingScaleSelectionMessage, T as registrationPresentation, Tt as resolveHeldTicketPlaces, U as resolveGuestNextStepCheck, Ur as deriveBookingQuestions, V as planRegistrationDetailsCheck, Vr as bookingQuestionsPaymentSnapshotSchema, Vt as getImplicitSingleTicketType, W as resolveRegistrationAdmission, Wr as needsBookingQuestionsRefresh, Wt as getVisibleTicketTypes, Xt as getSingleSelectedPricingOptionId, _t as formatCentsAsCurrencyInput, bt as getRegistrationOccurrenceId, cn as eventSignInDraftStore, ct as findPreSelectedEvent, dn as toEventSignInDraft, dt as resolveRegistrationTarget, en as hasValidPricingOptionSelection, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toRegistrationEvents, j as decideEventChoice, kt as validateFormData, ln as eventSignInEnds, lt as resolveDiscountContext, mt as beginWaitlistInvitation, on as toWholeSeriesRegistrationEvents, pt as toRegistrationRequestSubject, qr as toBookingQuestionsPaymentSnapshot, rn as getRegistrationStartAt, rt as calculateEventRegistrationPreviewTotal, sn as EVENT_SIGN_IN_FORM_ID, tn as normalizeTicketSelectionLines, un as eventSignInRestoration, ut as resolveEventRequiresPayment, vt as getCurrentTicketSelection, w as registrationPaymentRoute, wt as parseCurrencyInputToCents, xt as getSlidingScaleForEvent, yt as getEligibilityFlowFlags, z as getTicketSelectionPurpose } from "./display-DDNmyb0z.mjs";
3
- import { Zt as resolveBookingBusinessTimeZone, zt as inferSiteDateLocale } from "./noop-B_f7RqLD.mjs";
4
- import { c as checkBookingQuestionsAnswered, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
- import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
2
+ import { $t as normalizeTicketSelectionLines, A as createInitialRegistrationFlowState, Bi as resolveEventRegistrationScopedEvents, Bt as getImplicitSingleTicketType, Ct as parseCurrencyInputToCents, Dt as registrationQuestionsMessage, E as registrationRoute, Et as withRegistrationAvailability, F as buildEventRegistrationPaymentOptionsViewModel, Gr as needsBookingQuestionsRefresh, Gt as transformRegistrationOptionsResponse, H as planRegistrationDetailsContinuation, Hr as bookingQuestionsPaymentSnapshotSchema, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, Jr as toBookingQuestionsPaymentSnapshot, Jt as getSingleSelectedPricingOptionId, K as resolveRegistrationTicketContinuation, M as getDeclinedPass, N as isRegistrationLocked, Ni as requestSignIn, Nt as findSelectedTicketType, Ot as validateFormData, P as registrationFlowReducer, Q as resolveEventRegistrationSubmitPlan, Qt as hasValidPricingOptionSelection, St as getTicketSelectionRemainingPlaces, T as registrationPresentation, Tt as shouldLoadRegistrationOptions, U as resolveGuestNextStepCheck, Ur as decideBookingQuestionsRestoration, Ut as getVisibleTicketTypes, V as planRegistrationDetailsCheck, Vt as getPortalSubjectEmail, W as resolveRegistrationAdmission, Wr as deriveBookingQuestions, Xt as getTicketSelectionTotal, _t as getCurrentTicketSelection, an as EVENT_SIGN_IN_FORM_ID, bt as getSlidingScaleForEvent, cn as eventSignInRestoration, ct as findPreSelectedEvent, dt as resolveRegistrationTarget, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toWholeSeriesRegistrationEvents, j as decideEventChoice, ji as leavePage, jr as formatCentsAsCurrencyInput, ki as PAGE_NAVIGATION, ln as toEventSignInDraft, ls as resolveBookingSignupOffer, lt as resolveDiscountContext, mt as beginWaitlistInvitation, nn as toRegistrationEvents, on as eventSignInDraftStore, pt as toRegistrationRequestSubject, rt as calculateEventRegistrationPreviewTotal, sn as eventSignInEnds, tn as getRegistrationStartAt, ut as resolveEventRequiresPayment, vt as getEligibilityFlowFlags, w as registrationPaymentRoute, wt as resolveHeldTicketPlaces, xs as publicEventPricingStrategy, xt as getSlidingScaleSelectionMessage, yt as getRegistrationOccurrenceId, z as getTicketSelectionPurpose } from "./display-Cl6mgSJa.mjs";
3
+ import { Ht as inferSiteDateLocale, en as resolveBookingBusinessTimeZone } from "./noop-poI1m2yW.mjs";
4
+ import { o as checkBookingQuestionsAnswered, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
+ import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-BCumOTLY.mjs";
6
6
  import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
7
- import { i as BlockApiError, n as useBlockApi } from "./context-Xhf81Q-c.mjs";
7
+ import { i as BlockApiError, n as useBlockApi } from "./context-Dzjv2CpA.mjs";
8
8
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
9
- import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-LLGCWjvU.mjs";
10
- import { t as useDiscountCodeUi } from "./useDiscountCodeUi-CD82QX5i.mjs";
11
- import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-Br1VyHkP.mjs";
9
+ import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-BlaCItmH.mjs";
10
+ import { t as useDiscountCodeUi } from "./useDiscountCodeUi-Dew9UAEy.mjs";
11
+ import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-aaSicywS.mjs";
12
12
  import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
13
- import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-DQtwf_s2.mjs";
13
+ import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-D0dcPsRE.mjs";
14
14
  import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
15
15
  import { jsx } from "react/jsx-runtime";
16
16
  import { z } from "zod";
@@ -900,7 +900,7 @@ function key(siteId, submissionId) {
900
900
  }
901
901
  function savePendingRegistration(siteId, submissionId, data) {
902
902
  try {
903
- const entry = schema.safeParse({
903
+ const entry = z.safeParse(schema, {
904
904
  ...data,
905
905
  ticketSelections: normalizeTicketSelectionLines(data.ticketSelections),
906
906
  version: 6,
@@ -912,7 +912,7 @@ function savePendingRegistration(siteId, submissionId, data) {
912
912
  function getPendingRegistration(siteId, submissionId) {
913
913
  try {
914
914
  const stored = sessionStorage.getItem(key(siteId, submissionId));
915
- const parsed = schema.safeParse(stored ? JSON.parse(stored) : null);
915
+ const parsed = z.safeParse(schema, stored ? JSON.parse(stored) : null);
916
916
  if (!parsed.success || Date.now() - parsed.data.timestamp > STALE_THRESHOLD_MS) {
917
917
  clearPendingRegistration(siteId, submissionId);
918
918
  return null;
@@ -931,7 +931,7 @@ function cleanupStaleRegistrations() {
931
931
  try {
932
932
  Array.from({ length: sessionStorage.length }, (_, index) => sessionStorage.key(index)).filter((item) => item !== null && item.startsWith(STORAGE_PREFIX)).forEach((item) => {
933
933
  try {
934
- const parsed = schema.safeParse(JSON.parse(sessionStorage.getItem(item) ?? "null"));
934
+ const parsed = z.safeParse(schema, JSON.parse(sessionStorage.getItem(item) ?? "null"));
935
935
  if (!parsed.success || Date.now() - parsed.data.timestamp > STALE_THRESHOLD_MS) sessionStorage.removeItem(item);
936
936
  } catch {
937
937
  sessionStorage.removeItem(item);
@@ -2807,7 +2807,7 @@ function resolveWizardPaymentView(input) {
2807
2807
  }
2808
2808
  //#endregion
2809
2809
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
2810
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-Cf-HRHtb.mjs"));
2810
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-DKKRCuta.mjs"));
2811
2811
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
2812
2812
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
2813
2813
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { Tt as normalizeLocationAddressText } from "./noop-B_f7RqLD.mjs";
3
- import { i as ThemedButtonLink } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { Ot as normalizeLocationAddressText } from "./noop-poI1m2yW.mjs";
3
+ import { i as ThemedButtonLink } from "./ThemedButton-BMDHwnM6.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../core/src/locationLinks.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jt as mapDrawingSchema } from "./noop-B_f7RqLD.mjs";
2
+ import { Pt as mapDrawingSchema } from "./noop-poI1m2yW.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts