@riverbankcms/sdk 0.184.0 → 0.185.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/dist/_dts/{BlocksIslandsHydrator-DjBTJYiF.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-BpXEM2ET.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-Bb3h7KRE.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-DgTRRtl_.d.ts → client-BKdjJ7A0.d.ts} +23 -4
- package/dist/_dts/{content-types-DZQJp_ak.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-Ww1fmd-c.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BGc7dju6.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-Cni4jykw.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-ukS-Ffem.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-W9-7djG3.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-Cc85KVLW.d.ts → index-DTKn1H8g.d.ts} +1 -1
- package/dist/_dts/{index-DxxTQ_0V.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-BECaUNYs.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BlSWTlbD.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-CZz2BoXJ.d.ts → request-BwYvMqLf.d.ts} +459 -109
- package/dist/_dts/{resolveBlockData-D12HXnS3.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BteMsSGP.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- 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/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- 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 +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/portal/index.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 +6 -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-aTlOvO3U.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +10 -7
- package/dist/_dts/{types-CCcQlRBi.d.ts → types-BBazdRQf.d.ts} +3 -3
- package/dist/_dts/{types-Du4aMnWC.d.ts → types-BwngWRQ8.d.ts} +7 -7
- package/dist/_dts/{types-Bi7R07RX.d.ts → types-C9_amrul.d.ts} +2 -2
- package/dist/_dts/{validation-CjCWVmwe.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CFLWxjxR.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-C4LcfwyA.mjs → BookingMailingListNote-D_khdttF.mjs} +59 -60
- package/dist/client/{BookingQuestionFields-DdcmoHqQ.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +48 -35
- package/dist/client/{CalendarAction-DYGewmvh.mjs → CalendarAction-C-AbMmct.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-ZfrUiiiI.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-pzkGVkgG.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +4 -4
- package/dist/client/{EventCalendar.client-Ct1B3xI4.mjs → EventCalendar.client-By7e9nyF.mjs} +10 -10
- package/dist/client/{EventCombined.client-DgfNtcgW.mjs → EventCombined.client-BdRZXB14.mjs} +9 -9
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-KGKkK19N.mjs → EventItem-CDMa9zOX.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-Ba9ezxuC.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-xFKRDLwC.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-Dy36vWHi.mjs → EventListing.view-B6LOK-z4.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs} +44 -35
- package/dist/client/{Page-DB5KODiu.mjs → Page-uP7AKSyp.mjs} +37 -30
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +2 -2
- package/dist/client/{StepIndicator-CLgDVzCs.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DRyZ8igu.mjs → StepIndicator-Cb3NMw-Y.mjs} +29 -17
- package/dist/client/{accessibleSurfaces-CqroimVQ.mjs → accessibleSurfaces-q-dDOwsW.mjs} +5 -3
- package/dist/client/{accordion-BQYRP5xV.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-B7ckDuOC.mjs → booking-form.client-DAlWWWjV.mjs} +108 -70
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-BeD4650p.mjs → bookingForm-DtVk9p5l.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CA7FirMH.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-CjoaG1zy.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{carousel-DJ9Aa1m3.mjs → carousel-msur7fxW.mjs} +1 -1
- package/dist/client/{cart-DdCenbTy.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-BQm06qNw.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-45wPQULN.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-bSv4cc5z.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwlaMl3W.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +43 -18
- package/dist/client/{constants-DXV4KR7l.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-lCPfX-xe.mjs → context-CG77Keax.mjs} +30 -3
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-Ce3Gyin_.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CGcDE9aE.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +3 -3
- package/dist/client/{event-registration.client-DlPfn4YG.mjs → event-registration.client-Ckb4aDE9.mjs} +79 -58
- package/dist/client/{eventCalendar-CioAdryV.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-Dwt0G6ez.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-B3H9ifOC.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-Do7cAhXb.mjs → eventRegistration-BhAqvkCb.mjs} +4 -4
- package/dist/client/{form-CsqzgC6v.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-DVDB7hY6.mjs → form.client-Whi43oio.mjs} +4 -4
- package/dist/client/{form.parts-1q2rzSYt.mjs → form.parts-BgsWo2Me.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-BrXQGX-k.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--zAjnY5N.mjs → gifting.client-CraWj4I4.mjs} +173 -71
- package/dist/client/{gifting.interactive-CrwHpUJG.mjs → gifting.interactive-DiPDObN0.mjs} +3 -2
- package/dist/client/{gifting.parts-CcKdDaQq.mjs → gifting.parts-_mgGOcbA.mjs} +12 -43
- package/dist/client/{headerSection-DlcDH4bi.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-dMh0Oxli.mjs → islands-C95FyxUF.mjs} +11 -9
- package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-D0iRg7p2.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +35 -15
- package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs} +1 -1
- package/dist/client/{newsletterForm-CBzvgIfg.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +978 -72
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DiGibcZI.mjs → portalRoutes-D3Ttfv5x.mjs} +48 -13
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-D9MP8hvH.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-wCz1qcUY.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-D9-fCY6c.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-PJyxXSac.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-B8lrKGPw.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-CI63JVHW.mjs → registry.server-0UDNY7dO.mjs} +185 -224
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Jt9hDHdh.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-ZSPcJWx1.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-_iW9oEYc.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-CbdJlWOw.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-BqLbzUUn.mjs → shop-commerce-CDth2_qq.mjs} +13 -13
- package/dist/client/{shop-commerce-store-BT0-zRqN.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Cws0lnSb.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-0cNErhJT.mjs → shop.client-BI2iw6Z3.mjs} +56 -21
- package/dist/client/{shopShared-COuQ2MhQ.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-DqI6U1BS.mjs → timetableModel-DZzGD6rS.mjs} +8 -8
- package/dist/client/{useAutomaticDiscountPreview-CeVUVzGf.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +1 -1
- package/dist/client/{useAvailableSlots-B0mjVhZr.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B_hfgdAP.mjs → useDiscountCodeUi-DMtTHqex.mjs} +1 -1
- package/dist/client/{useEventPagination-Ct4A6iR1.mjs → useEventPagination-CM-DCokc.mjs} +7 -7
- package/dist/client/{view-Cj151w4m.mjs → view-CHOhliHv.mjs} +3 -3
- package/dist/client/{wizardSteps-B3gsXNnb.mjs → wizardSteps-BbroaNkT.mjs} +68 -22
- package/dist/preview-next/client/{PageSectionToolbar-Dv4CW0AQ.mjs → PageSectionToolbar-CR99z8BL.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-B7WW58uE.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +6 -6
- package/dist/preview-next/client/{PreviewEditorUI-BnJ1ughv.mjs → PreviewEditorUI-D6IG119o.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-C7qWzAe4.mjs → PreviewShell-CKjkFOZS.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CYi4UHtG.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +4 -4
- package/dist/preview-next/client/{previewAssistantSlot-DrUoRNu9.mjs → previewAssistantSlot-DcEwU9l_.mjs} +977 -505
- package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DnO2_c0A.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs} +1 -1
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-kuGRKaRL.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +8 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CwrXkLT3.mjs → route-contract-CQfEvfbg.mjs} +38 -13
- package/dist/server/{Block.shared-C5ucphCJ.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DvbqYXdK.mjs → ThemeScopeCore-BjxlpVaV.mjs} +5 -5
- package/dist/server/{accessibleSurfaces-CAcf1lHT.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +2 -2
- package/dist/server/{accordions-DjcsqjCK.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-CFw4M-gZ.mjs → bindings-D-n66Oqc.mjs} +5 -5
- package/dist/server/{client-D0XCgITW.mjs → client-BGGlrkft.mjs} +41 -16
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-BZduY8jG.mjs → constants-TkO9Uxma.mjs} +45 -10
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C-qyB8Tq.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-BpKKmi8E.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/{lookMediaFrame-EFws7tAj.mjs → lookMediaFrame-Dw6R9B0L.mjs} +13 -11
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-DYkuiNXa.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DmZn4xUE.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DRB7cUZ0.mjs → pageRenderPlan-DmP0HVMu.mjs} +30 -8
- package/dist/server/{pageRuntimeSupport-Uv1xDieJ.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +3 -3
- package/dist/server/{pageShared-BdQF875z.mjs → pageShared-ALu7y5Dq.mjs} +272 -165
- package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-BQ8qiQnk.mjs → portal-P4oHSRho.mjs} +2 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-B51QZVNe.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CppDAfJW.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-Bf4W8Qa7.mjs → registry-DD_s7l3Y.mjs} +82 -33
- 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 +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-DMHAZooQ.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-BMtAAPzp.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1 -1
- package/dist/server/{responseMedia-DKYfR518.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-DGaihVwp.mjs → schema-ClDfFtz2.mjs} +3 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRvmreX7.mjs → servicePageContent-CsUerbJ1.mjs} +14 -12
- package/dist/server/theme-bridge.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-mcy2E1Yd.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-B2qFOUwZ.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -2
- package/dist/server/{types-C_S0pWbR.mjs → types-CcKy8_tj.mjs} +5 -3
- package/dist/server/{validation-CUtNT_EZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-DebJQ4zn.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +192 -134
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { kt as buildEventRuntimeFilters } from "./newsletter-form.interactive-
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { kt as buildEventRuntimeFilters } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-B8WKaCrN.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CM-DCokc.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as formatEventPrice, in as MediaNodeServer, ln as groupEventsByWeek, nn as EventQuickFacts, un as weekColumnDays } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
5
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
2
|
+
import { Cn as formatEventPrice, in as MediaNodeServer, ln as groupEventsByWeek, nn as EventQuickFacts, un as weekColumnDays } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { Go as formatDate, Ho as eventDateOptions, Qo as formatEventTimeRange, Uo as eventLocalDateKey, Xo as formatEventNextDateFact, bo as resolveEventPageLink, hc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, po as eventVenuePlace, qo as formatEventCompactDateRail, rs as ImagePresets, ts as groupEventsByDate, vo as resolveEventCardBooking, yo as resolveEventCta } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-C95FyxUF.mjs";
|
|
5
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-CaSq3-r-.mjs";
|
|
6
6
|
import { p as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
-
import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-
|
|
7
|
+
import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-CDMa9zOX.mjs";
|
|
8
8
|
import "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { An as formatCurrencyAmount, St as roomChoicesSchema, dn as inferSiteDateLocale, t as assertNever, wn as resolveBookingBusinessTimeZone, xt as reviewedRoomsSchema } from "./src-
|
|
4
|
-
import { $
|
|
5
|
-
import { i as portalPath } from "./portalRoutes-
|
|
6
|
-
import { c as checkBookingQuestionsAnswered } from "./bookingCalendar
|
|
7
|
-
import { i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-
|
|
3
|
+
import { An as formatCurrencyAmount, St as roomChoicesSchema, dn as inferSiteDateLocale, t as assertNever, wn as resolveBookingBusinessTimeZone, xt as reviewedRoomsSchema } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { $ as visitorHoldsOwnPlace, $n as selectionPreviewLines, A as ownCoverPaysEveryDate, Ar as hasValidPricingOptionSelection, At as resolveDiscountContext, Bn as selectionTicketInputs, Bt as decideRoomStay, C as currentSelectionFundingLookup, Cn as planSelectionPrice, Cr as shouldLoadRegistrationOptions, Ct as entryStart, D as fundingOptionPick, Da as formatPrice, Dt as withOfferedEvent, E as fundingOptionKey, Er as getSingleSelectedPricingOptionId, Et as invitationBooking, F as selectionFundingRequest, Fn as selectionItemPrice, Ft as registrationQuestionsMessage, G as planRegistrationDetailsContinuation, Gn as toggleSelectionItem, Gr as appliedDiscountHint, Gs as eventRegistrationRefusalMessage, Gt as roomSubmission, H as getTicketSelectionPurpose, Hn as severalItemsOf, Hs as eventRegistrationErrorEndsCommand, Ht as isRoomChoiceRefusal, I as buildEventRegistrationPaymentOptionsViewModel, It as validateFormData, J as resolveGuestNextStepCheck, Jn as combinationOffersOf, Jt as toWaitlistClaimResolveFailure, K as registrationBookingRequirements, Kn as combinationHintCopy, Ks as parseEventRegistrationErrorReason, Kt as selectRoomOffer, L as buildSelectionCollectionOptions, M as selectionFundingBasis, Mt as resolveRegistrationTarget, N as selectionFundingFetchWanted, Nt as resolveRouteRequiresPayment, O as initialSelectionFundingLookup, Ot as buildRegistrationSelectionRequest, P as selectionFundingReducer, Pi as groupPublicEventsByRun, Pn as selectionIncludes, Pt as toRegistrationRequestSubject, Qr as formatCommercePrice, Qt as toRegistrationEvents, R as decideEventRegistrationPayment, Rt as bookingLines, S as chosenFundingOption, Sc as publicEventPricingCurrency, Sn as incompleteRunChoiceMessage, Sr as resolveHeldTicketPlaces, St as entrySelectionMode, T as fundingMoneyDates, Tn as quoteReductions, Tt as invitationSubmission, Un as severalRunsChoiceMessage, Us as eventRegistrationErrors, Ut as presentRoomChooser, Vs as defaultEventRegistrationErrorAppearance, Vt as defaultTicketOptions, W as planRegistrationDetailsCheck, Wn as summariseSelectionPayment, Ws as eventRegistrationRefusalAction, Wt as roomChoiceMessage, Xn as paymentCaption, Y as resolveRegistrationAdmission, Yn as combinationWorking, Z as resolveRegistrationTicketContinuation, Zn as selectionCombinationHint, Zs as getStripeMinimumChargeRequirement, Zt as getRegistrationStartAt, _ as pickCollections, _r as getRegistrationOccurrenceId, _t as createBookingBrowserDraftStore, a as registrationPresentation, an as toEventSignInDraft, b as selectionPaysNothing, ba as isBookingQuestionsOwner, bi as resolveEventRegistrationChoices, bn as canToggleSelectionItem, br as getTicketSelectionRemainingPlaces, bt as entryChoosesEvent, cc as resolveBookingSignupOffer, cn as decideSelectionRequirementsLayout, co as requestSignIn, cr as getImplicitSingleTicketType, d as decideEventChoice, dn as runFieldErrors, dr as getVisibleTicketTypes, en as toWholeSeriesRegistrationEvents, er as serverPricedTotalCents, f as isRegistrationLocked, fn as runsKeepingAnswers, ft as paymentChoiceDetails, g as paymentOptionFor, gi as closedDateCopy, gn as ATTENDANCE_CHOICE_MESSAGE, gr as getCurrentTicketSelection, gt as restorableBrowserDraftCode, h as moneyCollections, ha as bookingQuestionsOwnerOf, hn as paymentReturnRestoration, ht as registrationBrowserDraftSchema, i as registrationPaymentRoute, ic as resolveWholeSeriesBookingPhase, in as eventSignInRestoration, io as PAGE_NAVIGATION, j as selectionDatesQuote, jr as normalizeTicketSelectionLines, jt as resolveEventRequiresPayment, k as lookupChosenOption, ln as deriveRunRequirements, lr as getPortalSubjectEmail, lt as calculateEventRegistrationPreviewTotal, m as collectionsOf, mi as closedRunCopy, mn as withoutKeptAnswers, mt as registrationBrowserDraft, nn as eventSignInDraftStore, nr as formatBookingWhen, o as registrationRoute, on as buildSelectionRequirementsSubmission, oo as leavePage, p as registrationFlowReducer, pi as closedDatesCopy, pn as toRunRequirementsSnapshots, pr as transformRegistrationOptionsResponse, pt as paymentChoicePrice, qs as planCheckoutPaymentFlow, qt as isSameWaitlistClaim, rc as orderedLiveRunSessions, rn as eventSignInEnds, rt as resolveEventRegistrationSubmitPlan, sn as checkRunRequirements, tn as EVENT_SIGN_IN_FORM_ID, tr as findSelectedTicketType, u as createInitialRegistrationFlowState, un as nextRunToRead, v as runsSelectionPaymentRequest, vr as getSlidingScaleForEvent, vt as bookingOccurrenceContext, w as fundingChoice, wa as toBookingQuestionsPaymentSnapshot, wn as primarySelectionItem, wr as withRegistrationAvailability, wt as beginWaitlistInvitation, x as cardStepServesDates, xa as needsBookingQuestionsRefresh, xi as resolveEventRegistrationScopedEvents, xn as effectiveSelection, xr as parseCurrencyInputToCents, xt as entryPageEvent, y as selectionItemLabels, ya as deriveBookingQuestions, yn as attendanceChoicePending, yr as getSlidingScaleSelectionMessage, yt as decideRegistrationEntry, zs as decideSelectionAttendance, zt as dayOptionsOf } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { i as portalPath } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
6
|
+
import { c as checkBookingQuestionsAnswered } from "./bookingCalendar-9nFa_do4.mjs";
|
|
7
|
+
import { i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
8
8
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
11
|
-
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, r as paidInFullNote, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-
|
|
9
|
+
import { l as indefiniteArticle } from "./BookingQuestionFields-Bia1E7Cj.mjs";
|
|
10
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
11
|
+
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, r as paidInFullNote, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-yA1RJGXD.mjs";
|
|
12
12
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
13
|
-
import { i as discountEmailProblem } from "./DemoBookingPortalAccess-
|
|
14
|
-
import { c as
|
|
15
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
-
import { s as storeDemoBookingPass } from "./demoPortalMagicLink-
|
|
13
|
+
import { i as discountEmailProblem } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
14
|
+
import { c as usePolling, d as portalSessionIdentity, f as useSignInReturn, l as parseBookingSubmissionFailure, p as useBookingQuestionsRefresh, u as useBookingNowIso } from "./BookingMailingListNote-D_khdttF.mjs";
|
|
15
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-DMtTHqex.mjs";
|
|
16
|
+
import { s as storeDemoBookingPass } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
17
17
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
18
18
|
import { jsx } from "react/jsx-runtime";
|
|
19
19
|
import { z } from "zod";
|
|
@@ -352,13 +352,6 @@ function resolveRegistrationRecoveryAction(step, action) {
|
|
|
352
352
|
if (step === "verifying-payment" || step === "verifying-timeout" || step === "payment") return "none";
|
|
353
353
|
return action;
|
|
354
354
|
}
|
|
355
|
-
/**
|
|
356
|
-
* After the details check refuses the booker (an earlier unpaid booking of theirs stands, or it couldn't be
|
|
357
|
-
* found safely), Try again returns to their details so continuing runs the check again. Not 'retry', which
|
|
358
|
-
* goes straight to payment and is for a refused submission. Not 'places', which on a full event swaps the
|
|
359
|
-
* message for the waitlist offer.
|
|
360
|
-
*/
|
|
361
|
-
const DETAILS_CHECK_REFUSAL_RECOVERY = "details";
|
|
362
355
|
function shouldRefreshAfterRegistrationError(step, action, enabled) {
|
|
363
356
|
return enabled || step === "error" && action === "places";
|
|
364
357
|
}
|
|
@@ -1560,7 +1553,7 @@ function registrationErrorContent(failure, bookings) {
|
|
|
1560
1553
|
heading: entry.heading ?? defaultEventRegistrationErrorAppearance.heading,
|
|
1561
1554
|
tone: entry.tone ?? defaultEventRegistrationErrorAppearance.tone,
|
|
1562
1555
|
message: eventRegistrationRefusalMessage(reason, failure.message, bookings),
|
|
1563
|
-
action:
|
|
1556
|
+
action: eventRegistrationRefusalAction(reason, bookings)
|
|
1564
1557
|
};
|
|
1565
1558
|
}
|
|
1566
1559
|
if (failure.isClientError) {
|
|
@@ -2577,6 +2570,7 @@ function ownedPassShortfall(facts) {
|
|
|
2577
2570
|
default: return assertNever(facts.shortfall);
|
|
2578
2571
|
}
|
|
2579
2572
|
}
|
|
2573
|
+
const boughtPassEnds = (facts) => facts.endsOn === null ? "" : ` It ends on ${facts.endsOn}.`;
|
|
2580
2574
|
function boughtPassShortfall(facts) {
|
|
2581
2575
|
switch (facts.shortfall) {
|
|
2582
2576
|
case "ends": return `It ends on ${facts.endsOn ?? ""}, so it covers ${datesCount(facts.covered)}. You pay for ${facts.moneyDays}.`;
|
|
@@ -2631,7 +2625,7 @@ const ENTITLEMENT_COPY = {
|
|
|
2631
2625
|
coveredValue: credits(1),
|
|
2632
2626
|
countsCredits: false,
|
|
2633
2627
|
title: (facts) => facts.moneyDates === 0 ? `Buy ${indefiniteArticle(facts.name)} ${facts.name}` : `Buy ${indefiniteArticle(facts.name)} ${facts.name} and pay for the rest`,
|
|
2634
|
-
detail: (facts) => facts.moneyDates === 0 ? `${credits(facts.creditsBefore ?? 0)}. ${facts.dateCount === 1 ? "This date uses" : "These dates use"} ${facts.covered}, leaving ${facts.creditsLeftAfter ?? 0}
|
|
2628
|
+
detail: (facts) => facts.moneyDates === 0 ? `${credits(facts.creditsBefore ?? 0)}. ${facts.dateCount === 1 ? "This date uses" : "These dates use"} ${facts.covered}, leaving ${facts.creditsLeftAfter ?? 0}.${boughtPassEnds(facts)}` : `${boughtPassShortfall(facts)}${facts.shortfall === "ends" ? "" : boughtPassEnds(facts)}`,
|
|
2635
2629
|
price: (facts) => facts.toPay,
|
|
2636
2630
|
button: (facts) => facts.moneyDates === 0 || facts.charge.cardCents === 0 ? "Buy pass and book" : `Buy pass and pay ${facts.toPay}`,
|
|
2637
2631
|
boughtLine: (facts) => ({ note: facts.creditsBefore === 1 ? "Uses its 1 class" : `Uses ${facts.covered} of its ${facts.creditsBefore ?? facts.covered} classes, ${facts.creditsLeftAfter ?? 0} left for later` })
|
|
@@ -2646,12 +2640,20 @@ const ENTITLEMENT_COPY = {
|
|
|
2646
2640
|
boughtLine: (facts) => ({ note: `${membershipRenewal(facts)} You can cancel from your account.` })
|
|
2647
2641
|
}
|
|
2648
2642
|
};
|
|
2643
|
+
/**
|
|
2644
|
+
* A pass's `expiresAt` is the midnight after its last day, so the day to name
|
|
2645
|
+
* is the one just before it: a 90-day pass bought on 16 Nov "ends on 14 Feb",
|
|
2646
|
+
* as its receipt says, not 15 Feb.
|
|
2647
|
+
*/
|
|
2648
|
+
function passLastDay(expiresAt) {
|
|
2649
|
+
return expiresAt === null ? null : (/* @__PURE__ */ new Date(Date.parse(expiresAt) - 1)).toISOString();
|
|
2650
|
+
}
|
|
2649
2651
|
function entitlementFacts(entitlement, currency) {
|
|
2650
2652
|
switch (entitlement.kind) {
|
|
2651
2653
|
case "ownedPass": return {
|
|
2652
2654
|
creditsBefore: entitlement.credits.used + entitlement.credits.leftAfter,
|
|
2653
2655
|
creditsLeftAfter: entitlement.credits.leftAfter,
|
|
2654
|
-
ends: entitlement.expiresAt,
|
|
2656
|
+
ends: passLastDay(entitlement.expiresAt),
|
|
2655
2657
|
boughtPrice: null,
|
|
2656
2658
|
interval: null
|
|
2657
2659
|
};
|
|
@@ -2665,7 +2667,7 @@ function entitlementFacts(entitlement, currency) {
|
|
|
2665
2667
|
case "buyPass": return {
|
|
2666
2668
|
creditsBefore: entitlement.credits.total,
|
|
2667
2669
|
creditsLeftAfter: entitlement.credits.leftAfter,
|
|
2668
|
-
ends: entitlement.expiresAt,
|
|
2670
|
+
ends: passLastDay(entitlement.expiresAt),
|
|
2669
2671
|
boughtPrice: formatPrice(entitlement.priceCents, currency),
|
|
2670
2672
|
interval: null
|
|
2671
2673
|
};
|
|
@@ -2904,13 +2906,18 @@ function fundingDatesOf(selection, itemPrice) {
|
|
|
2904
2906
|
priceCents: itemPrice(event)?.subtotalCents ?? null
|
|
2905
2907
|
}] : []);
|
|
2906
2908
|
}
|
|
2907
|
-
/**
|
|
2909
|
+
/**
|
|
2910
|
+
* "31 Jan", for the day a pass or membership ends. Those end at midnight where
|
|
2911
|
+
* the business is, not where one event happens to be, so an event abroad or
|
|
2912
|
+
* online doesn't move the last day.
|
|
2913
|
+
*/
|
|
2908
2914
|
function fundingDayFormatter(event) {
|
|
2915
|
+
const siteTimeZone = event?.siteTimeZone ?? null;
|
|
2909
2916
|
return (iso) => formatBookingWhen({
|
|
2910
2917
|
startsAt: iso,
|
|
2911
|
-
timeZone:
|
|
2912
|
-
siteTimeZone
|
|
2913
|
-
deliveryMode:
|
|
2918
|
+
timeZone: siteTimeZone,
|
|
2919
|
+
siteTimeZone,
|
|
2920
|
+
deliveryMode: "in_person"
|
|
2914
2921
|
}, "dayMonth");
|
|
2915
2922
|
}
|
|
2916
2923
|
/**
|
|
@@ -2965,7 +2972,7 @@ async function checkGuestNextStep(input, request, setCheckingNextStep) {
|
|
|
2965
2972
|
switch (plan.kind) {
|
|
2966
2973
|
case "skip": return plan.outcome;
|
|
2967
2974
|
case "blocked": return {
|
|
2968
|
-
kind: "
|
|
2975
|
+
kind: "checkFailed",
|
|
2969
2976
|
message: plan.message
|
|
2970
2977
|
};
|
|
2971
2978
|
case "check": break;
|
|
@@ -2975,8 +2982,8 @@ async function checkGuestNextStep(input, request, setCheckingNextStep) {
|
|
|
2975
2982
|
return await input.api.checkRegistrationNextStep(plan.request);
|
|
2976
2983
|
} catch {
|
|
2977
2984
|
return {
|
|
2978
|
-
kind: "
|
|
2979
|
-
message: "We
|
|
2985
|
+
kind: "checkFailed",
|
|
2986
|
+
message: "We couldn’t check availability just now. Please go back and try again."
|
|
2980
2987
|
};
|
|
2981
2988
|
} finally {
|
|
2982
2989
|
setCheckingNextStep(false);
|
|
@@ -4159,7 +4166,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
4159
4166
|
formData,
|
|
4160
4167
|
requireGuestDetails,
|
|
4161
4168
|
guests,
|
|
4162
|
-
...detailsRequirementsCheck(requirements.checkRuns(), questions,
|
|
4169
|
+
...detailsRequirementsCheck(requirements.checkRuns(), questions, bookingRequirementsEvent)
|
|
4163
4170
|
});
|
|
4164
4171
|
if (check.kind === "blocked") return blockDetailsCompletion(check.blocker);
|
|
4165
4172
|
setErrors(check.errors);
|
|
@@ -4195,7 +4202,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
4195
4202
|
kind: "unavailable",
|
|
4196
4203
|
reason: "closed",
|
|
4197
4204
|
message: continuation.message
|
|
4198
|
-
},
|
|
4205
|
+
}, continuation.action);
|
|
4199
4206
|
case "payment-step":
|
|
4200
4207
|
setStep("select-payment");
|
|
4201
4208
|
return {
|
|
@@ -4421,12 +4428,13 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
4421
4428
|
});
|
|
4422
4429
|
const shouldShowDiscountToggle = registrationDiscountEntryVisible(discountView);
|
|
4423
4430
|
const requirementsLayout = useMemo(() => decideSelectionRequirementsLayout(selection), [selection]);
|
|
4431
|
+
const { event: bookingRequirementsEvent, consent: bookingConsent } = registrationBookingRequirements(admission, onceAskedEvent(requirementsLayout, currentEvent));
|
|
4424
4432
|
const questions = useEventRegistrationQuestions({
|
|
4425
4433
|
api,
|
|
4426
4434
|
siteId: api.config.siteId,
|
|
4427
4435
|
flow: flowState,
|
|
4428
4436
|
dispatch: dispatchFlow,
|
|
4429
|
-
event:
|
|
4437
|
+
event: bookingRequirementsEvent,
|
|
4430
4438
|
offersKeptAnswers: requirementsLayout.kind !== "shared",
|
|
4431
4439
|
identity: portalIdentity,
|
|
4432
4440
|
eventSource: options.eventSource,
|
|
@@ -4773,6 +4781,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
4773
4781
|
organiserContact: submissionError.organiserContact ?? organiserContact,
|
|
4774
4782
|
questionFieldErrors: flowState.questionFieldErrors,
|
|
4775
4783
|
bookingQuestions: questions,
|
|
4784
|
+
bookingConsent,
|
|
4776
4785
|
/** How the selection's questions and agreement are asked: once, or once per run. */
|
|
4777
4786
|
requirementsLayout,
|
|
4778
4787
|
/** One section per run when several runs ask different questions or agreements. */
|
|
@@ -4887,7 +4896,7 @@ function resolveSelectionChoiceMessages(input) {
|
|
|
4887
4896
|
}
|
|
4888
4897
|
/** The event whose questions are asked once; none when runs are asked separately. */
|
|
4889
4898
|
function onceAskedEvent(layout, currentEvent) {
|
|
4890
|
-
return layout.kind === "per_run" ? null : currentEvent;
|
|
4899
|
+
return layout.kind === "per_run" ? null : layout.kind === "shared" ? layout.source : currentEvent;
|
|
4891
4900
|
}
|
|
4892
4901
|
/**
|
|
4893
4902
|
* What the details step checks for questions and agreement: each run's own
|
|
@@ -5290,7 +5299,7 @@ function availableCreditCents(state, currency) {
|
|
|
5290
5299
|
}
|
|
5291
5300
|
//#endregion
|
|
5292
5301
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
|
|
5293
|
-
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-
|
|
5302
|
+
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-CJoxbx2Y.mjs"));
|
|
5294
5303
|
/** The one Stripe mount, shared by the standard wizard and headless arrangements. */
|
|
5295
5304
|
function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
|
|
5296
5305
|
if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as cardListPresentationSchemaShape, Dn as buildMailingListSignupBlockSourceRef, En as formatEventStartingPrice, Mn as sameMailingListPlacementTargeting, Nn as parseContentVersionId, P as occurrenceContextSchema, Pn as unsafeAsContentEntryId, _t as offeringsListingFor, ct as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, fn as projectRecurringSchedule, ft as groupOfferingRunsByCourse, gn as resolveHeaderChromeRuntimeContract, hn as isHeaderScrollRuntimeEnabled, kn as parseMailingListPlacementTargeting, m as combinedLookSchema, mt as normalizeOfferingsPreviewContentForWrite, on as buildEventListWeek, ot as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, pn as recurringScheduleProjectionSchema, pt as isOfferingsPreviewSourceKey, rn as quickFactSlots, ut as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, vn as parseHeaderPositioning, vt as offeringsPreviewGroupQuery, yn as planSiteChromePlacement, yt as readOfferingsGrouping } from "./newsletter-form.interactive-
|
|
2
|
+
import { $t as cardListPresentationSchemaShape, Dn as buildMailingListSignupBlockSourceRef, En as formatEventStartingPrice, Mn as sameMailingListPlacementTargeting, Nn as parseContentVersionId, P as occurrenceContextSchema, Pn as unsafeAsContentEntryId, _t as offeringsListingFor, ct as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, fn as projectRecurringSchedule, ft as groupOfferingRunsByCourse, gn as resolveHeaderChromeRuntimeContract, hn as isHeaderScrollRuntimeEnabled, kn as parseMailingListPlacementTargeting, m as combinedLookSchema, mt as normalizeOfferingsPreviewContentForWrite, on as buildEventListWeek, ot as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, pn as recurringScheduleProjectionSchema, pt as isOfferingsPreviewSourceKey, rn as quickFactSlots, ut as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, vn as parseHeaderPositioning, vt as offeringsPreviewGroupQuery, yn as planSiteChromePlacement, yt as readOfferingsGrouping } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
4
|
-
import { A as eventCalendarListGroupingDecision, B as RichTextDocSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as createRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, Jt as publicLocationSchema, Kt as parseLocationValue, M as eventCalendarLookViews, Qt as trimmedStringOrNull, Sn as parseUtcIsoDateTimeString, U as isRichTextDoc, V as buildRichTextSchema, Vt as isRecord$8, Wt as locationValueSchema, Y as runtimeMediaSchema, Z as PUBLIC_FILE_FIELD_KINDS, _ as publicMembershipProductCollectionSchema, bn as parseBookingLocalDate, ct as isArrangementMode, g as resolveCalendarReadProfile, in as formatDateTime, it as eventListTreatmentValues, lt as tileTreatmentValues, nn as formatDate$1, q as mediaSchema, qt as projectPublicLocation, v as publicPassProductCollectionSchema, wn as resolveBookingBusinessTimeZone, x as publicEventPricingSchema, y as eventVenueDrawingSchema, yn as getLocalScheduleDate, z as resolveEventCalendarReadPlan } from "./src-
|
|
5
|
-
import {
|
|
6
|
-
import { l as monthSlotParents } from "./CalendarNavigationChevron-
|
|
7
|
-
import { h as assertNever$4 } from "./bookingCalendar
|
|
8
|
-
import {
|
|
9
|
-
import { $ as
|
|
4
|
+
import { A as eventCalendarListGroupingDecision, B as RichTextDocSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as createRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, Jt as publicLocationSchema, Kt as parseLocationValue, M as eventCalendarLookViews, Qt as trimmedStringOrNull, Sn as parseUtcIsoDateTimeString, U as isRichTextDoc, V as buildRichTextSchema, Vt as isRecord$8, Wt as locationValueSchema, Y as runtimeMediaSchema, Z as PUBLIC_FILE_FIELD_KINDS, _ as publicMembershipProductCollectionSchema, bn as parseBookingLocalDate, ct as isArrangementMode, g as resolveCalendarReadProfile, in as formatDateTime, it as eventListTreatmentValues, lt as tileTreatmentValues, nn as formatDate$1, q as mediaSchema, qt as projectPublicLocation, v as publicPassProductCollectionSchema, wn as resolveBookingBusinessTimeZone, x as publicEventPricingSchema, y as eventVenueDrawingSchema, yn as getLocalScheduleDate, z as resolveEventCalendarReadPlan } from "./src-CJf3u16T.mjs";
|
|
5
|
+
import { As as generateLookMediaFrameCss, Bo as eventCalendarWeekStart, Cs as asPartialObject, Es as inlineTextToPlainText, Lo as isBlockButtonRole, Ls as isRecord$9, Ms as parseBlockColorToken, Ni as selectionRepresentativeEvent, Ns as readRuntimeNow, Oi as planWholeSeriesParentBooking, Os as parseInlineTextFromUnknown, Ps as resolveDateRuntimeContext, Ss as sectionStateToneFromKind, Ti as isOrdinaryPublicEvent, Ts as runTransforms, _c as offeringLabelForPageSurfaceSubject, _s as heroTitleSizeOptions, as as computeMediaTransformStyle, bs as uiTransforms, gs as createImageShapeField, ho as publicEventCancellation, hs as systemCustomizeFacetDefinitionsForBlock, is as MediaPlaceholder, ji as registrationDataForEventSelection, js as resolveLookMediaFrame, ks as plainTextToInlineText, ms as resolveArrangementKnobs, vs as createAspectRatioField, ws as createTransformRegistry, xs as SECTION_STATE_KINDS, yc as formatBookingPriceDisplay, yi as normalizeEventRegistrationPageSurfaceSubject, ys as standardAspectRatioPhrases } from "./wizardSteps-BbroaNkT.mjs";
|
|
6
|
+
import { l as monthSlotParents } from "./CalendarNavigationChevron-oaHxRbUO.mjs";
|
|
7
|
+
import { h as assertNever$4 } from "./bookingCalendar-9nFa_do4.mjs";
|
|
8
|
+
import { a as publicAppointmentPricingSchema, i as publicAppointmentLocationSchema, n as formatAppointmentLocation, r as formatAppointmentPrice, t as formatAppointmentDuration } from "./presentation-CudSUZ6Q.mjs";
|
|
9
|
+
import { $ as sectionContainer, $n as resolveRepeaterGridSpanFieldId, $t as el, A as admitReadinessFacts, An as resolveBackgroundColorValue, At as eventHeaderSlotParents, B as formCopyFragment, Bn as ICON_CONFIG, C as audioPlayerReadiness, Cn as eventDiscoveryFilterKeys, Ct as normalizeLocationMapProps, D as teamReadiness, Dn as teamMemberCardBiographyFallback, E as galleryReadiness, En as resolveEventScope, Et as resolveLocationMapLocation, F as checkoutBlockDefinition, Fn as lookSlot, G as createSiteOptionSelectField, Gn as storedSectionPhoto, Gt as FEATURE_CARD_ICON_TREATMENTS, H as composeFragments, Hn as groundPaint, I as cartBlockDefinition, In as ACCORDION_OPEN_ACCENT_THICKNESS, J as parseFieldDefinitions, Jn as DEFAULT_MEDIA_FIELD_KINDS, Jt as accordionList, K as normalizeSelectSource, Kn as bindingSchema, Kt as parseBlockIconValue, L as createBlockManifest, Ln as ACCORDION_SPACING_MAP, Lt as desktopOnlyDisplay, M as loadedReadinessFact, Mn as lookLeadSlotTransform, Mt as buildAppointmentServicesView, N as pageTemplateFromEntry, Nn as lookQuoteLimitTransform, O as testimonialsReadiness, On as BACKGROUND_POSITION_PRESET_VALUES, Ot as lookPartShown, P as unavailableReadinessFact, Pn as lookSkinSlotTransform, Q as styledContainer, Qn as resolveRepeaterGridRowFieldId, Qt as carousel, R as augmentManifest, Rn as ACCORDION_TRIGGER_FONT_SCALE, Rt as mobileOnlyDisplay, S as giftingBlockDefinition, Sn as resolveEventScopeRead, St as describeUnresolvedLocationMapLocation, T as fileDownloadReadiness, Tn as eventScopeQueryKeys, Tt as parseLocationMapLoaderResult, U as defineFragment, Un as pageGround, Ut as PUBLIC_DOWNLOAD_MEDIA_TYPES, V as buildFragmentDataLoaders, Vn as ICON_SIZE_PX, W as createSdkSelectField, Wn as sectionPhotoPath, Wt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, X as sectionHeaderFields, Xn as parseRepeaterGridInteger, Xt as bookingForm, Y as withApiBindings, Yn as isAcceptedRepeaterGridSpan, Yt as bind, Z as sectionHeaderLayoutNodes, Zn as resolveRepeaterGridColumnFieldId, Zt as button, _ as cardListSectionActionFields, _n as eventReadinessQuery, _t as createButtonVariantField, a as cardListSectionAction, an as link, ar as isCanonicalRichTextDoc, at as offeringCourseSlotParents, b as formDataSchema, bn as recurringScheduleRead, bt as LOCATION_MAP_LIMITS, c as newsletterSignupBlockDefinition, cn as repeat, ct as emptyStateField, d as eventListingBlockDefinition, dn as stack, dt as withoutMap, en as fileDownload, er as mapReadinessFact, et as layoutSectionGround, f as mapDrawingStyleBinding, fn as text, ft as cardStylesField, g as cardListPresentationBindings, gn as eventReadinessLoaderKey, gt as createButtonGroup, h as cardListPhotoNumberFields, hn as blockChecksForEvents, ht as unreadContainerStylesField, i as shopBlockDefinition, in as inline, ir as publicMapLocationResultSchema, it as buildLoadedOfferingsPreviewListing, j as hiddenFromVisitors, jn as lookCarouselRegionTransform, jt as resolveEventDetailsPresentation, k as videoGridReadiness, kn as getAnchorClasses, kt as lookParts, l as sanitizeNewsletterSignupPublicContent, ln as richText, lt as eventDisplayFields, m as cardListKnobFields, mn as when, mt as sectionStylesField, nn as headerSection, nr as linkSchema, nt as backgroundFrame, o as productListBlockDefinition, on as media, ot as cardStylingFields, p as eventCalendarBlockDefinition, pn as videoEmbed, pt as containerStylesField, q as parseFieldDefinition, qn as placedEditingPaths, qt as SectionNode, rn as icon, s as productDetailBlockDefinition, sn as props, st as columnsField, t as serverComponentRegistry, tn as form, tr as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, tt as styledSection, u as normalizeMailingListBlockContent, un as section, ut as layoutField, v as normalizeCardListContent, vn as eventReadinessQueryKeys, w as chosenString, wn as eventScopeLoaderParam, wt as normalizeLocationMapSource, x as eventRegistrationBlockDefinition, xn as resolveEventCalendarRead, xt as LOCATION_MAP_LOADER_KEYS, y as formBlockDefinition, yn as eventReadinessResultSchema, yt as LOCATION_MAP_DEFAULTS, z as formEmbedFragment, zn as ACCORDION_TRIGGER_LETTER_SPACING } from "./registry.server-0UDNY7dO.mjs";
|
|
10
|
+
import { $ as sectionShapeFromContent, $t as defineBlockDesignCapability, A as resolvePublishedLook, At as resolvePageDesignBoundaryChoice, B as designRuntimeRulesForTheme, Bn as siteChromeBackgroundOverrideOwner, Bt as sectionTransitionFamilies, C as getCompatibleBlockAppearancePresets, Cn as headerVariantValues, Ct as mixGroundColour, D as readStoredMode, Dn as boxBackgroundSchema, Dt as parsePageDesignIntent, E as arrangementManifestFromVariants, Et as groundTextureDataUri, F as filterLayoutProfilesForPolicy, Fn as surfaceCardRoleValues, Ft as boundaryRuntimeMetricsForDecorativeTransition, Gn as asSiteStyleId, Gt as anglePolygonCss, H as requireCuratedSiteStyle, Hn as asDesignBlockId, Ht as spaciousBoundaryOption, I as filterLookIdsForPolicy, It as boundaryTreatmentForBoundaryOptionId, J as brandScrimOverlay, Jt as appearancePresets, K as stripCompiledRuntimeStyleFields, Kn as makeBoundaryId, Kt as transitionCatalogueEntries, L as componentRuntimeRulesForSiteStyle, Ln as asHeaderLayoutId, Lt as isDecorativeTransitionIntent, M as applySiteStyleBlockPoliciesToPageDesignIntent, Mn as cardVariantRoleValues, Mt as boundaryOptionForTreatment, N as buildInitialPolicyPageDesignIntent, Nt as boundaryOptionIdForTreatment, O as resolveEffectiveArrangement, On as runtimeBoxBackgroundSchema, Ot as rebasePageDesignIntentToSiteStyle, P as deriveSiteStyleBlockPolicy, Pt as boundaryOptions, Q as sectionShapeForGround, Qt as assertNever$5, R as componentRuntimeRulesForTheme, Rn as asHeaderStyleId, Rt as noneBoundaryOption, S as compileArrangementLookRuntime, Sn as themeSchema, St as groundFlatZone, T as resolveLookForBlock, Tn as customCssRuleSchema, Tt as resolveSectionTreatment, Un as asLayoutVariantKey, Ut as transitionCatalogueEntryForIntent, V as getCuratedSiteStyle, Vn as asAppearancePresetId, Vt as softBoundaryOption, W as compilePageRuntimeFields, Wn as asPageFlowPresetId, Wt as transitionIntentForTreatment, Y as defaultHeroImageSurfaceTreatment, Zt as lookModes, _ as selectItemSurfacePresentation, _t as navLinkOwnsHoverForeground, an as introCompositionTreatmentValues, at as resolveCardRole, b as arrangementStyleAvailability, bn as sectionStylesOverrideSchema, bt as stripStaleTransitionStyleGroup, c as logger, cn as requireNonEmptyReadonlyArray, ct as footerForegroundCandidates, dn as toNonEmptyReadonlyArray, dt as generateNavLinkCSS, en as defineExactCatalog, et as sectionShapeHook, fn as opaqueSurfaceContextFromTheme, ft as generateEffectsCSS, g as resolveLookSurfacePresentation, gt as navLinkHoverColorCandidate, h as lookPresentationOnPalette, hn as TokenResolver, ht as generateInteractiveChildInheritanceCSS, in as featureCardCompositionTreatmentValues, it as existingStyleEdges, j as applyBlockContentVariantPolicy, jt as boundaryOptionForTransitionIntent, k as resolveModeArrangement, kn as fontWidthFits, kt as resolvePageDesignBlockLookChoice, ln as sectionBackgroundPaintValues, lt as getNavLinkPreset, m as itemRole, mn as arrangementSlotNames, mt as resolveEffectPaint, nn as defineNoBlockDesignCapability, on as offeringsPreviewCompositionTreatmentValues, ot as generateDefaultCardSystem, p as resolvedItemSurfaceProps, pn as opaqueSurfaceDeclarations, pt as resolveEffectApplications, q as surfaceResolutionContextFromTheme, qt as pageDesignDecisionsV2Schema, rn as designIssueSeverityForPolicy, sn as plainFrame, st as generateFooterCss, tn as defineFrameCapability, un as testimonialsCompositionTreatmentValues, ut as buildTextContrastShadow, v as arrangementAppearancePresets, vt as navLinkOwnsUnderline, w as resolveArrangementLookForBlock, wn as blockCustomCssRuleSchema, wt as resolveGroundPaint, x as automaticArrangementLook, xn as sectionTreatmentSchema, xt as themeV2CompilerOwnedFieldNames, y as arrangementLookHooks, yt as sectionOwnerStyleChoices, z as designRuntimeRulesForSiteStyle, zt as sectionBoundaryTreatmentsEqual } from "./islands-C95FyxUF.mjs";
|
|
10
11
|
import { D as absoluteInkColors, I as parseColorTokenParts, L as parseThemeColorToken, a as partOwnedPseudoElements, d as createStandardButtonSurfacePolicy, i as buttonShadowLayersValue, k as hexColorSchema, m as actionVariableFallback, n as BUTTON_LABEL_CLASS, o as affordanceIconMaskUrl, p as unsafeAsOpaqueButtonColourToken, r as buttonPartsCss, s as DEFAULT_VARIANT_ALIAS_ID, u as buttonSizeNameSchema } from "./buttonParts-C39GC0kz.mjs";
|
|
11
|
-
import { $ as expandPalette, B as cssVarValue, Bt as featuresFromHex, C as materializeRuntimeButtonAppearance, Ct as resolveOpaqueSurfaceHex, Dt as paletteInkToken, E as DEFAULT_BUTTON_SIZES, Et as paletteInkRoles, Ft as hexLuminance, G as callsCssLoadingFunction, Gt as oklchToHexGamut, H as rgbColorValue, It as luminanceInterval, J as safeTokenOr, K as staysInsideDeclaration, Kt as rgbToHex, N as mapButtonVisualAppearances, Nt as ORDINARY_TEXT_MIN_CONTRAST_RATIO, O as FONT_SIZE_MAP, Pt as contrastRatio, Q as SURFACE_SECONDARY_TEXT_TINT_ALPHA, R as backgroundColorStyle, Rt as solidPaint, S as buttonTypographyDeclarations, St as resolveConcreteColorHex, T as BORDER_WIDTH_MAP, Tt as paletteInk, U as textColorStyle, Ut as oklabToOklch, V as mergeStyles, Vt as hexToRgb, W as textColorValue, Wt as oklabToSrgb, Y as surfaceInkPublication, Z as solveSurfaceInks, _ as formatButtonColourContractError, _t as surfaceInkDeclarations, at as planForegroundHover, b as buttonStateAppearanceDeclarations, bt as freezeOwnedThemeValue, ct as contrastThresholdByPolicy, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, g as BUTTON_CONTRAST_POLICY, gt as surfaceForegroundValueWithOpacity, h as resolveSolidButtonColour, ht as surfaceForegroundValue, i as prepareSurfaceIndex, it as scrimTone, k as generateShadowValue$1, lt as DEFAULT_SURFACE_TEXT_COLOR, m as compileButtonColourStates, mt as surfaceForegroundStyle, nt as gradientScrimSamples, ot as HOVER_TEXT_THRESHOLD, pt as surfaceForegroundInputFromResolved, q as resolveSurfaceForeground, qt as srgbToOklab, r as parseSurfaceTree, s as resolveSurface, st as certifyPaint, t as certifyFinishedGround, tt as compositeHex, u as surfaceDecorationColors, ut as SURFACE_FOREGROUND_CSS_VARS, v as buttonBorder, vt as surfaceInkStyle, w as paddingDeclarations, wt as neutralInk, x as buttonStateShadow, xt as ownedThemeSnapshot, y as buttonRadius, yt as surfaceInkValue, z as borderColorStyle } from "./accessibleSurfaces-
|
|
12
|
-
import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-
|
|
12
|
+
import { $ as expandPalette, B as cssVarValue, Bt as featuresFromHex, C as materializeRuntimeButtonAppearance, Ct as resolveOpaqueSurfaceHex, Dt as paletteInkToken, E as DEFAULT_BUTTON_SIZES, Et as paletteInkRoles, Ft as hexLuminance, G as callsCssLoadingFunction, Gt as oklchToHexGamut, H as rgbColorValue, It as luminanceInterval, J as safeTokenOr, K as staysInsideDeclaration, Kt as rgbToHex, N as mapButtonVisualAppearances, Nt as ORDINARY_TEXT_MIN_CONTRAST_RATIO, O as FONT_SIZE_MAP, Pt as contrastRatio, Q as SURFACE_SECONDARY_TEXT_TINT_ALPHA, R as backgroundColorStyle, Rt as solidPaint, S as buttonTypographyDeclarations, St as resolveConcreteColorHex, T as BORDER_WIDTH_MAP, Tt as paletteInk, U as textColorStyle, Ut as oklabToOklch, V as mergeStyles, Vt as hexToRgb, W as textColorValue, Wt as oklabToSrgb, Y as surfaceInkPublication, Z as solveSurfaceInks, _ as formatButtonColourContractError, _t as surfaceInkDeclarations, at as planForegroundHover, b as buttonStateAppearanceDeclarations, bt as freezeOwnedThemeValue, ct as contrastThresholdByPolicy, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, g as BUTTON_CONTRAST_POLICY, gt as surfaceForegroundValueWithOpacity, h as resolveSolidButtonColour, ht as surfaceForegroundValue, i as prepareSurfaceIndex, it as scrimTone, k as generateShadowValue$1, lt as DEFAULT_SURFACE_TEXT_COLOR, m as compileButtonColourStates, mt as surfaceForegroundStyle, nt as gradientScrimSamples, ot as HOVER_TEXT_THRESHOLD, pt as surfaceForegroundInputFromResolved, q as resolveSurfaceForeground, qt as srgbToOklab, r as parseSurfaceTree, s as resolveSurface, st as certifyPaint, t as certifyFinishedGround, tt as compositeHex, u as surfaceDecorationColors, ut as SURFACE_FOREGROUND_CSS_VARS, v as buttonBorder, vt as surfaceInkStyle, w as paddingDeclarations, wt as neutralInk, x as buttonStateShadow, xt as ownedThemeSnapshot, y as buttonRadius, yt as surfaceInkValue, z as borderColorStyle } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
13
|
+
import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-CaSq3-r-.mjs";
|
|
13
14
|
import { A as themeButtonSelector, j as AFFORDANCE_SUPPRESS_CLASS, k as parseThemeButtonVariantId } from "./ThemedButton-C4rCsPCt.mjs";
|
|
14
15
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
15
16
|
import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
16
17
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
17
18
|
import { n as eventAutoApplyDiscountPreviewSchema } from "./events-9LPvwbWp.mjs";
|
|
18
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
19
|
-
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-
|
|
20
|
-
import { n as eventListSlotParents } from "./EventListing.view-
|
|
19
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BFDEPZZA.mjs";
|
|
20
|
+
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-CDMa9zOX.mjs";
|
|
21
|
+
import { n as eventListSlotParents } from "./EventListing.view-B6LOK-z4.mjs";
|
|
21
22
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
22
23
|
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-COfQolI3.mjs";
|
|
23
24
|
import * as React$1 from "react";
|
|
@@ -10979,7 +10980,7 @@ function resolveSurfaceForegroundStyles(value, context, options) {
|
|
|
10979
10980
|
...inks
|
|
10980
10981
|
};
|
|
10981
10982
|
case "known": return {
|
|
10982
|
-
...
|
|
10983
|
+
...arrangementDecorations(foreground, context),
|
|
10983
10984
|
...resolved.buttonStyles,
|
|
10984
10985
|
...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context))),
|
|
10985
10986
|
...inks
|
|
@@ -11038,21 +11039,19 @@ function resolveRuntimeSectionSurface(value, context, options) {
|
|
|
11038
11039
|
solvedInks: transformSolvedInks(context)
|
|
11039
11040
|
});
|
|
11040
11041
|
}
|
|
11041
|
-
|
|
11042
|
+
/** Line and mark are drawn by arrangements only; muted comes with the other foreground roles. */
|
|
11043
|
+
function arrangementDecorations(foreground, context) {
|
|
11042
11044
|
if (context.data?._lookSlots === void 0) return {};
|
|
11043
|
-
return
|
|
11045
|
+
return surfaceDecorationStyles(foreground, context.theme.palette);
|
|
11044
11046
|
}
|
|
11045
11047
|
/** Decoration roles already resolved by the surface owner, shared with footer arrangements. */
|
|
11046
|
-
function
|
|
11048
|
+
function surfaceDecorationStyles(foreground, palette) {
|
|
11047
11049
|
if (foreground.kind !== "known") return {};
|
|
11048
11050
|
const decorations = surfaceDecorationColors(foreground, palette);
|
|
11049
|
-
return {
|
|
11050
|
-
"--rb-surface-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
"--rb-surface-mark-color": decorations.mark
|
|
11054
|
-
} : {}
|
|
11055
|
-
};
|
|
11051
|
+
return decorations ? {
|
|
11052
|
+
"--rb-surface-line-color": decorations.line,
|
|
11053
|
+
"--rb-surface-mark-color": decorations.mark
|
|
11054
|
+
} : {};
|
|
11056
11055
|
}
|
|
11057
11056
|
//#endregion
|
|
11058
11057
|
//#region ../blocks/src/system/transforms/registry/layout.ts
|
|
@@ -11254,12 +11253,12 @@ function footerAreaPaintStyle(footer, area, context) {
|
|
|
11254
11253
|
const palette = context.theme.palette;
|
|
11255
11254
|
if (area === "main") {
|
|
11256
11255
|
const foreground = resolveFooterRootForeground(footer, palette, context.proseHoverCandidate);
|
|
11257
|
-
return mergeStyles(backgroundColorStyle(footerMainPaint(footer).ground), resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context),
|
|
11256
|
+
return mergeStyles(backgroundColorStyle(footerMainPaint(footer).ground), resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceDecorationStyles(foreground, palette));
|
|
11258
11257
|
}
|
|
11259
11258
|
const paint = footerSideBandPaint(footer, area);
|
|
11260
11259
|
const foreground = resolveFooterSideBandForeground(footer, area, palette, context.proseHoverCandidate);
|
|
11261
11260
|
if (!paint || !foreground) return void 0;
|
|
11262
|
-
return mergeStyles({ [`--rb-footer-${area}-bg`]: rgbColorValue(paint.ground) }, resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context),
|
|
11261
|
+
return mergeStyles({ [`--rb-footer-${area}-bg`]: rgbColorValue(paint.ground) }, resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceDecorationStyles(foreground, palette));
|
|
11263
11262
|
}
|
|
11264
11263
|
const footerAreaValues = [
|
|
11265
11264
|
"band",
|
|
@@ -25312,6 +25311,10 @@ const eventDetailsBlockDefinition = {
|
|
|
25312
25311
|
fallback: null
|
|
25313
25312
|
} },
|
|
25314
25313
|
events: { $bind: { from: "data.eventDetailsData.events" } },
|
|
25314
|
+
eventOverview: { $bind: {
|
|
25315
|
+
from: "data.eventDetailsData.eventOverview",
|
|
25316
|
+
fallback: false
|
|
25317
|
+
} },
|
|
25315
25318
|
venueDrawing: { $bind: {
|
|
25316
25319
|
from: "data.eventDetailsData.venueDrawing",
|
|
25317
25320
|
fallback: null
|
|
@@ -25352,6 +25355,8 @@ const eventDetailsBlockDefinition = {
|
|
|
25352
25355
|
dataSchemas: {
|
|
25353
25356
|
eventDetailsData: z.object({
|
|
25354
25357
|
events: publicEventsArraySchema,
|
|
25358
|
+
/** The page is about the whole event, not the date the page's booking column holds. */
|
|
25359
|
+
eventOverview: z.boolean().optional(),
|
|
25355
25360
|
venueDrawing: eventVenueDrawingSchema.optional().catch(void 0),
|
|
25356
25361
|
sitePasses: publicPassProductCollectionSchema,
|
|
25357
25362
|
siteMemberships: publicMembershipProductCollectionSchema,
|
|
@@ -35874,7 +35879,8 @@ function bookingPageFacts(selection) {
|
|
|
35874
35879
|
event: selectionRepresentativeEvent(selection),
|
|
35875
35880
|
identity: bookingPageIdentity(selection),
|
|
35876
35881
|
details: bookingDetailEvents(selection),
|
|
35877
|
-
registration: registrationDataForEventSelection(selection)
|
|
35882
|
+
registration: registrationDataForEventSelection(selection),
|
|
35883
|
+
eventOverview: selection.kind === "occurrence" && Boolean(selection.cancelledEventDates?.length)
|
|
35878
35884
|
};
|
|
35879
35885
|
}
|
|
35880
35886
|
function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
@@ -35891,7 +35897,7 @@ function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
|
35891
35897
|
showCapacity: true,
|
|
35892
35898
|
showVenue: true
|
|
35893
35899
|
}
|
|
35894
|
-
}, {
|
|
35900
|
+
}, ...publicEventCancellation(event) ? [] : [{
|
|
35895
35901
|
id: BOOKING_PAGE_BLOCK_IDS.refundPolicy,
|
|
35896
35902
|
kind: "block.body-text",
|
|
35897
35903
|
purpose: "refund-policy",
|
|
@@ -35912,7 +35918,7 @@ function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
|
35912
35918
|
}]
|
|
35913
35919
|
}]
|
|
35914
35920
|
} }
|
|
35915
|
-
}], design);
|
|
35921
|
+
}]], design);
|
|
35916
35922
|
return {
|
|
35917
35923
|
name: identity.title,
|
|
35918
35924
|
path: design.path,
|
|
@@ -35980,7 +35986,7 @@ function bookingMainBlocks(event, identity, hasDetails) {
|
|
|
35980
35986
|
/** A multi-run parent must not imply that one run's facts describe all its dates. */
|
|
35981
35987
|
function bookingDetailEvents(selection) {
|
|
35982
35988
|
switch (selection.kind) {
|
|
35983
|
-
case "occurrence": return [selection.event];
|
|
35989
|
+
case "occurrence": return [selection.event, ...selection.cancelledEventDates ?? []];
|
|
35984
35990
|
case "dateChoice": return selection.dates;
|
|
35985
35991
|
case "wholeSeriesRun": return [selection.run.representative];
|
|
35986
35992
|
case "wholeSeriesParent": {
|
|
@@ -35991,11 +35997,12 @@ function bookingDetailEvents(selection) {
|
|
|
35991
35997
|
}
|
|
35992
35998
|
}
|
|
35993
35999
|
/** Seed the route's admitted facts, never select or fetch its Event a second time. */
|
|
35994
|
-
function bookingPageSeedData({ registration, details }) {
|
|
36000
|
+
function bookingPageSeedData({ registration, details, eventOverview }) {
|
|
35995
36001
|
return {
|
|
35996
36002
|
[BOOKING_PAGE_BLOCK_IDS.registration]: { ..."events" in registration ? { events: registration.events } : { wholeSeriesRunEvents: registration.wholeSeriesRunEvents } },
|
|
35997
36003
|
[BOOKING_PAGE_BLOCK_IDS.details]: { eventDetailsData: {
|
|
35998
36004
|
events: details,
|
|
36005
|
+
...eventOverview ? { eventOverview: true } : {},
|
|
35999
36006
|
sitePasses: { passes: [] },
|
|
36000
36007
|
siteMemberships: { memberships: [] }
|
|
36001
36008
|
} }
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region ../blocks/src/system/runtime/shared/components/SiteChoiceGroup.tsx
|
|
5
|
+
/**
|
|
6
|
+
* The options on their own, for a fieldset someone else owns (a booking
|
|
7
|
+
* question's fieldset already holds its legend, help and error).
|
|
8
|
+
*/
|
|
9
|
+
function SiteChoiceOptions(props) {
|
|
10
|
+
const size = props.size ?? "pill";
|
|
11
|
+
return /* @__PURE__ */ jsx("div", {
|
|
12
|
+
className: "rb-choice-options",
|
|
13
|
+
"data-choice-size": size,
|
|
14
|
+
children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
|
|
15
|
+
className: "rb-choice",
|
|
16
|
+
"data-choice-size": size,
|
|
17
|
+
children: [/* @__PURE__ */ jsx(ChoiceInput, {
|
|
18
|
+
option,
|
|
19
|
+
size,
|
|
20
|
+
group: props
|
|
21
|
+
}), size === "row" ? /* @__PURE__ */ jsx(RowBody, { option }) : /* @__PURE__ */ jsx(ChipFace, { option })]
|
|
22
|
+
}, option.value))
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/** A named group of choices: a fieldset whose legend names it, announced as a radio group. */
|
|
26
|
+
function SiteChoiceGroup(props) {
|
|
27
|
+
const { legend, legendHidden, className, disabled, ...options } = props;
|
|
28
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
29
|
+
className: ["rb-choice-group", className].filter(Boolean).join(" "),
|
|
30
|
+
role: "radiogroup",
|
|
31
|
+
"aria-required": props.required || void 0,
|
|
32
|
+
disabled,
|
|
33
|
+
children: [/* @__PURE__ */ jsx("legend", {
|
|
34
|
+
className: legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
|
|
35
|
+
children: legend
|
|
36
|
+
}), /* @__PURE__ */ jsx(SiteChoiceOptions, { ...options })]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function ChoiceInput({ option, size, group }) {
|
|
40
|
+
const controlled = group.value !== void 0;
|
|
41
|
+
const checked = controlled && option.value === group.value;
|
|
42
|
+
const report = group.onChange ? () => group.onChange?.(option.value) : void 0;
|
|
43
|
+
return /* @__PURE__ */ jsx("input", {
|
|
44
|
+
type: "radio",
|
|
45
|
+
className: size === "row" ? "rb-choice-radio form-radio" : "rb-choice-input",
|
|
46
|
+
name: group.name,
|
|
47
|
+
value: option.value,
|
|
48
|
+
required: group.required,
|
|
49
|
+
disabled: group.disabled || option.disabled,
|
|
50
|
+
"aria-invalid": group.invalid || void 0,
|
|
51
|
+
"aria-describedby": group.describedBy,
|
|
52
|
+
...controlled ? { checked } : { defaultChecked: option.value === group.defaultValue },
|
|
53
|
+
onChange: report,
|
|
54
|
+
onClick: checked ? report : void 0,
|
|
55
|
+
onBlur: group.onBlur
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function ChipFace({ option }) {
|
|
59
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
60
|
+
className: "rb-choice-face",
|
|
61
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
62
|
+
className: "rb-choice-label",
|
|
63
|
+
children: option.label
|
|
64
|
+
}), (option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
|
|
65
|
+
className: "rb-choice-detail",
|
|
66
|
+
children: detail
|
|
67
|
+
}, detail))]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function RowBody({ option }) {
|
|
71
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
72
|
+
className: "rb-choice-body",
|
|
73
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
74
|
+
className: "rb-choice-text",
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ jsx("span", {
|
|
77
|
+
className: "rb-choice-label",
|
|
78
|
+
children: option.label
|
|
79
|
+
}),
|
|
80
|
+
(option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
|
|
81
|
+
className: "rb-choice-detail",
|
|
82
|
+
children: detail
|
|
83
|
+
}, detail)),
|
|
84
|
+
option.disabled && option.disabledReason ? /* @__PURE__ */ jsx("span", {
|
|
85
|
+
className: "rb-choice-reason",
|
|
86
|
+
children: option.disabledReason
|
|
87
|
+
}) : null
|
|
88
|
+
]
|
|
89
|
+
}), option.aside ? /* @__PURE__ */ jsx("span", {
|
|
90
|
+
className: "rb-choice-aside",
|
|
91
|
+
children: option.aside
|
|
92
|
+
}) : null]
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
export { SiteChoiceOptions as n, SiteChoiceGroup as t };
|
package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
2
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
4
4
|
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { uo as bookingPresentation } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
|