@riverbankcms/sdk 0.165.0 → 0.167.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 (246) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/_dts/{BlocksIslandsHydrator-CdsSMQEv.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
  4. package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-Bs3WxFgr.d.ts} +20 -258
  5. package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +26 -3
  6. package/dist/_dts/{client-BkkExozE.d.ts → client-CwsI23pj.d.ts} +13 -1
  7. package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-CAeP_-cV.d.ts} +3 -3
  8. package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
  9. package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
  10. package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
  11. package/dist/_dts/{index-DKNEgSOS.d.ts → index-5_jf52sZ.d.ts} +2 -2
  12. package/dist/_dts/{index-CQfJhOEA.d.ts → index-C20yUyob.d.ts} +1 -1
  13. package/dist/_dts/{index-CRRiddNp.d.ts → index-CS6b1B-c.d.ts} +4 -4
  14. package/dist/_dts/{index-B4ozSzFP.d.ts → index-ChpjHK0U.d.ts} +9737 -8316
  15. package/dist/_dts/{index-BdkHhyf8.d.ts → index-D7EbliE3.d.ts} +1 -1
  16. package/dist/_dts/{index-RXkE3a7M.d.ts → index-DeHDwMfu.d.ts} +4 -3
  17. package/dist/_dts/{index-DAPTSmBM.d.ts → index-RugyUnqR.d.ts} +2499 -2218
  18. package/dist/_dts/{index-C_3kdrUb.d.ts → index-bDln38Hm.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-CTqcL7CS.d.ts} +9 -6
  20. package/dist/_dts/resolveBlockData-C3s9WMPs.d.ts +136 -0
  21. package/dist/_dts/{resolvePageContent-DIQyYUi-.d.ts → resolvePageContent-JPwgRxwh.d.ts} +3 -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 +9 -6
  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 +20 -0
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
  30. package/dist/_dts/sdk/src/data/types.d.ts +54 -0
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +9 -8
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
  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 +2 -0
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +260 -0
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  50. package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +7 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-BDF73NzM.d.ts → types-BlaCuPLr.d.ts} +2 -2
  56. package/dist/_dts/{types-Cl0nP6al.d.ts → types-CwtTcaQP.d.ts} +3 -3
  57. package/dist/_dts/{types-mstFvhK4.d.ts → types-D-WElMCy.d.ts} +8 -7
  58. package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +31 -24
  60. package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-CCVXX1LN.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +167 -18
  62. package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +6 -6
  64. package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
  65. package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-DAeQPV76.mjs} +11 -30
  66. package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-Bus9R0bj.mjs} +137 -61
  67. package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
  68. package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-DPBLjGwj.mjs} +75 -13
  69. package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
  71. package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-CEumpN7i.mjs} +35 -51
  72. package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +113 -11
  73. package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-BVO-qx4q.mjs} +2 -2
  74. package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
  75. package/dist/client/{Page-DUr2YhFR.mjs → Page-D4_H_u9V.mjs} +23892 -32266
  76. package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
  77. package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Dptantmg.mjs} +3 -3
  78. package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-BxEGsKUx.mjs} +19 -19
  79. package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
  80. package/dist/client/{accordion-3CYNWzTS.mjs → accordion--EUHmEGa.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-BCXwOnhc.mjs} +19 -14
  82. package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-sHHcdism.mjs} +4 -4
  83. package/dist/client/bookings.mjs +6 -6
  84. package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-Cp9xPBFZ.mjs} +2 -2
  85. package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
  86. package/dist/client/{cart-CDc6x9cR.mjs → cart-CCZZC-Lq.mjs} +3 -3
  87. package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-B7JfA19I.mjs} +1 -1
  88. package/dist/client/{checkout-CkxPqSwD.mjs → checkout-CipmYL4A.mjs} +3 -3
  89. package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DraalWdH.mjs} +1 -1
  90. package/dist/client/client.mjs +9550 -17
  91. package/dist/client/{context-CBV21-9L.mjs → context-Cv3QHjAF.mjs} +11 -6
  92. package/dist/client/{cta-Bw-al3cs.mjs → cta-P2vJVTEn.mjs} +45 -28
  93. package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
  94. package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
  95. package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +4 -4
  96. package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-dLmyuPap.mjs} +2 -2
  97. package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BEhC2_-Y.mjs} +34 -20
  98. package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
  99. package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
  100. package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
  101. package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-Bih-BgQM.mjs} +4 -4
  102. package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
  103. package/dist/client/{form-L-xZOBUS.mjs → form-Bw1uuiUs.mjs} +3 -3
  104. package/dist/client/{form.client-BtpK3TZW.mjs → form.client-pZ-9gN33.mjs} +5 -5
  105. package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-PXlu6XQO.mjs} +3 -3
  106. package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-DI3DP48e.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +3 -4
  108. package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-BpJYUMd6.mjs} +2 -2
  109. package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
  110. package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
  111. package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-CSoP0cGR.mjs} +6 -6
  112. package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +2 -2
  113. package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
  114. package/dist/client/{noop-CQU7tiMg.mjs → noop-ByVtIWf4.mjs} +420 -170
  115. package/dist/client/portal/client.mjs +13 -14
  116. package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
  117. package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-DEad-Pma.mjs} +1 -1
  118. package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-G1SMXG13.mjs} +3 -3
  119. package/dist/client/{productList-CSk8sXCl.mjs → productList-B21TGdpT.mjs} +3 -3
  120. package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-B3vIBkex.mjs} +4 -5
  121. package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-B8aQhJpO.mjs} +399 -473
  122. package/dist/client/rendering/client.mjs +29 -28
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +70 -8
  125. package/dist/client/{richText-coerce-spWtx86G.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
  127. package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-B2UmrQg_.mjs} +12 -12
  128. package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
  129. package/dist/client/{shop-DscvMz86.mjs → shop-mqyoOvOK.mjs} +3 -3
  130. package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-BH-BBnA9.mjs} +13 -13
  131. package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-mdM3UMWG.mjs} +74 -36
  132. package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-CXF5wxdg.mjs} +2 -2
  133. package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
  134. package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-D56hT2u1.mjs} +26000 -16565
  135. package/dist/client/spam-protection.mjs +1 -1
  136. package/dist/client/src-DjnxOjXG.mjs +217 -0
  137. package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
  138. package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-CrC80EOG.mjs} +13 -140
  139. package/dist/client/types-sF-IrGQr.mjs +633 -0
  140. package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C4LOaI_Z.mjs} +8 -5
  141. package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
  142. package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-6Q0nToVA.mjs} +3 -3
  143. package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
  144. package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Bcs89BR5.mjs} +9 -9
  145. package/dist/client/{view-DlkCDfuN.mjs → view-BN-fxyfq.mjs} +287 -232
  146. package/dist/client/{view-DXOuduIr.mjs → view-Dh2tGoS0.mjs} +4 -4
  147. package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DtkhwKXK.mjs} +468 -149
  148. package/dist/preview-next/before-render.mjs +3 -140
  149. package/dist/preview-next/client/ArrangementLookControls-D4VjPs-r.mjs +31197 -0
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
  151. package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
  153. package/dist/preview-next/client/PreviewEditorSidebar-Ckr2zk_L.mjs +37247 -0
  154. package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-KOZgw_gS.mjs} +45 -17
  155. package/dist/preview-next/client/PreviewShell-CyO2V4kB.mjs +4757 -0
  156. package/dist/preview-next/client/SdkPreviewModeRuntime-DW3uKvNF.mjs +4258 -0
  157. package/dist/preview-next/client/SiteChromeCustomizeButton-CU9VD-7O.mjs +72202 -0
  158. package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
  159. package/dist/preview-next/client/{lucide-react-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
  160. package/dist/preview-next/client/previewAssistantSlot-DBi-WybM.mjs +112193 -0
  161. package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-BhkUJst9.mjs} +90 -28
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/sdk-runtime-BjCb6lOn.mjs +5 -0
  164. package/dist/preview-next/client/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus-CKxTaC3j.mjs} +40 -3
  165. package/dist/preview-next/client/useBlockCustomizeControls-B7MLTjBX.mjs +2633 -0
  166. package/dist/preview-next/client/useOpenBlockForSetup-BTUc0g9X.mjs +28 -0
  167. package/dist/preview-next/keepAlive.mjs +25 -2
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bv3nkdpV.mjs} +215 -118
  170. package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-4fMqzltx.mjs} +7 -4
  171. package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-C72VC_lR.mjs} +894 -2556
  172. package/dist/server/accessibleSurfaces-B_Y_dA20.mjs +2305 -0
  173. package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-ConMYJ2U.mjs} +2 -3
  174. package/dist/server/{publicProducts-Bz8loTRn.mjs → client-Cot-H5fQ.mjs} +2558 -343
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +33 -2
  177. package/dist/server/data/dataLoaderContext.mjs +2 -0
  178. package/dist/server/data/resolveBlockData.mjs +2 -0
  179. package/dist/server/data/types.mjs +1 -0
  180. package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
  181. package/dist/server/identity-Bn9OQiT1.mjs +6 -0
  182. package/dist/server/index.mjs +3 -3
  183. package/dist/server/{loadContent-dEEhQxL7.mjs → loadContent-BkaWYEwt.mjs} +6 -5
  184. package/dist/server/{loadPage-DBFBad8A.mjs → loadPage-kviUdH8c.mjs} +4 -2
  185. package/dist/server/manifest.mjs +1 -1
  186. package/dist/server/media-DnlczCMA.mjs +231 -0
  187. package/dist/server/metadata.mjs +5 -1
  188. package/dist/server/mode-Cv_TG9gP.mjs +63 -0
  189. package/dist/server/next/revalidate.mjs +9 -4
  190. package/dist/server/next.mjs +11 -11
  191. package/dist/server/opaqueSurface-BTnS09GS.mjs +54 -0
  192. package/dist/server/{overrideResolution-BIJbiXYc.mjs → overrideResolution-itXZCXs7.mjs} +2 -1
  193. package/dist/server/overrides-CD4d-1w7.mjs +177 -0
  194. package/dist/server/page-converter.mjs +243 -91
  195. package/dist/server/pageRenderPlan-CDyn7iLy.mjs +4162 -0
  196. package/dist/server/{themeAdmission-CSknYpxk.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +13 -28
  197. package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-Q_Vij87H.mjs} +3808 -1928
  198. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +52 -0
  199. package/dist/server/{prebuild-DaemmWQL.mjs → prebuild-DOG4MkOy.mjs} +1 -1
  200. package/dist/server/prebuild.mjs +1 -1
  201. package/dist/server/prefetchBlockData-DlprLLsc.mjs +756 -0
  202. package/dist/server/{registry-Cdvz1OtL.mjs → registry-BPFcpn6k.mjs} +21838 -709
  203. package/dist/server/rendering/components/pageShared.mjs +2 -0
  204. package/dist/server/rendering/helpers/loadPage.mjs +2 -0
  205. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
  206. package/dist/server/rendering/server.mjs +5 -4
  207. package/dist/server/rendering/themeAdmission.mjs +2 -0
  208. package/dist/server/rendering.mjs +11 -10
  209. package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
  210. package/dist/server/{resolveBlockData-CLpAJWWf.mjs → resolveBlockData-BHvfGD4y.mjs} +6 -48
  211. package/dist/server/resolveButtonColourStates-OXFRGn5M.mjs +2682 -0
  212. package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
  213. package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
  214. package/dist/server/routing.mjs +1 -1
  215. package/dist/server/schema-DEizlyi4.mjs +2524 -0
  216. package/dist/server/server.mjs +3 -3
  217. package/dist/server/theme-bridge.mjs +1031 -1
  218. package/dist/server/theme.mjs +2 -1
  219. package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
  220. package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
  221. package/dist/server/validation-CDd6m8Ry.mjs +140 -0
  222. package/dist/server/{validation-DYxhLzqQ.mjs → validation-bl6WcAi_.mjs} +419 -3
  223. package/dist/server/{version-Beu4q-Gv.mjs → version-BLXZ31S-.mjs} +1 -1
  224. package/dist/styles/index.css +710 -29
  225. package/package.json +39 -1
  226. package/dist/client/events-BmqPeeQm.mjs +0 -20
  227. package/dist/client/purchase-BV5xfaZH.mjs +0 -894
  228. package/dist/client/schema-BdSglH2X.mjs +0 -16084
  229. package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
  230. package/dist/client/src-VIsPY-kw.mjs +0 -62
  231. package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
  232. package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
  233. package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
  234. package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
  235. package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
  236. package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
  237. package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
  238. package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
  239. package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
  240. package/dist/server/client-DfMDbZ41.mjs +0 -2330
  241. package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
  242. package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
  243. package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
  244. package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
  245. package/dist/server/site-styles-CntHn2KI.mjs +0 -793
  246. package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
