@riverbankcms/sdk 0.177.0 → 0.179.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 +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-sYraeqm9.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
- package/dist/_dts/{Page-Bp7hTDTy.d.ts → Page-lWenra5i.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CxkCCyKw.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
- package/dist/_dts/{client-K6UhbL3t.d.ts → client-qWn7xAwJ.d.ts} +77 -23
- package/dist/_dts/{content-types-BLAdIMyr.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
- package/dist/_dts/{contracts-BG7yTZ6t.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-X_WpGzZZ.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
- package/dist/_dts/{index--n-wV8Xd.d.ts → index-7CDBZGb-.d.ts} +1 -1
- package/dist/_dts/{index-Bygd2RCg.d.ts → index-BU9uAkHB.d.ts} +4 -4
- package/dist/_dts/{index-BMGif2r3.d.ts → index-BYnG_vF5.d.ts} +1 -1
- package/dist/_dts/{index-CBRbZJ6u.d.ts → index-CZgJrhzT.d.ts} +4 -2
- package/dist/_dts/{index-BLseXObg.d.ts → index-CaCum9mM.d.ts} +2 -2
- package/dist/_dts/{index-BpAW9AKB.d.ts → index-DCiSHd-C.d.ts} +1 -1
- package/dist/_dts/{index-CX9bp60k.d.ts → index-DVSipdrT.d.ts} +3 -3
- package/dist/_dts/{loadContent-uhUThWaq.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
- package/dist/_dts/{request-Bf9YImJw.d.ts → request-BjKBCS7t.d.ts} +1687 -373
- package/dist/_dts/{resolveBlockData-D6M5NMZB.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- package/dist/_dts/sdk/src/client.d.ts +7 -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/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +32 -12
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- 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/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
- package/dist/_dts/{types-C1l2Sm2h.d.ts → types-B7e6Lmo5.d.ts} +3 -3
- package/dist/_dts/{types-DgV8P2mz.d.ts → types-BOxSq-Bq.d.ts} +8 -7
- package/dist/_dts/{types-BdZ5pJSk.d.ts → types-CT-KOxl_.d.ts} +5 -39
- package/dist/_dts/{validation-BtbZIT5f.d.ts → validation-Dz6qccue.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +43 -10
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-yoSI77ov.mjs} +11 -11
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-HeCNlliq.mjs} +11 -11
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-Duhk1vnF.mjs} +247 -7
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +439 -123
- package/dist/client/{Page-C03rc6jw.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-2Dl9zon2.mjs} +80 -33
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-B6SqU49k.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-drZBwEZW.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-C-YJliD-.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-acGFWK9R.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-BzlOGP2j.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-SEontwhy.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
- package/dist/client/client.mjs +469 -320
- package/dist/client/{context-R9p5c8IH.mjs → context-DTrwaQtg.mjs} +2 -1
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +5 -4
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-RLZQWi2V.mjs} +121 -183
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-CphYnImh.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-BvqjASB_.mjs} +4 -4
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-BaNAoC_M.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BbUUt784.mjs → form-DyH2juYT.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-DBwzkB0M.mjs} +5 -5
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-CY4kX3mh.mjs} +3 -3
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-CTEN7gxW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -6
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-CIx4V378.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-DGcJfRS8.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3970 -3997
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
- package/dist/client/portal/client.mjs +346 -21
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-DjuFvkey.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-DE9GEFoZ.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-BPwV-0Pp.mjs} +10426 -9114
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-C3wM0Hr4.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-C0v88nLd.mjs} +14 -14
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Ct-BRNez.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-CaQxI-Js.mjs → src-CCtanNlD.mjs} +462 -455
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-lhE29TNT.mjs} +66 -12
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
- package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
- package/dist/client/{view-3foOzGWR.mjs → view-LJVHVqsy.mjs} +4 -4
- package/dist/client/{display-4HYOb-AK.mjs → wizardSteps-CNDsxeJH.mjs} +9168 -8981
- package/dist/preview-next/before-render.mjs +4 -3
- package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BUVFKZ4k.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +15 -13
- package/dist/preview-next/client/{PreviewEditorUI-292pOiSt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-CW0Yzj3h.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Dba7zoZK.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-B-utyhbS.mjs → previewAssistantSlot-aqpU34WI.mjs} +1764 -1090
- package/dist/preview-next/client/{previewChromeRoot-CCoGydUD.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DCpXVcA0.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-sjOvRAHY.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-R1rZ9-IZ.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BS7CANPv.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BSSbtz6A.mjs → route-contract-DnL-FgSV.mjs} +83 -11
- package/dist/server/{Block.shared-Dc3DX7Cf.mjs → Block.shared-BEbq6EwO.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-Bly0dRs7.mjs} +36 -5
- package/dist/server/{client-BPLLL22F.mjs → client-CGJ2ztYp.mjs} +1021 -1118
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-DTLe0FEs.mjs} +22 -4
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +103 -100
- package/dist/server/{overrideResolution-CkpwAHvW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-JzxBnqfV.mjs} +19 -7
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
- package/dist/server/{pageShared-6z6JBU41.mjs → pageShared-DU4ETFPS.mjs} +89 -83
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-B4_Llisx.mjs → prebuild-8jNtDXmS.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-DH1VrsCl.mjs} +587 -329
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
- package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-CxASA3PE.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
- package/dist/server/{validation-BvHio6QI.mjs → validation-3jOzYdPL.mjs} +3 -3
- package/dist/server/{version-SuFlio6n.mjs → version-8t0o6_jd.mjs} +1 -1
- package/dist/styles/index.css +19 -0
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-DwMHeYmQ.d.ts +0 -256
- package/dist/_dts/resolvePageContent-DkzWvFbG.d.ts +0 -162
- package/dist/client/LocationMapActions-myIQIvQL.mjs +0 -62
- package/dist/client/MapDrawingSvg-BfsVyPvB.mjs +0 -200
- package/dist/client/course-CUFVJEAc.mjs +0 -237
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwjBJP-f.mjs +0 -53
- package/dist/client/eventDetails-C2LfNW_o.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/client/useDiscountCodeUi-I_mXI9Yd.mjs +0 -237
- package/dist/client/view-BbzH5MQb.mjs +0 -1371
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
|
@@ -785,58 +785,6 @@ function servicePageDestination(value) {
|
|
|
785
785
|
return mode === "cms-managed" || mode === "system-managed" ? { serviceDestinationMode: mode } : {};
|
|
786
786
|
}
|
|
787
787
|
//#endregion
|
|
788
|
-
//#region ../core/src/booking-instalments.ts
|
|
789
|
-
function isDepositBearingBookingInstalmentPlan(plan) {
|
|
790
|
-
switch (plan.kind) {
|
|
791
|
-
case "deposit_plus_one_remainder":
|
|
792
|
-
case "deposit_plus_scheduled_instalments": return true;
|
|
793
|
-
case "equal_scheduled_instalments": return false;
|
|
794
|
-
default: return assertNever(plan);
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
function getBookingInstalmentProtectedDepositAmountCents(plan) {
|
|
798
|
-
return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositAmountCents : null;
|
|
799
|
-
}
|
|
800
|
-
function assertNever(value) {
|
|
801
|
-
throw new Error(`Unexpected value: ${String(value)}`);
|
|
802
|
-
}
|
|
803
|
-
//#endregion
|
|
804
|
-
//#region ../core/src/booking-payment-options.ts
|
|
805
|
-
/**
|
|
806
|
-
* One way a customer may pay for a booking. This is the single definition of
|
|
807
|
-
* the option type; `booking-payment-schemas.typetest.ts` keeps it equal to the
|
|
808
|
-
* schema's output in both directions.
|
|
809
|
-
*/
|
|
810
|
-
/** When a course's instalments must all be paid by: before its first or its last live session. */
|
|
811
|
-
const BOOKING_COURSE_INSTALMENT_DEADLINES = ["first_session", "last_session"];
|
|
812
|
-
/** Automatic instalments and a flexible balance cannot share one booking offer. */
|
|
813
|
-
function validateBookingPaymentOptionKinds(kinds) {
|
|
814
|
-
if (kinds.length === 0) return err("no_options");
|
|
815
|
-
const uniqueKinds = new Set(kinds);
|
|
816
|
-
if (uniqueKinds.size !== kinds.length) return err("duplicate_kind");
|
|
817
|
-
if (uniqueKinds.has("instalment_plan") && uniqueKinds.has("flexible_balance")) return err("incompatible_collection_options");
|
|
818
|
-
return ok$1(void 0);
|
|
819
|
-
}
|
|
820
|
-
//#endregion
|
|
821
|
-
//#region ../core/src/booking-date-time/instant.ts
|
|
822
|
-
function parseUtcIsoDateTimeString(value) {
|
|
823
|
-
const normalized = value.trim();
|
|
824
|
-
const hasUtcSuffix = normalized.endsWith("Z");
|
|
825
|
-
const hasExplicitOffset = /[+-]\d{2}:\d{2}$/u.test(normalized);
|
|
826
|
-
if (!hasUtcSuffix && !hasExplicitOffset) return err("missing-timezone-offset");
|
|
827
|
-
const date = new Date(normalized);
|
|
828
|
-
if (Number.isNaN(date.getTime())) return err("invalid-date-time");
|
|
829
|
-
return ok$1(date.toISOString());
|
|
830
|
-
}
|
|
831
|
-
function toUtcIsoDateTimeString(value) {
|
|
832
|
-
const parsed = parseUtcIsoDateTimeString(value);
|
|
833
|
-
if (!parsed.ok) {
|
|
834
|
-
const message = parsed.error === "missing-timezone-offset" ? `Expected an offset-aware ISO datetime, received "${value}"` : `Expected a valid ISO datetime, received "${value}"`;
|
|
835
|
-
throw new Error(message);
|
|
836
|
-
}
|
|
837
|
-
return parsed.value;
|
|
838
|
-
}
|
|
839
|
-
//#endregion
|
|
840
788
|
//#region ../core/src/date-time-formatter.ts
|
|
841
789
|
/** Shared Intl engine, internal to core's date presentation owners. */
|
|
842
790
|
const FORMATTER_CACHE_LIMIT = 100;
|
|
@@ -922,6 +870,25 @@ function resolveBookingBusinessTimeZone(value) {
|
|
|
922
870
|
return resolveBookingTimeZoneId(value, DEFAULT_BOOKING_BUSINESS_TIME_ZONE);
|
|
923
871
|
}
|
|
924
872
|
//#endregion
|
|
873
|
+
//#region ../core/src/booking-date-time/instant.ts
|
|
874
|
+
function parseUtcIsoDateTimeString(value) {
|
|
875
|
+
const normalized = value.trim();
|
|
876
|
+
const hasUtcSuffix = normalized.endsWith("Z");
|
|
877
|
+
const hasExplicitOffset = /[+-]\d{2}:\d{2}$/u.test(normalized);
|
|
878
|
+
if (!hasUtcSuffix && !hasExplicitOffset) return err("missing-timezone-offset");
|
|
879
|
+
const date = new Date(normalized);
|
|
880
|
+
if (Number.isNaN(date.getTime())) return err("invalid-date-time");
|
|
881
|
+
return ok$1(date.toISOString());
|
|
882
|
+
}
|
|
883
|
+
function toUtcIsoDateTimeString(value) {
|
|
884
|
+
const parsed = parseUtcIsoDateTimeString(value);
|
|
885
|
+
if (!parsed.ok) {
|
|
886
|
+
const message = parsed.error === "missing-timezone-offset" ? `Expected an offset-aware ISO datetime, received "${value}"` : `Expected a valid ISO datetime, received "${value}"`;
|
|
887
|
+
throw new Error(message);
|
|
888
|
+
}
|
|
889
|
+
return parsed.value;
|
|
890
|
+
}
|
|
891
|
+
//#endregion
|
|
925
892
|
//#region ../core/src/booking-date-time/local.ts
|
|
926
893
|
const LOCAL_DATE_PATTERN = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})$/u;
|
|
927
894
|
function getZonedDateTimeParts(date, timeZone) {
|
|
@@ -1010,59 +977,6 @@ function resolveLocalInstant(targetLocalMs, timeZone, guess, seen) {
|
|
|
1010
977
|
return resolveLocalInstant(targetLocalMs, timeZone, nextGuess, [...seen, guess]);
|
|
1011
978
|
}
|
|
1012
979
|
//#endregion
|
|
1013
|
-
//#region ../core/src/booking-date-time/window.ts
|
|
1014
|
-
const START_OF_DAY = {
|
|
1015
|
-
hour: 0,
|
|
1016
|
-
minute: 0,
|
|
1017
|
-
second: 0
|
|
1018
|
-
};
|
|
1019
|
-
function parseWindowDate(value, field) {
|
|
1020
|
-
try {
|
|
1021
|
-
return {
|
|
1022
|
-
ok: true,
|
|
1023
|
-
value: parseBookingLocalDate(value)
|
|
1024
|
-
};
|
|
1025
|
-
} catch {
|
|
1026
|
-
return {
|
|
1027
|
-
ok: false,
|
|
1028
|
-
field,
|
|
1029
|
-
reason: "invalid_date_format",
|
|
1030
|
-
value
|
|
1031
|
-
};
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
function parseBookingUtcDateWindow(input) {
|
|
1035
|
-
const timeZone = resolveBookingTimeZoneId(input.timeZone);
|
|
1036
|
-
const start = parseWindowDate(input.startDate, "startDate");
|
|
1037
|
-
if (!start.ok) return start;
|
|
1038
|
-
const end = parseWindowDate(input.endDate, "endDate");
|
|
1039
|
-
if (!end.ok) return end;
|
|
1040
|
-
const startLocalDate = start.value;
|
|
1041
|
-
const endLocalDate = end.value;
|
|
1042
|
-
if (compareLocalScheduleDates(startLocalDate, endLocalDate) > 0) return {
|
|
1043
|
-
ok: false,
|
|
1044
|
-
field: "endDate",
|
|
1045
|
-
reason: "invalid_date_range",
|
|
1046
|
-
value: input.endDate
|
|
1047
|
-
};
|
|
1048
|
-
return {
|
|
1049
|
-
ok: true,
|
|
1050
|
-
value: {
|
|
1051
|
-
timeZone,
|
|
1052
|
-
startLocalDate,
|
|
1053
|
-
endLocalDate,
|
|
1054
|
-
startAt: localScheduleDateTimeToUtcDate(startLocalDate, START_OF_DAY, timeZone),
|
|
1055
|
-
endExclusive: localScheduleDateTimeToUtcDate(addLocalScheduleDays(endLocalDate, 1), START_OF_DAY, timeZone)
|
|
1056
|
-
}
|
|
1057
|
-
};
|
|
1058
|
-
}
|
|
1059
|
-
function buildBookingUtcDateWindow(input) {
|
|
1060
|
-
const result = parseBookingUtcDateWindow(input);
|
|
1061
|
-
if (result.ok) return result.value;
|
|
1062
|
-
if (result.reason === "invalid_date_range") throw new Error(`Invalid booking date range: startDate "${input.startDate}" must be on or before endDate "${input.endDate}"`);
|
|
1063
|
-
throw new Error(`Invalid booking date format: "${result.value}" (expected YYYY-MM-DD)`);
|
|
1064
|
-
}
|
|
1065
|
-
//#endregion
|
|
1066
980
|
//#region ../core/src/booking-date-time/scheduled.ts
|
|
1067
981
|
function parseStrictBookingTimeZone(timeZone) {
|
|
1068
982
|
const parsed = parseBookingTimeZone(timeZone);
|
|
@@ -1165,6 +1079,31 @@ function resolveBookingDisplayContext(input) {
|
|
|
1165
1079
|
zone: input.surface !== "dashboard" && input.isOnline || input.sessionTimeZone !== input.siteTimeZone ? "always" : "omit"
|
|
1166
1080
|
};
|
|
1167
1081
|
}
|
|
1082
|
+
/** Dashboard and assistant site dates read in British English, whatever the site's own language. */
|
|
1083
|
+
const SITE_DISPLAY_LOCALE = "en-GB";
|
|
1084
|
+
/** The site display policy: `en-GB` in the given zone, falling back to the business zone the server uses. */
|
|
1085
|
+
function siteDisplayContext(timeZone) {
|
|
1086
|
+
return {
|
|
1087
|
+
locale: SITE_DISPLAY_LOCALE,
|
|
1088
|
+
timeZone: resolveBookingBusinessTimeZone(timeZone)
|
|
1089
|
+
};
|
|
1090
|
+
}
|
|
1091
|
+
/** A stored instant as a site date, `22 Sept 2026` by default; an unparseable value is shown as it came. */
|
|
1092
|
+
function formatSiteInstantDate(iso, timeZone, options = {}) {
|
|
1093
|
+
const parsed = parseUtcIsoDateTimeString(iso);
|
|
1094
|
+
return parsed.ok ? formatDate$2({
|
|
1095
|
+
kind: "instant",
|
|
1096
|
+
value: parsed.value
|
|
1097
|
+
}, siteDisplayContext(timeZone), {
|
|
1098
|
+
date: "short",
|
|
1099
|
+
...options
|
|
1100
|
+
}) : iso;
|
|
1101
|
+
}
|
|
1102
|
+
/** A stored instant as a site time, `2:05pm` without a zone label by default; an unparseable value is shown as it came. */
|
|
1103
|
+
function formatSiteInstantTime(iso, timeZone, options = { zone: "omit" }) {
|
|
1104
|
+
const parsed = parseUtcIsoDateTimeString(iso);
|
|
1105
|
+
return parsed.ok ? formatTime$1(parsed.value, siteDisplayContext(timeZone), options) : iso;
|
|
1106
|
+
}
|
|
1168
1107
|
function formatDate$2(value, context, options = {}) {
|
|
1169
1108
|
return presentDate(value, context, displayProfile(options, "omit"));
|
|
1170
1109
|
}
|
|
@@ -1369,6 +1308,129 @@ function assertOrdered(start, end) {
|
|
|
1369
1308
|
function formatTimeZoneCityLabel(timeZone) {
|
|
1370
1309
|
return timeZone.startsWith("Etc/") ? "local time" : `${timeZone.split("/").slice(-1)[0]?.replace(/_/gu, " ") ?? timeZone} time`;
|
|
1371
1310
|
}
|
|
1311
|
+
const MS_PER_HOUR = 36e5;
|
|
1312
|
+
const MS_PER_WEEK = 168 * MS_PER_HOUR;
|
|
1313
|
+
/** The instant bookings stop for something starting at `startsAt`. */
|
|
1314
|
+
function bookingClosesAt(startsAt, cutOffHours) {
|
|
1315
|
+
return (/* @__PURE__ */ new Date(Date.parse(startsAt) - cutOffHours * MS_PER_HOUR)).toISOString();
|
|
1316
|
+
}
|
|
1317
|
+
/** Closing is inclusive, matching the gate: at the exact instant it has closed. */
|
|
1318
|
+
function hasBookingClosed(closesAt, now) {
|
|
1319
|
+
return Date.parse(closesAt) <= now.getTime();
|
|
1320
|
+
}
|
|
1321
|
+
/** The whole hours between closing and the start, for "2 hours before the start". */
|
|
1322
|
+
function bookingCutOffHoursBetween(startsAt, closesAt) {
|
|
1323
|
+
return Math.round((Date.parse(startsAt) - Date.parse(closesAt)) / MS_PER_HOUR);
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* When bookings closed, in the event's own time zone: "5pm" on the day it starts,
|
|
1327
|
+
* "7pm on Tuesday" earlier in the week, and with the date if it's further back
|
|
1328
|
+
* than that, when a weekday alone could mean the wrong one.
|
|
1329
|
+
*/
|
|
1330
|
+
function formatBookingClosedTime(closesAt, startsAt, timeZone) {
|
|
1331
|
+
const time = formatSiteInstantTime(closesAt, timeZone);
|
|
1332
|
+
const dayOf = (iso) => formatSiteInstantDate(iso, timeZone);
|
|
1333
|
+
if (dayOf(closesAt) === dayOf(startsAt)) return time;
|
|
1334
|
+
return `${time} on ${formatSiteInstantDate(closesAt, timeZone, Date.parse(startsAt) - Date.parse(closesAt) >= MS_PER_WEEK ? {
|
|
1335
|
+
date: "long",
|
|
1336
|
+
weekday: "long",
|
|
1337
|
+
year: "omit"
|
|
1338
|
+
} : {
|
|
1339
|
+
date: "omit",
|
|
1340
|
+
weekday: "long",
|
|
1341
|
+
year: "omit"
|
|
1342
|
+
})}`;
|
|
1343
|
+
}
|
|
1344
|
+
/** "1 hour" or "24 hours". */
|
|
1345
|
+
function formatBookingCutOffHours(hours) {
|
|
1346
|
+
return hours === 1 ? "1 hour" : `${hours} hours`;
|
|
1347
|
+
}
|
|
1348
|
+
//#endregion
|
|
1349
|
+
//#region ../core/src/booking-instalments.ts
|
|
1350
|
+
function isDepositBearingBookingInstalmentPlan(plan) {
|
|
1351
|
+
switch (plan.kind) {
|
|
1352
|
+
case "deposit_plus_one_remainder":
|
|
1353
|
+
case "deposit_plus_scheduled_instalments": return true;
|
|
1354
|
+
case "equal_scheduled_instalments": return false;
|
|
1355
|
+
default: return assertNever(plan);
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
function getBookingInstalmentProtectedDepositAmountCents(plan) {
|
|
1359
|
+
return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositAmountCents : null;
|
|
1360
|
+
}
|
|
1361
|
+
function assertNever(value) {
|
|
1362
|
+
throw new Error(`Unexpected value: ${String(value)}`);
|
|
1363
|
+
}
|
|
1364
|
+
//#endregion
|
|
1365
|
+
//#region ../core/src/booking-payment-options.ts
|
|
1366
|
+
/**
|
|
1367
|
+
* One way a customer may pay for a booking. This is the single definition of
|
|
1368
|
+
* the option type; `booking-payment-schemas.typetest.ts` keeps it equal to the
|
|
1369
|
+
* schema's output in both directions.
|
|
1370
|
+
*/
|
|
1371
|
+
/** When a course's instalments must all be paid by: before its first or its last live session. */
|
|
1372
|
+
const BOOKING_COURSE_INSTALMENT_DEADLINES = ["first_session", "last_session"];
|
|
1373
|
+
/** Automatic instalments and a flexible balance cannot share one booking offer. */
|
|
1374
|
+
function validateBookingPaymentOptionKinds(kinds) {
|
|
1375
|
+
if (kinds.length === 0) return err("no_options");
|
|
1376
|
+
const uniqueKinds = new Set(kinds);
|
|
1377
|
+
if (uniqueKinds.size !== kinds.length) return err("duplicate_kind");
|
|
1378
|
+
if (uniqueKinds.has("instalment_plan") && uniqueKinds.has("flexible_balance")) return err("incompatible_collection_options");
|
|
1379
|
+
return ok$1(void 0);
|
|
1380
|
+
}
|
|
1381
|
+
//#endregion
|
|
1382
|
+
//#region ../core/src/booking-date-time/window.ts
|
|
1383
|
+
const START_OF_DAY = {
|
|
1384
|
+
hour: 0,
|
|
1385
|
+
minute: 0,
|
|
1386
|
+
second: 0
|
|
1387
|
+
};
|
|
1388
|
+
function parseWindowDate(value, field) {
|
|
1389
|
+
try {
|
|
1390
|
+
return {
|
|
1391
|
+
ok: true,
|
|
1392
|
+
value: parseBookingLocalDate(value)
|
|
1393
|
+
};
|
|
1394
|
+
} catch {
|
|
1395
|
+
return {
|
|
1396
|
+
ok: false,
|
|
1397
|
+
field,
|
|
1398
|
+
reason: "invalid_date_format",
|
|
1399
|
+
value
|
|
1400
|
+
};
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
function parseBookingUtcDateWindow(input) {
|
|
1404
|
+
const timeZone = resolveBookingTimeZoneId(input.timeZone);
|
|
1405
|
+
const start = parseWindowDate(input.startDate, "startDate");
|
|
1406
|
+
if (!start.ok) return start;
|
|
1407
|
+
const end = parseWindowDate(input.endDate, "endDate");
|
|
1408
|
+
if (!end.ok) return end;
|
|
1409
|
+
const startLocalDate = start.value;
|
|
1410
|
+
const endLocalDate = end.value;
|
|
1411
|
+
if (compareLocalScheduleDates(startLocalDate, endLocalDate) > 0) return {
|
|
1412
|
+
ok: false,
|
|
1413
|
+
field: "endDate",
|
|
1414
|
+
reason: "invalid_date_range",
|
|
1415
|
+
value: input.endDate
|
|
1416
|
+
};
|
|
1417
|
+
return {
|
|
1418
|
+
ok: true,
|
|
1419
|
+
value: {
|
|
1420
|
+
timeZone,
|
|
1421
|
+
startLocalDate,
|
|
1422
|
+
endLocalDate,
|
|
1423
|
+
startAt: localScheduleDateTimeToUtcDate(startLocalDate, START_OF_DAY, timeZone),
|
|
1424
|
+
endExclusive: localScheduleDateTimeToUtcDate(addLocalScheduleDays(endLocalDate, 1), START_OF_DAY, timeZone)
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
function buildBookingUtcDateWindow(input) {
|
|
1429
|
+
const result = parseBookingUtcDateWindow(input);
|
|
1430
|
+
if (result.ok) return result.value;
|
|
1431
|
+
if (result.reason === "invalid_date_range") throw new Error(`Invalid booking date range: startDate "${input.startDate}" must be on or before endDate "${input.endDate}"`);
|
|
1432
|
+
throw new Error(`Invalid booking date format: "${result.value}" (expected YYYY-MM-DD)`);
|
|
1433
|
+
}
|
|
1372
1434
|
//#endregion
|
|
1373
1435
|
//#region ../core/src/venue-location.ts
|
|
1374
1436
|
/** The owner's option and what visitors read are the same words, so the option says what you'll see. */
|
|
@@ -2167,16 +2229,17 @@ function nextLiveRunSessionStartMs(sessions, now) {
|
|
|
2167
2229
|
return next === void 0 ? null : sessionStartMs(next);
|
|
2168
2230
|
}
|
|
2169
2231
|
/**
|
|
2170
|
-
* Booking stays open until the run's
|
|
2232
|
+
* Booking stays open until the run's cut-off, counted from its first surviving
|
|
2233
|
+
* session. A cut-off of zero closes it as that session starts.
|
|
2171
2234
|
*
|
|
2172
2235
|
* There has to be something left to sell: a run with no schedule at all, or one
|
|
2173
2236
|
* whose every session has been cancelled, is closed rather than open. Adding a
|
|
2174
2237
|
* future session opens it again, subject to the usual status, visibility and
|
|
2175
2238
|
* admission rules.
|
|
2176
2239
|
*/
|
|
2177
|
-
function isWholeSeriesRegistrationOpen(sessions, now) {
|
|
2178
|
-
const
|
|
2179
|
-
return
|
|
2240
|
+
function isWholeSeriesRegistrationOpen(sessions, now, cutOffHours) {
|
|
2241
|
+
const first = orderedLiveRunSessions(sessions)[0];
|
|
2242
|
+
return first !== void 0 && !hasBookingClosed(bookingClosesAt(first.startsAt, cutOffHours), now);
|
|
2180
2243
|
}
|
|
2181
2244
|
/**
|
|
2182
2245
|
* Where the run sits in its own life, independent of any one session.
|
|
@@ -2201,8 +2264,8 @@ function resolveWholeSeriesRunLifecycle(input, now) {
|
|
|
2201
2264
|
* Whether a prepared run is still inviting bookings at render time.
|
|
2202
2265
|
*
|
|
2203
2266
|
* `lifecycle` and `enrollmentOpen` come from the projection; the first session
|
|
2204
|
-
* start
|
|
2205
|
-
* cached page can cross while it sits in front of a visitor.
|
|
2267
|
+
* start and the cut-off are the facts re-read against `now`, because those are
|
|
2268
|
+
* the boundaries a cached page can cross while it sits in front of a visitor.
|
|
2206
2269
|
*/
|
|
2207
2270
|
function resolveWholeSeriesBookingPhase(run, now) {
|
|
2208
2271
|
switch (run.lifecycle) {
|
|
@@ -2223,10 +2286,14 @@ function resolveWholeSeriesBookingPhase(run, now) {
|
|
|
2223
2286
|
kind: "closed",
|
|
2224
2287
|
reason: "no-sessions"
|
|
2225
2288
|
};
|
|
2226
|
-
if (!isWholeSeriesRegistrationOpen(run.sessions, now)) return {
|
|
2289
|
+
if (!isWholeSeriesRegistrationOpen(run.sessions, now, 0)) return {
|
|
2227
2290
|
kind: "closed",
|
|
2228
2291
|
reason: "in-progress"
|
|
2229
2292
|
};
|
|
2293
|
+
if (run.bookingClosesAt !== void 0 && hasBookingClosed(run.bookingClosesAt, now)) return {
|
|
2294
|
+
kind: "closed",
|
|
2295
|
+
reason: "bookings-closed"
|
|
2296
|
+
};
|
|
2230
2297
|
return run.enrollmentOpen ? { kind: "open" } : {
|
|
2231
2298
|
kind: "closed",
|
|
2232
2299
|
reason: "enrolment-closed"
|
|
@@ -3424,6 +3491,8 @@ const publicWholeSeriesRunSchema = z.object({
|
|
|
3424
3491
|
eventSeriesId: z.string(),
|
|
3425
3492
|
eventOfferingId: z.string(),
|
|
3426
3493
|
enrollmentOpen: z.boolean(),
|
|
3494
|
+
/** Present when bookings stop before the first session. Older sites ignore it. */
|
|
3495
|
+
bookingClosesAt: z.string().optional(),
|
|
3427
3496
|
visibility: z.enum(["public", "unlisted"]),
|
|
3428
3497
|
lifecycle: z.enum([
|
|
3429
3498
|
"upcoming",
|
|
@@ -3471,6 +3540,11 @@ const publicEventBaseSchema = z.object({
|
|
|
3471
3540
|
requiresRegistration: z.boolean(),
|
|
3472
3541
|
bookingAvailability: publicEventBookingAvailabilitySchema,
|
|
3473
3542
|
bookingClosedDetail: publicEventBookingClosedDetailSchema.optional(),
|
|
3543
|
+
/**
|
|
3544
|
+
* Present when bookings stop before this date starts. It's what says "closed
|
|
3545
|
+
* early": the closed reasons stay as they are, so older sites keep working.
|
|
3546
|
+
*/
|
|
3547
|
+
bookingClosesAt: z.string().optional(),
|
|
3474
3548
|
deliveryMode: z.enum([
|
|
3475
3549
|
"in_person",
|
|
3476
3550
|
"online",
|
|
@@ -5692,6 +5766,16 @@ function parseSchemaVersionedJson(input) {
|
|
|
5692
5766
|
};
|
|
5693
5767
|
}
|
|
5694
5768
|
asBoundaryOptionId("break:unknown");
|
|
5769
|
+
/**
|
|
5770
|
+
* Site style is site-owned authority. Page design snapshots retain pins and
|
|
5771
|
+
* flow choices, but must not keep resolving against a superseded site style.
|
|
5772
|
+
*/
|
|
5773
|
+
function rebasePageDesignIntentToSiteStyle(intent, siteStyleId) {
|
|
5774
|
+
return intent.siteStyleId === siteStyleId ? intent : {
|
|
5775
|
+
...intent,
|
|
5776
|
+
siteStyleId
|
|
5777
|
+
};
|
|
5778
|
+
}
|
|
5695
5779
|
z.object({
|
|
5696
5780
|
kind: z.literal("user-pinned"),
|
|
5697
5781
|
value: z.string().min(1).transform(asBoundaryOptionId)
|
|
@@ -24765,9 +24849,19 @@ function requireCuratedSiteStyle(id) {
|
|
|
24765
24849
|
function designRuntimeRulesForSiteStyle(siteStyle) {
|
|
24766
24850
|
return siteStyle?.designRuntimeRules ?? defaultDesignRuntimeRules;
|
|
24767
24851
|
}
|
|
24852
|
+
function designRuntimeRulesForTheme(theme) {
|
|
24853
|
+
const siteStyleId = theme?.siteStyleId;
|
|
24854
|
+
if (!siteStyleId) return defaultDesignRuntimeRules;
|
|
24855
|
+
return designRuntimeRulesForSiteStyle(requireCuratedSiteStyle(asSiteStyleId(siteStyleId)));
|
|
24856
|
+
}
|
|
24768
24857
|
function componentRuntimeRulesForSiteStyle(siteStyle) {
|
|
24769
24858
|
return siteStyle?.componentRuntimeRules ?? defaultComponentRuntimeRules;
|
|
24770
24859
|
}
|
|
24860
|
+
function componentRuntimeRulesForTheme(theme) {
|
|
24861
|
+
const siteStyleId = theme?.siteStyleId;
|
|
24862
|
+
if (!siteStyleId) return defaultComponentRuntimeRules;
|
|
24863
|
+
return componentRuntimeRulesForSiteStyle(requireCuratedSiteStyle(asSiteStyleId(siteStyleId)));
|
|
24864
|
+
}
|
|
24771
24865
|
function curatedStyleTemplate(input) {
|
|
24772
24866
|
return {
|
|
24773
24867
|
id: asDesignSystemTemplateId(`template:${input.id.replace("site-style:", "")}`),
|
|
@@ -24890,6 +24984,68 @@ function filterLookIdsForPolicy(policy, looks) {
|
|
|
24890
24984
|
default: return assertNever$2(policy, "Unhandled site style block policy");
|
|
24891
24985
|
}
|
|
24892
24986
|
}
|
|
24987
|
+
function requiredLookChoice(lookId) {
|
|
24988
|
+
return {
|
|
24989
|
+
kind: "user-pinned",
|
|
24990
|
+
value: lookId
|
|
24991
|
+
};
|
|
24992
|
+
}
|
|
24993
|
+
/**
|
|
24994
|
+
* Writes the look pins a locked-look site style requires.
|
|
24995
|
+
*
|
|
24996
|
+
* Boundary pins are never written: a site style's join rules
|
|
24997
|
+
* are resolved at read time by `resolvePageJoins`, so it shows as a default
|
|
24998
|
+
* and follows later changes to the style (issue 1422). Pins already stored,
|
|
24999
|
+
* including ones an earlier version wrote on the style's behalf, are left as
|
|
25000
|
+
* they are.
|
|
25001
|
+
*/
|
|
25002
|
+
function applySiteStyleBlockPoliciesToPageDesignIntent(intent, blocks) {
|
|
25003
|
+
const policyLookPins = blocks.flatMap((block) => {
|
|
25004
|
+
const policy = deriveSiteStyleBlockPolicy({
|
|
25005
|
+
siteStyleId: intent.siteStyleId,
|
|
25006
|
+
blockKind: block.blockKind
|
|
25007
|
+
});
|
|
25008
|
+
switch (policy.kind) {
|
|
25009
|
+
case "open": return [];
|
|
25010
|
+
case "locked-look-and-layouts": return [{
|
|
25011
|
+
blockId: block.blockId,
|
|
25012
|
+
blockKind: block.blockKind,
|
|
25013
|
+
choice: requiredLookChoice(policy.lookId)
|
|
25014
|
+
}];
|
|
25015
|
+
default: return assertNever$2(policy, "Unhandled site style block policy");
|
|
25016
|
+
}
|
|
25017
|
+
});
|
|
25018
|
+
if (policyLookPins.length === 0) return intent;
|
|
25019
|
+
const policyPinBlockIds = new Set(policyLookPins.map((pin) => pin.blockId));
|
|
25020
|
+
return {
|
|
25021
|
+
...intent,
|
|
25022
|
+
blockLookPins: [...intent.blockLookPins.filter((pin) => !policyPinBlockIds.has(pin.blockId)), ...policyLookPins]
|
|
25023
|
+
};
|
|
25024
|
+
}
|
|
25025
|
+
function planBlockContentVariantPolicyUpdate(input) {
|
|
25026
|
+
switch (input.policy.kind) {
|
|
25027
|
+
case "open": return { kind: "unchanged" };
|
|
25028
|
+
case "locked-look-and-layouts": {
|
|
25029
|
+
const currentVariant = typeof input.content.variant === "string" ? asLayoutVariantKey(input.content.variant) : null;
|
|
25030
|
+
return currentVariant && isLayoutVariantAllowedByPolicy(input.policy, currentVariant) ? { kind: "unchanged" } : {
|
|
25031
|
+
kind: "set-variant",
|
|
25032
|
+
variantKey: input.policy.defaultLayoutVariantKey
|
|
25033
|
+
};
|
|
25034
|
+
}
|
|
25035
|
+
default: return assertNever$2(input.policy, "Unhandled site style block policy");
|
|
25036
|
+
}
|
|
25037
|
+
}
|
|
25038
|
+
function applyBlockContentVariantPolicy(input) {
|
|
25039
|
+
const plan = planBlockContentVariantPolicyUpdate(input);
|
|
25040
|
+
switch (plan.kind) {
|
|
25041
|
+
case "unchanged": return input.content;
|
|
25042
|
+
case "set-variant": return {
|
|
25043
|
+
...input.content,
|
|
25044
|
+
variant: plan.variantKey
|
|
25045
|
+
};
|
|
25046
|
+
default: return assertNever$2(plan, "Unhandled block content variant policy plan");
|
|
25047
|
+
}
|
|
25048
|
+
}
|
|
24893
25049
|
//#endregion
|
|
24894
25050
|
//#region ../theme-core/src/site-styles/effectiveArrangement.ts
|
|
24895
25051
|
/** Content stage: legacy Looks leave arrangement to stored intent and defaults. */
|
|
@@ -41913,31 +42069,21 @@ function rowFor(rows, mode) {
|
|
|
41913
42069
|
* capacity comes from the shared event-domain helpers so uncapped, fallback,
|
|
41914
42070
|
* and hybrid attendance-mode cases agree with the registration runtime.
|
|
41915
42071
|
*/
|
|
41916
|
-
function isBookableEvent(event) {
|
|
42072
|
+
function isBookableEvent(event, now) {
|
|
41917
42073
|
if (!event.requiresRegistration) return false;
|
|
41918
42074
|
if (event.bookingAvailability.kind !== "open") return false;
|
|
42075
|
+
if (now && hasEventBookingClosedEarly(event, now)) return false;
|
|
41919
42076
|
return !isEventFull(event) || canJoinEventWaitlistOnAnyMode(event);
|
|
41920
42077
|
}
|
|
41921
|
-
//#endregion
|
|
41922
|
-
//#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
|
|
41923
42078
|
/**
|
|
41924
|
-
*
|
|
41925
|
-
*
|
|
41926
|
-
* The resolver used to assume that one returned `PublicEvent` meant one
|
|
41927
|
-
* occurrence. A whole-series Event breaks that assumption in two directions: a
|
|
41928
|
-
* parent Event path selects nothing concrete until a run is chosen, and a run
|
|
41929
|
-
* path selects a run whose identity spans every one of its sessions. This
|
|
41930
|
-
* module parses those cases once, so the renderer switches over a closed set of
|
|
41931
|
-
* page states instead of probing booking scopes at render time.
|
|
41932
|
-
*
|
|
41933
|
-
* Everything here is pure. Loading events and resolving run slugs is the
|
|
41934
|
-
* resolver's job; deciding what the page is and which runs the chooser
|
|
41935
|
-
* advertises happens here. When a run is open to join, and where it sits in its
|
|
41936
|
-
* own life, come from `@riverbankcms/core`: the same authority the
|
|
41937
|
-
* public read projection and the write-side run-facts loader use, so a run
|
|
41938
|
-
* cannot report itself open on the storefront and closed at the point of
|
|
41939
|
-
* booking.
|
|
42079
|
+
* Whether a date has passed its cut-off by this clock. The projected availability
|
|
42080
|
+
* can be older than the page it's on, and a cut-off makes that gap matter more.
|
|
41940
42081
|
*/
|
|
42082
|
+
function hasEventBookingClosedEarly(event, now) {
|
|
42083
|
+
return event.bookingClosesAt !== void 0 && hasBookingClosed(event.bookingClosesAt, now);
|
|
42084
|
+
}
|
|
42085
|
+
//#endregion
|
|
42086
|
+
//#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
|
|
41941
42087
|
function planWholeSeriesParentBooking(eligibleRuns) {
|
|
41942
42088
|
const [first, second, ...rest] = eligibleRuns;
|
|
41943
42089
|
if (!second) return {
|
|
@@ -41977,7 +42123,7 @@ function planOrdinarySeriesSelection(events) {
|
|
|
41977
42123
|
const ordinary = events.filter(isOrdinaryPublicEvent);
|
|
41978
42124
|
const firstSeriesId = ordinary[0]?.seriesId;
|
|
41979
42125
|
if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
|
|
41980
|
-
const [first, second] = ordinary.filter(isBookableEvent);
|
|
42126
|
+
const [first, second] = ordinary.filter((event) => isBookableEvent(event));
|
|
41981
42127
|
if (first && second) {
|
|
41982
42128
|
const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
|
|
41983
42129
|
if (a && b) return {
|
|
@@ -42154,6 +42300,45 @@ function eventOccurrenceContext(event) {
|
|
|
42154
42300
|
...event.occurrenceTitle ? { overrides: { title: event.occurrenceTitle } } : {}
|
|
42155
42301
|
};
|
|
42156
42302
|
}
|
|
42303
|
+
/** Loaded records and their real page subject, handed to the registration block through its normal input. */
|
|
42304
|
+
function registrationDataForEventSelection(selection) {
|
|
42305
|
+
switch (selection.kind) {
|
|
42306
|
+
case "occurrence": return {
|
|
42307
|
+
events: [selection.event],
|
|
42308
|
+
occurrenceContext: eventOccurrenceContext(selection.event),
|
|
42309
|
+
subject: null
|
|
42310
|
+
};
|
|
42311
|
+
case "dateChoice": return {
|
|
42312
|
+
events: [...selection.dates],
|
|
42313
|
+
occurrenceContext: null,
|
|
42314
|
+
subject: {
|
|
42315
|
+
kind: "eventSeries",
|
|
42316
|
+
eventSeriesId: selection.dates[0].seriesId,
|
|
42317
|
+
bookingScope: "single_occurrence"
|
|
42318
|
+
}
|
|
42319
|
+
};
|
|
42320
|
+
case "wholeSeriesRun": return {
|
|
42321
|
+
wholeSeriesRunEvents: [selection.run.representative],
|
|
42322
|
+
subject: {
|
|
42323
|
+
kind: "eventSeries",
|
|
42324
|
+
eventSeriesId: selection.run.eventSeriesId,
|
|
42325
|
+
bookingScope: "whole_series",
|
|
42326
|
+
isWholeSeriesBooking: true
|
|
42327
|
+
}
|
|
42328
|
+
};
|
|
42329
|
+
case "wholeSeriesParent":
|
|
42330
|
+
case "wholeSeriesParentUnavailable": return {
|
|
42331
|
+
wholeSeriesRunEvents: selection.admittedRuns.map((run) => run.representative),
|
|
42332
|
+
subject: {
|
|
42333
|
+
kind: "eventOffering",
|
|
42334
|
+
eventOfferingId: selection.offeringId,
|
|
42335
|
+
catalogueEventSeriesIds: selection.admittedRuns.map((run) => run.eventSeriesId),
|
|
42336
|
+
bookingScope: "whole_series",
|
|
42337
|
+
isWholeSeriesBooking: true
|
|
42338
|
+
}
|
|
42339
|
+
};
|
|
42340
|
+
}
|
|
42341
|
+
}
|
|
42157
42342
|
//#endregion
|
|
42158
42343
|
//#region ../blocks/src/system/blocks/event-registration.shared.ts
|
|
42159
42344
|
/**
|
|
@@ -42188,6 +42373,243 @@ function isCancelledOrdinaryDate(event) {
|
|
|
42188
42373
|
//#region ../blocks/src/system/blocks/shared/bookingPageKind.ts
|
|
42189
42374
|
const bookingPageKindSchema = z.enum(["fullPage", "bookingPage"]);
|
|
42190
42375
|
//#endregion
|
|
42376
|
+
//#region ../blocks/src/system/runtime/nodes/events/domain/dates.ts
|
|
42377
|
+
/** Event presentation adapters; core owns projection, clocks and ranges. */
|
|
42378
|
+
function eventDateLocale(siteTimeZone) {
|
|
42379
|
+
return inferSiteDateLocale(siteTimeZone);
|
|
42380
|
+
}
|
|
42381
|
+
function eventCalendarWeekStart(timeZone, override) {
|
|
42382
|
+
return override ?? (inferSiteDateLocale(resolveBookingBusinessTimeZone(timeZone)) === "en-US" ? "sunday" : "monday");
|
|
42383
|
+
}
|
|
42384
|
+
/** Admit older wire zones once; the booking business fallback remains London. */
|
|
42385
|
+
function eventDateOptions(place) {
|
|
42386
|
+
const siteTimeZone = resolveBookingBusinessTimeZone(place.siteTimeZone);
|
|
42387
|
+
const resolved = resolveBookingDisplayContext({
|
|
42388
|
+
sessionTimeZone: resolveBookingTimeZoneId(place.timeZone, siteTimeZone),
|
|
42389
|
+
siteTimeZone,
|
|
42390
|
+
locale: inferSiteDateLocale(siteTimeZone),
|
|
42391
|
+
isOnline: place.isOnline === true || place.deliveryMode === "online" || place.deliveryMode === "hybrid",
|
|
42392
|
+
surface: "public"
|
|
42393
|
+
});
|
|
42394
|
+
return {
|
|
42395
|
+
...resolved.context,
|
|
42396
|
+
zone: resolved.zone
|
|
42397
|
+
};
|
|
42398
|
+
}
|
|
42399
|
+
/** Overnight spans keep their end day; folds retain both distinct offsets. */
|
|
42400
|
+
function formatEventTimeRange(times, options) {
|
|
42401
|
+
const start = toUtcIsoDateTimeString(times.startsAt);
|
|
42402
|
+
const end = toUtcIsoDateTimeString(times.endsAt);
|
|
42403
|
+
const startDay = getLocalScheduleDate(new Date(start), options.timeZone);
|
|
42404
|
+
const endDay = getLocalScheduleDate(new Date(end), options.timeZone);
|
|
42405
|
+
return startDay.year === endDay.year && startDay.month === endDay.month && startDay.day === endDay.day ? formatTimeRange(start, end, options, { zone: options.zone }) : formatDateTimeRange({
|
|
42406
|
+
start,
|
|
42407
|
+
end
|
|
42408
|
+
}, options, {
|
|
42409
|
+
date: "short",
|
|
42410
|
+
zone: options.zone
|
|
42411
|
+
});
|
|
42412
|
+
}
|
|
42413
|
+
function resolveEventTimeZone(event, calendarTimeZone) {
|
|
42414
|
+
return resolveBookingTimeZoneId(event.timeZone, resolveBookingBusinessTimeZone(calendarTimeZone));
|
|
42415
|
+
}
|
|
42416
|
+
function formatDate(isoTimestamp, options) {
|
|
42417
|
+
return formatDate$2({
|
|
42418
|
+
kind: "instant",
|
|
42419
|
+
value: toUtcIsoDateTimeString(isoTimestamp)
|
|
42420
|
+
}, options, {
|
|
42421
|
+
date: "short",
|
|
42422
|
+
weekday: "long"
|
|
42423
|
+
});
|
|
42424
|
+
}
|
|
42425
|
+
function formatTime(isoTimestamp, options) {
|
|
42426
|
+
return formatTime$1(toUtcIsoDateTimeString(isoTimestamp), options, { zone: options.zone });
|
|
42427
|
+
}
|
|
42428
|
+
function formatEventDateParts(args) {
|
|
42429
|
+
return {
|
|
42430
|
+
date: formatDate(args.startsAt, args),
|
|
42431
|
+
timeRange: formatEventTimeRange(args, args)
|
|
42432
|
+
};
|
|
42433
|
+
}
|
|
42434
|
+
/** A course run's first to last session date, such as `8–22 Sept 2026`. */
|
|
42435
|
+
function formatEventRunDates(first, last, options) {
|
|
42436
|
+
return formatDateRange({
|
|
42437
|
+
kind: "instant",
|
|
42438
|
+
value: toUtcIsoDateTimeString(first.startsAt)
|
|
42439
|
+
}, {
|
|
42440
|
+
kind: "instant",
|
|
42441
|
+
value: toUtcIsoDateTimeString(last.startsAt)
|
|
42442
|
+
}, options, {
|
|
42443
|
+
date: "short",
|
|
42444
|
+
order: "session"
|
|
42445
|
+
});
|
|
42446
|
+
}
|
|
42447
|
+
/** Civil calendar headings never acquire an instant's timezone shift. */
|
|
42448
|
+
function formatCalendarTitle(viewDate, view, days, timeZone) {
|
|
42449
|
+
const context = eventDateOptions({
|
|
42450
|
+
siteTimeZone: timeZone,
|
|
42451
|
+
timeZone
|
|
42452
|
+
});
|
|
42453
|
+
const first = days[0];
|
|
42454
|
+
const last = days[6];
|
|
42455
|
+
return view === "week" && first && last ? formatDateRange({
|
|
42456
|
+
kind: "civil",
|
|
42457
|
+
value: first
|
|
42458
|
+
}, {
|
|
42459
|
+
kind: "civil",
|
|
42460
|
+
value: last
|
|
42461
|
+
}, context, { date: "short" }) : formatDate$2({
|
|
42462
|
+
kind: "civil",
|
|
42463
|
+
value: viewDate
|
|
42464
|
+
}, context, {
|
|
42465
|
+
date: "long",
|
|
42466
|
+
day: "omit"
|
|
42467
|
+
});
|
|
42468
|
+
}
|
|
42469
|
+
function buildCalendarViewport(input) {
|
|
42470
|
+
const viewport = buildCalendarViewport$1(input);
|
|
42471
|
+
return {
|
|
42472
|
+
...viewport,
|
|
42473
|
+
title: formatCalendarTitle(input.anchorDate, input.view, viewport.days, input.timeZone)
|
|
42474
|
+
};
|
|
42475
|
+
}
|
|
42476
|
+
/** Tick digits are civil clock values, not session instants. */
|
|
42477
|
+
function formatEventHourLabel(hour, timeZone) {
|
|
42478
|
+
return formatEventClockLabel(`${String(hour % 24).padStart(2, "0")}:00`, eventDateLocale(timeZone));
|
|
42479
|
+
}
|
|
42480
|
+
/** Weekly cadence and tick clocks are civil values; UTC only carries their components. */
|
|
42481
|
+
function formatEventClockLabel(value, locale) {
|
|
42482
|
+
const clock = parseLocalScheduleTime(value);
|
|
42483
|
+
return formatTime$1(toUtcIsoDateTimeString(new Date(Date.UTC(2e3, 0, 1, clock.hour, clock.minute)).toISOString()), {
|
|
42484
|
+
locale,
|
|
42485
|
+
timeZone: resolveBookingBusinessTimeZone("UTC")
|
|
42486
|
+
}, { zone: "omit" });
|
|
42487
|
+
}
|
|
42488
|
+
function formatEventCompactDateRail(isoTimestamp, options, letterCase = "capitals") {
|
|
42489
|
+
const instant = {
|
|
42490
|
+
kind: "instant",
|
|
42491
|
+
value: toUtcIsoDateTimeString(isoTimestamp)
|
|
42492
|
+
};
|
|
42493
|
+
const cased = (value) => letterCase === "capitals" ? value.toLocaleUpperCase(options.locale) : value;
|
|
42494
|
+
return {
|
|
42495
|
+
weekday: cased(formatDate$2(instant, options, {
|
|
42496
|
+
date: "omit",
|
|
42497
|
+
weekday: "short",
|
|
42498
|
+
year: "omit"
|
|
42499
|
+
})),
|
|
42500
|
+
fullWeekday: formatDate$2(instant, options, {
|
|
42501
|
+
date: "omit",
|
|
42502
|
+
weekday: "long",
|
|
42503
|
+
year: "omit"
|
|
42504
|
+
}),
|
|
42505
|
+
day: formatDate$2(instant, options, {
|
|
42506
|
+
date: "omit",
|
|
42507
|
+
day: "numeric",
|
|
42508
|
+
year: "omit"
|
|
42509
|
+
}),
|
|
42510
|
+
month: cased(formatDate$2(instant, options, {
|
|
42511
|
+
date: "short",
|
|
42512
|
+
day: "omit",
|
|
42513
|
+
year: "omit"
|
|
42514
|
+
}).slice(0, 3)),
|
|
42515
|
+
label: formatDate$2(instant, options, {
|
|
42516
|
+
date: "long",
|
|
42517
|
+
weekday: "long"
|
|
42518
|
+
})
|
|
42519
|
+
};
|
|
42520
|
+
}
|
|
42521
|
+
/**
|
|
42522
|
+
* Format the next occurrence for the image-free catalogue card treatment.
|
|
42523
|
+
*
|
|
42524
|
+
* The compact rail already owns this short, booking-local date vocabulary;
|
|
42525
|
+
* keep the fact panel on the same date and timezone rules as event rows.
|
|
42526
|
+
*/
|
|
42527
|
+
function formatEventNextDateFact(event) {
|
|
42528
|
+
const rail = formatEventCompactDateRail(event.startsAt, eventDateOptions(event));
|
|
42529
|
+
return {
|
|
42530
|
+
dateTime: event.startsAt,
|
|
42531
|
+
value: `${rail.weekday} ${rail.day} ${rail.month}`,
|
|
42532
|
+
label: rail.label
|
|
42533
|
+
};
|
|
42534
|
+
}
|
|
42535
|
+
/**
|
|
42536
|
+
* Group events by their local date (YYYY-MM-DD key in each event's own
|
|
42537
|
+
* timezone). Thin domain wrapper over `groupItemsByDate` from the calendar
|
|
42538
|
+
* package; preserves the historical `Map<string, PublicEvent[]>` shape.
|
|
42539
|
+
*/
|
|
42540
|
+
function groupEventsByDate(events, calendarTimeZone) {
|
|
42541
|
+
const grouped = groupItemsByDate(events, {
|
|
42542
|
+
getStartsAt: (event) => event.startsAt,
|
|
42543
|
+
getTimeZone: () => calendarTimeZone
|
|
42544
|
+
});
|
|
42545
|
+
return new Map([...grouped].map(([dateKey, bucket]) => [dateKey, [...bucket]]));
|
|
42546
|
+
}
|
|
42547
|
+
/** Stable local-day identity shared by ledger continuations and day groups. */
|
|
42548
|
+
function eventLocalDateKey(event) {
|
|
42549
|
+
return getBookingLocalDateKey(toScheduledBookingDateTime({
|
|
42550
|
+
startsAt: event.startsAt,
|
|
42551
|
+
timeZone: resolveBookingBusinessTimeZone(event.timeZone),
|
|
42552
|
+
locale: "en-GB"
|
|
42553
|
+
}));
|
|
42554
|
+
}
|
|
42555
|
+
/** Full weekday and the existing zone-aware time range for a weekly running list. */
|
|
42556
|
+
function formatEventWeekdayTime(event) {
|
|
42557
|
+
const options = eventDateOptions(event);
|
|
42558
|
+
return `${formatDate$2({
|
|
42559
|
+
kind: "instant",
|
|
42560
|
+
value: toUtcIsoDateTimeString(event.startsAt)
|
|
42561
|
+
}, options, {
|
|
42562
|
+
date: "omit",
|
|
42563
|
+
weekday: "long",
|
|
42564
|
+
year: "omit"
|
|
42565
|
+
})} · ${formatEventTimeRange(event, options)}`;
|
|
42566
|
+
}
|
|
42567
|
+
//#endregion
|
|
42568
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/closedEarlyCopy.ts
|
|
42569
|
+
const isWeekly = (event) => event.scheduleScope === "recurring";
|
|
42570
|
+
function eventTimeZone(event) {
|
|
42571
|
+
return eventDateOptions(event).timeZone;
|
|
42572
|
+
}
|
|
42573
|
+
/** On a date's own read both `path` and the destination name that date; its event's page is one level up. */
|
|
42574
|
+
function eventOwnPagePath(event) {
|
|
42575
|
+
const path = getPublicEventCanonicalPath(event);
|
|
42576
|
+
const dateSegment = `/${event.occurrenceId}`;
|
|
42577
|
+
return path?.endsWith(dateSegment) ? path.slice(0, -dateSegment.length) || "/" : path;
|
|
42578
|
+
}
|
|
42579
|
+
/** "Bookings close 2 hours before the start.", while they're still open. */
|
|
42580
|
+
function openBookingLine(event) {
|
|
42581
|
+
if (!event.bookingClosesAt) return null;
|
|
42582
|
+
const before = formatBookingCutOffHours(bookingCutOffHoursBetween(event.startsAt, event.bookingClosesAt));
|
|
42583
|
+
return isWeekly(event) ? `Bookings for each date close ${before} before the start.` : `Bookings close ${before} before the start.`;
|
|
42584
|
+
}
|
|
42585
|
+
/** The course's open line, counted from its first session still running. */
|
|
42586
|
+
function openRunBookingLine(run) {
|
|
42587
|
+
const first = orderedLiveRunSessions(run.sessions)[0];
|
|
42588
|
+
if (!run.bookingClosesAt || !first) return null;
|
|
42589
|
+
return `Bookings close ${formatBookingCutOffHours(bookingCutOffHoursBetween(first.startsAt, run.bookingClosesAt))} before the first session.`;
|
|
42590
|
+
}
|
|
42591
|
+
/** One date between its cut-off and its start, or null. */
|
|
42592
|
+
function closedDateCopy(event, now) {
|
|
42593
|
+
const closesAt = event.bookingClosesAt;
|
|
42594
|
+
if (!closesAt || !hasBookingClosed(closesAt, now) || Date.parse(event.startsAt) <= now.getTime()) return null;
|
|
42595
|
+
const zone = eventTimeZone(event);
|
|
42596
|
+
const closed = formatBookingClosedTime(closesAt, event.startsAt, zone);
|
|
42597
|
+
const start = formatBookingClosedTime(event.startsAt, event.startsAt, zone);
|
|
42598
|
+
const before = formatBookingCutOffHours(bookingCutOffHoursBetween(event.startsAt, closesAt));
|
|
42599
|
+
const weekly = isWeekly(event);
|
|
42600
|
+
return {
|
|
42601
|
+
titleText: weekly ? "Bookings for this date have closed" : "Bookings for this event have closed",
|
|
42602
|
+
bodyText: `Bookings closed at ${closed}, ${before} before the ${start} start. The organiser may still be able to help if you’d like to come.`,
|
|
42603
|
+
otherDatesHref: weekly ? eventOwnPagePath(event) : null
|
|
42604
|
+
};
|
|
42605
|
+
}
|
|
42606
|
+
/** The body of a course past its cut-off, or null if the run doesn't say when. */
|
|
42607
|
+
function closedRunBody(run) {
|
|
42608
|
+
const first = orderedLiveRunSessions(run.sessions)[0];
|
|
42609
|
+
if (!run.bookingClosesAt || !first) return null;
|
|
42610
|
+
return `Bookings closed at ${formatBookingClosedTime(run.bookingClosesAt, first.startsAt, first.timeZone)}, ${formatBookingCutOffHours(bookingCutOffHoursBetween(first.startsAt, run.bookingClosesAt))} before the first session. The organiser may still be able to help if you’d like to join.`;
|
|
42611
|
+
}
|
|
42612
|
+
//#endregion
|
|
42191
42613
|
//#region ../blocks/src/system/runtime/nodes/event-registration/closedRunCopy.ts
|
|
42192
42614
|
const copy = {
|
|
42193
42615
|
cancelled: {
|
|
@@ -42202,6 +42624,10 @@ const copy = {
|
|
|
42202
42624
|
titleText: "These dates have finished",
|
|
42203
42625
|
bodyText: "The details are kept here for reference."
|
|
42204
42626
|
},
|
|
42627
|
+
"bookings-closed": {
|
|
42628
|
+
titleText: "Bookings for these dates have closed",
|
|
42629
|
+
bodyText: "Bookings for these dates have closed. The organiser may still be able to help if you’d like to join."
|
|
42630
|
+
},
|
|
42205
42631
|
"enrolment-closed": {
|
|
42206
42632
|
titleText: "Booking closed",
|
|
42207
42633
|
bodyText: "Bookings are no longer being taken for these dates."
|
|
@@ -42211,8 +42637,27 @@ const copy = {
|
|
|
42211
42637
|
bodyText: "There are no dates to book at the moment. The organiser may add more, and anything already booked still stands."
|
|
42212
42638
|
}
|
|
42213
42639
|
};
|
|
42214
|
-
|
|
42215
|
-
|
|
42640
|
+
/** A run past its cut-off says when it closed, if it can. */
|
|
42641
|
+
function closedRunCopy(reason, run) {
|
|
42642
|
+
const body = reason === "bookings-closed" && run ? closedRunBody(run) : null;
|
|
42643
|
+
return body ? {
|
|
42644
|
+
...copy[reason],
|
|
42645
|
+
bodyText: body
|
|
42646
|
+
} : copy[reason];
|
|
42647
|
+
}
|
|
42648
|
+
/**
|
|
42649
|
+
* A list of dates closes once none is left to book and at least one stopped at
|
|
42650
|
+
* its cut-off. Until then the closed ones just leave the list. There's nothing
|
|
42651
|
+
* further to point at, so the copy offers no other dates.
|
|
42652
|
+
*/
|
|
42653
|
+
function closedDatesCopy(dates, now) {
|
|
42654
|
+
if (dates.some((date) => Date.parse(date.startsAt) > now.getTime() && !(date.bookingClosesAt && hasBookingClosed(date.bookingClosesAt, now)))) return null;
|
|
42655
|
+
const [firstClosed] = dates.flatMap((date) => closedDateCopy(date, now) ?? []);
|
|
42656
|
+
if (!firstClosed) return null;
|
|
42657
|
+
return {
|
|
42658
|
+
...dates.length > 1 ? copy["bookings-closed"] : firstClosed,
|
|
42659
|
+
otherDatesHref: null
|
|
42660
|
+
};
|
|
42216
42661
|
}
|
|
42217
42662
|
//#endregion
|
|
42218
42663
|
//#region ../blocks/src/system/runtime/shared/navigation/pageNavigation.ts
|
|
@@ -42419,198 +42864,6 @@ function resolveRuntimeEventDestination(event) {
|
|
|
42419
42864
|
};
|
|
42420
42865
|
}
|
|
42421
42866
|
//#endregion
|
|
42422
|
-
//#region ../blocks/src/system/runtime/nodes/events/domain/dates.ts
|
|
42423
|
-
/** Event presentation adapters; core owns projection, clocks and ranges. */
|
|
42424
|
-
function eventDateLocale(siteTimeZone) {
|
|
42425
|
-
return inferSiteDateLocale(siteTimeZone);
|
|
42426
|
-
}
|
|
42427
|
-
function eventCalendarWeekStart(timeZone, override) {
|
|
42428
|
-
return override ?? (inferSiteDateLocale(resolveBookingBusinessTimeZone(timeZone)) === "en-US" ? "sunday" : "monday");
|
|
42429
|
-
}
|
|
42430
|
-
/** Admit older wire zones once; the booking business fallback remains London. */
|
|
42431
|
-
function eventDateOptions(place) {
|
|
42432
|
-
const siteTimeZone = resolveBookingBusinessTimeZone(place.siteTimeZone);
|
|
42433
|
-
const resolved = resolveBookingDisplayContext({
|
|
42434
|
-
sessionTimeZone: resolveBookingTimeZoneId(place.timeZone, siteTimeZone),
|
|
42435
|
-
siteTimeZone,
|
|
42436
|
-
locale: inferSiteDateLocale(siteTimeZone),
|
|
42437
|
-
isOnline: place.isOnline === true || place.deliveryMode === "online" || place.deliveryMode === "hybrid",
|
|
42438
|
-
surface: "public"
|
|
42439
|
-
});
|
|
42440
|
-
return {
|
|
42441
|
-
...resolved.context,
|
|
42442
|
-
zone: resolved.zone
|
|
42443
|
-
};
|
|
42444
|
-
}
|
|
42445
|
-
/** Overnight spans keep their end day; folds retain both distinct offsets. */
|
|
42446
|
-
function formatEventTimeRange(times, options) {
|
|
42447
|
-
const start = toUtcIsoDateTimeString(times.startsAt);
|
|
42448
|
-
const end = toUtcIsoDateTimeString(times.endsAt);
|
|
42449
|
-
const startDay = getLocalScheduleDate(new Date(start), options.timeZone);
|
|
42450
|
-
const endDay = getLocalScheduleDate(new Date(end), options.timeZone);
|
|
42451
|
-
return startDay.year === endDay.year && startDay.month === endDay.month && startDay.day === endDay.day ? formatTimeRange(start, end, options, { zone: options.zone }) : formatDateTimeRange({
|
|
42452
|
-
start,
|
|
42453
|
-
end
|
|
42454
|
-
}, options, {
|
|
42455
|
-
date: "short",
|
|
42456
|
-
zone: options.zone
|
|
42457
|
-
});
|
|
42458
|
-
}
|
|
42459
|
-
function resolveEventTimeZone(event, calendarTimeZone) {
|
|
42460
|
-
return resolveBookingTimeZoneId(event.timeZone, resolveBookingBusinessTimeZone(calendarTimeZone));
|
|
42461
|
-
}
|
|
42462
|
-
function formatDate(isoTimestamp, options) {
|
|
42463
|
-
return formatDate$2({
|
|
42464
|
-
kind: "instant",
|
|
42465
|
-
value: toUtcIsoDateTimeString(isoTimestamp)
|
|
42466
|
-
}, options, {
|
|
42467
|
-
date: "short",
|
|
42468
|
-
weekday: "long"
|
|
42469
|
-
});
|
|
42470
|
-
}
|
|
42471
|
-
function formatTime(isoTimestamp, options) {
|
|
42472
|
-
return formatTime$1(toUtcIsoDateTimeString(isoTimestamp), options, { zone: options.zone });
|
|
42473
|
-
}
|
|
42474
|
-
function formatEventDateParts(args) {
|
|
42475
|
-
return {
|
|
42476
|
-
date: formatDate(args.startsAt, args),
|
|
42477
|
-
timeRange: formatEventTimeRange(args, args)
|
|
42478
|
-
};
|
|
42479
|
-
}
|
|
42480
|
-
/** A course run's first to last session date, such as `8–22 Sept 2026`. */
|
|
42481
|
-
function formatEventRunDates(first, last, options) {
|
|
42482
|
-
return formatDateRange({
|
|
42483
|
-
kind: "instant",
|
|
42484
|
-
value: toUtcIsoDateTimeString(first.startsAt)
|
|
42485
|
-
}, {
|
|
42486
|
-
kind: "instant",
|
|
42487
|
-
value: toUtcIsoDateTimeString(last.startsAt)
|
|
42488
|
-
}, options, {
|
|
42489
|
-
date: "short",
|
|
42490
|
-
order: "session"
|
|
42491
|
-
});
|
|
42492
|
-
}
|
|
42493
|
-
/** Civil calendar headings never acquire an instant's timezone shift. */
|
|
42494
|
-
function formatCalendarTitle(viewDate, view, days, timeZone) {
|
|
42495
|
-
const context = eventDateOptions({
|
|
42496
|
-
siteTimeZone: timeZone,
|
|
42497
|
-
timeZone
|
|
42498
|
-
});
|
|
42499
|
-
const first = days[0];
|
|
42500
|
-
const last = days[6];
|
|
42501
|
-
return view === "week" && first && last ? formatDateRange({
|
|
42502
|
-
kind: "civil",
|
|
42503
|
-
value: first
|
|
42504
|
-
}, {
|
|
42505
|
-
kind: "civil",
|
|
42506
|
-
value: last
|
|
42507
|
-
}, context, { date: "short" }) : formatDate$2({
|
|
42508
|
-
kind: "civil",
|
|
42509
|
-
value: viewDate
|
|
42510
|
-
}, context, {
|
|
42511
|
-
date: "long",
|
|
42512
|
-
day: "omit"
|
|
42513
|
-
});
|
|
42514
|
-
}
|
|
42515
|
-
function buildCalendarViewport(input) {
|
|
42516
|
-
const viewport = buildCalendarViewport$1(input);
|
|
42517
|
-
return {
|
|
42518
|
-
...viewport,
|
|
42519
|
-
title: formatCalendarTitle(input.anchorDate, input.view, viewport.days, input.timeZone)
|
|
42520
|
-
};
|
|
42521
|
-
}
|
|
42522
|
-
/** Tick digits are civil clock values, not session instants. */
|
|
42523
|
-
function formatEventHourLabel(hour, timeZone) {
|
|
42524
|
-
return formatEventClockLabel(`${String(hour % 24).padStart(2, "0")}:00`, eventDateLocale(timeZone));
|
|
42525
|
-
}
|
|
42526
|
-
/** Weekly cadence and tick clocks are civil values; UTC only carries their components. */
|
|
42527
|
-
function formatEventClockLabel(value, locale) {
|
|
42528
|
-
const clock = parseLocalScheduleTime(value);
|
|
42529
|
-
return formatTime$1(toUtcIsoDateTimeString(new Date(Date.UTC(2e3, 0, 1, clock.hour, clock.minute)).toISOString()), {
|
|
42530
|
-
locale,
|
|
42531
|
-
timeZone: resolveBookingBusinessTimeZone("UTC")
|
|
42532
|
-
}, { zone: "omit" });
|
|
42533
|
-
}
|
|
42534
|
-
function formatEventCompactDateRail(isoTimestamp, options, letterCase = "capitals") {
|
|
42535
|
-
const instant = {
|
|
42536
|
-
kind: "instant",
|
|
42537
|
-
value: toUtcIsoDateTimeString(isoTimestamp)
|
|
42538
|
-
};
|
|
42539
|
-
const cased = (value) => letterCase === "capitals" ? value.toLocaleUpperCase(options.locale) : value;
|
|
42540
|
-
return {
|
|
42541
|
-
weekday: cased(formatDate$2(instant, options, {
|
|
42542
|
-
date: "omit",
|
|
42543
|
-
weekday: "short",
|
|
42544
|
-
year: "omit"
|
|
42545
|
-
})),
|
|
42546
|
-
fullWeekday: formatDate$2(instant, options, {
|
|
42547
|
-
date: "omit",
|
|
42548
|
-
weekday: "long",
|
|
42549
|
-
year: "omit"
|
|
42550
|
-
}),
|
|
42551
|
-
day: formatDate$2(instant, options, {
|
|
42552
|
-
date: "omit",
|
|
42553
|
-
day: "numeric",
|
|
42554
|
-
year: "omit"
|
|
42555
|
-
}),
|
|
42556
|
-
month: cased(formatDate$2(instant, options, {
|
|
42557
|
-
date: "short",
|
|
42558
|
-
day: "omit",
|
|
42559
|
-
year: "omit"
|
|
42560
|
-
}).slice(0, 3)),
|
|
42561
|
-
label: formatDate$2(instant, options, {
|
|
42562
|
-
date: "long",
|
|
42563
|
-
weekday: "long"
|
|
42564
|
-
})
|
|
42565
|
-
};
|
|
42566
|
-
}
|
|
42567
|
-
/**
|
|
42568
|
-
* Format the next occurrence for the image-free catalogue card treatment.
|
|
42569
|
-
*
|
|
42570
|
-
* The compact rail already owns this short, booking-local date vocabulary;
|
|
42571
|
-
* keep the fact panel on the same date and timezone rules as event rows.
|
|
42572
|
-
*/
|
|
42573
|
-
function formatEventNextDateFact(event) {
|
|
42574
|
-
const rail = formatEventCompactDateRail(event.startsAt, eventDateOptions(event));
|
|
42575
|
-
return {
|
|
42576
|
-
dateTime: event.startsAt,
|
|
42577
|
-
value: `${rail.weekday} ${rail.day} ${rail.month}`,
|
|
42578
|
-
label: rail.label
|
|
42579
|
-
};
|
|
42580
|
-
}
|
|
42581
|
-
/**
|
|
42582
|
-
* Group events by their local date (YYYY-MM-DD key in each event's own
|
|
42583
|
-
* timezone). Thin domain wrapper over `groupItemsByDate` from the calendar
|
|
42584
|
-
* package; preserves the historical `Map<string, PublicEvent[]>` shape.
|
|
42585
|
-
*/
|
|
42586
|
-
function groupEventsByDate(events, calendarTimeZone) {
|
|
42587
|
-
const grouped = groupItemsByDate(events, {
|
|
42588
|
-
getStartsAt: (event) => event.startsAt,
|
|
42589
|
-
getTimeZone: () => calendarTimeZone
|
|
42590
|
-
});
|
|
42591
|
-
return new Map([...grouped].map(([dateKey, bucket]) => [dateKey, [...bucket]]));
|
|
42592
|
-
}
|
|
42593
|
-
/** Stable local-day identity shared by ledger continuations and day groups. */
|
|
42594
|
-
function eventLocalDateKey(event) {
|
|
42595
|
-
return getBookingLocalDateKey(toScheduledBookingDateTime({
|
|
42596
|
-
startsAt: event.startsAt,
|
|
42597
|
-
timeZone: resolveBookingBusinessTimeZone(event.timeZone),
|
|
42598
|
-
locale: "en-GB"
|
|
42599
|
-
}));
|
|
42600
|
-
}
|
|
42601
|
-
/** Full weekday and the existing zone-aware time range for a weekly running list. */
|
|
42602
|
-
function formatEventWeekdayTime(event) {
|
|
42603
|
-
const options = eventDateOptions(event);
|
|
42604
|
-
return `${formatDate$2({
|
|
42605
|
-
kind: "instant",
|
|
42606
|
-
value: toUtcIsoDateTimeString(event.startsAt)
|
|
42607
|
-
}, options, {
|
|
42608
|
-
date: "omit",
|
|
42609
|
-
weekday: "long",
|
|
42610
|
-
year: "omit"
|
|
42611
|
-
})} · ${formatEventTimeRange(event, options)}`;
|
|
42612
|
-
}
|
|
42613
|
-
//#endregion
|
|
42614
42867
|
//#region ../blocks/src/system/runtime/nodes/events/domain/listWeek.ts
|
|
42615
42868
|
/** Civil weeks use the site zone, including weeks containing a clock change. */
|
|
42616
42869
|
function buildEventListWeek(anchor, startOfWeek, timeZone) {
|
|
@@ -43220,6 +43473,7 @@ function scheduleInput(event, occurrence) {
|
|
|
43220
43473
|
function toRegistrationEvent(event) {
|
|
43221
43474
|
return {
|
|
43222
43475
|
...event,
|
|
43476
|
+
...bookingCloseLine(openBookingLine(event)),
|
|
43223
43477
|
selectionId: event.id,
|
|
43224
43478
|
registrationSubject: {
|
|
43225
43479
|
kind: "occurrence",
|
|
@@ -43227,6 +43481,9 @@ function toRegistrationEvent(event) {
|
|
|
43227
43481
|
}
|
|
43228
43482
|
};
|
|
43229
43483
|
}
|
|
43484
|
+
function bookingCloseLine(line) {
|
|
43485
|
+
return line ? { bookingCloseLine: line } : {};
|
|
43486
|
+
}
|
|
43230
43487
|
function toRegistrationEvents(events) {
|
|
43231
43488
|
return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
|
|
43232
43489
|
}
|
|
@@ -43245,6 +43502,7 @@ function toWholeSeriesRegistrationEvent(group) {
|
|
|
43245
43502
|
const lastSession = sessions[sessions.length - 1] ?? firstSession;
|
|
43246
43503
|
return {
|
|
43247
43504
|
...representative,
|
|
43505
|
+
...bookingCloseLine(openRunBookingLine(run)),
|
|
43248
43506
|
selectionId: run.eventSeriesId,
|
|
43249
43507
|
registrationSubject: {
|
|
43250
43508
|
kind: "wholeSeries",
|
|
@@ -44125,7 +44383,7 @@ function resolveEventRegistrationChoices(events, context, now) {
|
|
|
44125
44383
|
const runs = groupPublicEventsByRun(scoped);
|
|
44126
44384
|
if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
|
|
44127
44385
|
const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
|
|
44128
|
-
return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime());
|
|
44386
|
+
return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime() && !hasEventBookingClosedEarly(event, now));
|
|
44129
44387
|
}
|
|
44130
44388
|
//#endregion
|
|
44131
44389
|
//#region ../blocks/src/system/runtime/nodes/shared/contract-schemas.ts
|
|
@@ -44323,7 +44581,7 @@ function closedRegistrationCopy(source, events) {
|
|
|
44323
44581
|
if (hasCancelledRegistrationDate(events, source.occurrenceContext?.id)) return cancelledDateCopy;
|
|
44324
44582
|
const selectedRun = resolveSelectedWholeSeriesRun(events);
|
|
44325
44583
|
const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
|
|
44326
|
-
return phase?.kind === "closed" ? closedRunCopy(phase.reason) : null;
|
|
44584
|
+
return phase?.kind === "closed" ? closedRunCopy(phase.reason, selectedRun?.run) : null;
|
|
44327
44585
|
}
|
|
44328
44586
|
function buildEventRegistrationShellStepLabels(source, scopedSourceEvents) {
|
|
44329
44587
|
const selectedRun = resolveSelectedWholeSeriesRun(scopedSourceEvents);
|
|
@@ -56327,4 +56585,4 @@ function listBlockDescriptors() {
|
|
|
56327
56585
|
}));
|
|
56328
56586
|
}
|
|
56329
56587
|
//#endregion
|
|
56330
|
-
export { resolveCardListSchedule as $, gradientToCss as $a, chosenString as $i, parseTeamMemberSpecialties as $n, getDayOfWeek as $o, testimonialsHeadingFragment as $r, resolveExactOrFreePriceDisplay as $s, formatCalendarTitle as $t, membershipClassesLabel as A, arrangementStyleAvailability as Aa, resolveBlockIconRenderValue as Ai, planOrdinarySeriesSelection as An, resolveSectionBackground as Ao, blockDesignCapabilityMapFromDefinitions as Ar, sameMailingListPlacementTargeting as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, resolveModeArrangement as Ba, MinusIcon as Bi, getEventAvailability as Bn, blockSectionDeclarationShape as Bo, formatEventStartingPrice as Br, getBookingLocalDateKey as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, readOpeningToneProjection as Ca, asPartialObject as Ci, bookingPageKindSchema as Cn, spaciousBoundaryOption as Co, lookListPresentationSchemaShape as Cr, nextLiveRunSessionStartMs as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, headerRootPaint as Da, when as Di, getPublicEventCanonicalPath as Dn, applyLookPhotoTreatment as Do, clsx as Dr, parseMailingListRuntimeContext as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, headerRootIsTransparent as Ea, el as Ei, eventOccurrenceContext as En, transitionCatalogueEntries as Eo, Grid as Er, buildMailingListSignupBlockSourceRef as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, resolveLookForBlock as Fa, ClockIcon as Fi, selectionRepresentativeEvent as Fn, appearancePresets as Fo, formatCoursePrice as Fr, formatDateTimeRange as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, filterLookIdsForPolicy as Ga, plainTextToInlineText as Gi, resolveFeatureCardGeneratedIconSizePx as Gn, parseRepeaterGridInteger as Go, cardFragment as Gr, toBookingTimeZone as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, buildInitialPolicyPageDesignIntent as Ha, inlineTextToPlainText as Hi, isEventFull as Hn, fieldSchema as Ho, getAnchorClasses as Hr, parseBookingLocalDate as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, styleSectionBackgroundForColour as Ia, FileArchiveIcon as Ii, isBookableEvent as In, NodeSchema as Io, formatEventDepositNote as Ir, inferSiteDateLocale as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, getCuratedSiteStyle as Ja, parseFieldDefinitions as Ji, siteHeaderManifest as Jn, resolveRepeaterGridSpanFieldId as Jo, blogFeaturedPostFragment as Jr, formatBookingPriceDisplay as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, componentRuntimeRulesForSiteStyle as Ka, normalizeSelectSource as Ki, shouldReserveFeatureCardIconZone as Kn, resolveRepeaterGridColumnFieldId as Ko, faqAccordionFragment as Kr, toUtcIsoDateTimeString as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, arrangementManifestFromVariants as La, FileAudioIcon as Li, canJoinEventWaitlistOnAnyMode as Ln, bindingSchema as Lo, formatEventPrice as Lr, formatBookingCompactEnglishTime as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, compileArrangementLookRuntime as Ma, ChevronDownIcon as Mi, planWholeSeriesParentSelection as Mn, defaultHeroImageSurfaceTreatment as Mo, classPricesCopySchema as Mr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, getCompatibleBlockAppearancePresets as Na, CircleMinusIcon as Ni, planWholeSeriesRunSelection as Nn, stripStaleTransitionStyleGroup as No, classPricesDataSchema as Nr, formatDate$2 as Ns, offeringsListingFor as Nt, shopProductPresentation as O, arrangementAppearancePresets as Oa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Oi, isOrdinaryPublicEvent as On, deriveSectionGround as Oo, heroMorePhotoCount as Or, parseMailingListProviderScope as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, resolveArrangementLookForBlock as Pa, CirclePlusIcon as Pi, resolveSelectionBookingClosedDetail as Pn, themeV2CompilerOwnedFieldNames as Po, resolveClassPriceItems as Pr, formatDateRange as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, surfaceResolutionContextFromTheme as Qa, isRecord$5 as Qi, contentTransforms as Qn, formatDateKey as Qo, testimonialsCarouselFragment as Qr, publicEventPricingType as Qs, eventLocalDateKey as Qt, buildEventCalendarListingDisplay as R, readStoredMode as Ra, FileSpreadsheetIcon as Ri, formatEventRemainingPlaces as Rn, DEFAULT_MEDIA_FIELD_KINDS as Ro, formatEventPriceAmount as Rr, toScheduledBookingDateTime as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, effectiveHeaderNavLinkStyle as Sa, lookSkinSlotTransform as Si, closedRunCopy as Sn, softBoundaryOption as So, listLookSlot as Sr, CANCELLED_SESSION_STATUS as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, headerNeedsPhotoShade as Ta, runTransforms as Ti, hasCancelledRegistrationDate as Tn, anglePolygonCss as To, itemRole as Tr, resolveWholeSeriesBookingPhase as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, deriveSiteStyleBlockPolicy as Ua, isInlineTextEmpty as Ui, groupPublicEventsByRun as Un, validateManifestLookField as Uo, richTextFragment as Ur, parseLocalScheduleTime as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, resolvePublishedLook as Va, PlusIcon as Vi, getEventAvailabilityStatus as Vn, builtInBlockKindsSchema as Vo, BACKGROUND_POSITION_PRESET_VALUES as Vr, getLocalScheduleDate as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, filterLayoutProfilesForPolicy as Wa, parseInlineTextFromUnknown as Wi, FEATURE_CARD_ICON_TREATMENTS as Wn, isAcceptedRepeaterGridSpan as Wo, headingFragment as Wr, resolveBookingBusinessTimeZone as Ws, buildEventListWeek as Wt, CardListContentPart as X, compilePageRuntimeFields as Xa, augmentManifest as Xi, markEditableSurfaceForwarding as Xn, getLocalMinuteOfDay as Xo, formEmbedFragment as Xr, publicEventPricingCurrency as Xs, eventCalendarWeekStart as Xt, listingEventCardProps as Y, requireCuratedSiteStyle as Ya, PUBLIC_DOWNLOAD_MEDIA_TYPES as Yi, composeHeaderSectionWrapperClassName as Yn, getLocalDateKey as Yo, singleButtonFragment as Yr, isPublicEventPricingOptionDisplayable as Ys, buildCalendarViewport as Yt, CardListLeadDate as Z, stripCompiledRuntimeStyleFields as Za, isObjectRecord$1 as Zi, splitPositioningClasses as Zn, addDays as Zo, formCopyFragment as Zr, publicEventPricingDisplay as Zs, eventDateOptions as Zt, buildGiftingInteractiveIslandProps as _, lookPresentationOnPalette as _a, bodyCopyFragment as _i, eventPlaceName as _n, boundaryOptions as _o, createZodCodec as _r, loadedReadinessFact as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventDiscoveryFilterKeys as aa, parseGradientPresetId as ac, boxStylesTransforms as ai, formatEventNextDateFact as an, generateNavLinkCSS as ao, headerRuntimeTransforms as ar, projectRecurringSchedule as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, parseListLook as ba, lookLeadSlotTransform as bi, blockSiteTermsSchema as bn, isDecorativeTransitionIntent as bo, listItemPresentation as br, isRecord$6 as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventScopeQueryKeys as ca, resolveCardRoleForBoxStyles as ci, formatEventWeekdayTime as cn, resolveEffectPaint as co, staticHeaderChromeRuntime as cr, blockBookingConsentSchema as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventCalendarListGroupingDecision as da, parseRuntimeBackgroundContent as di, resolveEventTimeZone as dn, resolvePageDesignBlockLookChoice as do, formatDate$1 as dr, sanitizeHref as ds, systemCustomizeFacetDefinitionsForBlock as dt, blockChecksForEvents as ea, resolvePricingOptionsPriceDisplay as ec, ctaCopyFragment as ei, formatDate as en, getGradientPreset as eo, teamMemberBiography as er, getOrderedDayNames as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, resolveEventCalendarReadPlan as fa, resolveSectionSurfaceForeground as fi, resolveRuntimeEventDestination as fn, resolvePageDesignBoundaryChoice as fo, formBlockDefinition as fr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveHeaderRootForeground as ga, isSemanticSpacing as gi, eventOnlinePlace as gn, boundaryOptionForTransitionIntent as go, defineInteractiveIslandMetaKeys as gr, hiddenFromVisitors as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, AFFORDANCE_SUPPRESS_CLASS as ha, ctaButton as hi, browserReadAuthoritySchema as hn, sectionShapeHook as ho, createInteractiveIslandCodec as hr, admitReadinessFacts as hs, EventQuickFacts as ht, systemBlockDefinitions as i, eventReadinessResultSchema as ia, unsafeAsEventCategoryId$1 as ic, heroCopyFragment as ii, formatEventHourLabel as in, buildTextContrastShadow as io, mediaTransforms as ir, isToday as is, MediaPlaceholder as it, passCardListContent as j, automaticArrangementLook as ja, ArrowDownIcon as ji, planWholeSeriesParentBooking as jn, sectionSurfaceBase as jo, resolveDeclaredBlockDesignCapability as jr, isCanonicalRichTextDoc as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, arrangementLookHooks as ka, parseBlockIconValue as ki, planDropInPanel as kn, parseCanonicalRuntimeBackground as ko, morePhotosField as kr, parseMailingListPlacementTargeting as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, resolveEventScope as la, parseBackgroundContent as li, formatTime as ln, generateInteractiveChildInheritanceCSS as lo, uiTransforms as lr, bookingConsentCarrierSchema as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, themeButtonSelector as ma, resolveBackgroundColorValue as mi, bookingPresentation as mn, sectionShapeFromContent as mo, buildInteractiveIslandProps as mr, calendarWindowQuerySchema as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, eventReadinessQuery as na, parseContentVersionId as nc, ctaRowFragment as ni, formatEventCompactDateRail as nn, generateDefaultCardSystem as no, readRuntimeNow as nr, getWeekCalendarDays as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventScopeLoaderParam as oa, arrangementSlotNames as oc, boxStyleClassNames as oi, formatEventRunDates as on, generateEffectsCSS as oo, chromeLogoTransforms as or, publicEventsArraySchema as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, parseThemeButtonVariantId as pa, resolveSurfaceForegroundStyles as pi, formatBookingSchedulePresentation as pn, sectionShapeForGround as po, buildFormInteractiveIslandProps as pr, linkSchema as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, designRuntimeRulesForSiteStyle as qa, parseFieldDefinition as qi, siteFooterManifest as qn, resolveRepeaterGridRowFieldId as qo, faqHeadingFragment as qr, offeringLabelForPageSurfaceSubject as qs, groupEventsByWeek as qt, normalizeBlockContent as r, eventReadinessQueryKeys as ra, unsafeAsContentEntryId as rc, isBlockButtonRole as ri, formatEventDateParts as rn, generateFooterCss as ro, resolveDateRuntimeContext as rr, isSameCalendarDay as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventScopeQuery as sa, TokenResolver as sc, normalizeBoxStylesBorder as si, formatEventTimeRange as sn, resolveEffectApplications as so, layoutTransforms as sr, blockBookingPaymentTermsSchema as ss, resolveImageUrl as st, getBlockDefinition as t, eventReadinessLoaderKey as ta, formatCurrencyAmount as tc, heroCtaRowFragment as ti, formatEventClockLabel as tn, resolveCardRole as to, teamMemberCardBiography as tr, getWeekCalendarDayTuple as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, resolveCalendarReadProfile as ua, parseBackgroundOverlay as ui, groupEventsByDate as un, parsePageDesignIntent as uo, formattingTransforms as ur, beforeBookingQuestionsPresentationSchema as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, resolveLookSurfacePresentation as va, defineFragment as vi, eventVenuePlace as vn, boundaryRuntimeMetricsForDecorativeTransition as vo, defineClientOwnedBlockRuntime as vr, pageTemplateFromEntry as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, heroPhotoPaintsGround as wa, createTransformRegistry as wi, cancelledDateCopy as wn, transitionIntentForTreatment as wo, resolvedItemSurfaceProps as wr, orderedLiveRunSessions as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, authoredHeaderLinkForeground as xa, lookQuoteLimitTransform as xi, pageNavigationSchema as xn, noneBoundaryOption as xo, listLookControl as xr, EVENT_PRESET_VALUES as xs, bookingNowSchema as xt, cartBlockDefinition as y, selectItemSurfacePresentation as ya, lookCarouselRegionTransform as yi, formatEventLocation as yn, boundaryTreatmentForBoundaryOptionId as yo, defineProgressiveBlockRuntime as yr, unavailableReadinessFact as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveEffectiveArrangement as za, FileTextIcon as zi, formatTotalCapacity as zn, blockCategoryEnum as zo, formatEventPriceDisplay as zr, compareLocalScheduleDates as zs, ThemedButton as zt };
|
|
56588
|
+
export { resolveCardListSchedule as $, componentRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, validateManifestLookField as $o, singleButtonFragment as $r, parseLocalScheduleTime as $s, eventOnlinePlace as $t, membershipClassesLabel as A, headerRootIsTransparent as Aa, el as Ai, isOrdinaryPublicEvent as An, isDecorativeTransitionIntent as Ao, Grid as Ar, isRecord$6 as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, styleSectionBackgroundForColour as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, resolveSectionBackground as Bo, formatEventDepositNote as Br, sameMailingListPlacementTargeting as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, selectItemSurfacePresentation as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeForGround as Co, defineProgressiveBlockRuntime as Cr, linkSchema as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, readOpeningToneProjection as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryOptions as Do, lookListPresentationSchemaShape as Dr, loadedReadinessFact as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, effectiveHeaderNavLinkStyle as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryOptionForTransitionIntent as Eo, listLookSlot as Er, hiddenFromVisitors as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, automaticArrangementLook as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, anglePolygonCss as Fo, resolveDeclaredBlockDesignCapability as Fr, resolveWholeSeriesBookingPhase as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, resolvePublishedLook as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, appearancePresets as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, formatDateTimeRange as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, readStoredMode as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, defaultHeroImageSurfaceTreatment as Ho, formatEventPriceAmount as Hr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, compileArrangementLookRuntime as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, transitionCatalogueEntries as Io, classPricesCopySchema as Ir, buildMailingListSignupBlockSourceRef as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, buildInitialPolicyPageDesignIntent as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, DEFAULT_MEDIA_FIELD_KINDS as Jo, headingFragment as Jr, toScheduledBookingDateTime as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, applyBlockContentVariantPolicy as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, NodeSchema as Ko, getAnchorClasses as Kr, inferSiteDateLocale as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, getCompatibleBlockAppearancePresets as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, applyLookPhotoTreatment as Lo, classPricesDataSchema as Lr, parseMailingListRuntimeContext as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, arrangementAppearancePresets as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, softBoundaryOption as Mo, heroMorePhotoCount as Mr, CANCELLED_SESSION_STATUS as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, arrangementLookHooks as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, spaciousBoundaryOption as No, morePhotosField as Nr, nextLiveRunSessionStartMs as Ns, offeringsListingFor as Nt, shopProductPresentation as O, heroPhotoPaintsGround as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, boundaryRuntimeMetricsForDecorativeTransition as Oo, resolvedItemSurfaceProps as Or, pageTemplateFromEntry as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, arrangementStyleAvailability as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionIntentForTreatment as Po, blockDesignCapabilityMapFromDefinitions as Pr, orderedLiveRunSessions as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, componentRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, fieldSchema as Qo, blogFeaturedPostFragment as Qr, parseBookingLocalDate as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, resolveArrangementLookForBlock as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, deriveSectionGround as Ro, resolveClassPriceItems as Rr, parseMailingListProviderScope as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, resolveLookSurfacePresentation as Sa, defineFragment as Si, formatTime as Sn, pageDesignDecisionsV2Schema as So, defineClientOwnedBlockRuntime as Sr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, authoredHeaderLinkForeground as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, sectionShapeHook as To, listLookControl as Tr, admitReadinessFacts as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, resolveEffectiveArrangement as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, stripStaleTransitionStyleGroup as Uo, formatEventPriceDisplay as Ur, formatDate$2 as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, arrangementManifestFromVariants as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, sectionSurfaceBase as Vo, formatEventPrice as Vr, isCanonicalRichTextDoc as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, resolveModeArrangement as Wa, MinusIcon as Wi, getEventAvailability as Wn, themeV2CompilerOwnedFieldNames as Wo, formatEventStartingPrice as Wr, formatDateRange as Ws, buildEventListWeek as Wt, CardListContentPart as X, filterLayoutProfilesForPolicy as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, blockSectionDeclarationShape as Xo, faqAccordionFragment as Xr, getBookingLocalDateKey as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, deriveSiteStyleBlockPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, blockCategoryEnum as Yo, cardFragment as Yr, compareLocalScheduleDates as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, filterLookIdsForPolicy as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, builtInBlockKindsSchema as Zo, faqHeadingFragment as Zr, getLocalScheduleDate as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, parseThemeButtonVariantId as _a, TokenResolver as _c, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, generateInteractiveChildInheritanceCSS as _o, buildFormInteractiveIslandProps as _r, blockBookingPaymentTermsSchema as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessLoaderKey as aa, isPublicEventPricingOptionDisplayable as ac, heroCtaRowFragment as ai, closedDatesCopy as an, stripCompiledRuntimeStyleFields as ao, teamMemberCardBiography as ar, getLocalDateKey as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveHeaderRootForeground as ba, isSemanticSpacing as bi, formatEventTimeRange as bn, resolvePageDesignBlockLookChoice as bo, defineInteractiveIslandMetaKeys as br, beforeBookingQuestionsPresentationSchema as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventReadinessResultSchema as ca, publicEventPricingType as cc, heroCopyFragment as ci, buildCalendarViewport as cn, getGradientPreset as co, mediaTransforms as cr, formatDateKey as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventScopeQuery as da, formatCurrencyAmount as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateFooterCss as do, layoutTransforms as dr, getWeekCalendarDayTuple as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, toUtcIsoDateTimeString as ec, formEmbedFragment as ei, eventPlaceName as en, designRuntimeRulesForSiteStyle as eo, markEditableSurfaceForwarding as er, isAcceptedRepeaterGridSpan as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, eventScopeQueryKeys as fa, parseContentVersionId as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, buildTextContrastShadow as fo, staticHeaderChromeRuntime as fr, getWeekCalendarDays as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveEventCalendarReadPlan as ga, arrangementSlotNames as gc, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, resolveEffectPaint as go, formBlockDefinition as gr, publicEventsArraySchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, eventCalendarListGroupingDecision as ha, parseGradientPresetId as hc, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, resolveEffectApplications as ho, formatDate$1 as hr, projectRecurringSchedule as hs, EventQuickFacts as ht, systemBlockDefinitions as i, blockChecksForEvents as ia, formatBookingPriceDisplay as ic, ctaCopyFragment as ii, pageNavigationSchema as in, compilePageRuntimeFields as io, teamMemberBiography as ir, resolveRepeaterGridSpanFieldId as is, MediaPlaceholder as it, passCardListContent as j, headerRootPaint as ja, when as ji, planDropInPanel as jn, noneBoundaryOption as jo, clsx as jr, EVENT_PRESET_VALUES as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, headerNeedsPhotoShade as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, boundaryTreatmentForBoundaryOptionId as ko, itemRole as kr, unavailableReadinessFact as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, eventDiscoveryFilterKeys as la, resolveExactOrFreePriceDisplay as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, resolveCardRole as lo, headerRuntimeTransforms as lr, getDayOfWeek as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveCalendarReadProfile as ma, unsafeAsEventCategoryId$1 as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, generateEffectsCSS as mo, formattingTransforms as mr, isToday as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, isRecord$5 as na, toBookingTimeZone as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, getCuratedSiteStyle as no, contentTransforms as nr, resolveRepeaterGridColumnFieldId as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessQuery as oa, publicEventPricingCurrency as oc, ctaRowFragment as oi, closedRunCopy as on, surfaceResolutionContextFromTheme as oo, readRuntimeNow as or, getLocalMinuteOfDay as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, resolveEventScope as pa, unsafeAsContentEntryId as pc, parseBackgroundContent as pi, formatDate as pn, generateNavLinkCSS as po, uiTransforms as pr, isSameCalendarDay as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, applySiteStyleBlockPoliciesToPageDesignIntent as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, bindingSchema as qo, richTextFragment as qr, formatBookingCompactEnglishTime as qs, groupEventsByWeek as qt, normalizeBlockContent as r, chosenString as ra, offeringLabelForPageSurfaceSubject as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, requireCuratedSiteStyle as ro, parseTeamMemberSpecialties as rr, resolveRepeaterGridRowFieldId as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventReadinessQueryKeys as sa, publicEventPricingDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, gradientToCss as so, resolveDateRuntimeContext as sr, addDays as ss, resolveImageUrl as st, getBlockDefinition as t, isObjectRecord$1 as ta, resolveBookingBusinessTimeZone as tc, formCopyFragment as ti, eventVenuePlace as tn, designRuntimeRulesForTheme as to, splitPositioningClasses as tr, parseRepeaterGridInteger as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeLoaderParam as ua, resolvePricingOptionsPriceDisplay as uc, boxStyleClassNames as ui, eventDateOptions as un, generateDefaultCardSystem as uo, chromeLogoTransforms as ur, getOrderedDayNames as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, themeButtonSelector as va, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, parsePageDesignIntent as vo, buildInteractiveIslandProps as vr, blockBookingConsentSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, parseListLook as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, sectionShapeFromContent as wo, listItemPresentation as wr, calendarWindowQuerySchema as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, lookPresentationOnPalette as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, resolvePageDesignBoundaryChoice as xo, createZodCodec as xr, sanitizeHref as xs, bookingNowSchema as xt, cartBlockDefinition as y, AFFORDANCE_SUPPRESS_CLASS as ya, ctaButton as yi, formatEventRunDates as yn, rebasePageDesignIntentToSiteStyle as yo, createInteractiveIslandCodec as yr, bookingConsentCarrierSchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveLookForBlock as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, parseCanonicalRuntimeBackground as zo, formatCoursePrice as zr, parseMailingListPlacementTargeting as zs, ThemedButton as zt };
|