@riverbankcms/sdk 0.168.0 → 0.169.1
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/dist/_dts/{BlocksIslandsHydrator-CiD_VVGM.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-C8mfUxrJ.d.ts → client-BZMn4Y99.d.ts} +39 -397
- package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-DjYsGY3B.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-Bpr-wT5k.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-C7_Rz8EY.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-Vh8B9FSa.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-Cx2BQlHL.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-vR3p9Bu-.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DssgRQSm.d.ts} +9558 -7863
- package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +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 +2 -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 +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/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 +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BB33-Spd.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-BVFXYtRg.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-FOsJ-KYb.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-Br1VyHkP.mjs} +17 -6
- package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-LLGCWjvU.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +65 -9
- package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-ucgdMS35.mjs} +9 -9
- package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-BEdfJGpx.mjs} +7 -7
- package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BCvRqU86.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +132 -62
- package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D_M2Vxz3.mjs → Page-Bu5TJU3L.mjs} +53 -22
- package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-CR7_0yu4.mjs} +5 -4
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-DE7OG--d.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-wd71DG19.mjs} +505 -217
- package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-Cyr2qeS1.mjs} +17 -17
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +16 -13
- package/dist/client/{carousel-DZyUdnFh.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D7HkkNwe.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-CY8qywXl.mjs} +3 -2
- package/dist/client/client.mjs +87 -4
- package/dist/client/{context-DXmIbXCK.mjs → context-Xhf81Q-c.mjs} +25 -3
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
- package/dist/client/{cta-DP_IBnq3.mjs → cta-CfuyGqXL.mjs} +2 -2
- package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{wizardSteps-CFulHWnT.mjs → display-DDNmyb0z.mjs} +920 -870
- package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -2
- package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-CLBdHUfd.mjs} +59 -18
- package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-DyseP_sY.mjs} +19 -19
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-DgQqm7T2.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-D3_RF29v.mjs} +4 -4
- package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-IfLup4o0.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
- package/dist/client/portal/client.mjs +21 -13
- package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-B8o5AOMX.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-Dc8j5i79.mjs} +3 -3
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-CMrdUGGv.mjs} +338 -289
- package/dist/client/rendering/client.mjs +39 -39
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-rRXplPGZ.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-B3PyRHaN.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-RljK0qPB.mjs} +110 -31
- package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-BH0xDlMF.mjs} +42 -533
- package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-BG7Ejxdr.mjs} +12 -12
- package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-GP8tnAVW.mjs} +3 -3
- package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Cq07nTyG.mjs} +5 -3
- package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-spj7sGQP.mjs} +6 -6
- package/dist/client/{view-L_mkgtnk.mjs → view-aAP2WbCR.mjs} +2 -3
- package/dist/client/{view-448wvvEY.mjs → view-oToSpu1N.mjs} +7 -7
- package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +201 -151
- package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +12 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +1418 -598
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +684 -930
- package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-jc2Bug-h.mjs} +83 -0
- package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +31 -5
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-DLoZYUxG.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Bc8jI8zN.mjs → client-C-asG6Cf.mjs} +85 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DQAo35og.mjs} +9 -8
- package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +2 -2
- package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-7mPhqqXX.mjs} +345 -289
- package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
- package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Bh0Y25zH.mjs → registry-7_0_lUrh.mjs} +305 -844
- 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/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-D2bHWSxJ.mjs → validation-CSMS6XmP.mjs} +4 -4
- package/dist/server/{version-DkM1eAxG.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +15 -3
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-DcwEaliO.mjs +0 -296
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/eventCombined-DoSi8p_l.mjs +0 -28
- package/dist/client/eventListing-CkiMjl0g.mjs +0 -29
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-
|
|
3
|
+
import { Ao as formatEventPricing, Bi as defineClientOwnedBlockRuntime, Bo as parseEventSeriesId, Cn as RichText, Co as DEFAULT_MAILING_LIST_PRIVACY_NOTE, D as registrationStepLabel, Dn as mediaImageHostProps, Do as parseMailchimpInterestId, E as registrationRoute, En as computeMediaTransformStyle, Eo as parseMailchimpAudienceId, Fa as assertNever, Fi as defineInteractiveIslandMetaKeys, Ft as formatBookingWhen, Gi as listLookSlot, Ha as toNonEmptyReadonlyArray, Hi as isDecodeSuccess, Ii as eventRegistrationPageSurfaceSubjectSchema, In as eventCalendarWeekStart, Ki as lookListPresentationSchemaShape, Ln as eventDateLocale, N as isRegistrationLocked, Ni as buildInteractiveIslandProps, Nn as resolveMediaNodeResponsiveImage, No as publicEventPricingDisplay, O as registrationStepLabelContext, On as renderAudio, Oo as parseNewsletterListId, Pi as createInteractiveIslandCodec, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, S as getEventSelectionMode, Sn as shownVenue, Ti as browserReadAuthoritySchema, Tn as MediaPlaceholder, To as parseBrevoListId, Ui as listItemPresentation, Un as formatEventCompactDateRail, Vi as defineProgressiveBlockRuntime, Zn as resolveRuntimeEventDestination, _i as previewStageSchema, _o as nextLiveRunSessionStartMs, a as buildProductDetailDisplay, an as toWholeSeriesRegistrationEvent, b as resolveSelectedProduct, bn as registrationDisplaySchema, bo as resolveWholeSeriesRunLifecycle, ct as findPreSelectedEvent, di as columnOptionSchema, fi as eventButtonVariantSchema, g as deriveCommerceCheckoutState, gi as filterAutoShowSchema, hi as eventLayoutSchema, in as toRegistrationEvents, ji as pageNavigationSchema, kn as renderVideo, ko as formatBookingPriceDisplay, li as bookingNowSchema, lr as groupPublicEventsByRun, mi as eventCalendarDisplayModeSchema, n as buildCheckoutDisplay, no as cardRoleSchema, o as buildProductListDisplay, on as toWholeSeriesRegistrationEvents, pi as eventCalendarDefaultViewSchema, qt as withOccurrenceTitle, r as buildPassesMembershipsDisplay, ra as resolveModeArrangement, sr as selectEventCapacitySource, t as buildCartDisplay, tr as formatRemainingPlaces, ui as calendarTabViewsSchema, ut as resolveEventRequiresPayment, vi as registrationButtonVariantSchema, wi as resolveDateRuntimeContext, wn as ImagePresets, wo as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, x as REGISTRATION_STEP_LABELS, xi as blockButtonRoleSchema, xn as resolveRegistrationDisplay, xo as parseMailingListRuntimeContext, yi as weekStartSchema, yn as placesLeftLabel, zi as createZodCodec, zn as eventLocalDateKey, zt as formatRegistrationSchedule } from "./display-DDNmyb0z.mjs";
|
|
4
|
+
import { It as formatTime, Jt as getLocalScheduleDate, L as publicEventDestinationSchema, Mt as formatDate, Nt as formatDateRange, Qt as resolveBookingTimeZoneId, R as publicEventSchema, S as isEventCalendarListLayout, Ut as buildBookingUtcDateWindow, Yt as parseBookingLocalDate, Zt as resolveBookingBusinessTimeZone, _t as eventScheduleScopeValues, bt as publicEventLoaderQuerySchemaShape, dt as publicPassProductSchema, en as parseUtcIsoDateTimeString, ft as publicProductSchema, g as eventCalendarListGroupingDecision, mt as purchasablePublicPassProductSchema, n as blockSiteTermsSchema, o as publicMembershipProductCollectionSchema, p as calendarWindowPageSchema, pt as purchasablePublicMembershipProductSchema, s as publicPassProductCollectionSchema, tn as toUtcIsoDateTimeString, ut as publicMembershipProductSchema, v as eventCalendarVariantMeaning, vt as eventSurfacePresetValues, w as resolveEventCalendarReadPlan, y as eventListArrangementValues, yt as eventSurfaceScopeValues, zt as inferSiteDateLocale } from "./noop-B_f7RqLD.mjs";
|
|
5
|
+
import { M as assertNever$2, h as assertNever$1 } from "./creditProducts-CMOmhWm2.mjs";
|
|
6
|
+
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
8
8
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
9
|
-
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
10
9
|
import "react";
|
|
11
|
-
import { z } from "zod";
|
|
12
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { z } from "zod";
|
|
13
12
|
//#region ../core/src/block-interaction-context.ts
|
|
14
13
|
/** Server-resolved presentation context, never permission to perform a write. */
|
|
15
14
|
const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
|
|
@@ -396,111 +395,6 @@ const EVENT_PRESET_VOCABULARY = {
|
|
|
396
395
|
}
|
|
397
396
|
};
|
|
398
397
|
//#endregion
|
|
399
|
-
//#region ../site-contracts/src/siteData/products.ts
|
|
400
|
-
const publicProductVariantSchema = z.object({
|
|
401
|
-
id: z.string(),
|
|
402
|
-
title: z.string(),
|
|
403
|
-
sku: z.string().nullable(),
|
|
404
|
-
priceCents: z.number(),
|
|
405
|
-
stockQuantity: z.number().nullable(),
|
|
406
|
-
soldOut: z.boolean()
|
|
407
|
-
});
|
|
408
|
-
const publicProductSchema = z.object({
|
|
409
|
-
id: z.string(),
|
|
410
|
-
contentEntryId: z.string().nullable(),
|
|
411
|
-
title: z.string(),
|
|
412
|
-
slug: z.string(),
|
|
413
|
-
path: z.string().nullable(),
|
|
414
|
-
status: z.enum(["draft", "active"]),
|
|
415
|
-
priceCents: z.number(),
|
|
416
|
-
currency: z.string(),
|
|
417
|
-
productType: z.enum(["physical", "digital"]),
|
|
418
|
-
requiresShipping: z.boolean(),
|
|
419
|
-
hasVariants: z.boolean(),
|
|
420
|
-
trackInventory: z.boolean(),
|
|
421
|
-
soldOut: z.boolean(),
|
|
422
|
-
category: z.object({
|
|
423
|
-
id: z.string(),
|
|
424
|
-
name: z.string(),
|
|
425
|
-
slug: z.string()
|
|
426
|
-
}).nullable(),
|
|
427
|
-
summary: z.string().nullable(),
|
|
428
|
-
body: z.unknown().nullable(),
|
|
429
|
-
gallery: z.array(z.object({
|
|
430
|
-
url: z.string(),
|
|
431
|
-
alt: z.string().nullable()
|
|
432
|
-
})),
|
|
433
|
-
variants: z.array(publicProductVariantSchema)
|
|
434
|
-
});
|
|
435
|
-
/**
|
|
436
|
-
* Public pass product for shop display
|
|
437
|
-
*/
|
|
438
|
-
const publicPassProductFields = {
|
|
439
|
-
id: z.string(),
|
|
440
|
-
productUseCase: z.enum(["event_pass", "appointment_package"]).default("event_pass"),
|
|
441
|
-
name: z.string(),
|
|
442
|
-
description: z.string().nullable(),
|
|
443
|
-
price: z.number(),
|
|
444
|
-
currency: z.string(),
|
|
445
|
-
creditsTotal: z.number(),
|
|
446
|
-
pricePerCredit: z.number(),
|
|
447
|
-
validDays: z.number().nullable(),
|
|
448
|
-
eligibleCategoryIds: z.array(z.string()),
|
|
449
|
-
eligibleCategoryNames: z.array(z.string()),
|
|
450
|
-
teamMemberSelection: z.discriminatedUnion("kind", [
|
|
451
|
-
z.object({ kind: z.literal("any") }),
|
|
452
|
-
z.object({
|
|
453
|
-
kind: z.literal("owner"),
|
|
454
|
-
teamMember: z.object({
|
|
455
|
-
id: z.string(),
|
|
456
|
-
name: z.string()
|
|
457
|
-
})
|
|
458
|
-
}),
|
|
459
|
-
z.object({
|
|
460
|
-
kind: z.literal("choose"),
|
|
461
|
-
teamMembers: z.array(z.object({
|
|
462
|
-
id: z.string(),
|
|
463
|
-
name: z.string()
|
|
464
|
-
}))
|
|
465
|
-
})
|
|
466
|
-
]).optional()
|
|
467
|
-
};
|
|
468
|
-
const purchasablePublicPassProductSchema = z.object({
|
|
469
|
-
...publicPassProductFields,
|
|
470
|
-
purchaseAvailability: z.literal("purchasable")
|
|
471
|
-
});
|
|
472
|
-
const publicPassProductSchema = z.discriminatedUnion("purchaseAvailability", [purchasablePublicPassProductSchema, z.object({
|
|
473
|
-
...publicPassProductFields,
|
|
474
|
-
purchaseAvailability: z.literal("display_only"),
|
|
475
|
-
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
476
|
-
})]);
|
|
477
|
-
/**
|
|
478
|
-
* Public membership product for shop display
|
|
479
|
-
*/
|
|
480
|
-
const publicMembershipProductFields = {
|
|
481
|
-
id: z.string(),
|
|
482
|
-
name: z.string(),
|
|
483
|
-
description: z.string().nullable(),
|
|
484
|
-
price: z.number(),
|
|
485
|
-
currency: z.string(),
|
|
486
|
-
billingInterval: z.enum(["month", "year"]),
|
|
487
|
-
eligibleCategoryIds: z.array(z.string()),
|
|
488
|
-
eligibleCategoryNames: z.array(z.string())
|
|
489
|
-
};
|
|
490
|
-
const purchasablePublicMembershipProductSchema = z.object({
|
|
491
|
-
...publicMembershipProductFields,
|
|
492
|
-
purchaseAvailability: z.literal("purchasable")
|
|
493
|
-
});
|
|
494
|
-
const publicMembershipProductSchema = z.discriminatedUnion("purchaseAvailability", [purchasablePublicMembershipProductSchema, z.object({
|
|
495
|
-
...publicMembershipProductFields,
|
|
496
|
-
purchaseAvailability: z.literal("display_only"),
|
|
497
|
-
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
498
|
-
})]);
|
|
499
|
-
//#endregion
|
|
500
|
-
//#region ../blocks/src/system/blocks/shop.shared.ts
|
|
501
|
-
const publicPassProductCollectionSchema = z.object({ passes: z.array(publicPassProductSchema) });
|
|
502
|
-
const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(publicMembershipProductSchema) });
|
|
503
|
-
//#endregion
|
|
504
398
|
//#region ../theme-core/src/siteChromePlacement.ts
|
|
505
399
|
const SITE_CHROME_PLACEMENT_CLASSES = [
|
|
506
400
|
"rb-sticky",
|
|
@@ -2317,7 +2211,7 @@ const eventCalendarBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
2317
2211
|
display: display.listBy === "week" ? {
|
|
2318
2212
|
...display,
|
|
2319
2213
|
events: eventListWindowEvents(display.events, buildEventListWeek(hydration.calendarContext.initialToday, display.startOfWeek, hydration.calendarContext.timeZone))
|
|
2320
|
-
} : display,
|
|
2214
|
+
} : plan.jobs === "list" || plan.jobs === "both" ? firstListPage(display) : display,
|
|
2321
2215
|
hydration
|
|
2322
2216
|
};
|
|
2323
2217
|
}
|
|
@@ -2373,6 +2267,17 @@ function weekListPaging(source) {
|
|
|
2373
2267
|
sectionAction: void 0
|
|
2374
2268
|
} : {};
|
|
2375
2269
|
}
|
|
2270
|
+
/**
|
|
2271
|
+
* A list seed is its first page: the list slices to one page before its pager sees the events,
|
|
2272
|
+
* and the pager reads later pages from the server after the last one it holds. The rest of the
|
|
2273
|
+
* read would only be sent to the browser and dropped. The calendar tab has its own window.
|
|
2274
|
+
*/
|
|
2275
|
+
function firstListPage(display) {
|
|
2276
|
+
return display.events.length > display.eventsPerPage ? {
|
|
2277
|
+
...display,
|
|
2278
|
+
events: display.events.slice(0, display.eventsPerPage)
|
|
2279
|
+
} : display;
|
|
2280
|
+
}
|
|
2376
2281
|
/** The week presentation owns the series projection and its independent header action. */
|
|
2377
2282
|
function calendarRecurringWeekPresentation(source) {
|
|
2378
2283
|
return {
|
|
@@ -2497,6 +2402,10 @@ function formatBookingSchedulePresentation(event) {
|
|
|
2497
2402
|
function formatBookingScheduleSummary(event) {
|
|
2498
2403
|
return formatBookingSchedulePresentation(event)?.text ?? null;
|
|
2499
2404
|
}
|
|
2405
|
+
/** The course's name when the page is a course's own (an offering subject). */
|
|
2406
|
+
function courseTitleOf(subject) {
|
|
2407
|
+
return subject?.kind === "eventOffering" ? subject.title ?? null : null;
|
|
2408
|
+
}
|
|
2500
2409
|
const DEFAULT_BOOKING_BUTTON_TEXT = "Book your place";
|
|
2501
2410
|
/** Browse the page's dates on close while keeping the draft's resume action. */
|
|
2502
2411
|
function bookingCardEntry(input) {
|
|
@@ -2576,11 +2485,19 @@ function formatBookingShortDate(event) {
|
|
|
2576
2485
|
function byStart(left, right) {
|
|
2577
2486
|
return Date.parse(left.startsAt) - Date.parse(right.startsAt);
|
|
2578
2487
|
}
|
|
2488
|
+
/**
|
|
2489
|
+
* The run's name as a fact after the course's: none off a course page, and
|
|
2490
|
+
* none for an unnamed run (one titled as the course), whose dates say it.
|
|
2491
|
+
*/
|
|
2492
|
+
function runName(event, courseTitle) {
|
|
2493
|
+
return courseTitle && event.title !== courseTitle ? event.title : null;
|
|
2494
|
+
}
|
|
2579
2495
|
function singleEntry(event, input) {
|
|
2580
2496
|
const isCourse = event.registrationSubject.kind === "wholeSeries";
|
|
2581
2497
|
return {
|
|
2582
2498
|
kind: "single",
|
|
2583
|
-
title: event.title,
|
|
2499
|
+
title: input.courseTitle ?? event.title,
|
|
2500
|
+
run: runName(event, input.courseTitle),
|
|
2584
2501
|
when: formatRegistrationSchedule(event, null, "long"),
|
|
2585
2502
|
shortWhen: formatRegistrationSchedule(event),
|
|
2586
2503
|
venue: shownVenue(event, input.display),
|
|
@@ -2596,7 +2513,7 @@ function chooseDateEntry(input) {
|
|
|
2596
2513
|
const shown = ordered.slice(0, 4);
|
|
2597
2514
|
return {
|
|
2598
2515
|
kind: "chooseDate",
|
|
2599
|
-
title: first?.title ?? "",
|
|
2516
|
+
title: input.courseTitle ?? first?.title ?? "",
|
|
2600
2517
|
schedule: (first ? formatBookingScheduleSummary(first) : null) ?? (ordered.length === 1 ? "1 date" : `${ordered.length} dates`),
|
|
2601
2518
|
venue: first ? shownVenue(first, input.display) : null,
|
|
2602
2519
|
price: seriesPriceLabel(ordered),
|
|
@@ -2620,9 +2537,9 @@ function idleBookingEntry(input) {
|
|
|
2620
2537
|
if (getEventSelectionMode(input.events) === "date") return chooseDateEntry(input);
|
|
2621
2538
|
return {
|
|
2622
2539
|
kind: "chooseEvent",
|
|
2623
|
-
title: input.events[0]?.title ?? "",
|
|
2540
|
+
title: input.courseTitle ?? input.events[0]?.title ?? "",
|
|
2624
2541
|
count: input.events.length,
|
|
2625
|
-
|
|
2542
|
+
countLabel: input.courseTitle ? `${input.events.length} to choose from` : `${input.events.length} ${input.noun.pluralLabel}`,
|
|
2626
2543
|
action: "Choose an event"
|
|
2627
2544
|
};
|
|
2628
2545
|
}
|
|
@@ -2634,7 +2551,7 @@ function bookingEntry(input) {
|
|
|
2634
2551
|
};
|
|
2635
2552
|
if (input.underway) return {
|
|
2636
2553
|
kind: "inProgress",
|
|
2637
|
-
title: input.event?.title ?? input.events[0]?.title ?? "",
|
|
2554
|
+
title: input.courseTitle ?? input.event?.title ?? input.events[0]?.title ?? "",
|
|
2638
2555
|
progress: input.progress,
|
|
2639
2556
|
action: "Continue booking"
|
|
2640
2557
|
};
|
|
@@ -2690,7 +2607,7 @@ function bookingPanelHeading(entry, display) {
|
|
|
2690
2607
|
};
|
|
2691
2608
|
case "chooseEvent": return {
|
|
2692
2609
|
title,
|
|
2693
|
-
subtitle:
|
|
2610
|
+
subtitle: entry.countLabel
|
|
2694
2611
|
};
|
|
2695
2612
|
case "inProgress": return {
|
|
2696
2613
|
title,
|
|
@@ -3154,6 +3071,7 @@ const idleBookingEntrySchema = z.discriminatedUnion("kind", [
|
|
|
3154
3071
|
z.object({
|
|
3155
3072
|
kind: z.literal("single"),
|
|
3156
3073
|
title: z.string(),
|
|
3074
|
+
run: z.string().nullable(),
|
|
3157
3075
|
when: z.string().nullable(),
|
|
3158
3076
|
shortWhen: z.string().nullable(),
|
|
3159
3077
|
venue: z.string().nullable(),
|
|
@@ -3183,7 +3101,7 @@ const idleBookingEntrySchema = z.discriminatedUnion("kind", [
|
|
|
3183
3101
|
kind: z.literal("chooseEvent"),
|
|
3184
3102
|
title: z.string(),
|
|
3185
3103
|
count: z.number(),
|
|
3186
|
-
|
|
3104
|
+
countLabel: z.string(),
|
|
3187
3105
|
action: z.string()
|
|
3188
3106
|
})
|
|
3189
3107
|
]);
|
|
@@ -3216,7 +3134,8 @@ function idleEntry(source, scopedSourceEvents, display) {
|
|
|
3216
3134
|
display,
|
|
3217
3135
|
buttonText: source.buttonText,
|
|
3218
3136
|
noun: nounFor(scoped, source.bookingOfferingPresets),
|
|
3219
|
-
attendanceMode: null
|
|
3137
|
+
attendanceMode: null,
|
|
3138
|
+
courseTitle: courseTitleOf(source.subject)
|
|
3220
3139
|
});
|
|
3221
3140
|
}
|
|
3222
3141
|
/** The server's card on CMS pages, or null where the shell still applies. */
|
|
@@ -3304,6 +3223,7 @@ const eventRegistrationCommonSchemaShape = {
|
|
|
3304
3223
|
return parsed.ok ? parsed.value : void 0;
|
|
3305
3224
|
}),
|
|
3306
3225
|
siteTerms: blockSiteTermsSchema.optional(),
|
|
3226
|
+
pageNavigation: pageNavigationSchema.optional(),
|
|
3307
3227
|
siteName: z.string().optional()
|
|
3308
3228
|
};
|
|
3309
3229
|
const eventRegistrationEventSourceSchema = z.discriminatedUnion("kind", [z.object({
|
|
@@ -3489,6 +3409,7 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
3489
3409
|
siteMemberships: source.siteMemberships ?? null,
|
|
3490
3410
|
mailingList: source.mailingList,
|
|
3491
3411
|
siteTerms: source.siteTerms,
|
|
3412
|
+
pageNavigation: source.pageNavigation,
|
|
3492
3413
|
siteName: source.siteName,
|
|
3493
3414
|
offeringNoun: resolveOfferingNoun(source, scopedSourceEvents)
|
|
3494
3415
|
}
|
|
@@ -4170,418 +4091,6 @@ function newsletterPrivacyNote(source, privacyNote) {
|
|
|
4170
4091
|
//#region ../blocks/src/system/blocks/products/shared.ts
|
|
4171
4092
|
const publicProductsResponseSchema = z.object({ products: z.array(publicProductSchema) });
|
|
4172
4093
|
//#endregion
|
|
4173
|
-
//#region ../blocks/src/system/runtime/nodes/shop-commerce.shared.ts
|
|
4174
|
-
const EMPTY_COMMERCE_CART_STATE = { items: [] };
|
|
4175
|
-
const storedProductCartItemSchema = z.object({
|
|
4176
|
-
kind: z.literal("product"),
|
|
4177
|
-
productId: z.string().min(1),
|
|
4178
|
-
productCategoryId: z.string().min(1).optional().nullable(),
|
|
4179
|
-
variantId: z.string().min(1).optional().nullable(),
|
|
4180
|
-
title: z.string().min(1),
|
|
4181
|
-
variantTitle: z.string().optional().nullable(),
|
|
4182
|
-
quantity: z.number().finite(),
|
|
4183
|
-
unitPriceCents: z.number().finite(),
|
|
4184
|
-
currency: z.string().min(1),
|
|
4185
|
-
imageUrl: z.string().optional().nullable(),
|
|
4186
|
-
soldOut: z.boolean().optional()
|
|
4187
|
-
});
|
|
4188
|
-
const storedPassCartItemSchema = z.object({
|
|
4189
|
-
kind: z.literal("pass"),
|
|
4190
|
-
passId: z.string().min(1),
|
|
4191
|
-
title: z.string().min(1),
|
|
4192
|
-
quantity: z.number().finite().optional(),
|
|
4193
|
-
unitPriceCents: z.number().finite(),
|
|
4194
|
-
currency: z.string().min(1)
|
|
4195
|
-
});
|
|
4196
|
-
function toPositiveInteger(value) {
|
|
4197
|
-
return Math.max(1, Math.floor(value));
|
|
4198
|
-
}
|
|
4199
|
-
function productItemKey(productId, variantId) {
|
|
4200
|
-
return `product:${productId}:${variantId ?? "base"}`;
|
|
4201
|
-
}
|
|
4202
|
-
function passItemKey(passId) {
|
|
4203
|
-
return `pass:${passId}`;
|
|
4204
|
-
}
|
|
4205
|
-
function parseStoredCartItem(value) {
|
|
4206
|
-
const productResult = storedProductCartItemSchema.safeParse(value);
|
|
4207
|
-
if (productResult.success) {
|
|
4208
|
-
const item = productResult.data;
|
|
4209
|
-
return {
|
|
4210
|
-
key: productItemKey(item.productId, item.variantId),
|
|
4211
|
-
kind: "product",
|
|
4212
|
-
productId: item.productId,
|
|
4213
|
-
productCategoryId: item.productCategoryId ?? null,
|
|
4214
|
-
...item.variantId ? { variantId: item.variantId } : {},
|
|
4215
|
-
title: item.title,
|
|
4216
|
-
variantTitle: item.variantTitle ?? null,
|
|
4217
|
-
quantity: toPositiveInteger(item.quantity),
|
|
4218
|
-
unitPriceCents: Math.max(0, Math.round(item.unitPriceCents)),
|
|
4219
|
-
currency: item.currency,
|
|
4220
|
-
imageUrl: item.imageUrl ?? null,
|
|
4221
|
-
soldOut: item.soldOut ?? false
|
|
4222
|
-
};
|
|
4223
|
-
}
|
|
4224
|
-
const passResult = storedPassCartItemSchema.safeParse(value);
|
|
4225
|
-
if (passResult.success) {
|
|
4226
|
-
const item = passResult.data;
|
|
4227
|
-
return {
|
|
4228
|
-
key: passItemKey(item.passId),
|
|
4229
|
-
kind: "pass",
|
|
4230
|
-
passId: item.passId,
|
|
4231
|
-
title: item.title,
|
|
4232
|
-
quantity: 1,
|
|
4233
|
-
unitPriceCents: Math.max(0, Math.round(item.unitPriceCents)),
|
|
4234
|
-
currency: item.currency
|
|
4235
|
-
};
|
|
4236
|
-
}
|
|
4237
|
-
return null;
|
|
4238
|
-
}
|
|
4239
|
-
function parseStoredCommerceCartState(raw) {
|
|
4240
|
-
if (!raw) return EMPTY_COMMERCE_CART_STATE;
|
|
4241
|
-
try {
|
|
4242
|
-
const parsed = JSON.parse(raw);
|
|
4243
|
-
if (!Array.isArray(parsed.items)) return EMPTY_COMMERCE_CART_STATE;
|
|
4244
|
-
return { items: parsed.items.map((item) => parseStoredCartItem(item)).filter((item) => item !== null) };
|
|
4245
|
-
} catch {
|
|
4246
|
-
return EMPTY_COMMERCE_CART_STATE;
|
|
4247
|
-
}
|
|
4248
|
-
}
|
|
4249
|
-
function buildProductCartItem(input) {
|
|
4250
|
-
const variant = input.variantId ? input.product.variants.find((candidate) => candidate.id === input.variantId) ?? null : null;
|
|
4251
|
-
return {
|
|
4252
|
-
key: productItemKey(input.product.id, variant?.id ?? null),
|
|
4253
|
-
kind: "product",
|
|
4254
|
-
productId: input.product.id,
|
|
4255
|
-
productCategoryId: input.product.category?.id ?? null,
|
|
4256
|
-
...variant?.id ? { variantId: variant.id } : {},
|
|
4257
|
-
title: input.product.title,
|
|
4258
|
-
variantTitle: variant?.title ?? null,
|
|
4259
|
-
quantity: toPositiveInteger(input.quantity ?? 1),
|
|
4260
|
-
unitPriceCents: variant?.priceCents ?? input.product.priceCents,
|
|
4261
|
-
currency: input.product.currency,
|
|
4262
|
-
imageUrl: input.product.gallery[0]?.url ?? null,
|
|
4263
|
-
soldOut: variant?.soldOut ?? input.product.soldOut
|
|
4264
|
-
};
|
|
4265
|
-
}
|
|
4266
|
-
function buildPassCartItem(input) {
|
|
4267
|
-
return {
|
|
4268
|
-
key: passItemKey(input.passId),
|
|
4269
|
-
kind: "pass",
|
|
4270
|
-
passId: input.passId,
|
|
4271
|
-
title: input.title,
|
|
4272
|
-
quantity: 1,
|
|
4273
|
-
unitPriceCents: Math.max(0, Math.round(input.unitPriceCents)),
|
|
4274
|
-
currency: input.currency
|
|
4275
|
-
};
|
|
4276
|
-
}
|
|
4277
|
-
function reduceCommerceCart(state, action) {
|
|
4278
|
-
switch (action.type) {
|
|
4279
|
-
case "add_product": {
|
|
4280
|
-
const existing = state.items.find((item) => item.key === action.item.key);
|
|
4281
|
-
if (!existing || existing.kind !== "product") return { items: [...state.items, action.item] };
|
|
4282
|
-
return { items: state.items.map((item) => item.key === action.item.key && item.kind === "product" ? {
|
|
4283
|
-
...item,
|
|
4284
|
-
quantity: item.quantity + action.item.quantity,
|
|
4285
|
-
soldOut: action.item.soldOut ?? item.soldOut
|
|
4286
|
-
} : item) };
|
|
4287
|
-
}
|
|
4288
|
-
case "add_pass":
|
|
4289
|
-
if (state.items.some((item) => item.key === action.item.key)) return state;
|
|
4290
|
-
return { items: [...state.items, action.item] };
|
|
4291
|
-
case "update_quantity": return { items: state.items.map((item) => item.key === action.itemKey && item.kind === "product" ? {
|
|
4292
|
-
...item,
|
|
4293
|
-
quantity: toPositiveInteger(action.quantity)
|
|
4294
|
-
} : item) };
|
|
4295
|
-
case "remove_item": return { items: state.items.filter((item) => item.key !== action.itemKey) };
|
|
4296
|
-
case "clear": return EMPTY_COMMERCE_CART_STATE;
|
|
4297
|
-
}
|
|
4298
|
-
}
|
|
4299
|
-
function deriveCommerceCheckoutState(state) {
|
|
4300
|
-
if (state.items.length === 0) return { kind: "empty" };
|
|
4301
|
-
const currencies = Array.from(new Set(state.items.map((item) => item.currency.toUpperCase())));
|
|
4302
|
-
if (currencies.length > 1) return {
|
|
4303
|
-
kind: "blocked",
|
|
4304
|
-
reason: "mixed_currency"
|
|
4305
|
-
};
|
|
4306
|
-
return {
|
|
4307
|
-
kind: "ready",
|
|
4308
|
-
currency: currencies[0] ?? "USD",
|
|
4309
|
-
subtotalCents: state.items.reduce((sum, item) => sum + item.unitPriceCents * item.quantity, 0),
|
|
4310
|
-
items: state.items
|
|
4311
|
-
};
|
|
4312
|
-
}
|
|
4313
|
-
function resolveSelectedProduct(products, selection) {
|
|
4314
|
-
const contentEntry = selection.template.kind === "product" ? selection.contentEntry : null;
|
|
4315
|
-
const explicitSlug = selection.productSlug?.trim() || null;
|
|
4316
|
-
if (contentEntry?.id) {
|
|
4317
|
-
const byEntryId = products.find((product) => product.contentEntryId === contentEntry.id);
|
|
4318
|
-
if (byEntryId) return byEntryId;
|
|
4319
|
-
}
|
|
4320
|
-
if (explicitSlug) {
|
|
4321
|
-
const byExplicitSlug = products.find((product) => product.slug === explicitSlug);
|
|
4322
|
-
if (byExplicitSlug) return byExplicitSlug;
|
|
4323
|
-
}
|
|
4324
|
-
if (contentEntry?.slug) {
|
|
4325
|
-
const byEntrySlug = products.find((product) => product.slug === contentEntry.slug);
|
|
4326
|
-
if (byEntrySlug) return byEntrySlug;
|
|
4327
|
-
}
|
|
4328
|
-
return null;
|
|
4329
|
-
}
|
|
4330
|
-
//#endregion
|
|
4331
|
-
//#region ../blocks/src/system/runtime/nodes/commerce/shared/display.ts
|
|
4332
|
-
function formatCommercePrice(cents, currency) {
|
|
4333
|
-
return formatCurrencyAmount(cents, currency);
|
|
4334
|
-
}
|
|
4335
|
-
function getPassesHeading(passes, explicitHeading) {
|
|
4336
|
-
if (explicitHeading) return explicitHeading;
|
|
4337
|
-
return deriveCreditProductLabels(passes, { style: "class" }).heading;
|
|
4338
|
-
}
|
|
4339
|
-
function resolveSelectedVariant(product, selectedVariantId) {
|
|
4340
|
-
if (!selectedVariantId) return product.variants[0] ?? null;
|
|
4341
|
-
return product.variants.find((candidate) => candidate.id === selectedVariantId) ?? product.variants[0] ?? null;
|
|
4342
|
-
}
|
|
4343
|
-
function buildProductCardDisplay(product, options, selectedVariantId) {
|
|
4344
|
-
const selectedVariant = resolveSelectedVariant(product, selectedVariantId);
|
|
4345
|
-
const soldOut = selectedVariant?.soldOut ?? product.soldOut;
|
|
4346
|
-
const priceLabel = options.showPrices ? formatCommercePrice(selectedVariant?.priceCents ?? product.priceCents, product.currency) : null;
|
|
4347
|
-
const selectionLabel = selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title;
|
|
4348
|
-
return {
|
|
4349
|
-
productId: product.id,
|
|
4350
|
-
title: product.title,
|
|
4351
|
-
path: product.path ?? null,
|
|
4352
|
-
summary: options.showSummary ? product.summary : null,
|
|
4353
|
-
priceLabel,
|
|
4354
|
-
image: product.gallery[0] ? {
|
|
4355
|
-
url: product.gallery[0].url,
|
|
4356
|
-
alt: product.gallery[0].alt ?? null
|
|
4357
|
-
} : null,
|
|
4358
|
-
variantOptions: product.variants.map((variant) => ({
|
|
4359
|
-
id: variant.id,
|
|
4360
|
-
label: variant.title,
|
|
4361
|
-
soldOut: variant.soldOut
|
|
4362
|
-
})),
|
|
4363
|
-
selectedVariantId: selectedVariant?.id ?? null,
|
|
4364
|
-
selectionLabel,
|
|
4365
|
-
actionLabel: options.addButtonText,
|
|
4366
|
-
soldOut
|
|
4367
|
-
};
|
|
4368
|
-
}
|
|
4369
|
-
function buildProductListDisplay(products, options) {
|
|
4370
|
-
const cards = products.map((product) => buildProductCardDisplay(product, options));
|
|
4371
|
-
return {
|
|
4372
|
-
kind: "product-list",
|
|
4373
|
-
state: cards.length === 0 ? "empty" : "ready",
|
|
4374
|
-
heading: options.heading ?? null,
|
|
4375
|
-
className: options.className ?? null,
|
|
4376
|
-
layout: options.layout ?? "grid",
|
|
4377
|
-
columns: options.columns ?? "3",
|
|
4378
|
-
emptyMessage: options.emptyMessage ?? "No products available right now.",
|
|
4379
|
-
cards
|
|
4380
|
-
};
|
|
4381
|
-
}
|
|
4382
|
-
function buildProductDetailDisplay(product, options, selectedVariantId) {
|
|
4383
|
-
if (!product) return {
|
|
4384
|
-
kind: "product-detail",
|
|
4385
|
-
state: "empty",
|
|
4386
|
-
heading: options.heading ?? null,
|
|
4387
|
-
className: options.className ?? null,
|
|
4388
|
-
emptyMessage: options.emptyMessage ?? "Product unavailable."
|
|
4389
|
-
};
|
|
4390
|
-
const selectedVariant = resolveSelectedVariant(product, selectedVariantId);
|
|
4391
|
-
const soldOut = selectedVariant?.soldOut ?? product.soldOut;
|
|
4392
|
-
return {
|
|
4393
|
-
kind: "product-detail",
|
|
4394
|
-
state: "ready",
|
|
4395
|
-
heading: options.heading ?? null,
|
|
4396
|
-
className: options.className ?? null,
|
|
4397
|
-
title: product.title,
|
|
4398
|
-
priceLabel: formatCommercePrice(selectedVariant?.priceCents ?? product.priceCents, product.currency),
|
|
4399
|
-
summary: options.showSummary ? product.summary : null,
|
|
4400
|
-
categoryLabel: product.category?.name ?? null,
|
|
4401
|
-
gallery: product.gallery.map((image) => ({
|
|
4402
|
-
url: image.url,
|
|
4403
|
-
alt: image.alt ?? null
|
|
4404
|
-
})),
|
|
4405
|
-
variantOptions: product.variants.map((variant) => ({
|
|
4406
|
-
id: variant.id,
|
|
4407
|
-
label: variant.title,
|
|
4408
|
-
soldOut: variant.soldOut
|
|
4409
|
-
})),
|
|
4410
|
-
selectedVariantId: selectedVariant?.id ?? null,
|
|
4411
|
-
selectionLabel: selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title,
|
|
4412
|
-
actionLabel: options.addButtonText,
|
|
4413
|
-
soldOut,
|
|
4414
|
-
body: product.body
|
|
4415
|
-
};
|
|
4416
|
-
}
|
|
4417
|
-
function passCardDisplay(pass, options) {
|
|
4418
|
-
const creditUnit = getCreditProductCreditUnit(pass.productUseCase);
|
|
4419
|
-
return {
|
|
4420
|
-
id: pass.id,
|
|
4421
|
-
title: pass.name,
|
|
4422
|
-
description: options.showDescriptions ? pass.description : null,
|
|
4423
|
-
priceLabel: formatCommercePrice(pass.price, pass.currency),
|
|
4424
|
-
...options.cardList ? {
|
|
4425
|
-
priceAmountLabel: formatCurrencyAmount(pass.price, pass.currency, { decimals: "auto" }),
|
|
4426
|
-
perCreditAmountLabel: options.showPricePerCredit ? `${formatCurrencyAmount(pass.pricePerCredit, pass.currency, { decimals: "auto" })} a ${creditUnit.perCreditSuffix}` : null
|
|
4427
|
-
} : {},
|
|
4428
|
-
creditsLabel: `${pass.creditsTotal} ${pass.creditsTotal === 1 ? creditUnit.singular : creditUnit.plural}`,
|
|
4429
|
-
perCreditLabel: options.showPricePerCredit ? `${formatCommercePrice(pass.pricePerCredit, pass.currency)}/${creditUnit.perCreditSuffix}` : null,
|
|
4430
|
-
validityLabel: options.showValidityPeriod && pass.validDays ? formatValidity(pass.validDays) : null,
|
|
4431
|
-
action: pass.purchaseAvailability === "purchasable" ? {
|
|
4432
|
-
kind: "purchase",
|
|
4433
|
-
label: options.passActionLabel,
|
|
4434
|
-
product: pass
|
|
4435
|
-
} : {
|
|
4436
|
-
kind: "unavailable",
|
|
4437
|
-
label: "Online purchasing is unavailable."
|
|
4438
|
-
}
|
|
4439
|
-
};
|
|
4440
|
-
}
|
|
4441
|
-
function membershipCardDisplay(membership, options) {
|
|
4442
|
-
return {
|
|
4443
|
-
id: membership.id,
|
|
4444
|
-
title: membership.name,
|
|
4445
|
-
description: options.showDescriptions ? membership.description : null,
|
|
4446
|
-
priceLabel: formatCommercePrice(membership.price, membership.currency),
|
|
4447
|
-
...options.cardList ? {
|
|
4448
|
-
priceAmountLabel: formatCurrencyAmount(membership.price, membership.currency, { decimals: "auto" }),
|
|
4449
|
-
priceUnitLabel: `a ${membership.billingInterval}`
|
|
4450
|
-
} : {},
|
|
4451
|
-
intervalLabel: formatInterval(membership.billingInterval),
|
|
4452
|
-
action: membership.purchaseAvailability === "purchasable" ? {
|
|
4453
|
-
kind: "purchase",
|
|
4454
|
-
label: options.membershipActionLabel,
|
|
4455
|
-
product: membership
|
|
4456
|
-
} : {
|
|
4457
|
-
kind: "unavailable",
|
|
4458
|
-
label: "Online purchasing is unavailable."
|
|
4459
|
-
}
|
|
4460
|
-
};
|
|
4461
|
-
}
|
|
4462
|
-
function buildPassesMembershipsDisplay(options) {
|
|
4463
|
-
const passes = options.passes.map((pass) => passCardDisplay(pass, options));
|
|
4464
|
-
const memberships = options.memberships.map((membership) => membershipCardDisplay(membership, options));
|
|
4465
|
-
return {
|
|
4466
|
-
kind: "passes-memberships",
|
|
4467
|
-
state: passes.length === 0 && memberships.length === 0 ? "empty" : "ready",
|
|
4468
|
-
className: options.className ?? null,
|
|
4469
|
-
layout: options.layout ?? "grid",
|
|
4470
|
-
columns: options.columns ?? "2",
|
|
4471
|
-
emptyMessage: options.emptyMessage ?? "No products available at this time.",
|
|
4472
|
-
passesHeading: getPassesHeading(options.passes, options.passesHeading),
|
|
4473
|
-
membershipsHeading: options.membershipsHeading ?? "Memberships",
|
|
4474
|
-
passes,
|
|
4475
|
-
memberships
|
|
4476
|
-
};
|
|
4477
|
-
}
|
|
4478
|
-
function buildCartDisplay(items, options) {
|
|
4479
|
-
if (items.length === 0) return {
|
|
4480
|
-
kind: "cart",
|
|
4481
|
-
state: "empty",
|
|
4482
|
-
heading: options.heading ?? null,
|
|
4483
|
-
className: options.className ?? null,
|
|
4484
|
-
emptyMessage: options.emptyMessage ?? "Your cart is empty.",
|
|
4485
|
-
supportText: options.supportText ?? null,
|
|
4486
|
-
items: [],
|
|
4487
|
-
subtotalLabel: null,
|
|
4488
|
-
checkoutButtonText: options.checkoutButtonText ?? "Go to checkout",
|
|
4489
|
-
clearButtonText: options.clearButtonText ?? "Clear cart"
|
|
4490
|
-
};
|
|
4491
|
-
const itemsDisplay = items.map((item) => ({
|
|
4492
|
-
key: item.key,
|
|
4493
|
-
title: item.kind === "product" && item.variantTitle ? `${item.title} – ${item.variantTitle}` : item.title,
|
|
4494
|
-
priceLabel: `${formatCommercePrice(item.unitPriceCents, item.currency)} each`,
|
|
4495
|
-
quantity: item.quantity,
|
|
4496
|
-
quantityEditable: item.kind === "product"
|
|
4497
|
-
}));
|
|
4498
|
-
const checkoutState = deriveCommerceCheckoutState({ items: [...items] });
|
|
4499
|
-
return {
|
|
4500
|
-
kind: "cart",
|
|
4501
|
-
state: "ready",
|
|
4502
|
-
heading: options.heading ?? null,
|
|
4503
|
-
className: options.className ?? null,
|
|
4504
|
-
emptyMessage: options.emptyMessage ?? "Your cart is empty.",
|
|
4505
|
-
supportText: null,
|
|
4506
|
-
items: itemsDisplay,
|
|
4507
|
-
subtotalLabel: checkoutState.kind === "ready" ? formatCommercePrice(checkoutState.subtotalCents, checkoutState.currency) : null,
|
|
4508
|
-
checkoutButtonText: options.checkoutButtonText ?? "Go to checkout",
|
|
4509
|
-
clearButtonText: options.clearButtonText ?? "Clear cart"
|
|
4510
|
-
};
|
|
4511
|
-
}
|
|
4512
|
-
function buildCheckoutDisplay(checkoutState, options) {
|
|
4513
|
-
if (checkoutState.kind === "empty") return {
|
|
4514
|
-
kind: "checkout",
|
|
4515
|
-
state: "empty",
|
|
4516
|
-
heading: options.heading ?? null,
|
|
4517
|
-
className: options.className ?? null,
|
|
4518
|
-
message: options.emptyMessage ?? "Add something to your cart to continue.",
|
|
4519
|
-
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
4520
|
-
};
|
|
4521
|
-
if (checkoutState.kind === "blocked") return {
|
|
4522
|
-
kind: "checkout",
|
|
4523
|
-
state: "blocked",
|
|
4524
|
-
heading: options.heading ?? null,
|
|
4525
|
-
className: options.className ?? null,
|
|
4526
|
-
message: checkoutState.reason === "mixed_currency" ? "Mixed-currency carts are not supported." : "Checkout is unavailable for this cart.",
|
|
4527
|
-
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
4528
|
-
};
|
|
4529
|
-
return {
|
|
4530
|
-
kind: "checkout",
|
|
4531
|
-
state: "ready",
|
|
4532
|
-
heading: options.heading ?? null,
|
|
4533
|
-
className: options.className ?? null,
|
|
4534
|
-
message: null,
|
|
4535
|
-
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
4536
|
-
};
|
|
4537
|
-
}
|
|
4538
|
-
function formatInterval(interval) {
|
|
4539
|
-
return interval === "month" ? "/month" : "/year";
|
|
4540
|
-
}
|
|
4541
|
-
function formatValidity(days) {
|
|
4542
|
-
if (days === 1) return "Valid for 1 day";
|
|
4543
|
-
if (days < 30) return `Valid for ${days} days`;
|
|
4544
|
-
if (days === 30) return "Valid for 1 month";
|
|
4545
|
-
if (days === 365) return "Valid for 1 year";
|
|
4546
|
-
return `Valid for ${Math.round(days / 30)} months`;
|
|
4547
|
-
}
|
|
4548
|
-
const membershipClassesLabel = "Unlimited classes";
|
|
4549
|
-
function passCardListContent(display) {
|
|
4550
|
-
return {
|
|
4551
|
-
id: display.id,
|
|
4552
|
-
title: display.title,
|
|
4553
|
-
text: display.description,
|
|
4554
|
-
price: {
|
|
4555
|
-
amount: display.priceAmountLabel ?? display.priceLabel,
|
|
4556
|
-
unit: display.creditsLabel
|
|
4557
|
-
},
|
|
4558
|
-
facts: [...display.validityLabel ? [{
|
|
4559
|
-
label: "Validity",
|
|
4560
|
-
value: display.validityLabel
|
|
4561
|
-
}] : [], ...display.perCreditLabel ? [{
|
|
4562
|
-
label: "Price per credit",
|
|
4563
|
-
value: display.perCreditAmountLabel ?? display.perCreditLabel
|
|
4564
|
-
}] : []],
|
|
4565
|
-
action: { label: display.action.label }
|
|
4566
|
-
};
|
|
4567
|
-
}
|
|
4568
|
-
function membershipCardListContent(display) {
|
|
4569
|
-
return {
|
|
4570
|
-
id: display.id,
|
|
4571
|
-
title: display.title,
|
|
4572
|
-
text: display.description,
|
|
4573
|
-
price: {
|
|
4574
|
-
amount: display.priceAmountLabel ?? display.priceLabel,
|
|
4575
|
-
unit: display.priceUnitLabel ?? display.intervalLabel
|
|
4576
|
-
},
|
|
4577
|
-
facts: [{
|
|
4578
|
-
label: "Classes",
|
|
4579
|
-
value: membershipClassesLabel
|
|
4580
|
-
}],
|
|
4581
|
-
action: { label: display.action.label }
|
|
4582
|
-
};
|
|
4583
|
-
}
|
|
4584
|
-
//#endregion
|
|
4585
4094
|
//#region ../blocks/src/system/runtime/nodes/shop.pass-contract.ts
|
|
4586
4095
|
const passCardDisplaySchema = z.object({
|
|
4587
4096
|
id: z.string(),
|
|
@@ -5161,4 +4670,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
5161
4670
|
};
|
|
5162
4671
|
}
|
|
5163
4672
|
//#endregion
|
|
5164
|
-
export {
|
|
4673
|
+
export { bookingEntry as $, normalizeEventSurfaceScope as $t, formInteractiveIslandPropsCodec as A, normalizeCsvIds as At, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as B, getCardOrientation as Bt, newsletterFormInteractiveIslandPropsCodec as C, getEventIdentity as Ct, publicGiftingOffersResponseSchema as D, toError as Dt, giftingInteractiveIslandPropsCodec as E, toEventPaginationLoadError as Et, eventRegistrationInteractiveIslandPropsCodec as F, CardListContentPart as Ft, normalizeOfferingsPreviewItemLimit as G, weekColumnDays as Gt, buildOfferingsPreviewListing as H, Grid as Ht, offeringNounForEvent as I, CardListLeadDate as It, resolveOfferingsPreviewGroups as J, formatEventPriceDisplay as Jt, offeringsListingFor as K, formatEventPrice as Kt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as L, resolveCardListSchedule as Lt, buildEventRegistrationInteractiveIslandProps as M, normalizeOptionalId as Mt, displayButtonText as N, catalogueEventCardProps as Nt, buildFormInteractiveIslandProps as O, buildEventRuntimeFilters as Ot, eventRegistrationBlockRuntime as P, listingEventCardProps as Pt, bookingCardEntry as Q, normalizeEventSurfacePresets as Qt, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as R, selectCardListPresentation as Rt, newsletterFormBlockRuntime as S, eventPaginationLoadReducer as St, giftingBlockRuntime as T, planEventPageOperation as Tt, isOfferingsPreviewSourceKey as U, buildEventListWeek as Ut, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as V, getContainerClass as Vt, normalizeOfferingsPreviewContentForWrite as W, eventListWeekDays as Wt, DEFAULT_BOOKING_BUTTON_TEXT as X, normalizeEventScheduleScope as Xt, resolveOfferingsRenderInput as Y, normalizeEventCategoryIds as Yt, bookingBarPlacement as Z, normalizeEventStaffMemberId as Zt, shopProductPresentation as _, buildEventListingInteractiveIslandProps as _t, buildShopInteractiveIslandProps as a, staticHeaderChromeRuntime as an, buildEventCombinedInteractiveIslandProps as at, buildNewsletterFormInteractiveIslandProps as b, createInitialEventPaginationLoadState as bt, checkoutBlockRuntime as c, splitSiteChromePlacementClasses as cn, eventCombinedInteractiveIslandPropsCodec as ct, productDetailBlockRuntime as d, parseMailingListPlacementTargeting as dn, buildEventCalendarListingRender as dt, normalizeEventVenueId as en, bookingEntryProgress as et, productDetailInteractiveIslandPropsCodec as f, parseMailingListVisitorSelection as fn, eventCalendarBlockRuntime as ft, shopInteractiveIslandPropsCodec as g, combinedLookSchema as gt, shopBlockRuntime as h, parseContentVersionId as hn, recurringScheduleProjectionSchema as ht, buildProductListInteractiveIslandProps as i, resolveHeaderChromeRuntimeContract as in, occurrenceContextSchema as it, buildEventRegistrationDisplayFromScopedEvents as j, normalizeCsvString as jt, formBlockRuntime as k, getEventRuntimeFiltersKey as kt, checkoutInteractiveIslandPropsCodec as l, buildMailingListSignupBlockSourceRef as ln, buildEventCalendarInteractiveIslandProps as lt, productListInteractiveIslandPropsCodec as m, sameMailingListPlacementTargeting as mn, projectRecurringSchedule as mt, buildCheckoutInteractiveIslandProps as n, headerChromeRuntimeContractSchema as nn, courseTitleOf as nt, cartBlockRuntime as o, parseHeaderPositioning as on, buildEventCombinedListingDisplay as ot, productListBlockRuntime as p, DEFAULT_MAILING_LIST_TARGETING as pn, eventCalendarInteractiveIslandPropsCodec as pt, resolveOfferingsPreviewGroupCta as q, formatEventPriceAmount as qt, buildProductDetailInteractiveIslandProps as r, isHeaderScrollRuntimeEnabled as rn, formatBookingSchedulePresentation as rt, cartInteractiveIslandPropsCodec as s, planSiteChromePlacement as sn, eventCombinedBlockRuntime as st, buildCartInteractiveIslandProps as t, resolveEventSelection as tn, bookingPanelHeading as tt, getShopDisplayForItems as u, assessMailingListTargeting as un, buildEventCalendarListingDisplay as ut, publicProductsResponseSchema as v, eventListingBlockRuntime as vt, buildGiftingInteractiveIslandProps as w, getEventPaginationView as wt, newsletterBlockSubmissionMessage as x, eventPageOperationQuery as xt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as y, eventListingInteractiveIslandPropsCodec as yt, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as z, MediaNodeServer as zt };
|