@@ -1,13 +1,12 @@
1
1
  "use client";
2
+ import { h as ok, m as err, p as parseUuidBrand } from "./surfaceTransportMarker-BXepAVF6.mjs";
3
+ import { $r as formatBookingPriceDisplay, An as selectEventCapacitySource, Ar as isDecodeSuccess, Bt as registrationDisplaySchema, Cr as defineInteractiveIslandMetaKeys, Dr as createZodCodec, Er as resolveEventRegistrationScopedEvents, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mn as groupPublicEventsByRun, Nr as listLookSlot, Or as defineClientOwnedBlockRuntime, Pr as lookListPresentationSchemaShape, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as createInteractiveIslandCodec, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _r as blockButtonRoleSchema, _t as formatRegistrationSchedule, an as eventCalendarWeekStart, ar as bookingNowSchema, bn as resolveRuntimeEventDestination, br as resolveDateRuntimeContext, c as registrationStepLabelContext, cn as eventLocalDateKey, cr as eventButtonVariantSchema, dr as eventLayoutSchema, ei as formatEventPricing, fn as formatEventCompactDateRail, fr as filterAutoShowSchema, hr as weekStartSchema, jr as listItemPresentation, kr as defineProgressiveBlockRuntime, lr as eventCalendarDefaultViewSchema, mr as registrationButtonVariantSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventDateLocale, or as calendarTabViewsSchema, p as isRegistrationLocked, pr as previewStageSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateOptions, sr as columnOptionSchema, t as REGISTRATION_STEP_LABELS, ui as parseEventSeriesId, ur as eventCalendarDisplayModeSchema, wn as formatRemainingPlaces, wr as eventRegistrationPageSurfaceSubjectSchema, xr as buildInteractiveIslandProps, zt as placesLeftLabel } from "./wizardSteps-DtkhwKXK.mjs";
4
+ import { A as isEventCalendarListLayout, At as parseBookingLocalDate, B as normalizeEventSurfacePresetsCsv, Bt as formatCurrencyAmount, D as eventListArrangementValues, E as eventCalendarVariantMeaning, Ft as parseUtcIsoDateTimeString, G as publicEventDestinationSchema, H as normalizeEventVenueId, I as normalizeEventCategoryIdsCsv, It as toUtcIsoDateTimeString, K as publicEventLoaderQuerySchemaShape, L as normalizeEventScheduleScope, M as resolveEventCalendarReadPlan, Mt as resolveBookingBusinessTimeZone, N as eventScheduleScopeValues, Nt as resolveBookingTimeZoneId, P as eventSurfaceScopeValues, R as normalizeEventStaffMemberId, S as eventCalendarListGroupingDecision, U as normalizeIdList, V as normalizeEventSurfaceScope, _t as formatTime, bt as inferSiteDateLocale, g as calendarWindowPageSchema, kt as getLocalScheduleDate, mt as formatDateRange, n as blockSiteTermsSchema, pt as formatDate, q as publicEventSchema, wt as buildBookingUtcDateWindow } from "./noop-ByVtIWf4.mjs";
5
+ import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
6
+ import { Ht as cardRoleSchema, S as resolveModeArrangement, oi as toNonEmptyReadonlyArray, zr as assertNever$2 } from "./site-styles-D56hT2u1.mjs";
2
7
  import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
