@riverbankcms/sdk 0.158.0 → 0.159.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
- package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
- package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.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 +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
- package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
- package/dist/client/portal/client.mjs +10 -67
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
- package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
- package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
- package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
- package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
- package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
- package/dist/server/loadPage-jade28Xh.mjs +2 -0
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +12 -11
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
- package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
- package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { An as resolveOnColorForThemeToken, Ft as runtimeBoxBackgroundSchema, Kt as normalizeCardRole, Mn as resolveTokenOrCssColorValue, Nt as boxBackgroundOverlaySchema, Pt as boxBackgroundSchema, Vn as getTextColorForBackground, i as ThemedButtonLink, kn as isCssColorLiteral, m as ClockIcon } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
6
|
-
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-
|
|
3
|
+
import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-C0TsNqJc.mjs";
|
|
4
|
+
import { Jt as formatEventPrice, Ut as MediaNodeServer } from "./shop.interactive-BxL_bshW.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D8ucLsvX.mjs";
|
|
6
|
+
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BRMtEaa6.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { T as parseEventRegistrationErrorReason, w as eventRegistrationErrors } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { st as inferSiteDateLocale, yt as resolveBookingBusinessTimeZone } from "./noop-
|
|
5
|
-
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-
|
|
3
|
+
import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Ki as publicEventPricingStrategy, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Pi as resolveBookingSignupOffer, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-C0TsNqJc.mjs";
|
|
4
|
+
import { st as inferSiteDateLocale, yt as resolveBookingBusinessTimeZone } from "./noop-M8FTSgm2.mjs";
|
|
5
|
+
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
|
|
6
6
|
import { t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
7
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
8
|
-
import { r as usePolling } from "./BookingMailingListNote-
|
|
7
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-DJhFP_rg.mjs";
|
|
8
|
+
import { r as usePolling } from "./BookingMailingListNote-Cg9v6d7Y.mjs";
|
|
9
9
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
10
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
11
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
12
|
-
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
10
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BRgBWthI.mjs";
|
|
11
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-D14J-EhJ.mjs";
|
|
12
|
+
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-CjstiFPh.mjs";
|
|
13
13
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -51,20 +51,7 @@ function logoutPortal(anchorId) {
|
|
|
51
51
|
//#region ../blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.ts
|
|
52
52
|
/** Owns admission and its navigation commands; renderers receive decisions. */
|
|
53
53
|
function useRegistrationAdmission(input) {
|
|
54
|
-
const {
|
|
55
|
-
const admission = useMemo(() => resolveRegistrationAdmission({
|
|
56
|
-
eligibility,
|
|
57
|
-
eligibilityError,
|
|
58
|
-
eligibilityLoading,
|
|
59
|
-
holdsOwnPlace,
|
|
60
|
-
isAuthenticated
|
|
61
|
-
}), [
|
|
62
|
-
eligibility,
|
|
63
|
-
eligibilityError,
|
|
64
|
-
eligibilityLoading,
|
|
65
|
-
holdsOwnPlace,
|
|
66
|
-
isAuthenticated
|
|
67
|
-
]);
|
|
54
|
+
const { admission, isAuthenticated, dispatchFlow } = input;
|
|
68
55
|
const ticketContinuation = resolveRegistrationTicketContinuation({
|
|
69
56
|
admission,
|
|
70
57
|
ticketSelectionRequired: input.ticketSelectionRequired,
|
|
@@ -139,6 +126,32 @@ function recoverRegistrationError(action, handlers) {
|
|
|
139
126
|
}
|
|
140
127
|
}
|
|
141
128
|
//#endregion
|
|
129
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/useTicketSelectionInitialization.ts
|
|
130
|
+
/** Pick the single default once; removing or refreshing a line never picks it again. */
|
|
131
|
+
function useTicketSelectionInitialization(input) {
|
|
132
|
+
const initializedSelection = useRef(null);
|
|
133
|
+
useEffect(() => {
|
|
134
|
+
if (input.locked) return;
|
|
135
|
+
if (!input.usesTicketTypes) {
|
|
136
|
+
if (input.lines.length > 0) input.setLines([]);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const key = `${input.selectionId ?? ""}:${input.attendanceMode ?? ""}`;
|
|
140
|
+
if (initializedSelection.current === key) return;
|
|
141
|
+
if (input.lines.length > 0) {
|
|
142
|
+
initializedSelection.current = key;
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
const implicitOption = getImplicitSingleTicketType(input.visibleOptions, input.purpose);
|
|
146
|
+
if (!implicitOption) return;
|
|
147
|
+
initializedSelection.current = key;
|
|
148
|
+
input.setLines([{
|
|
149
|
+
pricingOptionId: implicitOption.pricingOptionId,
|
|
150
|
+
quantity: 1
|
|
151
|
+
}]);
|
|
152
|
+
}, [input]);
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
142
155
|
//#region ../blocks/src/system/runtime/nodes/event-registration/hooks.state.ts
|
|
143
156
|
const initialEligibilityLookupState = {
|
|
144
157
|
tag: "idle",
|
|
@@ -1223,6 +1236,7 @@ function usePaymentRuntime() {
|
|
|
1223
1236
|
kind: "idle",
|
|
1224
1237
|
heldPlaceRetry: null
|
|
1225
1238
|
});
|
|
1239
|
+
const [heldTicketSelection, setHeldTicketSelection] = useState(null);
|
|
1226
1240
|
const note = useRef(void 0);
|
|
1227
1241
|
const operation = useRef(null);
|
|
1228
1242
|
const generation = useRef(0);
|
|
@@ -1235,6 +1249,8 @@ function usePaymentRuntime() {
|
|
|
1235
1249
|
return {
|
|
1236
1250
|
state,
|
|
1237
1251
|
setState,
|
|
1252
|
+
heldTicketSelection,
|
|
1253
|
+
setHeldTicketSelection,
|
|
1238
1254
|
note,
|
|
1239
1255
|
operation,
|
|
1240
1256
|
generation,
|
|
@@ -1275,6 +1291,7 @@ function usePaymentTransitions(options, runtime) {
|
|
|
1275
1291
|
]);
|
|
1276
1292
|
const restartFrom = useCallback((step, heldPlaceRetry) => {
|
|
1277
1293
|
clearEventPayment(options.api.config.siteId);
|
|
1294
|
+
runtime.setHeldTicketSelection(snapshotHeldTicketSelection(heldPlaceRetry, options.ticketSelection));
|
|
1278
1295
|
setState({
|
|
1279
1296
|
kind: "idle",
|
|
1280
1297
|
heldPlaceRetry
|
|
@@ -1504,24 +1521,26 @@ function usePaymentStatusRecovery(options) {
|
|
|
1504
1521
|
const { state, setState, generation, note } = runtime;
|
|
1505
1522
|
usePaymentRefresh(state, backgroundCheck);
|
|
1506
1523
|
const recovery = state.kind === "recovery" ? state.state : null;
|
|
1524
|
+
const showRecovery = useCallback((next) => {
|
|
1525
|
+
generation.current += 1;
|
|
1526
|
+
note.current = next?.mailingListSignupNote;
|
|
1527
|
+
setState(next ? {
|
|
1528
|
+
kind: "recovery",
|
|
1529
|
+
state: next
|
|
1530
|
+
} : {
|
|
1531
|
+
kind: "idle",
|
|
1532
|
+
heldPlaceRetry: null
|
|
1533
|
+
});
|
|
1534
|
+
}, [
|
|
1535
|
+
generation,
|
|
1536
|
+
note,
|
|
1537
|
+
setState
|
|
1538
|
+
]);
|
|
1507
1539
|
return {
|
|
1508
1540
|
state,
|
|
1541
|
+
heldTicketSelection: currentHeldTicketSelection(state, runtime.heldTicketSelection),
|
|
1509
1542
|
recovery,
|
|
1510
|
-
showRecovery
|
|
1511
|
-
generation.current += 1;
|
|
1512
|
-
note.current = next?.mailingListSignupNote;
|
|
1513
|
-
setState(next ? {
|
|
1514
|
-
kind: "recovery",
|
|
1515
|
-
state: next
|
|
1516
|
-
} : {
|
|
1517
|
-
kind: "idle",
|
|
1518
|
-
heldPlaceRetry: null
|
|
1519
|
-
});
|
|
1520
|
-
}, [
|
|
1521
|
-
generation,
|
|
1522
|
-
note,
|
|
1523
|
-
setState
|
|
1524
|
-
]),
|
|
1543
|
+
showRecovery,
|
|
1525
1544
|
restoreMailingListNote: (value) => {
|
|
1526
1545
|
note.current = value;
|
|
1527
1546
|
},
|
|
@@ -1545,6 +1564,15 @@ function usePaymentStatusRecovery(options) {
|
|
|
1545
1564
|
function heldPlaceRetry(recovery) {
|
|
1546
1565
|
return recovery.place === "held" ? recovery.subject : null;
|
|
1547
1566
|
}
|
|
1567
|
+
function snapshotHeldTicketSelection(subject, selection) {
|
|
1568
|
+
return subject ? {
|
|
1569
|
+
...selection,
|
|
1570
|
+
lines: selection.lines.map((line) => ({ ...line }))
|
|
1571
|
+
} : null;
|
|
1572
|
+
}
|
|
1573
|
+
function currentHeldTicketSelection(state, held) {
|
|
1574
|
+
return state.kind === "idle" && state.heldPlaceRetry !== null ? held : null;
|
|
1575
|
+
}
|
|
1548
1576
|
//#endregion
|
|
1549
1577
|
//#region ../blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.ts
|
|
1550
1578
|
function resolveAvailableAttendanceMode(event, selected) {
|
|
@@ -1734,24 +1762,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1734
1762
|
step: nextStep
|
|
1735
1763
|
});
|
|
1736
1764
|
}, []);
|
|
1737
|
-
const paymentController = usePaymentStatusRecovery({
|
|
1738
|
-
api,
|
|
1739
|
-
beginNewSubmission: () => {
|
|
1740
|
-
commandRef.current = null;
|
|
1741
|
-
dispatchFlow({ type: "refresh-invitation" });
|
|
1742
|
-
},
|
|
1743
|
-
complete,
|
|
1744
|
-
setOptionsRefreshKey,
|
|
1745
|
-
setStep,
|
|
1746
|
-
detailsInPage: () => Object.keys(validateFormData(formData)).length === 0
|
|
1747
|
-
});
|
|
1748
|
-
const { recovery: paymentStatusRecovery, showRecovery: setPaymentStatusRecovery, check: handleCheckPaymentStatus, continuePayment: handleContinueExistingPayment, returnToPayment: handleReturnToPayment, returnToBooking: handleReturnToBooking } = paymentController;
|
|
1749
1765
|
const usesTicketTypeSelections = usesTieredPricing(currentEvent);
|
|
1750
|
-
const eventTicketTypesForSelection = useMemo(() => getVisibleTicketTypes({
|
|
1751
|
-
event: currentEvent,
|
|
1752
|
-
eligibility: null,
|
|
1753
|
-
selectedAttendanceMode
|
|
1754
|
-
}), [currentEvent, selectedAttendanceMode]);
|
|
1755
1766
|
const normalizedSelectedTicketLines = useMemo(() => normalizeTicketSelectionLines(selectedTicketLines), [selectedTicketLines]);
|
|
1756
1767
|
const ticketTypeSelectionTotal = useMemo(() => getTicketSelectionTotal(normalizedSelectedTicketLines), [normalizedSelectedTicketLines]);
|
|
1757
1768
|
const ticketsCount = usesTicketTypeSelections ? ticketTypeSelectionTotal : flowState.ticketsCount;
|
|
@@ -1764,6 +1775,20 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1764
1775
|
normalizedSelectedTicketLines,
|
|
1765
1776
|
ticketsCount
|
|
1766
1777
|
]);
|
|
1778
|
+
const currentTicketSelection = getCurrentTicketSelection(currentEvent, selectedAttendanceMode, ticketSelections);
|
|
1779
|
+
const paymentController = usePaymentStatusRecovery({
|
|
1780
|
+
api,
|
|
1781
|
+
ticketSelection: currentTicketSelection,
|
|
1782
|
+
beginNewSubmission: () => {
|
|
1783
|
+
commandRef.current = null;
|
|
1784
|
+
dispatchFlow({ type: "refresh-invitation" });
|
|
1785
|
+
},
|
|
1786
|
+
complete,
|
|
1787
|
+
setOptionsRefreshKey,
|
|
1788
|
+
setStep,
|
|
1789
|
+
detailsInPage: () => Object.keys(validateFormData(formData)).length === 0
|
|
1790
|
+
});
|
|
1791
|
+
const { recovery: paymentStatusRecovery, showRecovery: setPaymentStatusRecovery, check: handleCheckPaymentStatus, continuePayment: handleContinueExistingPayment, returnToPayment: handleReturnToPayment, returnToBooking: handleReturnToBooking } = paymentController;
|
|
1767
1792
|
useEffect(() => {
|
|
1768
1793
|
if (flowState.ticketsCount === ticketsCount) return;
|
|
1769
1794
|
dispatchFlow({
|
|
@@ -1850,11 +1875,13 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1850
1875
|
const visibleTicketTypes = useMemo(() => getVisibleTicketTypes({
|
|
1851
1876
|
event: currentEvent,
|
|
1852
1877
|
eligibility,
|
|
1853
|
-
selectedAttendanceMode
|
|
1878
|
+
selectedAttendanceMode,
|
|
1879
|
+
ticketSelections: normalizedSelectedTicketLines
|
|
1854
1880
|
}), [
|
|
1855
1881
|
currentEvent,
|
|
1856
1882
|
selectedAttendanceMode,
|
|
1857
|
-
eligibility
|
|
1883
|
+
eligibility,
|
|
1884
|
+
normalizedSelectedTicketLines
|
|
1858
1885
|
]);
|
|
1859
1886
|
const singleSelectedPricingOptionId = getSingleSelectedPricingOptionId(normalizedSelectedTicketLines);
|
|
1860
1887
|
const selectedTicketType = useMemo(() => findSelectedTicketType({
|
|
@@ -1880,34 +1907,42 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1880
1907
|
if ((event.deliveryMode ?? "in_person") === "hybrid" && !selectedAttendanceMode) return false;
|
|
1881
1908
|
return true;
|
|
1882
1909
|
}, [currentEvent, selectedAttendanceMode]);
|
|
1910
|
+
const admission = resolveRegistrationAdmission({
|
|
1911
|
+
eligibility,
|
|
1912
|
+
eligibilityError,
|
|
1913
|
+
eligibilityLoading,
|
|
1914
|
+
holdsOwnPlace: visitorHoldsOwnPlace({
|
|
1915
|
+
hasWaitlistClaim: waitlistClaim.kind === "ready",
|
|
1916
|
+
retryingHeldPlace: paymentController.retryingHeldPlace
|
|
1917
|
+
}),
|
|
1918
|
+
isAuthenticated: portalAuthState === "authenticated"
|
|
1919
|
+
});
|
|
1920
|
+
const ticketSelectionPurpose = getTicketSelectionPurpose(admission);
|
|
1921
|
+
const overallRemainingPlaces = getTicketSelectionRemainingPlaces({
|
|
1922
|
+
event: currentEvent,
|
|
1923
|
+
eligibility,
|
|
1924
|
+
attendanceMode: selectedAttendanceMode
|
|
1925
|
+
});
|
|
1926
|
+
const heldPlacesBySelection = resolveHeldTicketPlaces(currentTicketSelection, waitlistClaim, paymentController.heldTicketSelection);
|
|
1883
1927
|
const hasValidTicketSelection = hasValidPricingOptionSelection({
|
|
1884
1928
|
selectionRequired: ticketTypeSelectionRequired,
|
|
1929
|
+
purpose: ticketSelectionPurpose,
|
|
1885
1930
|
lines: normalizedSelectedTicketLines,
|
|
1886
|
-
visibleOptions: visibleTicketTypes
|
|
1931
|
+
visibleOptions: visibleTicketTypes,
|
|
1932
|
+
maxTickets: options.maxTicketsNum,
|
|
1933
|
+
overallRemainingPlaces,
|
|
1934
|
+
heldPlacesBySelection
|
|
1935
|
+
});
|
|
1936
|
+
useTicketSelectionInitialization({
|
|
1937
|
+
selectionId: currentTicketSelection.selectionId,
|
|
1938
|
+
attendanceMode: selectedAttendanceMode,
|
|
1939
|
+
locked: selectionLocked,
|
|
1940
|
+
usesTicketTypes: usesTicketTypeSelections,
|
|
1941
|
+
lines: normalizedSelectedTicketLines,
|
|
1942
|
+
visibleOptions: visibleTicketTypes,
|
|
1943
|
+
purpose: ticketSelectionPurpose,
|
|
1944
|
+
setLines: setSelectedTicketLines
|
|
1887
1945
|
});
|
|
1888
|
-
useEffect(() => {
|
|
1889
|
-
if (selectionLocked) return;
|
|
1890
|
-
if (!usesTicketTypeSelections) {
|
|
1891
|
-
if (selectedTicketLines.length > 0) setSelectedTicketLines([]);
|
|
1892
|
-
return;
|
|
1893
|
-
}
|
|
1894
|
-
const availableTicketTypes = eventTicketTypesForSelection.filter((ticketType) => canRequestTicketOption(ticketType.availability));
|
|
1895
|
-
const implicitTicketType = getImplicitSingleTicketType(eventTicketTypesForSelection);
|
|
1896
|
-
if (implicitTicketType && normalizedSelectedTicketLines.length === 0) {
|
|
1897
|
-
setSelectedTicketLines([{
|
|
1898
|
-
pricingOptionId: implicitTicketType.pricingOptionId,
|
|
1899
|
-
quantity: 1
|
|
1900
|
-
}]);
|
|
1901
|
-
return;
|
|
1902
|
-
}
|
|
1903
|
-
const filteredLines = normalizedSelectedTicketLines.filter((line) => line.pricingOptionId && availableTicketTypes.some((ticketType) => ticketType.pricingOptionId === line.pricingOptionId));
|
|
1904
|
-
if (filteredLines.length !== normalizedSelectedTicketLines.length) setSelectedTicketLines(filteredLines);
|
|
1905
|
-
}, [
|
|
1906
|
-
eventTicketTypesForSelection,
|
|
1907
|
-
normalizedSelectedTicketLines,
|
|
1908
|
-
selectedTicketLines.length,
|
|
1909
|
-
usesTicketTypeSelections
|
|
1910
|
-
]);
|
|
1911
1946
|
useEffect(() => {
|
|
1912
1947
|
if (selectionLocked) return;
|
|
1913
1948
|
if (!requireGuestDetails) {
|
|
@@ -1947,14 +1982,8 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1947
1982
|
selectedEventSlidingScale,
|
|
1948
1983
|
selectedSlidingAmount
|
|
1949
1984
|
]);
|
|
1950
|
-
const {
|
|
1951
|
-
|
|
1952
|
-
eligibilityError,
|
|
1953
|
-
eligibilityLoading,
|
|
1954
|
-
holdsOwnPlace: visitorHoldsOwnPlace({
|
|
1955
|
-
hasWaitlistClaim: waitlistClaim.kind === "ready",
|
|
1956
|
-
retryingHeldPlace: paymentController.retryingHeldPlace
|
|
1957
|
-
}),
|
|
1985
|
+
const { ticketContinuation, handleTicketsComplete } = useRegistrationAdmission({
|
|
1986
|
+
admission,
|
|
1958
1987
|
isAuthenticated: portalAuthState === "authenticated",
|
|
1959
1988
|
existingRegistrationLoading: existingRegistrationResult.isLoading,
|
|
1960
1989
|
ticketSelectionRequired: ticketTypeSelectionRequired,
|
|
@@ -2257,6 +2286,9 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2257
2286
|
ticketSelectionSummaryLines,
|
|
2258
2287
|
ticketSelectionSubtotalCents,
|
|
2259
2288
|
visibleTicketTypes,
|
|
2289
|
+
overallRemainingPlaces,
|
|
2290
|
+
heldPlacesBySelection,
|
|
2291
|
+
ticketSelectionPurpose,
|
|
2260
2292
|
ticketTypeSelectionRequired,
|
|
2261
2293
|
hasValidTicketSelection,
|
|
2262
2294
|
eventRequiresPayment,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as isRecord } from "./noop-
|
|
2
|
+
import { $ as isRecord } from "./noop-M8FTSgm2.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/shared/LeafletStaticMap.tsx
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { T as ok, a as mediaIdentifierSchema, c as parseApiKeyId, d as parseEventSeriesId, f as parseSiteId, i as resolveManagedMediaReference, l as parseContentVersionId, m as parseUserId, n as renderableMediaAssetSchema, p as parseSiteTermsVersionId, r as indexRenderableMediaAssets, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
3
|
import { $ as FONT_WEIGHT_MAP, $n as borderColorStyle, B as generateMobileOverlayBackdropFilterFix, Bn as expandPalette, Bt as generateCardCss, Cr as mediaPosterSchema, Dn as opaqueSurfaceContextFromTheme, En as surfaceDecorationColors, Er as runtimeMediaSchema, Ft as runtimeBoxBackgroundSchema, G as MQ_SM_DOWN, Gt as cardVariantRoleValues, H as renderHeaderPaintTargetRules, Ht as generateShadowValue, I as corners, In as selectLogoVariant, J as headerVariantValues, K as MQ_SM_UP, Kn as paletteColorsSchema, Ln as surfaceToneFromForegroundToken, Lt as siteChromeBackgroundOverrideOwner, Nn as generateShadowValue$1, On as opaqueSurfaceDeclarations, Pt as boxBackgroundSchema, Q as parseCustomCssRules, Qn as backgroundColorStyle, R as themeSchema, Rn as resolveSurfaceForeground, Rt as stripStaleTransitionStyleGroup, Sn as tileTreatmentValues, Sr as surfaceForegroundValueWithOpacity, Tn as resolveSurface, U as MQ_LG_UP, V as getHeaderPaintTargets, Vt as renderCssDeclarations, W as MQ_MD_DOWN, Wn as resolveOpaqueSurfaceHex, X as getComponentShadowVar, Y as getComponentBorderWidthPx, Z as parseBlockCustomCssRules, Zn as TokenResolver, Zt as asDesignBlockId, _n as offeringsPreviewCompositionTreatmentValues, _r as SURFACE_FOREGROUND_CSS_VARS, ar as parseThemeColorToken, at as ACCORDION_TRIGGER_FONT_SCALE, br as surfaceForegroundStyle, cn as defineFrameCapability, cr as buildThemeTokens, ct as ICON_SIZE_PX, dn as featureCardCompositionTreatmentValues, dt as generateDefaultButtonSystem, er as cssVarValue, et as INPUT_FONT_SIZE_MAP, gr as DEFAULT_SURFACE_TEXT_COLOR, hn as makeBoundaryId, in as asSiteStyleId, ir as textColorValue, it as ACCORDION_SPACING_MAP, ln as eventListTreatmentValues, lr as defaultThemeTokens, lt as generateButtonActionLayoutCss, mn as introCompositionTreatmentValues, mr as hexToRgb, mt as skinTokenCssVars, nn as asLayoutVariantKey, nr as rgbColorValue, nt as LABEL_FONT_SIZE_MAP, on as defineBlockDesignCapability, ot as ACCORDION_TRIGGER_LETTER_SPACING, pn as headingDecorationColorTokenValues, pt as parseThemeForPersistence, q as MQ_TABLET_ONLY, qn as paletteModeSchema, rr as textColorStyle, rt as ACCORDION_OPEN_ACCENT_THICKNESS, sr as parseBlockColorToken, st as ICON_CONFIG, tr as mergeStyles, tt as INPUT_SPACING_MAP, un as eyebrowTreatmentValues, ur as parseColorTokenParts, ut as generateButtonCss, vr as surfaceForegroundDeclarations, wn as visibleHeadingDecorationFamilyValues, wr as mediaSchema, xn as testimonialsCompositionTreatmentValues, xr as surfaceForegroundValue, yr as surfaceForegroundInputFromResolved, z as generateHeaderScrollTreatmentStyles, zn as safeTokenOr } from "./ThemedButton-DVBC_pS9.mjs";
|
|
4
|
-
import { $r as
|
|
5
|
-
import { $ as isRecord$10, Ct as toUtcIsoDateTimeString, K as bookingConsentCarrierSchema, Q as isObjectRecord, V as publicEventDestinationSchema, W as publicEventsArraySchema, X as RichTextDocSchema, Z as isRichTextDoc, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as WHOLE_SERIES_EVENT_PRESET_VALUES, g as resolveCalendarReadProfile, ht as getLocalScheduleDate, k as resolveEventCalendarReadPlan, m as calendarWindowQuerySchema, t as logger, tt as formatDate, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone } from "./noop-
|
|
6
|
-
import { a as normalizeLocationMapSource, i as normalizeLocationMapProps, n as LOCATION_MAP_DEFAULTS, r as LOCATION_MAP_LIMITS } from "./location-map.view-
|
|
7
|
-
import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, $t as
|
|
4
|
+
import { $r as parseGradientPresetId, Br as transparentHeaderForegroundInput, Ci as cardListFamilyBlocks, Di as isRecord$9, Gr as readStoredMode, Hr as mergeHeaderNavTypographyPreference, Ii as parseMailingListProviderScope, Ir as resolvedItemSurfaceProps, Jr as resolvePublishedLook, Jt as MediaPlaceholder, Kr as resolveEffectiveArrangement, Lr as effectiveHeaderNavLinkStyle, Qr as getGradientPreset, Rr as headerForegroundCandidates, Si as resolveEffectiveKnobs, Ti as itemRole, Ur as readHeaderNavFontSizePreference, Vr as readOpeningForegroundProjection, Wr as arrangementManifestFromVariants, Xi as assertNever$1, Yr as requireCuratedSiteStyle, Yt as computeMediaTransformStyle, Zr as gradientToCss, _i as heroPhotoPaintsGround, ai as arrangementLookHooks, bi as sectionForegroundBackground, br as readRuntimeNow, ci as resolveLookSlotSurfaces, di as composeBoundary, ei as deriveSiteStyleBlockPolicy, fi as sectionFactsForContent, gi as deriveSectionGround, hi as transitionCatalogueEntries, ii as generateNavLinkCSS, li as headerRootPaint, mi as anglePolygonCss, ni as footerForegroundCandidates, oi as arrangementSlotNames, on as eventCalendarWeekStart, pi as boundaryRuntimeMetricsForDecorativeTransition, qr as resolveModeArrangement, ri as buildTextContrastShadow, si as resolveItemSurface, ti as generateFooterCss, ui as boundaryLayout, vi as parseCanonicalRuntimeBackground, wi as cardListKnobBlocks, xi as defineBlockDesignMetadata, xr as resolveDateRuntimeContext, yi as resolveSectionBackground, yr as isBlockButtonRole, zr as headerLeafTextColor } from "./wizardSteps-C0TsNqJc.mjs";
|
|
5
|
+
import { $ as isRecord$10, Ct as toUtcIsoDateTimeString, K as bookingConsentCarrierSchema, Q as isObjectRecord, V as publicEventDestinationSchema, W as publicEventsArraySchema, X as RichTextDocSchema, Z as isRichTextDoc, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as WHOLE_SERIES_EVENT_PRESET_VALUES, g as resolveCalendarReadProfile, ht as getLocalScheduleDate, k as resolveEventCalendarReadPlan, m as calendarWindowQuerySchema, t as logger, tt as formatDate, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone } from "./noop-M8FTSgm2.mjs";
|
|
6
|
+
import { a as normalizeLocationMapSource, i as normalizeLocationMapProps, n as LOCATION_MAP_DEFAULTS, r as LOCATION_MAP_LIMITS } from "./location-map.view-CuCvQdvp.mjs";
|
|
7
|
+
import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, $t as isHeaderScrollRuntimeEnabled, Q as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, Zt as resolveEventSelection, an as publicMembershipProductCollectionSchema, at as normalizeOfferingsPreviewContentForWrite, cn as parseMailingListPlacementTargeting, dn as sameMailingListPlacementTargeting, en as resolveHeaderChromeRuntimeContract, et as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, it as isOfferingsPreviewSourceKey, nn as parseHeaderPositioning, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, on as publicPassProductCollectionSchema, qt as buildEventListWeek, rn as planSiteChromePlacement, sn as buildMailingListSignupBlockSourceRef, st as offeringsListingFor, yt as occurrenceContextSchema } from "./shop.interactive-BxL_bshW.mjs";
|
|
8
8
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
9
|
-
import { $ as sectionContainer, $t as bindingSchema, A as cardListPresentationBindings, At as coerceInlineTextWithFallback, B as formDataSchema, Bt as normalizeSelectSource, C as eventListingBlockDefinition, Ct as lookLeadSlotTransform, D as cardListSectionAction, Dt as parseBlockIconValue, E as FEATURE_CARD_ICON_TREATMENTS, Et as lookSlot, Ft as PUBLIC_FILE_FIELD_KINDS, G as buildFragmentDataLoaders, Gt as
|
|
9
|
+
import { $ as sectionContainer, $t as bindingSchema, A as cardListPresentationBindings, At as coerceInlineTextWithFallback, B as formDataSchema, Bt as normalizeSelectSource, C as eventListingBlockDefinition, Ct as lookLeadSlotTransform, D as cardListSectionAction, Dt as parseBlockIconValue, E as FEATURE_CARD_ICON_TREATMENTS, Et as lookSlot, Ft as PUBLIC_FILE_FIELD_KINDS, G as buildFragmentDataLoaders, Gt as projectRepeaterGridLayoutForRendering, H as formEmbedFragment, Ht as parseFieldDefinitions, I as desktopOnlyDisplay, It as blockCategoryEnum, J as sectionHeaderFields, Jt as resolveRepeaterGridColumnFieldId, K as composeFragments, Kt as buildRepeaterGridLayout, L as mobileOnlyDisplay, Lt as createSdkSelectField, M as normalizeCardListContent, Mt as parseInlineTextFromUnknown, Nt as plainTextToInlineText, O as cardListKnobFields, Ot as PUBLIC_DOWNLOAD_MEDIA_TYPES, Pt as DEFAULT_MEDIA_FIELD_KINDS, Q as styledContainer, Qt as NodeSchema, R as normalizeMailingListBlockContent, Rt as createSiteOptionSelectField, S as eventCalendarBlockDefinition, St as lookCarouselRegionTransform, T as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Tt as lookSkinSlotTransform, U as withApiBindings, Ut as previewCustomizeManifestCurationSchema, V as createBlockManifest, Vt as parseFieldDefinition, W as formCopyFragment, X as resolveBackgroundColorValue, Xt as resolveRepeaterGridRowFieldId, Y as sectionHeaderLayoutNodes, Yt as resolveRepeaterGridColumnsForBreakpoint, Z as styledSection, Zt as resolveRepeaterGridSpanFieldId, _ as checkoutBlockDefinition, _t as section, a as buildLoadedOfferingsPreviewListing, an as eventDisplayFields, at as carousel, b as productListBlockDefinition, bt as videoEmbed, cn as containerStylesField, ct as form, dn as getAnchorClasses, dt as inline, en as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, et as backgroundFrame, fn as createButtonGroup, ft as link, g as giftingBlockDefinition, gt as richText, h as sanitizeNewsletterSignupPublicContent, ht as repeat, in as emptyStateField, it as button, j as cardListSectionActionFields, jt as inlineTextToPlainText, k as cardListPhotoNumberFields, kt as augmentManifest, ln as sectionStylesField, lt as headerSection, m as newsletterSignupBlockDefinition, mt as props, nn as cardStylingFields, nt as bind, o as buildAppointmentServicesView, on as layoutField, ot as el, p as SectionNode, pn as createButtonVariantField, pt as media, q as defineFragment, qt as parseRepeaterGridInteger, rn as columnsField, rt as bookingForm, sn as cardStylesField, st as fileDownload, t as serverComponentRegistry, tn as linkSchema, tt as accordionList, un as BACKGROUND_POSITION_PRESET_VALUES, ut as icon, v as cartBlockDefinition, vt as stack, w as eventRegistrationBlockDefinition, wt as lookQuoteLimitTransform, x as shopBlockDefinition, xt as when, y as productDetailBlockDefinition, yt as text, z as formBlockDefinition, zt as fieldSchema } from "./registry.server-BaX0hxf5.mjs";
|
|
10
10
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DThoeEBU.mjs";
|
|
11
|
-
import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-
|
|
11
|
+
import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-D2vemnCx.mjs";
|
|
12
12
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
13
13
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
14
|
-
import { t as formatDate$1 } from "./formatDate-
|
|
14
|
+
import { t as formatDate$1 } from "./formatDate-CZo0MPTA.mjs";
|
|
15
15
|
import { s as declarativeCarouselSlides } from "./carousel.shared-DBnWEJzo.mjs";
|
|
16
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
16
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Cny2Ukb6.mjs";
|
|
17
17
|
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BOj-Co0B.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import React from "react";
|
|
@@ -12760,19 +12760,21 @@ function registerManifest(manifest) {
|
|
|
12760
12760
|
}
|
|
12761
12761
|
//#endregion
|
|
12762
12762
|
//#region ../blocks/src/system/manifest/fieldValidation/layoutGridRendering.ts
|
|
12763
|
-
function
|
|
12763
|
+
function invalidCoordinateIds(plan, items, itemIds) {
|
|
12764
12764
|
const ids = layoutGridCoordinateFieldIds(plan);
|
|
12765
|
-
return items.
|
|
12765
|
+
return items.flatMap((item, index) => {
|
|
12766
12766
|
const row = layoutGridRecord(item);
|
|
12767
|
-
return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success);
|
|
12767
|
+
return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success) ? [itemIds?.[index] ?? String(index)] : [];
|
|
12768
12768
|
});
|
|
12769
12769
|
}
|
|
12770
12770
|
/** Shared raw-coordinate admission for editor and public rendering; retains diagnostics. */
|
|
12771
12771
|
function admitLayoutGridForPlan(plan, value, rootValues, ids) {
|
|
12772
12772
|
const layout = buildLayoutGridForPlan(plan, value, rootValues, ids);
|
|
12773
|
-
|
|
12773
|
+
const invalidIds = invalidCoordinateIds(plan, value, ids);
|
|
12774
|
+
return layout && invalidIds.length > 0 ? {
|
|
12774
12775
|
...layout,
|
|
12775
|
-
hasInvalidItems: true
|
|
12776
|
+
hasInvalidItems: true,
|
|
12777
|
+
invalidCoordinateIds: invalidIds
|
|
12776
12778
|
} : layout;
|
|
12777
12779
|
}
|
|
12778
12780
|
function projectGrid(plan, value, rootValues) {
|
|
@@ -22401,6 +22403,7 @@ const recurringScheduleLayout = styledSection({
|
|
|
22401
22403
|
fallback: "secondary"
|
|
22402
22404
|
} }
|
|
22403
22405
|
}, [text({}, bind("content.seeAllLabel"))], when("content.seeAllUrl"))]), el("recurring-schedule", {
|
|
22406
|
+
dateContext: { $bind: { from: "$root.dateContext" } },
|
|
22404
22407
|
schedule: { $bind: { from: "data.schedule" } },
|
|
22405
22408
|
buttonText: { $bind: {
|
|
22406
22409
|
from: "content.buttonText",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import "./shop.interactive-
|
|
3
|
+
import { Xi as assertNever } from "./wizardSteps-C0TsNqJc.mjs";
|
|
4
|
+
import "./shop.interactive-BxL_bshW.mjs";
|
|
5
5
|
import { t as StepIndicator$1 } from "./StepIndicator-BK0GEDoP.mjs";
|
|
6
6
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
7
7
|
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as unsafeAsCustomerPassId, b as unsafeAsPassId, g as unsafeAsAppointmentServiceId, h as unsafeAsAppointmentResourceId, v as unsafeAsFormId, x as unsafeAsSiteId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
3
|
import { Mr as formatCurrencyAmount, l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
4
|
-
import { $n as
|
|
5
|
-
import { Ct as toUtcIsoDateTimeString, at as formatTime, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, it as formatDateTimeRange, q as isBookingRequirementConsentFieldId, t as logger, tt as formatDate, vt as parseUtcIsoDateTimeString, yt as resolveBookingBusinessTimeZone } from "./noop-
|
|
6
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
4
|
+
import { $n as resolveDefaultBookingServiceId, B as paymentChoiceDetails, Bn as getBookingRedirectStateFromLocation, Fn as buildBookingFormInteractiveIslandProps, Gn as isBookingServiceSlidingAmountInRange, Hn as getBookingSuccessCopy, In as readOverrideServiceCategories, Jn as parseBookingCurrencyInputToCents, Kn as normalizeBookingFormConfig, Ln as deriveBookingFormViewState, Pi as resolveBookingSignupOffer, Qn as resolveBookingSiteId, R as buildBookingPaymentSelectionViewModel, Rn as formatBookingCentsAsCurrencyInput, V as paymentChoicePrice, Vn as getBookingServiceSlidingScale, Xn as resolveAppointmentCheckoutVerificationState, Yn as prepareBookingSubmission, Zn as resolveBookingPaymentStep, br as readRuntimeNow, er as selectedBookingCollectionOptionKind, ir as BOOKING_FORM_DATA_RESERVED_KEYS, nr as projectSelectedAppointmentConsentIntoForm, qn as normalizeBookingServices, rr as resolveSelectedAppointmentConsent, tr as toSelectedCollectionOptionKind, xr as resolveDateRuntimeContext, z as buildReviewedBookingPaymentViewModel, zn as formatBookingSubmissionPreparationError } from "./wizardSteps-C0TsNqJc.mjs";
|
|
5
|
+
import { Ct as toUtcIsoDateTimeString, at as formatTime, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, it as formatDateTimeRange, q as isBookingRequirementConsentFieldId, t as logger, tt as formatDate, vt as parseUtcIsoDateTimeString, yt as resolveBookingBusinessTimeZone } from "./noop-M8FTSgm2.mjs";
|
|
6
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
|
|
7
7
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
8
8
|
import { a as clearWorkflowFeedback, i as okWith, n as err, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
9
9
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
@@ -12,14 +12,14 @@ import { t as CheckboxChoice } from "./CheckboxChoice-BF9eCNno.mjs";
|
|
|
12
12
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
13
13
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
14
14
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
15
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
-
import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
15
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DJhFP_rg.mjs";
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-Cg9v6d7Y.mjs";
|
|
17
17
|
import { t as StepIndicator } from "./StepIndicator-BK0GEDoP.mjs";
|
|
18
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
18
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-BRgBWthI.mjs";
|
|
19
19
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
20
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-
|
|
21
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
22
|
-
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-
|
|
20
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-pTXuY3jV.mjs";
|
|
21
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-D14J-EhJ.mjs";
|
|
22
|
+
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-CjstiFPh.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/nodes/booking-form.date-display.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BRgBWthI.mjs";
|
|
4
|
+
import { t as BookingFormClient } from "./booking-form.client-BLndwxpx.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-96er7pIx.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { U as publicEventSchema } from "./noop-
|
|
4
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
2
|
+
import { Er as normalizeEventRegistrationPageSurfaceSubject, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kn as normalizeBookingFormConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Ot as getSingleSelectedPricingOptionId, P as resolveHeadlessEventRegistrationView, Vt as resolveRegistrationDisplay, Wt as createHostedBlockApiConfig, ar as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, br as readRuntimeNow, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, qn as normalizeBookingServices, xn as resolveRuntimeEventDestination } from "./wizardSteps-C0TsNqJc.mjs";
|
|
3
|
+
import { U as publicEventSchema } from "./noop-M8FTSgm2.mjs";
|
|
4
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-e5XWtygG.mjs";
|
|
5
5
|
import { t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-BRgBWthI.mjs";
|
|
7
7
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
8
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
8
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-BLndwxpx.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
3
|
import { i as carouselRegionAttributes } from "./carousel.shared-DBnWEJzo.mjs";
|
|
4
4
|
import { t as CarouselNodeClient } from "./carousel.client-BJGoJVtg.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-DV78Td13.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-VZjPOfCX.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-CsLwzq5O.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-CqGPXPSm.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-VZjPOfCX.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-CsLwzq5O.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as isPublicReadEndpoint, E as prefetchBlockData, G as setSdkVersion, H as ApiRequestError, K as isSupportedLoaderEndpoint, Q as getPublicReadCachePolicy, S as resolveSiteCustomBlocks, T as requireSdkTheme, U as createBearerAPIClient, V as encodePublicProductCategorySelector, W as createInternalAPIClient, X as isApiError, Y as ApiEnvelopeError, Z as unwrapResponse, et as publicReadFreshnessSeconds, g as collectMediaAssetSidecar, m as buildRenderablePageOutline, t as Page, v as projectRenderablePageOutline } from "./Page-
|
|
2
|
+
import { $ as isPublicReadEndpoint, E as prefetchBlockData, G as setSdkVersion, H as ApiRequestError, K as isSupportedLoaderEndpoint, Q as getPublicReadCachePolicy, S as resolveSiteCustomBlocks, T as requireSdkTheme, U as createBearerAPIClient, V as encodePublicProductCategorySelector, W as createInternalAPIClient, X as isApiError, Y as ApiEnvelopeError, Z as unwrapResponse, et as publicReadFreshnessSeconds, g as collectMediaAssetSidecar, m as buildRenderablePageOutline, t as Page, v as projectRenderablePageOutline } from "./Page-Dqpv9Ggi.mjs";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
//#region src/rendering/hooks/usePage.ts
|
|
5
5
|
/**
|
|
@@ -513,7 +513,7 @@ var SimpleCache = class {
|
|
|
513
513
|
* 1. This constant
|
|
514
514
|
* 2. The "version" field in package.json
|
|
515
515
|
*/
|
|
516
|
-
const SDK_VERSION = "0.
|
|
516
|
+
const SDK_VERSION = "0.159.0";
|
|
517
517
|
//#endregion
|
|
518
518
|
//#region src/client/error.ts
|
|
519
519
|
let _Symbol$for;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-
|
|
2
|
+
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-M8FTSgm2.mjs";
|
|
3
3
|
import { createContext, useContext, useMemo } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|