@riverbankcms/sdk 0.159.0 → 0.161.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.
- package/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +13 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +10 -28
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,166 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
3
|
+
import { Dt as assertNever, Gt as toNonEmptyReadonlyArray, ar as parseContentVersionId, br as err, dt as cardRoleSchema, sr as parseEventSeriesId, xr as ok } from "./schema-C-m8XHuW.mjs";
|
|
4
|
+
import { C as clsx, U as formatCurrencyAmount, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-CnyL3s1A.mjs";
|
|
5
|
+
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
6
|
+
import { $r as formatBookingPriceDisplay, 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, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseNewsletterListId, 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 parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatEventPricing, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, 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_SUCCESS_MESSAGE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-BkZc-hKH.mjs";
|
|
7
|
+
import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as getLocalScheduleDate, D as isEventCalendarListLayout, Dt as resolveBookingBusinessTimeZone, Et as parseUtcIsoDateTimeString, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Ot as resolveBookingTimeZoneId, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, V as publicEventDestinationSchema, ht as inferSiteDateLocale, j as eventSurfaceScopeValues, jt as toUtcIsoDateTimeString, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, p as calendarWindowPageSchema, pt as formatTime, ut as formatDateRange, vt as buildBookingUtcDateWindow, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-B7H6gCbj.mjs";
|
|
8
|
+
import { n as getCurrentResolveImageUrlContext, x as resolveModeArrangement } from "./mediaContext-jPeJ2PmJ.mjs";
|
|
8
9
|
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
9
10
|
import "react";
|
|
10
11
|
import { z } from "zod";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
//#region ../core/src/public-profile.ts
|
|
13
|
-
const publicProfileWeekdays = [
|
|
14
|
-
"monday",
|
|
15
|
-
"tuesday",
|
|
16
|
-
"wednesday",
|
|
17
|
-
"thursday",
|
|
18
|
-
"friday",
|
|
19
|
-
"saturday",
|
|
20
|
-
"sunday"
|
|
21
|
-
];
|
|
22
|
-
function isRecord$3(value) {
|
|
23
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
24
|
-
}
|
|
25
|
-
function trimmedOptionalString(value) {
|
|
26
|
-
if (value === null || value === void 0) return null;
|
|
27
|
-
if (typeof value !== "string") return void 0;
|
|
28
|
-
const trimmed = value.trim();
|
|
29
|
-
return trimmed.length > 0 ? trimmed : null;
|
|
30
|
-
}
|
|
31
|
-
function parsePublicProfileTimeZone(value) {
|
|
32
|
-
const timeZone = trimmedOptionalString(value);
|
|
33
|
-
if (timeZone === null || timeZone === void 0) return err({
|
|
34
|
-
code: "invalid_timezone",
|
|
35
|
-
path: "openingHours.timeZone",
|
|
36
|
-
message: "Choose a timezone."
|
|
37
|
-
});
|
|
38
|
-
try {
|
|
39
|
-
new Intl.DateTimeFormat("en-GB", { timeZone }).format(/* @__PURE__ */ new Date(0));
|
|
40
|
-
return ok(timeZone);
|
|
41
|
-
} catch {
|
|
42
|
-
return err({
|
|
43
|
-
code: "invalid_timezone",
|
|
44
|
-
path: "openingHours.timeZone",
|
|
45
|
-
message: "Choose a valid IANA timezone."
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
function parseOpeningHoursTime(value, path) {
|
|
50
|
-
if (typeof value !== "string" || !/^(?:[01]\d|2[0-3]):[0-5]\d$/u.test(value)) return err({
|
|
51
|
-
code: "invalid_time",
|
|
52
|
-
path,
|
|
53
|
-
message: "Use a 24-hour time such as 09:00."
|
|
54
|
-
});
|
|
55
|
-
return ok(value);
|
|
56
|
-
}
|
|
57
|
-
function minutesSinceMidnight(value) {
|
|
58
|
-
const [hours = "0", minutes = "0"] = value.split(":");
|
|
59
|
-
return Number(hours) * 60 + Number(minutes);
|
|
60
|
-
}
|
|
61
|
-
function parseOpeningHoursDay(value, expectedWeekday, index) {
|
|
62
|
-
const path = `openingHours.days.${index}`;
|
|
63
|
-
if (!isRecord$3(value) || value.weekday !== expectedWeekday) return err({
|
|
64
|
-
code: "invalid_weekdays",
|
|
65
|
-
path,
|
|
66
|
-
message: `Expected ${expectedWeekday} in calendar order.`
|
|
67
|
-
});
|
|
68
|
-
if (value.kind === "closed") return ok({
|
|
69
|
-
kind: "closed",
|
|
70
|
-
weekday: expectedWeekday
|
|
71
|
-
});
|
|
72
|
-
if (value.kind !== "open" || !Array.isArray(value.intervals) || value.intervals.length === 0) return err({
|
|
73
|
-
code: "invalid_interval",
|
|
74
|
-
path: `${path}.intervals`,
|
|
75
|
-
message: "Open days need at least one opening interval."
|
|
76
|
-
});
|
|
77
|
-
const intervals = [];
|
|
78
|
-
for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
|
|
79
|
-
const intervalPath = `${path}.intervals.${intervalIndex}`;
|
|
80
|
-
if (!isRecord$3(rawInterval)) return err({
|
|
81
|
-
code: "invalid_interval",
|
|
82
|
-
path: intervalPath,
|
|
83
|
-
message: "Opening interval is invalid."
|
|
84
|
-
});
|
|
85
|
-
const opensAt = parseOpeningHoursTime(rawInterval.opensAt, `${intervalPath}.opensAt`);
|
|
86
|
-
if (!opensAt.ok) return opensAt;
|
|
87
|
-
const closesAt = parseOpeningHoursTime(rawInterval.closesAt, `${intervalPath}.closesAt`);
|
|
88
|
-
if (!closesAt.ok) return closesAt;
|
|
89
|
-
if (minutesSinceMidnight(opensAt.value) >= minutesSinceMidnight(closesAt.value)) return err({
|
|
90
|
-
code: "invalid_interval",
|
|
91
|
-
path: intervalPath,
|
|
92
|
-
message: "Closing time must be later than opening time on the same day."
|
|
93
|
-
});
|
|
94
|
-
intervals.push({
|
|
95
|
-
opensAt: opensAt.value,
|
|
96
|
-
closesAt: closesAt.value
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
intervals.sort((left, right) => minutesSinceMidnight(left.opensAt) - minutesSinceMidnight(right.opensAt));
|
|
100
|
-
for (let intervalIndex = 1; intervalIndex < intervals.length; intervalIndex += 1) {
|
|
101
|
-
const previous = intervals[intervalIndex - 1];
|
|
102
|
-
const current = intervals[intervalIndex];
|
|
103
|
-
if (previous !== void 0 && current !== void 0 && minutesSinceMidnight(current.opensAt) < minutesSinceMidnight(previous.closesAt)) return err({
|
|
104
|
-
code: "overlapping_intervals",
|
|
105
|
-
path: `${path}.intervals.${intervalIndex}`,
|
|
106
|
-
message: "Opening intervals cannot overlap."
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
const [first, ...rest] = intervals;
|
|
110
|
-
if (first === void 0) return err({
|
|
111
|
-
code: "invalid_interval",
|
|
112
|
-
path,
|
|
113
|
-
message: "Open days need an opening interval."
|
|
114
|
-
});
|
|
115
|
-
return ok({
|
|
116
|
-
kind: "open",
|
|
117
|
-
weekday: expectedWeekday,
|
|
118
|
-
intervals: [first, ...rest]
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
function parseOpeningHoursWeek(rawDays) {
|
|
122
|
-
const parsedDays = publicProfileWeekdays.map((weekday, index) => parseOpeningHoursDay(rawDays[index], weekday, index));
|
|
123
|
-
const failed = parsedDays.find((day) => !day.ok);
|
|
124
|
-
if (failed !== void 0) return failed;
|
|
125
|
-
const [monday, tuesday, wednesday, thursday, friday, saturday, sunday] = parsedDays.flatMap((day) => day.ok ? [day.value] : []);
|
|
126
|
-
if (monday === void 0 || tuesday === void 0 || wednesday === void 0 || thursday === void 0 || friday === void 0 || saturday === void 0 || sunday === void 0) return err({
|
|
127
|
-
code: "invalid_weekdays",
|
|
128
|
-
path: "openingHours.days",
|
|
129
|
-
message: "Opening hours are incomplete."
|
|
130
|
-
});
|
|
131
|
-
return ok([
|
|
132
|
-
monday,
|
|
133
|
-
tuesday,
|
|
134
|
-
wednesday,
|
|
135
|
-
thursday,
|
|
136
|
-
friday,
|
|
137
|
-
saturday,
|
|
138
|
-
sunday
|
|
139
|
-
]);
|
|
140
|
-
}
|
|
141
|
-
function parseWeeklyOpeningHours(value) {
|
|
142
|
-
if (!isRecord$3(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
|
|
143
|
-
code: "invalid_weekdays",
|
|
144
|
-
path: "openingHours.days",
|
|
145
|
-
message: "Opening hours must include all seven weekdays."
|
|
146
|
-
});
|
|
147
|
-
const timeZone = parsePublicProfileTimeZone(value.timeZone);
|
|
148
|
-
if (!timeZone.ok) return timeZone;
|
|
149
|
-
const note = value.note === void 0 || value.note === null ? null : trimmedOptionalString(value.note);
|
|
150
|
-
if (note === void 0) return err({
|
|
151
|
-
code: "invalid_shape",
|
|
152
|
-
path: "openingHours.note",
|
|
153
|
-
message: "The opening hours note must be text."
|
|
154
|
-
});
|
|
155
|
-
const days = parseOpeningHoursWeek(value.days);
|
|
156
|
-
if (!days.ok) return days;
|
|
157
|
-
return ok({
|
|
158
|
-
timeZone: timeZone.value,
|
|
159
|
-
...note !== null ? { note } : {},
|
|
160
|
-
days: days.value
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
//#endregion
|
|
164
13
|
//#region ../core/src/mailing-list-targeting.ts
|
|
165
14
|
const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
|
|
166
15
|
function sameMailingListPlacementTargeting(left, right) {
|
|
@@ -1207,7 +1056,11 @@ function normalizeCsvString(value) {
|
|
|
1207
1056
|
//#endregion
|
|
1208
1057
|
//#region ../blocks/src/system/runtime/nodes/events/shared/listOptions.ts
|
|
1209
1058
|
const eventPageSizeValues = [
|
|
1059
|
+
1,
|
|
1060
|
+
2,
|
|
1210
1061
|
3,
|
|
1062
|
+
4,
|
|
1063
|
+
5,
|
|
1211
1064
|
6,
|
|
1212
1065
|
10,
|
|
1213
1066
|
12,
|
|
@@ -1216,7 +1069,11 @@ const eventPageSizeValues = [
|
|
|
1216
1069
|
30
|
|
1217
1070
|
];
|
|
1218
1071
|
const eventPageSizeSchema = z.union([
|
|
1072
|
+
z.literal(1),
|
|
1073
|
+
z.literal(2),
|
|
1219
1074
|
z.literal(3),
|
|
1075
|
+
z.literal(4),
|
|
1076
|
+
z.literal(5),
|
|
1220
1077
|
z.literal(6),
|
|
1221
1078
|
z.literal(10),
|
|
1222
1079
|
z.literal(12),
|
|
@@ -1232,15 +1089,20 @@ function resolveEventPageSize(value, fallback = 12) {
|
|
|
1232
1089
|
function resolveEventCalendarListPageSize(input) {
|
|
1233
1090
|
return resolveEventPageSize(input.eventsPerPage);
|
|
1234
1091
|
}
|
|
1235
|
-
const eventListPaginationActionSchema = z.discriminatedUnion("kind", [
|
|
1236
|
-
kind: z.literal("
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1092
|
+
const eventListPaginationActionSchema = z.discriminatedUnion("kind", [
|
|
1093
|
+
z.object({ kind: z.literal("none") }),
|
|
1094
|
+
z.object({
|
|
1095
|
+
kind: z.literal("loadMore"),
|
|
1096
|
+
label: z.string()
|
|
1097
|
+
}),
|
|
1098
|
+
z.object({
|
|
1099
|
+
kind: z.literal("seeAllLink"),
|
|
1100
|
+
label: z.string(),
|
|
1101
|
+
href: z.string()
|
|
1102
|
+
})
|
|
1103
|
+
]);
|
|
1243
1104
|
function resolveEventListPaginationAction(input) {
|
|
1105
|
+
if (input.paginationMode === "none") return { kind: "none" };
|
|
1244
1106
|
const label = input.loadMoreText?.trim() || input.defaultLabel || "Load more events";
|
|
1245
1107
|
const href = input.seeAllUrl?.trim();
|
|
1246
1108
|
if (input.paginationMode === "seeAllLink" && href) return {
|
|
@@ -1317,7 +1179,11 @@ const eventCollectionSourceSchemaShape = {
|
|
|
1317
1179
|
listLayout: eventLayoutSchema.optional(),
|
|
1318
1180
|
listColumns: columnOptionSchema.optional(),
|
|
1319
1181
|
eventsPerPage: z.string().optional(),
|
|
1320
|
-
paginationMode: z.enum([
|
|
1182
|
+
paginationMode: z.enum([
|
|
1183
|
+
"loadMore",
|
|
1184
|
+
"seeAllLink",
|
|
1185
|
+
"none"
|
|
1186
|
+
]).optional(),
|
|
1321
1187
|
seeAllUrl: z.string().optional(),
|
|
1322
1188
|
loadMoreText: z.string().optional(),
|
|
1323
1189
|
startOfWeek: weekStartSchema.optional(),
|
|
@@ -1327,6 +1193,7 @@ const eventCollectionSourceSchemaShape = {
|
|
|
1327
1193
|
showVenue: z.boolean().nullable().optional(),
|
|
1328
1194
|
showMap: z.boolean().nullable().optional(),
|
|
1329
1195
|
showCapacity: z.boolean().nullable().optional(),
|
|
1196
|
+
showPhotos: z.boolean().nullable().optional(),
|
|
1330
1197
|
cardRole: cardRoleSchema.optional(),
|
|
1331
1198
|
buttonVariant: eventButtonVariantSchema.optional(),
|
|
1332
1199
|
buttonText: z.string().optional(),
|
|
@@ -1359,6 +1226,7 @@ const eventCollectionDisplaySchemaShape = {
|
|
|
1359
1226
|
showVenue: z.boolean(),
|
|
1360
1227
|
showMap: z.boolean(),
|
|
1361
1228
|
showCapacity: z.boolean(),
|
|
1229
|
+
showPhotos: z.boolean().optional(),
|
|
1362
1230
|
cardRole: cardRoleSchema,
|
|
1363
1231
|
buttonVariant: eventButtonVariantSchema,
|
|
1364
1232
|
buttonText: z.string(),
|
|
@@ -1383,7 +1251,7 @@ const eventCollectionHydrationSchema = z.object({
|
|
|
1383
1251
|
function buildEventCollectionDisplay(source) {
|
|
1384
1252
|
return {
|
|
1385
1253
|
...buildEventCollectionFilterDisplay(source),
|
|
1386
|
-
|
|
1254
|
+
...buildEventCollectionListDisplay(source),
|
|
1387
1255
|
panelHeading: source.panelHeading,
|
|
1388
1256
|
lookSlots: source.lookSlots,
|
|
1389
1257
|
itemActionStyle: source.itemActionStyle,
|
|
@@ -1391,18 +1259,27 @@ function buildEventCollectionDisplay(source) {
|
|
|
1391
1259
|
roleSurfaces: source.roleSurfaces,
|
|
1392
1260
|
itemSurfaces: source.itemSurfaces,
|
|
1393
1261
|
...buildEventCollectionPresentationDisplay(source),
|
|
1262
|
+
startOfWeek: eventCalendarWeekStart(resolveBookingBusinessTimeZone(source.bookingTimeZone ?? source.calendarWindow?.scope.timeZone), source.startOfWeek),
|
|
1263
|
+
calendarTabViews: source.calendarTabViews ?? "both",
|
|
1264
|
+
defaultCalendarView: source.defaultCalendarView ?? "month"
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
function buildEventCollectionListDisplay(source) {
|
|
1268
|
+
const paginationAction = resolveEventListPaginationAction({
|
|
1269
|
+
paginationMode: source.paginationMode,
|
|
1270
|
+
seeAllUrl: source.seeAllUrl,
|
|
1271
|
+
loadMoreText: source.loadMoreText
|
|
1272
|
+
});
|
|
1273
|
+
return {
|
|
1394
1274
|
events: Array.isArray(source.events) ? [...source.events] : [],
|
|
1395
1275
|
listLayout: source.listLayout ?? "stack",
|
|
1396
1276
|
listColumns: source.listColumns ?? "3",
|
|
1397
1277
|
eventsPerPage: source.lookSlots !== void 0 && source.listLayout === "compact" ? 3 : resolveEventCalendarListPageSize({ eventsPerPage: source.eventsPerPage }),
|
|
1398
|
-
paginationAction
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
}
|
|
1403
|
-
startOfWeek: eventCalendarWeekStart(resolveBookingBusinessTimeZone(source.bookingTimeZone ?? source.calendarWindow?.scope.timeZone), source.startOfWeek),
|
|
1404
|
-
calendarTabViews: source.calendarTabViews ?? "both",
|
|
1405
|
-
defaultCalendarView: source.defaultCalendarView ?? "month"
|
|
1278
|
+
paginationAction,
|
|
1279
|
+
sectionAction: paginationAction.kind === "seeAllLink" ? {
|
|
1280
|
+
href: paginationAction.href,
|
|
1281
|
+
label: paginationAction.label
|
|
1282
|
+
} : void 0
|
|
1406
1283
|
};
|
|
1407
1284
|
}
|
|
1408
1285
|
function buildEventCollectionFilterDisplay(source) {
|
|
@@ -1436,6 +1313,7 @@ function buildEventCollectionPresentationDisplay(source) {
|
|
|
1436
1313
|
showVenue: source.showVenue ?? true,
|
|
1437
1314
|
showMap: source.showMap ?? true,
|
|
1438
1315
|
showCapacity: source.showCapacity ?? true,
|
|
1316
|
+
showPhotos: source.showPhotos ?? true,
|
|
1439
1317
|
cardRole: source.cardRole ?? "default",
|
|
1440
1318
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
1441
1319
|
buttonText: source.buttonText ?? "Book",
|
|
@@ -1481,18 +1359,11 @@ function buildEventCollectionListingDisplay(display, prefetchedEvents, className
|
|
|
1481
1359
|
showVenue: display.showVenue,
|
|
1482
1360
|
showMap: display.showMap,
|
|
1483
1361
|
showCapacity: display.showCapacity,
|
|
1362
|
+
showPhotos: display.showPhotos,
|
|
1484
1363
|
orientation: getCardOrientation(display.listLayout),
|
|
1485
1364
|
events: initialEvents
|
|
1486
1365
|
};
|
|
1487
1366
|
}
|
|
1488
|
-
/** Existing pagination fields also supply the optional arrangement section action. */
|
|
1489
|
-
function eventSectionAction(source) {
|
|
1490
|
-
const href = source.seeAllUrl?.trim();
|
|
1491
|
-
return (source.lookSlots || source.paginationMode === "seeAllLink") && href ? {
|
|
1492
|
-
href,
|
|
1493
|
-
label: source.loadMoreText?.trim() || "See the full timetable"
|
|
1494
|
-
} : void 0;
|
|
1495
|
-
}
|
|
1496
1367
|
//#endregion
|
|
1497
1368
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.interactive.ts
|
|
1498
1369
|
const cardOrientationSchema = z.enum(["vertical", "horizontal"]);
|
|
@@ -1507,7 +1378,11 @@ const eventListingSourceSchema = z.object({
|
|
|
1507
1378
|
layout: z.enum(eventListArrangementValues).optional(),
|
|
1508
1379
|
columns: columnOptionSchema.optional(),
|
|
1509
1380
|
eventsPerPage: z.string().optional(),
|
|
1510
|
-
paginationMode: z.enum([
|
|
1381
|
+
paginationMode: z.enum([
|
|
1382
|
+
"loadMore",
|
|
1383
|
+
"seeAllLink",
|
|
1384
|
+
"none"
|
|
1385
|
+
]).optional(),
|
|
1511
1386
|
seeAllUrl: z.string().optional(),
|
|
1512
1387
|
loadMoreText: z.string().optional(),
|
|
1513
1388
|
cardRole: cardRoleSchema.optional(),
|
|
@@ -1539,6 +1414,7 @@ const eventListingDisplaySchema = z.object({
|
|
|
1539
1414
|
showVenue: z.boolean(),
|
|
1540
1415
|
showMap: z.boolean(),
|
|
1541
1416
|
showCapacity: z.boolean(),
|
|
1417
|
+
showPhotos: z.boolean().optional(),
|
|
1542
1418
|
orientation: cardOrientationSchema,
|
|
1543
1419
|
events: z.array(publicEventSchema)
|
|
1544
1420
|
});
|
|
@@ -1649,9 +1525,296 @@ function buildEventListingInteractiveIslandProps(props) {
|
|
|
1649
1525
|
});
|
|
1650
1526
|
}
|
|
1651
1527
|
//#endregion
|
|
1528
|
+
//#region ../blocks/src/system/blocks/events/recurring-schedule-projection.ts
|
|
1529
|
+
const weekdayOrder = [
|
|
1530
|
+
"Monday",
|
|
1531
|
+
"Tuesday",
|
|
1532
|
+
"Wednesday",
|
|
1533
|
+
"Thursday",
|
|
1534
|
+
"Friday",
|
|
1535
|
+
"Saturday",
|
|
1536
|
+
"Sunday"
|
|
1537
|
+
];
|
|
1538
|
+
const weekdayCodeOrder = [
|
|
1539
|
+
"MO",
|
|
1540
|
+
"TU",
|
|
1541
|
+
"WE",
|
|
1542
|
+
"TH",
|
|
1543
|
+
"FR",
|
|
1544
|
+
"SA",
|
|
1545
|
+
"SU"
|
|
1546
|
+
];
|
|
1547
|
+
const recurringScheduleWeekdaySchema = z.enum(weekdayOrder);
|
|
1548
|
+
const recurringScheduleSeriesIdSchema = z.string().transform((value, context) => {
|
|
1549
|
+
const parsed = parseEventSeriesId(value);
|
|
1550
|
+
if (parsed.ok) return parsed.value;
|
|
1551
|
+
context.addIssue({
|
|
1552
|
+
code: "custom",
|
|
1553
|
+
message: "Expected a valid event series ID"
|
|
1554
|
+
});
|
|
1555
|
+
return z.NEVER;
|
|
1556
|
+
});
|
|
1557
|
+
const recurringScheduleProjectionSchema = z.object({
|
|
1558
|
+
items: z.array(z.object({
|
|
1559
|
+
seriesId: recurringScheduleSeriesIdSchema,
|
|
1560
|
+
title: z.string(),
|
|
1561
|
+
venueName: z.string().nullable(),
|
|
1562
|
+
cadence: z.object({
|
|
1563
|
+
kind: z.literal("weekly"),
|
|
1564
|
+
weekday: recurringScheduleWeekdaySchema,
|
|
1565
|
+
weekdays: z.array(recurringScheduleWeekdaySchema).min(1).readonly().optional(),
|
|
1566
|
+
weekdayIndex: z.number().int().min(0).max(6),
|
|
1567
|
+
startTime: z.string(),
|
|
1568
|
+
endTime: z.string(),
|
|
1569
|
+
timeZone: z.string()
|
|
1570
|
+
}).readonly(),
|
|
1571
|
+
booking: z.discriminatedUnion("kind", [z.object({
|
|
1572
|
+
kind: z.literal("available"),
|
|
1573
|
+
destination: publicEventDestinationSchema
|
|
1574
|
+
}).readonly(), z.object({
|
|
1575
|
+
kind: z.literal("unavailable"),
|
|
1576
|
+
reason: z.literal("missing_destination")
|
|
1577
|
+
}).readonly()])
|
|
1578
|
+
}).readonly()).readonly(),
|
|
1579
|
+
diagnostics: z.array(z.object({
|
|
1580
|
+
seriesId: z.string(),
|
|
1581
|
+
reason: z.enum([
|
|
1582
|
+
"invalid_series_id",
|
|
1583
|
+
"insufficient_evidence",
|
|
1584
|
+
"inconsistent_weekday",
|
|
1585
|
+
"inconsistent_local_time",
|
|
1586
|
+
"inconsistent_weekly_interval",
|
|
1587
|
+
"inconsistent_recurrence",
|
|
1588
|
+
"unsupported_weekly_cadence",
|
|
1589
|
+
"inconsistent_timezone"
|
|
1590
|
+
])
|
|
1591
|
+
}).readonly()).readonly()
|
|
1592
|
+
}).readonly();
|
|
1593
|
+
const weekdayFormatterCache = /* @__PURE__ */ new Map();
|
|
1594
|
+
const timeFormatterCache = /* @__PURE__ */ new Map();
|
|
1595
|
+
const dateFormatterCache = /* @__PURE__ */ new Map();
|
|
1596
|
+
function weekdayFormatter(timeZone) {
|
|
1597
|
+
const cached = weekdayFormatterCache.get(timeZone);
|
|
1598
|
+
if (cached) return cached;
|
|
1599
|
+
const formatter = new Intl.DateTimeFormat("en-GB", {
|
|
1600
|
+
timeZone,
|
|
1601
|
+
weekday: "long"
|
|
1602
|
+
});
|
|
1603
|
+
weekdayFormatterCache.set(timeZone, formatter);
|
|
1604
|
+
return formatter;
|
|
1605
|
+
}
|
|
1606
|
+
function timeFormatter(timeZone) {
|
|
1607
|
+
const cached = timeFormatterCache.get(timeZone);
|
|
1608
|
+
if (cached) return cached;
|
|
1609
|
+
const formatter = new Intl.DateTimeFormat("en-GB", {
|
|
1610
|
+
timeZone,
|
|
1611
|
+
hour: "2-digit",
|
|
1612
|
+
minute: "2-digit",
|
|
1613
|
+
hourCycle: "h23"
|
|
1614
|
+
});
|
|
1615
|
+
timeFormatterCache.set(timeZone, formatter);
|
|
1616
|
+
return formatter;
|
|
1617
|
+
}
|
|
1618
|
+
function dateFormatter(timeZone) {
|
|
1619
|
+
const cached = dateFormatterCache.get(timeZone);
|
|
1620
|
+
if (cached) return cached;
|
|
1621
|
+
const formatter = new Intl.DateTimeFormat("en-GB", {
|
|
1622
|
+
timeZone,
|
|
1623
|
+
year: "numeric",
|
|
1624
|
+
month: "2-digit",
|
|
1625
|
+
day: "2-digit"
|
|
1626
|
+
});
|
|
1627
|
+
dateFormatterCache.set(timeZone, formatter);
|
|
1628
|
+
return formatter;
|
|
1629
|
+
}
|
|
1630
|
+
function localCalendarDay(value, timeZone) {
|
|
1631
|
+
const parts = dateFormatter(timeZone).formatToParts(value);
|
|
1632
|
+
const year = Number(parts.find((part) => part.type === "year")?.value);
|
|
1633
|
+
const month = Number(parts.find((part) => part.type === "month")?.value);
|
|
1634
|
+
const day = Number(parts.find((part) => part.type === "day")?.value);
|
|
1635
|
+
if (![
|
|
1636
|
+
year,
|
|
1637
|
+
month,
|
|
1638
|
+
day
|
|
1639
|
+
].every(Number.isInteger)) return null;
|
|
1640
|
+
return Math.floor(Date.UTC(year, month - 1, day) / 864e5);
|
|
1641
|
+
}
|
|
1642
|
+
function parseWeekday(value) {
|
|
1643
|
+
return weekdayOrder.find((weekday) => weekday === value) ?? null;
|
|
1644
|
+
}
|
|
1645
|
+
function localScheduleForEvent(event) {
|
|
1646
|
+
if (!event.timeZone) return null;
|
|
1647
|
+
try {
|
|
1648
|
+
const startsAt = new Date(event.startsAt);
|
|
1649
|
+
const weekday = parseWeekday(weekdayFormatter(event.timeZone).format(startsAt));
|
|
1650
|
+
const calendarDay = localCalendarDay(startsAt, event.timeZone);
|
|
1651
|
+
if (!weekday || calendarDay === null) return null;
|
|
1652
|
+
return {
|
|
1653
|
+
weekday,
|
|
1654
|
+
weekdayIndex: weekdayOrder.indexOf(weekday),
|
|
1655
|
+
startTime: timeFormatter(event.timeZone).format(startsAt),
|
|
1656
|
+
endTime: timeFormatter(event.timeZone).format(new Date(event.endsAt)),
|
|
1657
|
+
localCalendarDay: calendarDay,
|
|
1658
|
+
timeZone: event.timeZone
|
|
1659
|
+
};
|
|
1660
|
+
} catch {
|
|
1661
|
+
return null;
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
function bookingForEvent(event) {
|
|
1665
|
+
const destination = event.destination;
|
|
1666
|
+
return (destination.kind === "external" ? destination.url.trim().length > 0 : destination.path.trim().length > 0) ? {
|
|
1667
|
+
kind: "available",
|
|
1668
|
+
destination
|
|
1669
|
+
} : {
|
|
1670
|
+
kind: "unavailable",
|
|
1671
|
+
reason: "missing_destination"
|
|
1672
|
+
};
|
|
1673
|
+
}
|
|
1674
|
+
function bookingForEvents(events) {
|
|
1675
|
+
for (const event of events) {
|
|
1676
|
+
const booking = bookingForEvent(event);
|
|
1677
|
+
if (booking.kind === "available") return booking;
|
|
1678
|
+
}
|
|
1679
|
+
return {
|
|
1680
|
+
kind: "unavailable",
|
|
1681
|
+
reason: "missing_destination"
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
function compareEvents(left, right) {
|
|
1685
|
+
const timeDifference = Date.parse(left.startsAt) - Date.parse(right.startsAt);
|
|
1686
|
+
return timeDifference !== 0 ? timeDifference : left.occurrenceId.localeCompare(right.occurrenceId);
|
|
1687
|
+
}
|
|
1688
|
+
function recurrenceKey(event) {
|
|
1689
|
+
const recurrence = event.recurrence;
|
|
1690
|
+
if (!recurrence) return "none";
|
|
1691
|
+
return recurrence.kind === "other" ? recurrence.kind : `${recurrence.kind}:${recurrence.interval}:${recurrence.weekdays.join(",")}`;
|
|
1692
|
+
}
|
|
1693
|
+
function recurrenceRuleEvidence(seriesId, events, schedule) {
|
|
1694
|
+
if (new Set(events.map(recurrenceKey)).size > 1) return {
|
|
1695
|
+
seriesId,
|
|
1696
|
+
reason: "inconsistent_recurrence"
|
|
1697
|
+
};
|
|
1698
|
+
const recurrence = events[0]?.recurrence;
|
|
1699
|
+
if (!recurrence) return null;
|
|
1700
|
+
if (recurrence.kind !== "weekly" || recurrence.interval !== 1) return {
|
|
1701
|
+
seriesId,
|
|
1702
|
+
reason: "unsupported_weekly_cadence"
|
|
1703
|
+
};
|
|
1704
|
+
const weekdayCode = weekdayCodeOrder[schedule.weekdayIndex];
|
|
1705
|
+
if (recurrence.weekdays.length > 0 && !recurrence.weekdays.some((day) => day === weekdayCode)) return {
|
|
1706
|
+
seriesId,
|
|
1707
|
+
reason: "inconsistent_recurrence"
|
|
1708
|
+
};
|
|
1709
|
+
return true;
|
|
1710
|
+
}
|
|
1711
|
+
function seriesWeekdays(events, first) {
|
|
1712
|
+
const recurrence = events[0]?.recurrence;
|
|
1713
|
+
return recurrence?.kind === "weekly" && recurrence.weekdays.length > 0 ? weekdayOrder.filter((_, index) => recurrence.weekdays.some((day) => day === weekdayCodeOrder[index])) : [first.weekday];
|
|
1714
|
+
}
|
|
1715
|
+
function inconsistentSchedule(schedules, first, weekdays) {
|
|
1716
|
+
if (schedules.some((schedule) => !schedule || schedule.timeZone !== first.timeZone)) return "inconsistent_timezone";
|
|
1717
|
+
if (schedules.some((schedule) => schedule && !weekdays.includes(schedule.weekday))) return "inconsistent_weekday";
|
|
1718
|
+
return schedules.some((schedule) => schedule && (schedule.startTime !== first.startTime || schedule.endTime !== first.endTime)) ? "inconsistent_local_time" : null;
|
|
1719
|
+
}
|
|
1720
|
+
function projectSeries(seriesIdValue, events) {
|
|
1721
|
+
const parsedSeriesId = parseEventSeriesId(seriesIdValue);
|
|
1722
|
+
if (!parsedSeriesId.ok) return {
|
|
1723
|
+
seriesId: seriesIdValue,
|
|
1724
|
+
reason: "invalid_series_id"
|
|
1725
|
+
};
|
|
1726
|
+
const sortedEvents = [...events].sort(compareEvents);
|
|
1727
|
+
const first = sortedEvents[0];
|
|
1728
|
+
if (!first) return {
|
|
1729
|
+
seriesId: seriesIdValue,
|
|
1730
|
+
reason: "insufficient_evidence"
|
|
1731
|
+
};
|
|
1732
|
+
const schedules = sortedEvents.map(localScheduleForEvent);
|
|
1733
|
+
const firstSchedule = schedules[0];
|
|
1734
|
+
if (!firstSchedule) return {
|
|
1735
|
+
seriesId: seriesIdValue,
|
|
1736
|
+
reason: "inconsistent_timezone"
|
|
1737
|
+
};
|
|
1738
|
+
const ruleEvidence = recurrenceRuleEvidence(seriesIdValue, sortedEvents, firstSchedule);
|
|
1739
|
+
if (ruleEvidence !== null && ruleEvidence !== true) return ruleEvidence;
|
|
1740
|
+
if (ruleEvidence === null && sortedEvents.length < 2) return {
|
|
1741
|
+
seriesId: seriesIdValue,
|
|
1742
|
+
reason: "insufficient_evidence"
|
|
1743
|
+
};
|
|
1744
|
+
const weekdays = seriesWeekdays(sortedEvents, firstSchedule);
|
|
1745
|
+
const inconsistency = inconsistentSchedule(schedules, firstSchedule, weekdays);
|
|
1746
|
+
if (inconsistency) return {
|
|
1747
|
+
seriesId: seriesIdValue,
|
|
1748
|
+
reason: inconsistency
|
|
1749
|
+
};
|
|
1750
|
+
if (ruleEvidence === null) {
|
|
1751
|
+
const localDayIntervals = schedules.slice(1).map((schedule, index) => (schedule?.localCalendarDay ?? NaN) - (schedules[index]?.localCalendarDay ?? NaN));
|
|
1752
|
+
if (!localDayIntervals.includes(7) || localDayIntervals.some((days) => !Number.isInteger(days) || days <= 0 || days % 7 !== 0)) return {
|
|
1753
|
+
seriesId: seriesIdValue,
|
|
1754
|
+
reason: "inconsistent_weekly_interval"
|
|
1755
|
+
};
|
|
1756
|
+
}
|
|
1757
|
+
return {
|
|
1758
|
+
seriesId: parsedSeriesId.value,
|
|
1759
|
+
title: first.title,
|
|
1760
|
+
venueName: first.venue?.name ?? null,
|
|
1761
|
+
cadence: {
|
|
1762
|
+
kind: "weekly",
|
|
1763
|
+
weekday: weekdays[0] ?? firstSchedule.weekday,
|
|
1764
|
+
weekdayIndex: weekdayOrder.indexOf(weekdays[0] ?? firstSchedule.weekday),
|
|
1765
|
+
...weekdays.length > 1 ? { weekdays } : {},
|
|
1766
|
+
startTime: firstSchedule.startTime,
|
|
1767
|
+
endTime: firstSchedule.endTime,
|
|
1768
|
+
timeZone: firstSchedule.timeZone
|
|
1769
|
+
},
|
|
1770
|
+
booking: bookingForEvents(sortedEvents)
|
|
1771
|
+
};
|
|
1772
|
+
}
|
|
1773
|
+
function isDiagnostic(value) {
|
|
1774
|
+
return "reason" in value;
|
|
1775
|
+
}
|
|
1776
|
+
function projectRecurringSchedule(events) {
|
|
1777
|
+
const bySeries = /* @__PURE__ */ new Map();
|
|
1778
|
+
for (const event of events) {
|
|
1779
|
+
const current = bySeries.get(event.seriesId) ?? [];
|
|
1780
|
+
current.push(event);
|
|
1781
|
+
bySeries.set(event.seriesId, current);
|
|
1782
|
+
}
|
|
1783
|
+
const items = [];
|
|
1784
|
+
const diagnostics = [];
|
|
1785
|
+
for (const [seriesId, seriesEvents] of bySeries) {
|
|
1786
|
+
const projected = projectSeries(seriesId, seriesEvents);
|
|
1787
|
+
if (isDiagnostic(projected)) diagnostics.push(projected);
|
|
1788
|
+
else items.push(projected);
|
|
1789
|
+
}
|
|
1790
|
+
items.sort((left, right) => {
|
|
1791
|
+
const weekdayDifference = left.cadence.weekdayIndex - right.cadence.weekdayIndex;
|
|
1792
|
+
if (weekdayDifference !== 0) return weekdayDifference;
|
|
1793
|
+
const timeDifference = left.cadence.startTime.localeCompare(right.cadence.startTime);
|
|
1794
|
+
if (timeDifference !== 0) return timeDifference;
|
|
1795
|
+
const titleDifference = left.title.localeCompare(right.title);
|
|
1796
|
+
return titleDifference !== 0 ? titleDifference : left.seriesId.localeCompare(right.seriesId);
|
|
1797
|
+
});
|
|
1798
|
+
diagnostics.sort((left, right) => {
|
|
1799
|
+
const seriesDifference = left.seriesId.localeCompare(right.seriesId);
|
|
1800
|
+
return seriesDifference !== 0 ? seriesDifference : left.reason.localeCompare(right.reason);
|
|
1801
|
+
});
|
|
1802
|
+
return {
|
|
1803
|
+
items,
|
|
1804
|
+
diagnostics
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
//#endregion
|
|
1652
1808
|
//#region ../blocks/src/system/runtime/nodes/events/EventCalendar.interactive.ts
|
|
1809
|
+
const eventCalendarDateContextSchema = z.object({
|
|
1810
|
+
locale: z.string(),
|
|
1811
|
+
timeZone: z.string().transform(resolveBookingBusinessTimeZone)
|
|
1812
|
+
});
|
|
1653
1813
|
const eventCalendarSourceSchema = z.object({
|
|
1654
1814
|
...eventCollectionSourceSchemaShape,
|
|
1815
|
+
dateContext: eventCalendarDateContextSchema.optional(),
|
|
1816
|
+
schedule: recurringScheduleProjectionSchema.nullable().optional(),
|
|
1817
|
+
seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
|
|
1655
1818
|
effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
|
|
1656
1819
|
listBy: z.enum(["upcoming", "week"]).optional(),
|
|
1657
1820
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
@@ -1665,6 +1828,9 @@ const eventCalendarSourceSchema = z.object({
|
|
|
1665
1828
|
banded: z.boolean().nullable().optional()
|
|
1666
1829
|
});
|
|
1667
1830
|
const eventCalendarDisplaySchema = z.object({
|
|
1831
|
+
dateContext: eventCalendarDateContextSchema.optional(),
|
|
1832
|
+
schedule: recurringScheduleProjectionSchema.optional(),
|
|
1833
|
+
seeAllButtonVariant: eventButtonVariantSchema,
|
|
1668
1834
|
listBy: z.literal("week").optional(),
|
|
1669
1835
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
1670
1836
|
kind: z.literal("event-calendar"),
|
|
@@ -1710,6 +1876,7 @@ function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.
|
|
|
1710
1876
|
}),
|
|
1711
1877
|
...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
|
|
1712
1878
|
...calendarListGrouping(source),
|
|
1879
|
+
...calendarRecurringWeekPresentation(source),
|
|
1713
1880
|
kind: "event-calendar",
|
|
1714
1881
|
displayMode: resolveEventCalendarReadPlan(source).mode,
|
|
1715
1882
|
className: source.className ?? null,
|
|
@@ -1811,6 +1978,14 @@ function calendarListGrouping(source) {
|
|
|
1811
1978
|
arrangementLooks: source.lookSlots !== void 0
|
|
1812
1979
|
}).grouping === "week" ? { listBy: "week" } : {};
|
|
1813
1980
|
}
|
|
1981
|
+
/** The week presentation owns the series projection and its independent header action. */
|
|
1982
|
+
function calendarRecurringWeekPresentation(source) {
|
|
1983
|
+
return {
|
|
1984
|
+
...source.dateContext ? { dateContext: source.dateContext } : {},
|
|
1985
|
+
schedule: source.schedule ?? void 0,
|
|
1986
|
+
seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1814
1989
|
//#endregion
|
|
1815
1990
|
//#region ../blocks/src/system/runtime/nodes/events/EventCombined.interactive.ts
|
|
1816
1991
|
const eventCombinedSourceSchema = z.object({ ...eventCollectionSourceSchemaShape });
|
|
@@ -3761,8 +3936,9 @@ function deriveCommerceCheckoutState(state) {
|
|
|
3761
3936
|
items: state.items
|
|
3762
3937
|
};
|
|
3763
3938
|
}
|
|
3764
|
-
function resolveSelectedProduct(products,
|
|
3765
|
-
const
|
|
3939
|
+
function resolveSelectedProduct(products, selection) {
|
|
3940
|
+
const contentEntry = selection.template.kind === "product" ? selection.contentEntry : null;
|
|
3941
|
+
const explicitSlug = selection.productSlug?.trim() || null;
|
|
3766
3942
|
if (contentEntry?.id) {
|
|
3767
3943
|
const byEntryId = products.find((product) => product.contentEntryId === contentEntry.id);
|
|
3768
3944
|
if (byEntryId) return byEntryId;
|
|
@@ -3775,7 +3951,7 @@ function resolveSelectedProduct(products, contentEntry, productSlug) {
|
|
|
3775
3951
|
const byEntrySlug = products.find((product) => product.slug === contentEntry.slug);
|
|
3776
3952
|
if (byEntrySlug) return byEntrySlug;
|
|
3777
3953
|
}
|
|
3778
|
-
return
|
|
3954
|
+
return null;
|
|
3779
3955
|
}
|
|
3780
3956
|
//#endregion
|
|
3781
3957
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/display.ts
|
|
@@ -4102,6 +4278,7 @@ const shopSourceSchema = z.object({
|
|
|
4102
4278
|
checkoutButtonText: z.string().optional(),
|
|
4103
4279
|
clearButtonText: z.string().optional(),
|
|
4104
4280
|
submitButtonText: z.string().optional(),
|
|
4281
|
+
template: z.discriminatedUnion("kind", [z.object({ kind: z.literal("product") }), z.object({ kind: z.literal("page") })]).optional(),
|
|
4105
4282
|
contentEntry: contentEntrySchema.optional(),
|
|
4106
4283
|
passes: z.array(publicPassProductSchema).nullable().optional(),
|
|
4107
4284
|
memberships: z.array(publicMembershipProductSchema).nullable().optional(),
|
|
@@ -4382,7 +4559,11 @@ const productDetailBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
4382
4559
|
render: createZodCodec(productDetailRenderSchema)
|
|
4383
4560
|
},
|
|
4384
4561
|
buildRender: (source) => {
|
|
4385
|
-
const product = resolveSelectedProduct(source.products ?? [],
|
|
4562
|
+
const product = resolveSelectedProduct(source.products ?? [], {
|
|
4563
|
+
template: source.template ?? { kind: "page" },
|
|
4564
|
+
contentEntry: source.contentEntry ?? null,
|
|
4565
|
+
productSlug: source.productSlug ?? null
|
|
4566
|
+
});
|
|
4386
4567
|
return {
|
|
4387
4568
|
display: buildProductDetailDisplay(product, {
|
|
4388
4569
|
heading: source.heading,
|
|
@@ -4605,4 +4786,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
4605
4786
|
};
|
|
4606
4787
|
}
|
|
4607
4788
|
//#endregion
|
|
4608
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $,
|
|
4789
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, resolveEventSelection as $t, parseStoredCommerceCartState as A, recurringScheduleProjectionSchema as At, giftingBlockRuntime as B, listingEventCardProps as Bt, membershipCardListContent as C, eventCombinedInteractiveIslandPropsCodec as Ct, buildPassCartItem as D, eventCalendarBlockRuntime as Dt, EMPTY_COMMERCE_CART_STATE as E, buildEventCalendarListingRender as Et, buildNewsletterFormInteractiveIslandProps as F, getEventRuntimeFiltersKey as Ft, formInteractiveIslandPropsCodec as G, MediaNodeServer as Gt, publicGiftingOffersResponseSchema as H, CardListLeadDate as Ht, newsletterBlockSubmissionMessage as I, normalizeCsvIds as It, displayButtonText as J, Grid as Jt, buildEventRegistrationDisplayFromScopedEvents as K, getCardOrientation as Kt, newsletterFormBlockRuntime as L, normalizeCsvString as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, eventCalendarInteractiveIslandPropsCodec as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, buildEventRuntimeFilters as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, formatEventPriceDisplay as Qt, newsletterFormInteractiveIslandPropsCodec as R, normalizeOptionalId as Rt, formatInterval as S, eventCombinedBlockRuntime as St, passCardListContent as T, buildEventCalendarListingDisplay as Tt, buildFormInteractiveIslandProps as U, resolveCardListSchedule as Ut, giftingInteractiveIslandPropsCodec as V, CardListContentPart as Vt, formBlockRuntime as W, selectCardListPresentation as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPrice as Xt, eventRegistrationBlockRuntime as Y, buildEventListWeek as Yt, offeringNounForEvent as Z, formatEventPriceAmount as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, planSiteChromePlacement as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedInteractiveIslandProps as bt, checkoutBlockRuntime as c, publicPassProductCollectionSchema as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseMailingListPlacementTargeting as dn, resolveOfferingsRenderInput as dt, headerChromeRuntimeContractSchema as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, parseMailingListVisitorSelection as fn, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, bookingEntry as ht, buildProductListInteractiveIslandProps as i, parseHeaderPositioning as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, projectRecurringSchedule as kt, checkoutInteractiveIslandPropsCodec as l, buildMailingListSignupBlockSourceRef as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, sameMailingListPlacementTargeting as mn, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, resolveHeaderChromeRuntimeContract as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, splitSiteChromePlacementClasses as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, DEFAULT_MAILING_LIST_TARGETING as pn, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, getContainerClass as qt, buildProductDetailInteractiveIslandProps as r, staticHeaderChromeRuntime as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, publicMembershipProductCollectionSchema as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, isHeaderScrollRuntimeEnabled as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, assessMailingListTargeting as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, formatBookingSchedulePresentation as vt, membershipClassesLabel as w, buildEventCalendarInteractiveIslandProps as wt, formatCommercePrice as x, buildEventCombinedListingDisplay as xt, buildProductCardDisplay as y, occurrenceContextSchema as yt, buildGiftingInteractiveIslandProps as z, catalogueEventCardProps as zt };
|