3
- import { At as assertNever, Nr as err, Pr as ok, V as cardRoleSchema, Yt as toNonEmptyReadonlyArray, _r as parseContentVersionId, br as parseEventSeriesId } from "./schema-BdSglH2X.mjs";
4
- import { b as formatCurrencyAmount } from "./purchase-BV5xfaZH.mjs";
5
- import { c as assertNever$2, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { $r as parseNewsletterListId, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseMailchimpInterestId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseBrevoListId, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zr as parseMailchimpAudienceId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatBookingPriceDisplay, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, ii as publicEventPricingDisplay, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, ln as eventLocalDateKey, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ti as formatEventPricing, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-DManVJpc.mjs";
7
- import { A as eventScheduleScopeValues, At as resolveBookingTimeZoneId, B as normalizeIdList, C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, Et as parseBookingLocalDate, F as normalizeEventStaffMemberId, H as publicEventDestinationSchema, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, Tt as getLocalScheduleDate, U as publicEventLoaderQuerySchemaShape, W as publicEventSchema, _t as inferSiteDateLocale, bt as buildBookingUtcDateWindow, dt as formatDateRange, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, mt as formatTime, n as blockSiteTermsSchema, p as calendarWindowPageSchema, ut as formatDate, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-CQU7tiMg.mjs";
8
- import { y as resolveModeArrangement } from "./site-styles-CWHmlVT5.mjs";
9
- import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-Cfbo1bfh.mjs";
10
- import { n as getCurrentResolveImageUrlContext } from "./mediaContext-CwT6ZOm7.mjs";
8
+ import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-8jUc02mZ.mjs";
9
+ import { n as getCurrentResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
11
10
  import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
12
11
  import "react";
13
12
  import { z } from "zod";
@@ -16,6 +15,10 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
15
  /** Server-resolved presentation context, never permission to perform a write. */
17
16
  const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
18
17
  //#endregion
18
+ //#region ../core/src/branded/content.ts
19
+ const unsafeAsContentVersionId = (id) => id;
20
+ const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
21
+ //#endregion
19
22
  //#region ../core/src/mailing-list-targeting.ts
20
23
  const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
21
24
  function sameMailingListPlacementTargeting(left, right) {
@@ -486,7 +489,7 @@ function planSiteChromePlacement(positioning) {
486
489
  headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
487
490
  standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
488
491
  };
489
- default: return assertNever(positioning);
492
+ default: return assertNever$2(positioning);
490
493
  }
491
494
  }
492
495
  function splitSiteChromePlacementClasses(className) {
@@ -1157,8 +1160,6 @@ function normalizeCsvString(value) {
1157
1160
  const ids = normalizeCsvIds(value);
1158
1161
  return ids.length > 0 ? ids.join(",") : void 0;
1159
1162
  }
1160
- //#endregion
1161
- //#region ../blocks/src/system/runtime/nodes/events/shared/listOptions.ts
1162
1163
  const eventPageSizeValues = [
1163
1164
  1,
1164
1165
  2,
@@ -1170,7 +1171,8 @@ const eventPageSizeValues = [
1170
1171
  12,
1171
1172
  20,
1172
1173
  24,
1173
- 30
1174
+ 30,
1175
+ 100
1174
1176
  ];
1175
1177
  const eventPageSizeSchema = z.union([
1176
1178
  z.literal(1),
@@ -1183,7 +1185,8 @@ const eventPageSizeSchema = z.union([
1183
1185
  z.literal(12),
1184
1186
  z.literal(20),
1185
1187
  z.literal(24),
1186
- z.literal(30)
1188
+ z.literal(30),
1189
+ z.literal(100)
1187
1190
  ]);
1188
1191
  const eventPageSizeSet = new Set(eventPageSizeValues);
1189
1192
  function resolveEventPageSize(value, fallback = 12) {
@@ -1294,21 +1297,21 @@ function eventPaginationLoadReducer(state, action) {
1294
1297
  ...createInitialEventPaginationLoadState(action.events, action.scope),
1295
1298
  requestId: state.requestId + 1
1296
1299
  };
1297
- default: return assertNever$1(action);
1300
+ default: return assertNever(action);
1298
1301
  }
1299
1302
  }
1300
1303
  function eventPageOperationScope(operation) {
1301
1304
  switch (operation.kind) {
1302
1305
  case "replace": return operation.scope;
1303
1306
  case "append": return operation.page.scope;
1304
- default: return assertNever$1(operation);
1307
+ default: return assertNever(operation);
1305
1308
  }
1306
1309
  }
1307
1310
  function eventPageOperationQuery(operation) {
1308
1311
  switch (operation.kind) {
1309
1312
  case "replace": return operation.scope.query;
1310
1313
  case "append": return operation.query;
1311
- default: return assertNever$1(operation);
1314
+ default: return assertNever(operation);
1312
1315
  }
1313
1316
  }
1314
1317
  function acceptEventPage(operation, events) {
@@ -1325,7 +1328,7 @@ function acceptEventPage(operation, events) {
1325
1328
  events: mergeEventPaginationEvents(operation.page.events, events),
1326
1329
  hasMore
1327
1330
  };
1328
- default: return assertNever$1(operation);
1331
+ default: return assertNever(operation);
1329
1332
  }
1330
1333
  }
1331
1334
  /** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
@@ -1350,7 +1353,7 @@ function planEventPageOperation(state, scope, intent) {
1350
1353
  }
1351
1354
  };
1352
1355
  }
1353
- default: return assertNever$1(intent);
1356
+ default: return assertNever(intent);
1354
1357
  }
1355
1358
  }
1356
1359
  /** A changed scope is pending even before the effect starts its replacement request. */
@@ -1377,7 +1380,7 @@ function getEventPaginationView(state, scope) {
1377
1380
  loading: false,
1378
1381
  error: state.error
1379
1382
  };
1380
- default: return assertNever$1(state);
1383
+ default: return assertNever(state);
1381
1384
  }
1382
1385
  }
1383
1386
  function getOperationPage(operation) {
@@ -1387,7 +1390,7 @@ function getOperationPage(operation) {
1387
1390
  hasMore: false
1388
1391
  };
1389
1392
  case "append": return operation.page;
1390
- default: return assertNever$1(operation);
1393
+ default: return assertNever(operation);
1391
1394
  }
1392
1395
  }
1393
1396
  function getEventIdentity(event) {
@@ -1508,8 +1511,7 @@ function buildEventCollectionDisplay(source) {
1508
1511
  lookSlots: source.lookSlots,
1509
1512
  itemActionStyle: source.itemActionStyle,
1510
1513
  itemRoles: source.itemRoles,
1511
- roleSurfaces: source.roleSurfaces,
1512
- itemSurfaces: source.itemSurfaces,
1514
+ surfacePresentation: source.surfacePresentation,
1513
1515
  ...buildEventCollectionPresentationDisplay(source),
1514
1516
  startOfWeek: eventCalendarWeekStart(resolveBookingBusinessTimeZone(source.bookingTimeZone ?? source.calendarWindow?.scope.timeZone), source.startOfWeek),
1515
1517
  calendarTabViews: source.calendarTabViews ?? "both",
@@ -1598,8 +1600,7 @@ function buildEventCollectionListingDisplay(display, prefetchedEvents, className
1598
1600
  lookSlots: display.lookSlots,
1599
1601
  itemActionStyle: display.itemActionStyle,
1600
1602
  itemRoles: display.itemRoles,
1601
- roleSurfaces: display.roleSurfaces,
1602
- itemSurfaces: display.itemSurfaces,
1603
+ surfacePresentation: display.surfacePresentation,
1603
1604
  state: initialEvents.length === 0 ? prefetchedEvents ? "empty" : "loading" : "ready",
1604
1605
  listLayout: display.listLayout,
1605
1606
  className,
@@ -1784,6 +1785,16 @@ function buildEventListingInteractiveIslandProps(props) {
1784
1785
  });
1785
1786
  }
1786
1787
  //#endregion
1788
+ //#region ../blocks/src/system/runtime/nodes/events/shared/combinedLook.ts
1789
+ const presentation = z.object({
1790
+ ...lookListPresentationSchemaShape,
1791
+ hooks: z.record(z.string(), z.string())
1792
+ });
1793
+ const combinedLookSchema = z.object({
1794
+ list: presentation.extend({ arrangement: z.enum(eventListArrangementValues) }),
1795
+ month: presentation.extend({ arrangement: z.enum(["month-grid", "month-day"]) })
1796
+ });
1797
+ //#endregion
1787
1798
  //#region ../blocks/src/system/blocks/events/recurring-schedule-projection.ts
1788
1799
  const weekdayOrder = [
1789
1800
  "Monday",
@@ -2076,6 +2087,7 @@ const eventCalendarSourceSchema = z.object({
2076
2087
  seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
2077
2088
  effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
2078
2089
  listBy: z.enum(["upcoming", "week"]).optional(),
2090
+ combinedLook: combinedLookSchema.optional(),
2079
2091
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
2080
2092
  variant: eventCalendarDisplayModeSchema.nullable().optional(),
2081
2093
  displayMode: eventCalendarDisplayModeSchema.nullable().optional(),
@@ -2091,6 +2103,7 @@ const eventCalendarDisplaySchema = z.object({
2091
2103
  schedule: recurringScheduleProjectionSchema.optional(),
2092
2104
  seeAllButtonVariant: eventButtonVariantSchema,
2093
2105
  listBy: z.literal("week").optional(),
2106
+ combinedLook: combinedLookSchema.optional(),
2094
2107
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
2095
2108
  kind: z.literal("event-calendar"),
2096
2109
  displayMode: eventCalendarDisplayModeSchema,
@@ -2126,15 +2139,17 @@ function normalizeOptionalText(value) {
2126
2139
  return trimmed.length > 0 ? trimmed : void 0;
2127
2140
  }
2128
2141
  function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.effectiveListArrangementKey ?? resolveCalendarListArrangement(source)) {
2129
- const listLayout = effectiveListArrangementKey;
2142
+ const presentation = combinedCalendarPresentation(source, effectiveListArrangementKey);
2130
2143
  return {
2131
2144
  ...buildEventCollectionDisplay({
2132
2145
  ...source,
2133
- listLayout,
2146
+ ...presentation,
2134
2147
  listColumns: source.listColumns ?? source.columns
2135
2148
  }),
2149
+ ...presentation,
2136
2150
  ...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
2137
2151
  ...calendarListGrouping(source),
2152
+ ...weekListPaging(source),
2138
2153
  ...calendarRecurringWeekPresentation(source),
2139
2154
  kind: "event-calendar",
2140
2155
  displayMode: resolveEventCalendarReadPlan(source).mode,
@@ -2237,6 +2252,18 @@ function calendarListGrouping(source) {
2237
2252
  arrangementLooks: source.lookSlots !== void 0
2238
2253
  }).grouping === "week" ? { listBy: "week" } : {};
2239
2254
  }
2255
+ /**
2256
+ * A week list shows its whole week: one read of the week, with no page size or "more events" action.
2257
+ * A week that fills the whole read can't prove it's complete, so its empty days stay blank rather
2258
+ * than say "Nothing on". Above the limit only the first sessions show (accepted: no studio runs 100 a week).
2259
+ */
2260
+ function weekListPaging(source) {
2261
+ return calendarListGrouping(source).listBy === "week" ? {
2262
+ eventsPerPage: 100,
2263
+ paginationAction: { kind: "none" },
2264
+ sectionAction: void 0
2265
+ } : {};
2266
+ }
2240
2267
  /** The week presentation owns the series projection and its independent header action. */
2241
2268
  function calendarRecurringWeekPresentation(source) {
2242
2269
  return {
@@ -2245,6 +2272,17 @@ function calendarRecurringWeekPresentation(source) {
2245
2272
  seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
2246
2273
  };
2247
2274
  }
2275
+ /** A resolved composition owns the layout and the allowed calendar view. */
2276
+ function combinedCalendarPresentation(source, listLayout) {
2277
+ const combinedLook = source.combinedLook;
2278
+ return combinedLook ? {
2279
+ ...combinedLook.list,
2280
+ combinedLook,
2281
+ listLayout: combinedLook.list.arrangement,
2282
+ calendarTabViews: "month",
2283
+ defaultCalendarView: "month"
2284
+ } : { listLayout };
2285
+ }
2248
2286
  //#endregion
2249
2287
  //#region ../blocks/src/system/runtime/nodes/events/EventCombined.interactive.ts
2250
2288
  const eventCombinedSourceSchema = z.object({ ...eventCollectionSourceSchemaShape });
@@ -2554,7 +2592,7 @@ function bookingPanelHeading(entry, display) {
2554
2592
  title,
2555
2593
  subtitle: entry.when
2556
2594
  };
2557
- default: return assertNever$2(entry);
2595
+ default: return assertNever$1(entry);
2558
2596
  }
2559
2597
  }
2560
2598
  const HIDDEN_BAR = {
@@ -2643,7 +2681,7 @@ function offeringsListingFor(arrangement) {
2643
2681
  case "sequence":
2644
2682
  case "plates":
2645
2683
  case "stack": return "by-type";
2646
- default: return assertNever$2(arrangement);
2684
+ default: return assertNever$1(arrangement);
2647
2685
  }
2648
2686
  }
2649
2687
  Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
@@ -2815,7 +2853,7 @@ function buildOfferingsPreviewListing(input) {
2815
2853
  ...load,
2816
2854
  items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
2817
2855
  };
2818
- default: return assertNever$2(load);
2856
+ default: return assertNever$1(load);
2819
2857
  }
2820
2858
  }));
2821
2859
  if (!groups) return { kind: "no-groups" };
@@ -2832,7 +2870,7 @@ function buildOfferingsPreviewListing(input) {
2832
2870
  }));
