@riverbankcms/sdk 0.177.0 → 0.178.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-sYraeqm9.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
- package/dist/_dts/{Page-Bp7hTDTy.d.ts → Page-C9i27wZA.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CxkCCyKw.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
- package/dist/_dts/{client-K6UhbL3t.d.ts → client-BnYN6XsH.d.ts} +31 -7
- package/dist/_dts/{content-types-BLAdIMyr.d.ts → content-types-CXj6lp3d.d.ts} +2 -2
- package/dist/_dts/{contracts-BG7yTZ6t.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DwMHeYmQ.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-X_WpGzZZ.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
- package/dist/_dts/{index-BpAW9AKB.d.ts → index-0HFgCnGz.d.ts} +1 -1
- package/dist/_dts/{index-CX9bp60k.d.ts → index-BE9dWIsr.d.ts} +3 -3
- package/dist/_dts/{index-Bygd2RCg.d.ts → index-CKDRr54L.d.ts} +4 -4
- package/dist/_dts/{index-BMGif2r3.d.ts → index-D9-N1d9v.d.ts} +1 -1
- package/dist/_dts/{index--n-wV8Xd.d.ts → index-DCa-8TEY.d.ts} +1 -1
- package/dist/_dts/{index-BLseXObg.d.ts → index-cTpvQg_Q.d.ts} +2 -2
- package/dist/_dts/{index-CBRbZJ6u.d.ts → index-nnEdgc3Z.d.ts} +2 -2
- package/dist/_dts/{loadContent-uhUThWaq.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
- package/dist/_dts/{request-Bf9YImJw.d.ts → request-B20VRWHH.d.ts} +491 -43
- package/dist/_dts/{resolveBlockData-D6M5NMZB.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DkzWvFbG.d.ts → resolvePageContent-YT6ndha1.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/gifting/client.d.ts +1 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +24 -12
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +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-BdZ5pJSk.d.ts → types-CMZ5mkpv.d.ts} +2 -2
- package/dist/_dts/{types-DgV8P2mz.d.ts → types-CYcd15BQ.d.ts} +7 -7
- package/dist/_dts/{types-C1l2Sm2h.d.ts → types-rm2M4LGx.d.ts} +3 -3
- package/dist/_dts/{validation-BtbZIT5f.d.ts → validation-BSxnRhyy.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
- package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
- package/dist/client/{Page-C03rc6jw.mjs → Page-DqETUt-U.mjs} +12 -12
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
- package/dist/client/client.mjs +59 -5
- package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
- package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
- package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
- package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
- package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
- package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -5
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
- package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
- package/dist/client/portal/client.mjs +344 -19
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
- package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
- package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
- package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-D-Le7O3o.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BUVFKZ4k.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +15 -13
- package/dist/preview-next/client/{PreviewEditorUI-292pOiSt.mjs → PreviewEditorUI-CzJvgbqt.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-CW0Yzj3h.mjs → PreviewShell-xhJ6ca1i.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Dba7zoZK.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-B-utyhbS.mjs → previewAssistantSlot-BN93X9o1.mjs} +1141 -596
- package/dist/preview-next/client/{previewChromeRoot-CCoGydUD.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DCpXVcA0.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-sjOvRAHY.mjs → siteStyleAccess-BGTAcPud.mjs} +1 -1
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-R1rZ9-IZ.mjs → useAutosaveStatus-BMGXjGZq.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BS7CANPv.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BSSbtz6A.mjs → route-contract-BtdzkSUg.mjs} +55 -1
- package/dist/server/{Block.shared-Dc3DX7Cf.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
- package/dist/server/{client-BPLLL22F.mjs → client-Bf06n9oj.mjs} +56 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +56 -13
- package/dist/server/{overrideResolution-CkpwAHvW.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
- package/dist/server/{pageShared-6z6JBU41.mjs → pageShared-tz-GVWft.mjs} +85 -37
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-B4_Llisx.mjs → prebuild-JmsuYCIH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-BvHio6QI.mjs → validation-CLq5cw6M.mjs} +3 -3
- package/dist/server/{version-SuFlio6n.mjs → version-oPbhAx8E.mjs} +1 -1
- package/dist/styles/index.css +19 -0
- package/package.json +1 -1
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as resolveEventRegistrationSubmitPlan, $n as
|
|
3
|
-
import {
|
|
2
|
+
import { $ as resolveEventRegistrationSubmitPlan, $n as getTicketSelectionRemainingPlaces, $t as incompleteRunChoiceMessage, An as selectionPreviewLines, At as toRegistrationEvents, B as getTicketSelectionPurpose, Bo as eventRegistrationErrors, Bt as decideSelectionRequirementsLayout, Cn as combinationHintCopy, Ct as registrationQuestionsMessage, D as registrationRoute, Dn as selectionCombinationHint, Dr as closedDateCopy, E as registrationPresentation, En as combinationWorking, Eo as groupPublicEventsByRun, Er as closedRunCopy, Et as toWaitlistClaimResolveFailure, F as registrationFlowReducer, Ft as eventSignInEnds, G as resolveRegistrationAdmission, Gt as toRunRequirementsSnapshots, H as planRegistrationDetailsCheck, Hn as getPortalSubjectEmail, Ht as nextRunToRead, I as buildEventRegistrationPaymentOptionsViewModel, It as eventSignInRestoration, Ja as requestSignIn, Jn as getCurrentTicketSelection, Ka as leavePage, Kn as transformRegistrationOptionsResponse, Ko as orderedLiveRunSessions, Kt as withoutKeptAnswers, L as decideEventRegistrationPayment, Lt as toEventSignInDraft, M as decideEventChoice, Mt as toWholeSeriesRegistrationEvents, N as getDeclinedPass, Nt as EVENT_SIGN_IN_FORM_ID, P as isRegistrationLocked, Pn as findSelectedTicketType, Pt as eventSignInDraftStore, Qn as getSlidingScaleSelectionMessage, Qt as effectiveSelection, Ro as decideSelectionAttendance, Rt as buildSelectionRequirementsSubmission, Sn as toggleSelectionItem, St as invitationSubmission, T as registrationPaymentRoute, Tn as combinationOffersOf, Tr as closedDatesCopy, Tt as isSameWaitlistClaim, U as planRegistrationDetailsContinuation, Ut as runFieldErrors, Vn as getImplicitSingleTicketType, Vo as parseEventRegistrationErrorReason, Vt as deriveRunRequirements, W as resolveGuestNextStepCheck, Wa as PAGE_NAVIGATION, Wn as getVisibleTicketTypes, Wt as runsKeepingAnswers, Xn as getRegistrationOccurrenceId, Xo as resolveBookingSignupOffer, Xt as canToggleSelectionItem, Y as visitorHoldsOwnPlace, Yn as getEligibilityFlowFlags, Zn as getSlidingScaleForEvent, Zt as decideSelectionPayment, _n as selectionTicketInputs, _t as resolveRegistrationTarget, aa as deriveBookingQuestions, ar as getSingleSelectedPricingOptionId, bn as severalRunsChoiceMessage, bt as beginWaitlistInvitation, c as formatCommercePrice, dn as selectionIncludes, dt as restorableBrowserDraftCode, en as planSelectionPrice, er as parseCurrencyInputToCents, fn as selectionItemPrice, ft as withOfferedEvent, gt as resolveEventRequiresPayment, ht as resolveDiscountContext, it as calculateEventRegistrationPreviewTotal, j as createInitialRegistrationFlowState, jn as serverPricedTotalCents, kn as selectionPreviewKey, kt as getRegistrationStartAt, la as toBookingQuestionsPaymentSnapshot, lr as hasValidPricingOptionSelection, ls as publicEventPricingCurrency, lt as registrationBrowserDraft, mt as findPreSelectedEvent, nn as registrationSelectionMode, no as resolveEventRegistrationScopedEvents, nr as shouldLoadRegistrationOptions, oa as needsBookingQuestionsRefresh, pt as buildRegistrationSelectionRequest, q as resolveRegistrationTicketContinuation, qi as formatCentsAsCurrencyInput, qo as resolveWholeSeriesBookingPhase, qt as paymentReturnRestoration, rr as withRegistrationAvailability, t as appliedDiscountHint, tn as primarySelectionItem, to as resolveEventRegistrationChoices, tr as resolveHeldTicketPlaces, ur as normalizeTicketSelectionLines, ut as registrationBrowserDraftSchema, vt as resolveRouteRequiresPayment, wt as validateFormData, xn as summariseSelectionPayment, xt as createRegistrationDraftData, yn as severalItemsOf, yt as toRegistrationRequestSubject, zo as eventRegistrationErrorEndsCommand, zt as checkRunRequirements } from "./display-D1oVR5Eh.mjs";
|
|
3
|
+
import { gn as resolveBookingBusinessTimeZone, n as assertNever, rn as inferSiteDateLocale } from "./noop-D11X-B6n.mjs";
|
|
4
4
|
import { o as checkBookingQuestionsAnswered } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { a as eventSiteTermsSurface, i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-
|
|
5
|
+
import { a as eventSiteTermsSurface, i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
|
|
6
6
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
7
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
7
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
8
8
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
9
|
-
import { r as DISCOUNT_APPLY_MESSAGES } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-
|
|
11
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
12
|
-
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-
|
|
9
|
+
import { r as DISCOUNT_APPLY_MESSAGES } from "./DemoBookingPortalAccess-Olvrwi3Z.mjs";
|
|
10
|
+
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-B57oGPcj.mjs";
|
|
11
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-B9DODAkj.mjs";
|
|
12
|
+
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-DSD4gS96.mjs";
|
|
13
13
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { s as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-6CgFZNvu.mjs";
|
|
15
15
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
17
|
import { z } from "zod";
|
|
@@ -40,6 +40,184 @@ function logoutPortal(anchorId) {
|
|
|
40
40
|
form.submit();
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationSurface.ts
|
|
44
|
+
/** Admission only limits fresh bookings; existing purchases always reach recovery. */
|
|
45
|
+
function registrationAdmissionSurface(input) {
|
|
46
|
+
if (input.recoveryRequested) return "registration";
|
|
47
|
+
switch (input.availability) {
|
|
48
|
+
case "open": return "registration";
|
|
49
|
+
case "closed": return "closed";
|
|
50
|
+
case "empty": return "empty";
|
|
51
|
+
default: return assertNever(input.availability);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/** Resolve the host guard once. Bookings closing is the wizard's to decide: it owns the step. */
|
|
55
|
+
function resolveEventRegistrationClientSurface(input) {
|
|
56
|
+
if (input.recoveryRequest !== "none") return "wizard";
|
|
57
|
+
switch (input.plan.kind) {
|
|
58
|
+
case "wholeSeries":
|
|
59
|
+
case "occurrence": return "wizard";
|
|
60
|
+
case "unavailableWholeSeries":
|
|
61
|
+
case "mixedBookingScopes": return "unavailable";
|
|
62
|
+
default: return assertNever(input.plan);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function isPastOccurrence(startsAt, now) {
|
|
66
|
+
if (!startsAt) return false;
|
|
67
|
+
const startsAtTime = Date.parse(startsAt);
|
|
68
|
+
if (!Number.isFinite(startsAtTime)) return false;
|
|
69
|
+
return startsAtTime <= Date.parse(now);
|
|
70
|
+
}
|
|
71
|
+
/** Whether someone on this step hasn't been admitted yet, so closing stops them. */
|
|
72
|
+
function stepStartsNewBooking(step) {
|
|
73
|
+
switch (step) {
|
|
74
|
+
case "select-event":
|
|
75
|
+
case "select-tickets":
|
|
76
|
+
case "enter-details":
|
|
77
|
+
case "select-payment": return true;
|
|
78
|
+
case "submitting":
|
|
79
|
+
case "payment":
|
|
80
|
+
case "verifying-payment":
|
|
81
|
+
case "verifying-timeout":
|
|
82
|
+
case "payment-status":
|
|
83
|
+
case "payment-failed":
|
|
84
|
+
case "error":
|
|
85
|
+
case "success": return false;
|
|
86
|
+
default: return assertNever(step);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
const FRESH_BOOKING_OPEN = { kind: "open" };
|
|
90
|
+
/**
|
|
91
|
+
* Whether this page has stopped taking new bookings, by the clock: a date's page
|
|
92
|
+
* when that date closes or starts, a course run's when the run closes, and a page
|
|
93
|
+
* with several to choose from when none of them is left.
|
|
94
|
+
*
|
|
95
|
+
* Closing only stops someone starting: a person with a checkout under way, a
|
|
96
|
+
* confirmation on screen, a place held for them or a payment to come back to
|
|
97
|
+
* keeps it, whenever the date closes or starts around them.
|
|
98
|
+
*/
|
|
99
|
+
function resolveFreshBookingClosure(input) {
|
|
100
|
+
if (input.holdsPlace || input.recoveryRequest !== "none" || !stepStartsNewBooking(input.step)) return { kind: "underway" };
|
|
101
|
+
const { events, occurrenceContext, subject } = input;
|
|
102
|
+
const plan = planEventRegistrationSurface({
|
|
103
|
+
events,
|
|
104
|
+
occurrenceContext,
|
|
105
|
+
subject
|
|
106
|
+
});
|
|
107
|
+
switch (plan.kind) {
|
|
108
|
+
case "wholeSeries": return closedRunsClosure(plan.runs, new Date(input.now));
|
|
109
|
+
case "occurrence": return occurrenceContext ? datePageClosure(events, occurrenceContext, input.now) : closedEarlyClosure(closedDatesCopy(plan.events, new Date(input.now)));
|
|
110
|
+
case "unavailableWholeSeries":
|
|
111
|
+
case "mixedBookingScopes": return FRESH_BOOKING_OPEN;
|
|
112
|
+
default: return assertNever(plan);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function closedEarlyClosure(copy) {
|
|
116
|
+
return copy ? {
|
|
117
|
+
kind: "closedEarly",
|
|
118
|
+
copy
|
|
119
|
+
} : FRESH_BOOKING_OPEN;
|
|
120
|
+
}
|
|
121
|
+
function datePageClosure(events, occurrenceContext, now) {
|
|
122
|
+
const date = events.find((event) => event.occurrenceId === occurrenceContext.id);
|
|
123
|
+
const copy = date ? closedDateCopy(date, new Date(now)) : null;
|
|
124
|
+
if (copy) return {
|
|
125
|
+
kind: "closedEarly",
|
|
126
|
+
copy
|
|
127
|
+
};
|
|
128
|
+
return isPastOccurrence(occurrenceContext.startsAt, now) ? {
|
|
129
|
+
kind: "started",
|
|
130
|
+
startsAt: occurrenceContext.startsAt
|
|
131
|
+
} : FRESH_BOOKING_OPEN;
|
|
132
|
+
}
|
|
133
|
+
/** One run speaks for itself; several say so together, since each closed at its own time. */
|
|
134
|
+
function closedRunsClosure(runs, now) {
|
|
135
|
+
const closed = runs.flatMap(({ run }) => {
|
|
136
|
+
const phase = resolveWholeSeriesBookingPhase(run, now);
|
|
137
|
+
return phase.kind === "closed" ? [{
|
|
138
|
+
run,
|
|
139
|
+
reason: phase.reason
|
|
140
|
+
}] : [];
|
|
141
|
+
});
|
|
142
|
+
const [first] = closed;
|
|
143
|
+
if (!first || closed.length < runs.length) return FRESH_BOOKING_OPEN;
|
|
144
|
+
return {
|
|
145
|
+
kind: "closedEarly",
|
|
146
|
+
copy: {
|
|
147
|
+
...closed.length === 1 ? closedRunCopy(first.reason, first.run) : closedRunCopy("bookings-closed"),
|
|
148
|
+
otherDatesHref: null
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The moment that decision next changes while the page stays open. With several
|
|
154
|
+
* to choose from that's when the last of them closes: the chooser's own clock
|
|
155
|
+
* takes each one off the list before then.
|
|
156
|
+
*/
|
|
157
|
+
function nextFreshBookingBoundary(events, occurrenceContext, subject) {
|
|
158
|
+
const plan = planEventRegistrationSurface({
|
|
159
|
+
events,
|
|
160
|
+
occurrenceContext,
|
|
161
|
+
subject
|
|
162
|
+
});
|
|
163
|
+
switch (plan.kind) {
|
|
164
|
+
case "wholeSeries": return latestInstant(plan.runs.map(({ run }) => run.bookingClosesAt ?? orderedLiveRunSessions(run.sessions)[0]?.startsAt));
|
|
165
|
+
case "occurrence":
|
|
166
|
+
if (!occurrenceContext) return latestInstant(plan.events.map((date) => date.bookingClosesAt ?? date.startsAt));
|
|
167
|
+
return events.find((event) => event.occurrenceId === occurrenceContext.id)?.bookingClosesAt ?? occurrenceContext.startsAt;
|
|
168
|
+
case "unavailableWholeSeries":
|
|
169
|
+
case "mixedBookingScopes": return null;
|
|
170
|
+
default: return assertNever(plan);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function latestInstant(instants) {
|
|
174
|
+
return instants.reduce((latest, instant) => instant && (latest === null || Date.parse(instant) > Date.parse(latest)) ? instant : latest, null);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Whether a run agrees with the offering whose page it arrived on.
|
|
178
|
+
*
|
|
179
|
+
* Scoping has already restricted the events to the subject's series, so the
|
|
180
|
+
* series set needs no second check here. What is still worth checking is the
|
|
181
|
+
* run's own idea of its parent: a run that claims a different offering means
|
|
182
|
+
* the page and the data disagree about who owns it, and the surface fails
|
|
183
|
+
* closed rather than taking a booking against an offering it cannot vouch for.
|
|
184
|
+
*/
|
|
185
|
+
function agreesWithSubjectOffering(run, subject) {
|
|
186
|
+
if (subject?.kind !== "eventOffering") return true;
|
|
187
|
+
return run.run.eventOfferingId === subject.eventOfferingId;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Subjects whose page only ever registers for a whole run.
|
|
191
|
+
*
|
|
192
|
+
* The subject's own booking scope decides, for an offering exactly as for a
|
|
193
|
+
* series: an ordinary offering with no dates is a normal empty state, not a
|
|
194
|
+
* whole-series page with nothing bookable.
|
|
195
|
+
*/
|
|
196
|
+
function isWholeSeriesSubject(subject) {
|
|
197
|
+
return (subject?.kind === "eventOffering" || subject?.kind === "eventSeries") && subject.bookingScope === "whole_series";
|
|
198
|
+
}
|
|
199
|
+
function planEventRegistrationSurface(input) {
|
|
200
|
+
const scopedEvents = resolveEventRegistrationScopedEvents(input.events, {
|
|
201
|
+
occurrenceContext: input.occurrenceContext,
|
|
202
|
+
subject: input.subject
|
|
203
|
+
});
|
|
204
|
+
const bookingScopes = new Set(scopedEvents.map((event) => event.bookingScope));
|
|
205
|
+
if (scopedEvents.length === 0 && isWholeSeriesSubject(input.subject)) return { kind: "unavailableWholeSeries" };
|
|
206
|
+
if (!input.occurrenceContext && !input.subject && bookingScopes.has("single_occurrence")) return {
|
|
207
|
+
kind: "occurrence",
|
|
208
|
+
events: scopedEvents.filter((event) => event.bookingScope === "single_occurrence")
|
|
209
|
+
};
|
|
210
|
+
if (bookingScopes.size === 0 || bookingScopes.has("single_occurrence")) return bookingScopes.has("whole_series") ? { kind: "mixedBookingScopes" } : {
|
|
211
|
+
kind: "occurrence",
|
|
212
|
+
events: scopedEvents
|
|
213
|
+
};
|
|
214
|
+
const runs = groupPublicEventsByRun(scopedEvents);
|
|
215
|
+
return runs.every((run) => agreesWithSubjectOffering(run, input.subject)) && runs.length > 0 ? {
|
|
216
|
+
kind: "wholeSeries",
|
|
217
|
+
runs
|
|
218
|
+
} : { kind: "unavailableWholeSeries" };
|
|
219
|
+
}
|
|
220
|
+
//#endregion
|
|
43
221
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationDiscountView.state.ts
|
|
44
222
|
/** The quote owns the code for one booking or several; one booking still finds out what's on offer from availability. */
|
|
45
223
|
function registrationDiscountView(input) {
|
|
@@ -1024,7 +1202,8 @@ function eligibilityRequest(params) {
|
|
|
1024
1202
|
pricingOptionId,
|
|
1025
1203
|
quantity
|
|
1026
1204
|
})),
|
|
1027
|
-
selectedSlidingAmount: params.selectedSlidingAmount ?? void 0
|
|
1205
|
+
selectedSlidingAmount: params.selectedSlidingAmount ?? void 0,
|
|
1206
|
+
...params.waitlistClaim ? { waitlistClaim: params.waitlistClaim } : {}
|
|
1028
1207
|
};
|
|
1029
1208
|
}
|
|
1030
1209
|
/** One effective union owns readiness, including the pre-fetch debounce window. */
|
|
@@ -1952,6 +2131,17 @@ function useSelectionCombinationPricing(input) {
|
|
|
1952
2131
|
};
|
|
1953
2132
|
}
|
|
1954
2133
|
//#endregion
|
|
2134
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/useEventRegistrationRecoveryRequest.ts
|
|
2135
|
+
/** Retain arrival intent while the payment controller cleans up the return URL. */
|
|
2136
|
+
function useEventRegistrationRecoveryRequest() {
|
|
2137
|
+
const [arrival] = useState(() => {
|
|
2138
|
+
if (typeof window === "undefined") return "none";
|
|
2139
|
+
if (eventRegistrationCheckoutReturnRequest(new URLSearchParams(window.location.search))) return "paymentReturn";
|
|
2140
|
+
return getWaitlistClaimTokenFromUrl() || getWaitlistClaimEntryIdFromUrl() ? "waitlistInvitation" : "none";
|
|
2141
|
+
});
|
|
2142
|
+
return arrival;
|
|
2143
|
+
}
|
|
2144
|
+
//#endregion
|
|
1955
2145
|
//#region ../blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.ts
|
|
1956
2146
|
function buildCandidate(input) {
|
|
1957
2147
|
if (!input.eligibilityIsSettled || !input.eligibility || !input.currentEvent) return null;
|
|
@@ -2569,16 +2759,54 @@ function useEventRegistrationWizard(options) {
|
|
|
2569
2759
|
return useEventRegistrationWizardWithDeps(options, eventRegistrationWizardDeps);
|
|
2570
2760
|
}
|
|
2571
2761
|
const CHOOSER_CLOCK = { kind: "relative" };
|
|
2762
|
+
/** The wizard owns the step, so it owns whether the clock has stopped this visitor starting a booking. */
|
|
2763
|
+
function useFreshBookingClosure(deps, options, events, step, visitorHoldsPlace) {
|
|
2764
|
+
const recoveryRequest = useEventRegistrationRecoveryRequest();
|
|
2765
|
+
const nextBoundary = useMemo(() => nextFreshBookingBoundary(events, options.occurrenceContext, options.subject), [
|
|
2766
|
+
events,
|
|
2767
|
+
options.occurrenceContext,
|
|
2768
|
+
options.subject
|
|
2769
|
+
]);
|
|
2770
|
+
const now = deps.useBookingNowIso(options.now, {
|
|
2771
|
+
kind: "presentation",
|
|
2772
|
+
nextBoundary
|
|
2773
|
+
});
|
|
2774
|
+
return resolveFreshBookingClosure({
|
|
2775
|
+
step,
|
|
2776
|
+
holdsPlace: visitorHoldsPlace,
|
|
2777
|
+
recoveryRequest,
|
|
2778
|
+
events,
|
|
2779
|
+
occurrenceContext: options.occurrenceContext,
|
|
2780
|
+
subject: options.subject,
|
|
2781
|
+
now
|
|
2782
|
+
});
|
|
2783
|
+
}
|
|
2784
|
+
function holdsPlace(claim, payment) {
|
|
2785
|
+
return claim.kind !== "none" || payment.retryingHeldPlace;
|
|
2786
|
+
}
|
|
2787
|
+
/** A date that has closed has nothing to quote for a new booking. */
|
|
2788
|
+
function bookingClosureAllowsQuote(closure, wanted) {
|
|
2789
|
+
return closure.kind !== "closedEarly" && closure.kind !== "started" && wanted;
|
|
2790
|
+
}
|
|
2791
|
+
function waitlistClaimCredential(claim) {
|
|
2792
|
+
return claim.kind === "none" ? null : claim.request.credential;
|
|
2793
|
+
}
|
|
2572
2794
|
/**
|
|
2573
2795
|
* Preserve source availability through event adaptation and page scoping.
|
|
2574
2796
|
*
|
|
2575
2797
|
* `choiceNowIso` is the chooser's clock: it starts at the server snapshot so hydration matches, then
|
|
2576
2798
|
* follows the browser, so a date that starts while the page is open leaves the chooser.
|
|
2577
|
-
* `registrationEvents` stays the full set, so payment recovery still finds a date that has started
|
|
2799
|
+
* `registrationEvents` stays the full set, so payment recovery still finds a date that has started,
|
|
2800
|
+
* and `recoveryEvents` is that set within this page, so an invitation finds a run that has closed.
|
|
2578
2801
|
*/
|
|
2579
2802
|
function useRegistrationEventSource(options, choiceNowIso) {
|
|
2580
2803
|
const events = options.eventSource.kind === "ready" ? options.eventSource.events : NO_EVENTS;
|
|
2581
2804
|
const registrationEvents = useMemo(() => [...toRegistrationEvents(events), ...toWholeSeriesRegistrationEvents(events)], [events]);
|
|
2805
|
+
const scopeOfPage = [
|
|
2806
|
+
options.occurrenceContext?.seriesId,
|
|
2807
|
+
options.subject?.kind,
|
|
2808
|
+
options.subject?.kind === "eventSeries" ? options.subject.eventSeriesId : options.subject?.kind === "eventOffering" ? `${options.subject.eventOfferingId}:${options.subject.catalogueEventSeriesIds.join(",")}` : options.subject?.reason
|
|
2809
|
+
].join("|");
|
|
2582
2810
|
const choiceKey = useMemo(() => {
|
|
2583
2811
|
const choices = resolveEventRegistrationChoices(events, {
|
|
2584
2812
|
occurrenceContext: options.occurrenceContext,
|
|
@@ -2588,22 +2816,25 @@ function useRegistrationEventSource(options, choiceNowIso) {
|
|
|
2588
2816
|
}, [
|
|
2589
2817
|
events,
|
|
2590
2818
|
choiceNowIso,
|
|
2591
|
-
|
|
2592
|
-
options.subject?.kind,
|
|
2593
|
-
options.subject?.kind === "eventSeries" ? options.subject.eventSeriesId : options.subject?.kind === "eventOffering" ? `${options.subject.eventOfferingId}:${options.subject.catalogueEventSeriesIds.join(",")}` : options.subject?.reason
|
|
2819
|
+
scopeOfPage
|
|
2594
2820
|
]);
|
|
2595
2821
|
const scopedEvents = useMemo(() => {
|
|
2596
2822
|
const choiceIds = new Set(choiceKey.split("\n"));
|
|
2597
2823
|
return registrationEvents.filter((event) => choiceIds.has(event.selectionId));
|
|
2598
2824
|
}, [registrationEvents, choiceKey]);
|
|
2825
|
+
const recoveryEvents = useMemo(() => resolveEventRegistrationScopedEvents(registrationEvents, {
|
|
2826
|
+
occurrenceContext: options.occurrenceContext,
|
|
2827
|
+
subject: options.subject
|
|
2828
|
+
}), [registrationEvents, scopeOfPage]);
|
|
2599
2829
|
return {
|
|
2600
2830
|
events,
|
|
2601
2831
|
registrationEvents,
|
|
2832
|
+
recoveryEvents,
|
|
2602
2833
|
scopedEvents,
|
|
2603
|
-
|
|
2834
|
+
claimEventSource: useMemo(() => options.eventSource.kind === "ready" ? {
|
|
2604
2835
|
kind: "ready",
|
|
2605
|
-
events:
|
|
2606
|
-
} : options.eventSource, [options.eventSource,
|
|
2836
|
+
events: recoveryEvents
|
|
2837
|
+
} : options.eventSource, [options.eventSource, recoveryEvents])
|
|
2607
2838
|
};
|
|
2608
2839
|
}
|
|
2609
2840
|
/** A signed-in booker's email is their verified identity, never a draft copy. */
|
|
@@ -2618,7 +2849,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2618
2849
|
const api = useBlockApi();
|
|
2619
2850
|
const arrivalCredential = deps.useWaitlistClaimCredential();
|
|
2620
2851
|
const nowIso = deps.useBookingNowIso(options.now);
|
|
2621
|
-
const { events, registrationEvents, scopedEvents,
|
|
2852
|
+
const { events, registrationEvents, recoveryEvents, scopedEvents, claimEventSource } = useRegistrationEventSource(options, deps.useBookingNowIso(options.now, CHOOSER_CLOCK));
|
|
2622
2853
|
const preSelectedEvent = useMemo(() => findPreSelectedEvent({
|
|
2623
2854
|
scopedEvents,
|
|
2624
2855
|
occurrenceContext: options.occurrenceContext
|
|
@@ -2729,12 +2960,12 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2729
2960
|
if (claimLookup) dispatchFlow({
|
|
2730
2961
|
type: "claim-updated",
|
|
2731
2962
|
lookup: claimLookup,
|
|
2732
|
-
events:
|
|
2963
|
+
events: claimEventSource,
|
|
2733
2964
|
occurrenceContextId: options.occurrenceContext?.id
|
|
2734
2965
|
});
|
|
2735
2966
|
}, [
|
|
2736
2967
|
claimLookup,
|
|
2737
|
-
|
|
2968
|
+
claimEventSource,
|
|
2738
2969
|
options.occurrenceContext?.id
|
|
2739
2970
|
]);
|
|
2740
2971
|
const errorMessage = waitlistClaim.kind === "error" ? waitlistClaim.message : submissionErrorMessage;
|
|
@@ -2807,14 +3038,16 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2807
3038
|
detailsInPage: () => Object.keys(validateFormData(formData)).length === 0
|
|
2808
3039
|
});
|
|
2809
3040
|
const { recovery: paymentStatusRecovery, showRecovery: setPaymentStatusRecovery, check: handleCheckPaymentStatus, continuePayment: handleContinueExistingPayment, returnToPayment: handleReturnToPayment, returnToBooking: handleReturnToBooking } = paymentController;
|
|
3041
|
+
const bookingClosure = useFreshBookingClosure(deps, options, events, step, holdsPlace(waitlistClaim, paymentController));
|
|
2810
3042
|
const eligibilityResult = deps.useEligibility({
|
|
2811
3043
|
refreshKey: optionsRefreshKey,
|
|
2812
|
-
enabled: shouldRefreshAfterRegistrationError(step, errorAction, shouldLoadRegistrationOptions(portalAuthState, step)),
|
|
3044
|
+
enabled: bookingClosureAllowsQuote(bookingClosure, shouldRefreshAfterRegistrationError(step, errorAction, shouldLoadRegistrationOptions(portalAuthState, step))),
|
|
2813
3045
|
subject: registrationTarget?.subject ?? null,
|
|
2814
3046
|
attendanceMode: selectedAttendanceMode,
|
|
2815
3047
|
ticketSelections,
|
|
2816
3048
|
selectedSlidingAmount: parseCurrencyInputToCents(selectedSlidingAmountInput),
|
|
2817
|
-
subjectEmail: getPortalSubjectEmail(portalProfile)
|
|
3049
|
+
subjectEmail: getPortalSubjectEmail(portalProfile),
|
|
3050
|
+
waitlistClaim: waitlistClaimCredential(waitlistClaim)
|
|
2818
3051
|
});
|
|
2819
3052
|
const existingRegistrationResult = deps.useExistingEventRegistration({
|
|
2820
3053
|
isAuthenticated: portalAuthState === "authenticated",
|
|
@@ -3436,6 +3669,8 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
3436
3669
|
...registrationNavigation.presentation,
|
|
3437
3670
|
api,
|
|
3438
3671
|
nowIso,
|
|
3672
|
+
/** Whether the clock has stopped this visitor starting a booking on this page. */
|
|
3673
|
+
bookingClosure,
|
|
3439
3674
|
directPaymentOptions,
|
|
3440
3675
|
paymentDecision,
|
|
3441
3676
|
anchorId: options.anchorId,
|
|
@@ -3444,7 +3679,10 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
3444
3679
|
subject: options.subject,
|
|
3445
3680
|
events,
|
|
3446
3681
|
maxTicketsNum: waitlistClaim.kind === "ready" ? waitlistClaim.restoration.ticketsCount : options.maxTicketsNum,
|
|
3447
|
-
|
|
3682
|
+
/** The new-booking choices, plus the run or date an invitation holds a place on. */
|
|
3683
|
+
scopedEvents: withOfferedEvent(scopedEvents, waitlistClaim),
|
|
3684
|
+
/** Everything on this page a booking could be for, whether or not it's still a choice. */
|
|
3685
|
+
recoveryEvents,
|
|
3448
3686
|
preSelectedEvent: preSelectedDisplayEvent(preSelectedEvent, currentEvent, displayEvent),
|
|
3449
3687
|
hasPreSelectedContext,
|
|
3450
3688
|
presentation,
|
|
@@ -3844,4 +4082,4 @@ function EventRegistrationPayment({ flow }) {
|
|
|
3844
4082
|
});
|
|
3845
4083
|
}
|
|
3846
4084
|
//#endregion
|
|
3847
|
-
export {
|
|
4085
|
+
export { planEventRegistrationSurface as a, useEventRegistrationRecoveryRequest as i, EventRegistrationPayment as n, registrationAdmissionSurface as o, useEventRegistrationWizard as r, resolveEventRegistrationClientSurface as s, EventPaymentMount as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Rt as normalizeLocationAddressText } from "./noop-
|
|
2
|
+
import { Rt as normalizeLocationAddressText } from "./noop-D11X-B6n.mjs";
|
|
3
3
|
import { i as ThemedButtonLink } from "./ThemedButton-DuaYtnvG.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $t as buildEventListWeek, An as parseContentVersionId, Ct as combinedLookSchema, En as parseMailingListPlacementTargeting, G as groupOfferingRunsByCourse, K as isOfferingsPreviewSourceKey, Sn as planSiteChromePlacement, St as recurringScheduleProjectionSchema, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, V as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, Wt as cardListPresentationSchemaShape, X as offeringsListingFor, Yt as quickFactSlots, Z as readOfferingsGrouping, kn as sameMailingListPlacementTargeting, ln as formatEventStartingPrice, lt as occurrenceContextSchema, q as normalizeOfferingsPreviewContentForWrite, vn as isHeaderScrollRuntimeEnabled, wn as buildMailingListSignupBlockSourceRef, xn as parseHeaderPositioning, xt as projectRecurringSchedule, yn as resolveHeaderChromeRuntimeContract, z as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { Bt as projectPublicLocation, C as eventCalendarListGroupingDecision, Et as calendarWindowQuerySchema, H as tileTreatmentValues, It as WHOLE_SERIES_EVENT_PRESET_VALUES, J as publicEventsArraySchema,
|
|
4
|
+
import { $r as parseInlineTextFromUnknown, Ar as MediaPlaceholder, Ba as resolveDateRuntimeContext, Br as resolveArrangementKnobs, Gr as uiTransforms, Hr as createImageShapeField, Io as isRecord$8, Jr as asPartialObject, Kr as SECTION_STATE_KINDS, Mo as resolveLookMediaFrame, No as parseBlockColorToken, Ra as isBlockButtonRole, Ur as heroTitleSizeOptions, Vr as systemCustomizeFacetDefinitionsForBlock, Wr as createAspectRatioField, Xr as runTransforms, Yr as createTransformRegistry, Zr as inlineTextToPlainText, ei as plainTextToInlineText, eo as normalizeEventRegistrationPageSurfaceSubject, jo as generateLookMediaFrameCss, jr as computeMediaTransformStyle, oi as eventCalendarWeekStart, os as formatBookingPriceDisplay, qr as sectionStateToneFromKind, za as readRuntimeNow } from "./display-D1oVR5Eh.mjs";
|
|
5
|
+
import { Bt as projectPublicLocation, C as eventCalendarListGroupingDecision, Et as calendarWindowQuerySchema, H as tileTreatmentValues, It as WHOLE_SERIES_EVENT_PRESET_VALUES, J as publicEventsArraySchema, Jt as formatDate, K as publicEventPricingSchema, L as eventListTreatmentValues, Lt as locationValueSchema, Pt as isRecord$9, S as resolveCalendarReadProfile, V as isArrangementMode, Vt as publicLocationSchema, W as eventVenueDrawingSchema, Wt as trimmedStringOrNull, Z as bookingConsentCarrierSchema, at as isRichTextDoc, dn as getLocalScheduleDate, dt as runtimeMediaSchema, f as eventAutoApplyDiscountPreviewSchema, gn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, lt as mediaSchema, m as publicPassProductCollectionSchema, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, t as logger, zt as parseLocationValue } from "./noop-D11X-B6n.mjs";
|
|
6
6
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
7
|
-
import { $ as backgroundFrame, $t as eventDiscoveryFilterKeys, A as mapDrawingStyleBinding, An as ACCORDION_SPACING_MAP, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bn as resolveRepeaterGridRowFieldId, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as containerStylesField, Ct as repeat, D as shopBlockDefinition, Dn as createButtonGroup, Dt as text, E as productListBlockDefinition, En as getAnchorClasses, Et as stack, Fn as bindingSchema, Ft as parseBlockIconValue, G as withApiBindings, Gn as publicMapLocationResultSchema, Gt as teamReadiness, H as formDataSchema, Hn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Ht as augmentManifest, In as DEFAULT_MEDIA_FIELD_KINDS, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventReadinessLoaderKey, K as formCopyFragment, Kt as testimonialsReadiness, L as desktopOnlyDisplay, Ln as isAcceptedRepeaterGridSpan, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as ACCORDION_TRIGGER_LETTER_SPACING, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as ICON_CONFIG, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as createButtonVariantField, Ot as videoEmbed, Pn as ICON_SIZE_PX, Pt as normalizeCardListContent, Q as sectionContainer, Qt as eventWeekReadScope, R as mobileOnlyDisplay, Rn as parseRepeaterGridInteger, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as cardStylesField, St as props, T as productDetailBlockDefinition, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as section, U as createBlockManifest, Un as linkSchema, Ut as chosenString, V as formBlockDefinition, Vn as resolveRepeaterGridSpanFieldId, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as galleryReadiness, X as styledSection, Xt as eventReadinessQueryKeys, Y as resolveBackgroundColorValue, Yt as eventReadinessQuery, Z as styledContainer, Zt as eventReadinessResultSchema, _ as publicAppointmentLocationSchema, _n as cardStylingFields, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as hiddenFromVisitors, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as eventDisplayFields, bt as link, cn as unavailableReadinessFact, ct as lookSlot, dn as LOCATION_MAP_LOADER_KEYS, dt as bookingForm, en as eventScopeLoaderParam, et as buildFragmentDataLoaders, fn as describeUnresolvedLocationMapLocation, ft as button, g as formatAppointmentPrice, gn as resolveLocationMapLocation, gt as form, h as formatAppointmentLocation, hn as parseLocationMapLoaderResult, ht as fileDownload, in as admitReadinessFacts, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as ACCORDION_TRIGGER_FONT_SCALE, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ACCORDION_OPEN_ACCENT_THICKNESS, kt as when, ln as LOCATION_MAP_DEFAULTS, lt as accordionList, m as formatAppointmentDuration, mn as normalizeLocationMapSource, mt as el, nn as eventScopeQueryKeys, nt as defineFragment, on as loadedReadinessFact, ot as lookQuoteLimitTransform, p as SectionNode, pn as normalizeLocationMapProps, pt as carousel, q as sectionHeaderFields, qt as blockChecksForEvents, rn as resolveEventScope, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as pageTemplateFromEntry, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as eventScopeQuery, tt as composeFragments, un as LOCATION_MAP_LIMITS, ut as bind, v as publicAppointmentPricingSchema, vn as columnsField, vt as icon, w as cartBlockDefinition, wn as sectionStylesField, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as layoutField, xt as media, y as offeringCourseSlotParents, yn as emptyStateField, yt as inline, z as teamMemberCardBiographyFallback, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-
|
|
7
|
+
import { $ as backgroundFrame, $t as eventDiscoveryFilterKeys, A as mapDrawingStyleBinding, An as ACCORDION_SPACING_MAP, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bn as resolveRepeaterGridRowFieldId, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as containerStylesField, Ct as repeat, D as shopBlockDefinition, Dn as createButtonGroup, Dt as text, E as productListBlockDefinition, En as getAnchorClasses, Et as stack, Fn as bindingSchema, Ft as parseBlockIconValue, G as withApiBindings, Gn as publicMapLocationResultSchema, Gt as teamReadiness, H as formDataSchema, Hn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Ht as augmentManifest, In as DEFAULT_MEDIA_FIELD_KINDS, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventReadinessLoaderKey, K as formCopyFragment, Kt as testimonialsReadiness, L as desktopOnlyDisplay, Ln as isAcceptedRepeaterGridSpan, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as ACCORDION_TRIGGER_LETTER_SPACING, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as ICON_CONFIG, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as createButtonVariantField, Ot as videoEmbed, Pn as ICON_SIZE_PX, Pt as normalizeCardListContent, Q as sectionContainer, Qt as eventWeekReadScope, R as mobileOnlyDisplay, Rn as parseRepeaterGridInteger, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as cardStylesField, St as props, T as productDetailBlockDefinition, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as section, U as createBlockManifest, Un as linkSchema, Ut as chosenString, V as formBlockDefinition, Vn as resolveRepeaterGridSpanFieldId, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as galleryReadiness, X as styledSection, Xt as eventReadinessQueryKeys, Y as resolveBackgroundColorValue, Yt as eventReadinessQuery, Z as styledContainer, Zt as eventReadinessResultSchema, _ as publicAppointmentLocationSchema, _n as cardStylingFields, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as hiddenFromVisitors, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as eventDisplayFields, bt as link, cn as unavailableReadinessFact, ct as lookSlot, dn as LOCATION_MAP_LOADER_KEYS, dt as bookingForm, en as eventScopeLoaderParam, et as buildFragmentDataLoaders, fn as describeUnresolvedLocationMapLocation, ft as button, g as formatAppointmentPrice, gn as resolveLocationMapLocation, gt as form, h as formatAppointmentLocation, hn as parseLocationMapLoaderResult, ht as fileDownload, in as admitReadinessFacts, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as ACCORDION_TRIGGER_FONT_SCALE, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ACCORDION_OPEN_ACCENT_THICKNESS, kt as when, ln as LOCATION_MAP_DEFAULTS, lt as accordionList, m as formatAppointmentDuration, mn as normalizeLocationMapSource, mt as el, nn as eventScopeQueryKeys, nt as defineFragment, on as loadedReadinessFact, ot as lookQuoteLimitTransform, p as SectionNode, pn as normalizeLocationMapProps, pt as carousel, q as sectionHeaderFields, qt as blockChecksForEvents, rn as resolveEventScope, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as pageTemplateFromEntry, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as eventScopeQuery, tt as composeFragments, un as LOCATION_MAP_LIMITS, ut as bind, v as publicAppointmentPricingSchema, vn as columnsField, vt as icon, w as cartBlockDefinition, wn as sectionStylesField, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as layoutField, xt as media, y as offeringCourseSlotParents, yn as emptyStateField, yt as inline, z as teamMemberCardBiographyFallback, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-Bn0gE0uP.mjs";
|
|
8
8
|
import { $ as solveSurfaceInks, A as DEFAULT_BUTTON_SIZES, C as buttonRadius, Ct as resolveOpaqueSurfaceHex, D as materializeRuntimeButtonAppearance, Dt as contrastRatio, E as buttonTypographyDeclarations, Ft as rgbToHex, G as mergeStyles, H as backgroundColorStyle, It as srgbToOklab, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, M as FONT_SIZE_MAP, Mt as oklabToOklch, N as generateShadowValue$1, Nt as oklabToSrgb, O as paddingDeclarations, Pt as oklchToHexGamut, S as buttonBorder, St as resolveConcreteColorHex, T as buttonStateAppearanceDeclarations, U as borderColorStyle, W as cssVarValue, X as safeTokenOr, Y as resolveSurfaceForeground, Z as surfaceInkPublication, _t as surfaceInkDeclarations, at as inkReference, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, ct as planForegroundHover, dt as SURFACE_INK_CSS_VARS, f as compositeHex, ft as surfaceForegroundDeclarations, g as actionVariableFallback, gt as surfaceForegroundValueWithOpacity, ht as surfaceForegroundValue, it as contrastThresholdByPolicy, jt as hexToRgb, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as DEFAULT_SURFACE_TEXT_COLOR, mt as surfaceForegroundStyle, n as parseSurfaceTree, nt as HOVER_TEXT_THRESHOLD, o as resolveSurface, ot as expandPalette, pt as surfaceForegroundInputFromResolved, q as textColorStyle, r as prepareSurfaceIndex, rt as certifyPaint, ut as SURFACE_FOREGROUND_CSS_VARS, v as compileButtonColourStates, vt as surfaceInkStyle, w as buttonShadow, x as formatButtonColourContractError, xt as ownedThemeSnapshot, y as resolveSolidButtonColour, yt as surfaceInkValue } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
9
9
|
import { D as parseThemeColorToken, E as parseColorTokenParts, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-DjWUR_O6.mjs";
|
|
10
|
-
import { $ as resolvePageDesignBlockLookChoice, $t as customCssRuleSchema, A as getCuratedSiteStyle, At as defineExactCatalog, B as generateFooterCss, Bt as toNonEmptyReadonlyArray, C as resolvePublishedLook, Ct as themeV2CompilerOwnedFieldNames, D as filterLookIdsForPolicy, Dt as lookModes, E as filterLayoutProfilesForPolicy, Ft as introCompositionTreatmentValues, G as generateEffectsCSS, Gt as selectLogoVariant, H as getNavLinkPreset, I as gradientToCss, It as offeringsPreviewCompositionTreatmentValues, J as generateInteractiveChildInheritanceCSS, Jt as TokenResolver, K as resolveEffectApplications, Kt as surfaceToneFromForegroundToken, L as getGradientPreset, Lt as plainFrame, M as compilePageRuntimeFields, Mt as defineNoBlockDesignCapability, Nt as designIssueSeverityForPolicy, Ot as assertNever$2, P as stripCompiledRuntimeStyleFields, Pt as featureCardCompositionTreatmentValues, Qt as blockCustomCssRuleSchema, R as resolveCardRole, Rt as sectionBackgroundPaintValues, S as resolveModeArrangement, St as stripStaleTransitionStyleGroup, T as deriveSiteStyleBlockPolicy, U as buildTextContrastShadow, Ut as opaqueSurfaceContextFromTheme, V as footerForegroundCandidates, W as generateNavLinkCSS, Wt as opaqueSurfaceDeclarations, X as navLinkOwnsHoverForeground, Xt as themeSchema, Y as navLinkHoverColorCandidate, Yt as sectionStylesOverrideSchema, Z as navLinkOwnsUnderline, Zt as headerVariantValues, _ as resolveLookForBlock, _n as asSiteStyleId, _t as parseCanonicalRuntimeBackground, a as resolvedItemSurfaceProps, an as cardVariantRoleValues, at as boundaryOptions, b as readStoredMode, bt as sectionSurfaceBase, c as resolveLookSurfacePresentation, cn as surfaceCardRoleValues, ct as isDecorativeTransitionIntent, d as arrangementLookHooks, dn as asHeaderStyleId, dt as spaciousBoundaryOption, et as resolvePageDesignBoundaryChoice, f as arrangementStyleAvailability, fn as siteChromeBackgroundOverrideOwner, ft as transitionIntentForTreatment, g as resolveArrangementLookForBlock, gn as asPageFlowPresetId, gt as deriveSectionGround, h as getCompatibleBlockAppearancePresets, hn as asLayoutVariantKey, ht as applyLookPhotoTreatment, it as boundaryOptionForTransitionIntent, j as requireCuratedSiteStyle, jt as defineFrameCapability, kt as defineBlockDesignCapability, l as selectItemSurfacePresentation, ln as parseGradientPresetId, lt as noneBoundaryOption, m as compileArrangementLookRuntime, mn as asDesignBlockId, mt as transitionCatalogueEntries, nn as runtimeBoxBackgroundSchema, nt as sectionShapeFromContent, o as itemRole, ot as boundaryRuntimeMetricsForDecorativeTransition, p as automaticArrangementLook, pt as anglePolygonCss, q as resolveEffectPaint, qt as arrangementSlotNames, rt as sectionShapeHook, s as lookPresentationOnPalette, st as boundaryTreatmentForBoundaryOptionId, tn as boxBackgroundSchema, tt as sectionShapeForGround, u as arrangementAppearancePresets, un as asHeaderLayoutId, ut as softBoundaryOption, v as styleSectionBackgroundForColour, vn as makeBoundaryId, vt as resolveSectionBackground, x as resolveEffectiveArrangement, xt as defaultHeroImageSurfaceTreatment, y as arrangementManifestFromVariants, yt as sectionForegroundBackground, z as generateDefaultCardSystem, zt as testimonialsCompositionTreatmentValues } from "./lookSurfaces-
|
|
11
|
-
import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as parseRuntimeBackgroundContent, g as resolveSectionMinHeight, h as isSemanticSpacing, i as fixedFrameScopeClass, l as parseBackgroundContent, m as isSectionMinHeight, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as SEMANTIC_SPACING_VALUES, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as parseBackgroundOverlay } from "./boxStyleClassNames-
|
|
10
|
+
import { $ as resolvePageDesignBlockLookChoice, $t as customCssRuleSchema, A as getCuratedSiteStyle, At as defineExactCatalog, B as generateFooterCss, Bt as toNonEmptyReadonlyArray, C as resolvePublishedLook, Ct as themeV2CompilerOwnedFieldNames, D as filterLookIdsForPolicy, Dt as lookModes, E as filterLayoutProfilesForPolicy, Ft as introCompositionTreatmentValues, G as generateEffectsCSS, Gt as selectLogoVariant, H as getNavLinkPreset, I as gradientToCss, It as offeringsPreviewCompositionTreatmentValues, J as generateInteractiveChildInheritanceCSS, Jt as TokenResolver, K as resolveEffectApplications, Kt as surfaceToneFromForegroundToken, L as getGradientPreset, Lt as plainFrame, M as compilePageRuntimeFields, Mt as defineNoBlockDesignCapability, Nt as designIssueSeverityForPolicy, Ot as assertNever$2, P as stripCompiledRuntimeStyleFields, Pt as featureCardCompositionTreatmentValues, Qt as blockCustomCssRuleSchema, R as resolveCardRole, Rt as sectionBackgroundPaintValues, S as resolveModeArrangement, St as stripStaleTransitionStyleGroup, T as deriveSiteStyleBlockPolicy, U as buildTextContrastShadow, Ut as opaqueSurfaceContextFromTheme, V as footerForegroundCandidates, W as generateNavLinkCSS, Wt as opaqueSurfaceDeclarations, X as navLinkOwnsHoverForeground, Xt as themeSchema, Y as navLinkHoverColorCandidate, Yt as sectionStylesOverrideSchema, Z as navLinkOwnsUnderline, Zt as headerVariantValues, _ as resolveLookForBlock, _n as asSiteStyleId, _t as parseCanonicalRuntimeBackground, a as resolvedItemSurfaceProps, an as cardVariantRoleValues, at as boundaryOptions, b as readStoredMode, bt as sectionSurfaceBase, c as resolveLookSurfacePresentation, cn as surfaceCardRoleValues, ct as isDecorativeTransitionIntent, d as arrangementLookHooks, dn as asHeaderStyleId, dt as spaciousBoundaryOption, et as resolvePageDesignBoundaryChoice, f as arrangementStyleAvailability, fn as siteChromeBackgroundOverrideOwner, ft as transitionIntentForTreatment, g as resolveArrangementLookForBlock, gn as asPageFlowPresetId, gt as deriveSectionGround, h as getCompatibleBlockAppearancePresets, hn as asLayoutVariantKey, ht as applyLookPhotoTreatment, it as boundaryOptionForTransitionIntent, j as requireCuratedSiteStyle, jt as defineFrameCapability, kt as defineBlockDesignCapability, l as selectItemSurfacePresentation, ln as parseGradientPresetId, lt as noneBoundaryOption, m as compileArrangementLookRuntime, mn as asDesignBlockId, mt as transitionCatalogueEntries, nn as runtimeBoxBackgroundSchema, nt as sectionShapeFromContent, o as itemRole, ot as boundaryRuntimeMetricsForDecorativeTransition, p as automaticArrangementLook, pt as anglePolygonCss, q as resolveEffectPaint, qt as arrangementSlotNames, rt as sectionShapeHook, s as lookPresentationOnPalette, st as boundaryTreatmentForBoundaryOptionId, tn as boxBackgroundSchema, tt as sectionShapeForGround, u as arrangementAppearancePresets, un as asHeaderLayoutId, ut as softBoundaryOption, v as styleSectionBackgroundForColour, vn as makeBoundaryId, vt as resolveSectionBackground, x as resolveEffectiveArrangement, xt as defaultHeroImageSurfaceTreatment, y as arrangementManifestFromVariants, yt as sectionForegroundBackground, z as generateDefaultCardSystem, zt as testimonialsCompositionTreatmentValues } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
11
|
+
import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as parseRuntimeBackgroundContent, g as resolveSectionMinHeight, h as isSemanticSpacing, i as fixedFrameScopeClass, l as parseBackgroundContent, m as isSectionMinHeight, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as SEMANTIC_SPACING_VALUES, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as parseBackgroundOverlay } from "./boxStyleClassNames-BHoMAcun.mjs";
|
|
12
12
|
import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-DuaYtnvG.mjs";
|
|
13
13
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
14
|
-
import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-
|
|
15
|
-
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-
|
|
16
|
-
import { l as monthSlotParents } from "./CalendarNavigationChevron-
|
|
14
|
+
import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-DNX59QwM.mjs";
|
|
15
|
+
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-b8tVkNHA.mjs";
|
|
16
|
+
import { l as monthSlotParents } from "./CalendarNavigationChevron-qXvsFYOg.mjs";
|
|
17
17
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
18
|
-
import { n as eventListSlotParents } from "./EventListing.view-
|
|
18
|
+
import { n as eventListSlotParents } from "./EventListing.view-CdjiepMf.mjs";
|
|
19
19
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
20
|
-
import { t as formatDate$1 } from "./formatDate-
|
|
20
|
+
import { t as formatDate$1 } from "./formatDate-DVFVDcDW.mjs";
|
|
21
21
|
import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
22
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
22
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-COnKrLO7.mjs";
|
|
23
23
|
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-B99AP7ai.mjs";
|
|
24
24
|
import * as React$1 from "react";
|
|
25
25
|
import React from "react";
|
package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as assertNever, u as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
2
|
+
import { n as assertNever, u as verifiedSiteTermsAcceptanceSchema } from "./noop-D11X-B6n.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
4
4
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|