2833
2871
  case "empty":
2834
2872
  case "failed": return [];
2835
- default: return assertNever$2(load);
2873
+ default: return assertNever$1(load);
2836
2874
  }
2837
2875
  }).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
2838
2876
  return items ? {
@@ -2936,10 +2974,10 @@ function preferredPathsForSource(source) {
2936
2974
  case "workshop": return ["/workshops", "/workshop"];
2937
2975
  case "retreat": return ["/retreats", "/retreat"];
2938
2976
  case "performance": return ["/performances", "/performance"];
2939
- default: return assertNever$2(source.preset, "Unhandled offerings preview event preset");
2977
+ default: return assertNever$1(source.preset, "Unhandled offerings preview event preset");
2940
2978
  }
2941
2979
  case "wholeSeries": return ["/courses", "/course"];
2942
- default: return assertNever$2(source, "Unhandled offerings preview source");
2980
+ default: return assertNever$1(source, "Unhandled offerings preview source");
2943
2981
  }
2944
2982
  }
2945
2983
  function normalizeRoutePath(value) {
@@ -3734,7 +3772,7 @@ function newsletterPresetFields(fields) {
3734
3772
  placeholder: "Company name"
3735
3773
  }
3736
3774
  ];
3737
- default: return assertNever$2(fields);
3775
+ default: return assertNever$1(fields);
3738
3776
  }
3739
3777
  }
3740
3778
  function withOptionalPhone(fields, includePhone) {
@@ -3958,7 +3996,7 @@ function projectNewsletterFormHydrationTarget(source) {
3958
3996
  tag: "block-source",
3959
3997
  sourceRef: null
3960
3998
  };
3961
- default: return assertNever$2(source.newsletterBlockSubmission);
3999
+ default: return assertNever$1(source.newsletterBlockSubmission);
3962
4000
  }
3963
4001
  case "signed-hosted-booking":
3964
4002
  case "signed-footer": return {
@@ -3966,7 +4004,7 @@ function projectNewsletterFormHydrationTarget(source) {
3966
4004
  sourceRef: source.sourceRef
3967
4005
  };
3968
4006
  case "preview": return { tag: "preview" };
3969
- default: return assertNever$2(source);
4007
+ default: return assertNever$1(source);
3970
4008
  }
3971
4009
  }
3972
4010
  function resolveRuntimeChoices(assessment) {
@@ -5048,4 +5086,4 @@ function shopProductPresentation(hydration, productId, index, count) {
5048
5086
  };
5049
5087
  }
5050
5088
  //#endregion
5051
- export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, getCardOrientation as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, toError as Bt, membershipCardListContent as C, sameMailingListPlacementTargeting as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, formInteractiveIslandPropsCodec as G, normalizeOptionalId as Gt, publicGiftingOffersResponseSchema as H, getEventRuntimeFiltersKey as Ht, newsletterBlockSubmissionMessage as I, getEventIdentity as It, displayButtonText as J, CardListContentPart as Jt, buildEventRegistrationDisplayFromScopedEvents as K, catalogueEventCardProps as Kt, newsletterFormBlockRuntime as L, getEventPaginationView as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, createInitialEventPaginationLoadState as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, eventPageOperationQuery as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, MediaNodeServer as Qt, newsletterFormInteractiveIslandPropsCodec as R, planEventPageOperation as Rt, formatInterval as S, DEFAULT_MAILING_LIST_TARGETING as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, normalizeCsvIds as Ut, giftingInteractiveIslandPropsCodec as V, buildEventRuntimeFilters as Vt, formBlockRuntime as W, normalizeCsvString as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveCardListSchedule as Xt, eventRegistrationBlockRuntime as Y, CardListLeadDate as Yt, offeringNounForEvent as Z, selectCardListPresentation as Zt, shopProductPresentation as _, publicPassProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, formatEventPrice as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseMailingListPlacementTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, resolveEventSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, resolveHeaderChromeRuntimeContract as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getContainerClass as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, staticHeaderChromeRuntime as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, publicMembershipProductCollectionSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, splitSiteChromePlacementClasses as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, headerChromeRuntimeContractSchema as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, planSiteChromePlacement as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, buildEventListWeek as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPriceAmount as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, parseHeaderPositioning as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, listingEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, eventListWeekDays as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceDisplay as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, Grid as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, isHeaderScrollRuntimeEnabled as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, buildMailingListSignupBlockSourceRef as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListVisitorSelection as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, assessMailingListTargeting as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, toEventPaginationLoadError as zt };
5089
+ export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, MediaNodeServer as $t, parseStoredCommerceCartState as A, combinedLookSchema as At, giftingBlockRuntime as B, toEventPaginationLoadError as Bt, membershipCardListContent as C, DEFAULT_MAILING_LIST_TARGETING as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPageOperationQuery as Ft, formInteractiveIslandPropsCodec as G, normalizeCsvString as Gt, publicGiftingOffersResponseSchema as H, buildEventRuntimeFilters as Ht, newsletterBlockSubmissionMessage as I, eventPaginationLoadReducer as It, displayButtonText as J, listingEventCardProps as Jt, buildEventRegistrationDisplayFromScopedEvents as K, normalizeOptionalId as Kt, newsletterFormBlockRuntime as L, getEventIdentity as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, createInitialEventPaginationLoadState as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, selectCardListPresentation as Qt, newsletterFormInteractiveIslandPropsCodec as R, getEventPaginationView as Rt, formatInterval as S, parseMailingListVisitorSelection as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, parseContentVersionId as Tn, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, getEventRuntimeFiltersKey as Ut, giftingInteractiveIslandPropsCodec as V, toError as Vt, formBlockRuntime as W, normalizeCsvIds as Wt, eventRegistrationInteractiveIslandPropsCodec as X, CardListLeadDate as Xt, eventRegistrationBlockRuntime as Y, CardListContentPart as Yt, offeringNounForEvent as Z, resolveCardListSchedule as Zt, shopProductPresentation as _, publicMembershipProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, weekColumnDays as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, assessMailingListTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, formatEventPriceDisplay as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, isHeaderScrollRuntimeEnabled as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getCardOrientation as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, resolveHeaderChromeRuntimeContract as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, splitSiteChromePlacementClasses as gn, bookingPanelHeading as gt, shopBlockRuntime as h, planSiteChromePlacement as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, eventListWeekDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, resolveEventSelection as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, parseHeaderPositioning as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, Grid as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPrice as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, staticHeaderChromeRuntime as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, catalogueEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, buildEventListWeek as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceAmount as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, getContainerClass as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, headerChromeRuntimeContractSchema as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, publicPassProductCollectionSchema as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, sameMailingListPlacementTargeting as wn, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListPlacementTargeting as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, buildMailingListSignupBlockSourceRef as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, planEventPageOperation as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
2
+ import { t as BlockApiProvider } from "./context-Cv3QHjAF.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DbHX4JOS.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import { ui as parseSurfaceTree } from "./site-styles-D56hT2u1.mjs";
3
+ export { parseSurfaceTree };