@riverbankcms/sdk 0.181.0 → 0.182.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-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
- package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +25 -6
- package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
- package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
- package/dist/client/portal/client.mjs +269 -83
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
- package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.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-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
- package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
- package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
- package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
- package/dist/server/theme-bridge.mjs +33 -8
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
- package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/styles/index.css +86 -46
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as formatCurrencyAmount, Cn as toUtcIsoDateTimeString, D as isBookingRequirementConsentFieldId, Fn as unsafeAsAppointmentResourceId, In as unsafeAsAppointmentServiceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Zt as hasText, a as clearWorkflowFeedback, an as formatDateTimeRange, cn as formatTime, dn as inferSiteDateLocale, fn as resolveBookingDisplayContext, i as okWith, n as err, nn as formatDate, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever, un as formatTimeZoneCityLabel, wn as resolveBookingBusinessTimeZone } from "./src-
|
|
3
|
-
import { $i as
|
|
4
|
-
import { f as unsafeAsCustomerPassId, p as unsafeAsPassId } from "./portalRoutes-
|
|
2
|
+
import { An as formatCurrencyAmount, Cn as toUtcIsoDateTimeString, D as isBookingRequirementConsentFieldId, Fn as unsafeAsAppointmentResourceId, In as unsafeAsAppointmentServiceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Zt as hasText, a as clearWorkflowFeedback, an as formatDateTimeRange, cn as formatTime, dn as inferSiteDateLocale, fn as resolveBookingDisplayContext, i as okWith, n as err, nn as formatDate, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever, un as formatTimeZoneCityLabel, wn as resolveBookingBusinessTimeZone } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { $i as resolveDefaultBookingServiceId, $r as formatValidity, Aa as resolveBookingPaymentAvailability, As as readRuntimeNow, Bi as getBookingSuccessCopy, Ca as applyBookingPaymentAdmission, Da as reconcileBookingPackagePurchase, Ea as bookingRequiresResourceSelection, Fa as getBookingServiceSlidingScale, Fi as buildBookingFormInteractiveIslandProps, Gi as normalizeBookingFormConfig, Gs as repriceBookingCollectionOptions, Ii as readOverrideServiceCategories, Ji as prepareBookingSubmission, Js as formatCreditProductPayment, Ki as normalizeBookingServices, Li as deriveBookingFormViewState, Ma as resolveBookingPaymentMode, Na as resolveBookingPurchasablePackages, Oa as resolveBookingPackagePaymentSelection, Pa as toBookingPurchasablePackages, Pr as createSignInReturnDraftStore, Qi as resolveBookingSiteId, Ri as formatBookingSubmissionPreparationError, Ta as bookingPackageRequestKey, Ui as isBookingServiceSlidingAmountInRange, Wi as isSameOpenCheckout, Xi as resolveBookingPaymentStep, Yi as resolveAppointmentCheckoutVerificationState, Ys as formatCreditProductUnits, Zi as resolveBookingSelectedService, Zr as formatCommercePrice, _a as toBookingQuestionsAnswerDraft, aa as resolveSelectedAppointmentConsent, ao as leavePage, ca as appointmentQuestionsRefusal, da as needsAppointmentQuestionsRefresh, dt as paymentChoiceDetails, ea as resolveLowestBookingPaymentStep, fa as bookingQuestionsAnswerDraftSchema, ft as paymentChoicePrice, ga as restoreBookingQuestionsAnswers, ia as projectSelectedAppointmentConsentIntoForm, ja as resolveBookingPaymentChoice, js as resolveDateRuntimeContext, ka as resolveBookingPackageSources, la as deriveAppointmentBookingQuestions, lo as bookingPresentation, lt as buildBookingPaymentSelectionViewModel, mr as isEmailAddress, na as snapshotBookingShownTerms, oa as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, pa as decideBookingQuestionsRestoration, qi as parseBookingCurrencyInputToCents, qs as formatCreditProductBalance, ra as toSelectedCollectionOptionKind, rc as resolveBookingSignupOffer, sa as applyAppointmentBookingQuestionsEvent, st as onlineBookingUnavailableMessage, ta as selectedBookingCollectionOptionKind, ua as isAppointmentBookingQuestionsEvent, ut as buildReviewedBookingPaymentViewModel, wa as bookingHasPackagePaymentChoices, wc as unsafeAsSiteId, xa as BOOKING_FORM_DATA_RESERVED_KEYS, ya as formatCentsAsCurrencyInput, zi as getBookingRedirectStateFromLocation } from "./wizardSteps-B952ify5.mjs";
|
|
4
|
+
import { f as unsafeAsCustomerPassId, p as unsafeAsPassId } from "./portalRoutes-ByyVZfVq.mjs";
|
|
5
5
|
import { c as checkBookingQuestionsAnswered, h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
|
|
7
7
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
8
|
-
import { o as clientPersonPhrases, r as OptionalMark } from "./BookingQuestionFields-
|
|
9
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
10
|
-
import { t as logger } from "./noop-
|
|
8
|
+
import { o as clientPersonPhrases, r as OptionalMark } from "./BookingQuestionFields-BJI7mZuV.mjs";
|
|
9
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
10
|
+
import { t as logger } from "./noop-jesvJXEE.mjs";
|
|
11
11
|
import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
12
|
-
import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-
|
|
13
|
-
import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
14
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
12
|
+
import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-B6o5B7g3.mjs";
|
|
13
|
+
import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
|
|
14
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-tG788sw0.mjs";
|
|
15
15
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
16
16
|
import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
|
|
17
17
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
18
18
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
19
19
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
20
|
-
import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, i as SignInNotice, l as useBookingNowIso, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, s as usePolling, t as BookingMailingListNote, u as portalSessionIdentity } from "./BookingMailingListNote-
|
|
21
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
22
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-
|
|
23
|
-
import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-
|
|
24
|
-
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-
|
|
20
|
+
import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, i as SignInNotice, l as useBookingNowIso, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, s as usePolling, t as BookingMailingListNote, u as portalSessionIdentity } from "./BookingMailingListNote-7kdvuPow.mjs";
|
|
21
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-D0kGF0C7.mjs";
|
|
22
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-CBneCxbG.mjs";
|
|
23
|
+
import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-BAL5UIDG.mjs";
|
|
24
|
+
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-Dos2zdC2.mjs";
|
|
25
25
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
26
26
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
27
27
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-BOMe_SKi.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.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,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { S as publicEventSchema, t as assertNever } from "./src-
|
|
3
|
-
import { $ as deriveEventRegistrationSteps,
|
|
4
|
-
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-
|
|
5
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
2
|
+
import { S as publicEventSchema, t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { $ as deriveEventRegistrationSteps, As as readRuntimeNow, Gi as normalizeBookingFormConfig, Hr as resolveRegistrationDisplay, Ki as normalizeBookingServices, Sa as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Tr as getSingleSelectedPricingOptionId, at as toHeadlessPaymentSelection, it as resolveHeadlessEventRegistrationView, nt as resolveEventRegistrationSubmitPlan, ot as toInternalPaymentSelection, rt as resolveHeadlessEventRegistrationStatus, to as createHostedBlockApiConfig, tt as normalizeEventRegistrationMaxTickets, vi as normalizeEventRegistrationPageSurfaceSubject, yo as resolveRuntimeEventDestination, yt as entryChoosesEvent } from "./wizardSteps-B952ify5.mjs";
|
|
4
|
+
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-BOMe_SKi.mjs";
|
|
5
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-D4FvQSFF.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { cn as boxBackgroundSchema, fn as cardVariantRoleValues, ln as runtimeBoxBackgroundSchema, mn as openCardRoleValue, pn as itemRoleValues, sn as boxBackgroundOverlaySchema, un as boxlessCardVariantValue } from "./noop-
|
|
2
|
+
import { bs as asPartialObject } from "./wizardSteps-B952ify5.mjs";
|
|
3
|
+
import { cn as boxBackgroundSchema, fn as cardVariantRoleValues, ln as runtimeBoxBackgroundSchema, mn as openCardRoleValue, pn as itemRoleValues, sn as boxBackgroundOverlaySchema, un as boxlessCardVariantValue } from "./noop-jesvJXEE.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
z.enum(itemRoleValues);
|
|
6
6
|
z.enum(cardVariantRoleValues);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
4
4
|
import { t as CarouselNodeClient } from "./carousel.client-BtLwHefX.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "react";
|
|
@@ -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-0Unsqn3R.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-BKFkaXdV.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-3giNWE3H.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-D5bDY1o1.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-0Unsqn3R.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-C25hpi-z.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-3giNWE3H.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-D5bDY1o1.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { io as canonicalUrl } from "./wizardSteps-B952ify5.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
|
|
4
4
|
/**
|
|
5
5
|
* Build return URLs for Stripe checkout redirect.
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { A as materializeEntriesMedia, C as siteBlockRenderContext, F as attachResilienceStatusToError, M as rethrowClientFrameworkSignal, P as RiverbankApiError, R as requireSdkTheme, S as projectRenderablePageOutline, _ as loadContentFromContentResponse, _t as isSupportedLoaderEndpoint, b as buildSiteRenderSupport, gt as encodePublicProductCategorySelector, j as findFrameworkSignal, k as prefetchBlockDataWithFailures, m as isPageContent, t as Page, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline } from "./Page-
|
|
4
|
-
import {
|
|
2
|
+
import { Cc as parseSiteId } from "./wizardSteps-B952ify5.mjs";
|
|
3
|
+
import { A as materializeEntriesMedia, C as siteBlockRenderContext, F as attachResilienceStatusToError, M as rethrowClientFrameworkSignal, P as RiverbankApiError, R as requireSdkTheme, S as projectRenderablePageOutline, _ as loadContentFromContentResponse, _t as isSupportedLoaderEndpoint, b as buildSiteRenderSupport, gt as encodePublicProductCategorySelector, j as findFrameworkSignal, k as prefetchBlockDataWithFailures, m as isPageContent, t as Page, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline } from "./Page-sV6BJkXX.mjs";
|
|
4
|
+
import { Qn as publicMapLocationParamsSchema } from "./registry.server-DzvtVVD0.mjs";
|
|
5
5
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
6
|
-
import { t as restoreRuntimeResponse } from "./runtimeResponse-
|
|
6
|
+
import { t as restoreRuntimeResponse } from "./runtimeResponse-DAPVRToN.mjs";
|
|
7
7
|
import { useEffect, useState } from "react";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
/**
|
|
@@ -3404,6 +3404,21 @@ const GIFTING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3404
3404
|
"server:internal_error"
|
|
3405
3405
|
]
|
|
3406
3406
|
},
|
|
3407
|
+
changeGiftExpiry: {
|
|
3408
|
+
path: "/sites/{siteId}/gifting/gifts/{giftId}/expiry",
|
|
3409
|
+
method: "POST",
|
|
3410
|
+
tags: ["site-{siteId}", "gifting-gifts-{siteId}"],
|
|
3411
|
+
auth: "user",
|
|
3412
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN,
|
|
3413
|
+
responseKind: "json",
|
|
3414
|
+
errors: [
|
|
3415
|
+
"validation:invalid_input",
|
|
3416
|
+
"auth:forbidden",
|
|
3417
|
+
"resource:not_found",
|
|
3418
|
+
"resource:conflict",
|
|
3419
|
+
"server:internal_error"
|
|
3420
|
+
]
|
|
3421
|
+
},
|
|
3407
3422
|
updateGiftingSettings: {
|
|
3408
3423
|
path: "/sites/{siteId}/gifting/settings",
|
|
3409
3424
|
method: "PATCH",
|
|
@@ -9786,7 +9801,11 @@ const API_ENDPOINTS$1 = {
|
|
|
9786
9801
|
method: "GET",
|
|
9787
9802
|
auth: "public",
|
|
9788
9803
|
responseKind: "json",
|
|
9789
|
-
errors: [
|
|
9804
|
+
errors: [
|
|
9805
|
+
"resource:not_found",
|
|
9806
|
+
"resource:gone",
|
|
9807
|
+
"server:internal_error"
|
|
9808
|
+
]
|
|
9790
9809
|
},
|
|
9791
9810
|
portalGetBooking: {
|
|
9792
9811
|
path: "/portal/bookings/{kind}/{bookingId}",
|
|
@@ -11648,7 +11667,7 @@ var SimpleCache = class {
|
|
|
11648
11667
|
//#endregion
|
|
11649
11668
|
//#region src/request-options.ts
|
|
11650
11669
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
11651
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
11670
|
+
const sdkRequestOptions = { sdkVersion: "0.182.0" };
|
|
11652
11671
|
//#endregion
|
|
11653
11672
|
//#region src/public-api/runtime.ts
|
|
11654
11673
|
const PUBLIC_ENDPOINT_NAMES = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Us as bookingCollectionDatesOpen, Ws as flexibleBalanceDueDay, dc as getBookingInstalmentProtectedDepositAmountCents, ec as resolveWholeSeriesPaymentDates, vc as publicEventPricingDisplay } from "./wizardSteps-B952ify5.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/events/domain/depositOffer.ts
|
|
4
4
|
const NO_DEPOSIT = { kind: "none" };
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Dn as parsePositiveCents, Tt as normalizeCurrencyCode, _t as unknownKind, c as blockSiteTermsSchema, ft as bookingQuestionsDocumentAnswerValueSchema, gt as exactSchema, ht as evolvingSchema, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, m as calendarWindowPageSchema, pt as bookingQuestionsTaskDetailSchema, v as publicPassProductCollectionSchema } from "./src-
|
|
3
|
+
import { Dn as parsePositiveCents, Tt as normalizeCurrencyCode, _t as unknownKind, c as blockSiteTermsSchema, ft as bookingQuestionsDocumentAnswerValueSchema, gt as exactSchema, ht as evolvingSchema, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, m as calendarWindowPageSchema, pt as bookingQuestionsTaskDetailSchema, v as publicPassProductCollectionSchema } from "./src-CmXh3JWs.mjs";
|
|
4
4
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
5
|
-
import { C as customerProfileSchema, E as eventTicketBreakdownLineSchema, S as portalCreditSchema, T as eventGuestSchema, b as customerPassSchema, d as verifiedSiteTermsAcceptanceSchema, n as customerOrderSchema, s as cancelledMoneySchema, v as customerMembershipSchema, w as enabledModulesSchema } from "./portalOrders-
|
|
5
|
+
import { C as customerProfileSchema, E as eventTicketBreakdownLineSchema, S as portalCreditSchema, T as eventGuestSchema, b as customerPassSchema, d as verifiedSiteTermsAcceptanceSchema, n as customerOrderSchema, s as cancelledMoneySchema, v as customerMembershipSchema, w as enabledModulesSchema } from "./portalOrders-oEoTvzkW.mjs";
|
|
6
6
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
7
7
|
import { t as EVENT_BOOKING_RESPONSE_QUERY } from "./events-9LPvwbWp.mjs";
|
|
8
8
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
@@ -1822,6 +1822,23 @@ function portalVisitorFor(config) {
|
|
|
1822
1822
|
sessionToken: auth.token
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
1825
|
+
/** The booking wizard waits on these options, so a stall must end in its "Try again" error. */
|
|
1826
|
+
const REGISTRATION_OPTIONS_TIMEOUT_MS = 15e3;
|
|
1827
|
+
async function fetchWithTimeout(url, init, timeoutMs) {
|
|
1828
|
+
const controller = new AbortController();
|
|
1829
|
+
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
1830
|
+
try {
|
|
1831
|
+
return await fetch(url, {
|
|
1832
|
+
...init,
|
|
1833
|
+
signal: controller.signal
|
|
1834
|
+
});
|
|
1835
|
+
} catch (error) {
|
|
1836
|
+
if (controller.signal.aborted) throw new BlockApiError("The request took too long. Try again.", 0, "TIMEOUT");
|
|
1837
|
+
throw error;
|
|
1838
|
+
} finally {
|
|
1839
|
+
clearTimeout(timer);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1825
1842
|
function createBlockApi(config) {
|
|
1826
1843
|
const { baseUrl, authOverrides, siteId, isPreview, readAuthority } = config;
|
|
1827
1844
|
const auth = readAuthority ? readAuthority.kind === "preview" ? {
|
|
@@ -1851,7 +1868,7 @@ function createBlockApi(config) {
|
|
|
1851
1868
|
return queryParams;
|
|
1852
1869
|
}
|
|
1853
1870
|
async function request(endpoint, options) {
|
|
1854
|
-
const { path, body, query, skipDedup = false, decoder } = options ?? {};
|
|
1871
|
+
const { path, body, query, skipDedup = false, decoder, timeoutMs } = options ?? {};
|
|
1855
1872
|
const requestUrl = `${baseUrl}${path ?? endpoint.path}`;
|
|
1856
1873
|
const selectedAuth = selectAuth(endpoint);
|
|
1857
1874
|
const queryParams = bindReadQuery(endpoint, query);
|
|
@@ -1867,7 +1884,7 @@ function createBlockApi(config) {
|
|
|
1867
1884
|
};
|
|
1868
1885
|
if (body !== void 0) fetchOptions.body = JSON.stringify(body);
|
|
1869
1886
|
const doFetch = async () => {
|
|
1870
|
-
const response = await fetch(url, fetchOptions);
|
|
1887
|
+
const response = timeoutMs === void 0 ? await fetch(url, fetchOptions) : await fetchWithTimeout(url, fetchOptions, timeoutMs);
|
|
1871
1888
|
if (!response.ok) {
|
|
1872
1889
|
const details = await extractErrorDetails(response);
|
|
1873
1890
|
throw new BlockApiError(details.message, response.status, details.code, details.tag, details.fieldErrors, details.giftCardExpiry);
|
|
@@ -2048,7 +2065,8 @@ function createBlockApi(config) {
|
|
|
2048
2065
|
const path = buildPath(EVENTS.registrationOptions.path, { siteId: sid });
|
|
2049
2066
|
const response = await request(EVENTS.registrationOptions, {
|
|
2050
2067
|
path,
|
|
2051
|
-
body: data
|
|
2068
|
+
body: data,
|
|
2069
|
+
timeoutMs: REGISTRATION_OPTIONS_TIMEOUT_MS
|
|
2052
2070
|
});
|
|
2053
2071
|
if (!isSingleRegistrationOptions(response)) throw new Error("Registration options came back for a selection instead of one booking.");
|
|
2054
2072
|
return response;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as toUtcIsoDateTimeString, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, an as formatDateTimeRange, cn as formatTime, fn as resolveBookingDisplayContext, in as formatDateTime$1, nn as formatDate } from "./src-
|
|
2
|
+
import { Cn as toUtcIsoDateTimeString, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, an as formatDateTimeRange, cn as formatTime, fn as resolveBookingDisplayContext, in as formatDateTime$1, nn as formatDate } from "./src-CmXh3JWs.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as BlockApiError } from "./context-
|
|
2
|
+
import { i as BlockApiError } from "./context-Hi1RuYEM.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Gr as buildCartDisplay } from "./wizardSteps-
|
|
2
|
+
import { gn as staticHeaderChromeRuntime } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { Gr as buildCartDisplay } from "./wizardSteps-B952ify5.mjs";
|
|
4
4
|
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
6
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-B7sHnLwI.mjs";
|
|
7
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as bookingPanelHeading,
|
|
3
|
-
import { An as formatCurrencyAmount, t as assertNever } from "./src-
|
|
4
|
-
import { An as selectionConfirmationHint, B as closedAdmissionLabel, Bn as severalConfirmationSentence, Br as placesLeftLabel, Co as
|
|
5
|
-
import { i as portalPath } from "./portalRoutes-
|
|
6
|
-
import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { A as bookingPanelHeading, D as bookingCardEntry, E as bookingBarPlacement, M as cancelledDateCopy, N as hasCancelledRegistrationDate, O as bookingEntry, T as DEFAULT_BOOKING_BUTTON_TEXT, b as displayButtonText, j as courseTitleOf, k as bookingEntryProgress, v as buildEventRegistrationDisplayFromScopedEvents, w as offeringNounForEvent, wn as formatEventPriceDisplay, y as buildEventRegistrationInteractiveIslandProps } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { An as formatCurrencyAmount, t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
4
|
+
import { An as selectionConfirmationHint, Ao as isEventFull, B as closedAdmissionLabel, Bn as severalConfirmationSentence, Br as placesLeftLabel, Co as canJoinEventWaitlistOnAnyMode, Dn as runPricingChoice, Do as getEventAvailability, Dr as getTicketSelectionTotal, En as runNeedsPricingChoice, Er as getTicketLineQuantity, Fn as selectionItemsLabel, Fs as INCOMPATIBLE_ATTENDANCE_MESSAGE, In as selectionPlacesLabel, It as ADD_A_PLACE, Jt as confirmationPaymentRows, K as registrationStopsHere, Kn as combinationOfferLine, Ln as selectionPlacesNote, Ls as setRoomChoicePeople, Mn as selectionEntitlementNote, Mo as selectMostOpenCapacitySource, Nn as selectionIncludes, On as runUnitPriceCents, Or as getTicketTypeLineMax, Rn as selectionRowAvailability, So as canJoinEventWaitlist, Tn as runChoiceUsable, U as placeCountCeiling, Ur as shownVenue, V as fullyBookedLabel, Vi as getRegistrationSuccessCopy, Y as resolveRegistrationAvailabilityBlocker, Yt as resolveFinishedPresentation, Z as settledRemainingPlaces, Zn as selectionItemName, _c as publicEventPricingCurrency, _n as SEVERAL_BOOKINGS_ACCOUNT_NOTE, ar as formatRunScheduleLines, ba as formatPrice, bc as publicEventPricingType, bi as resolveEventRegistrationScopedEvents, c as registrationStepLabelContext, dr as occurrenceTitleOverride, dt as paymentChoiceDetails, et as isEventRegistrationAvailable, ft as paymentChoicePrice, gn as SELECTION_LIMIT_NOTE, ir as formatRegistrationSchedule, jn as selectionConsentLabel, jo as selectEventCapacitySource, jr as setTicketLineQuantity, kn as selectionAtLimit, ko as getRemainingPlaces, l as areEventRegistrationPaymentSelectionsEqual, lo as bookingPresentation, lr as getTicketTypeAvailabilityLabel, n as getEventSelectionMode, nr as formatDate, or as formatTime, pr as withOccurrenceTitle, qn as combinationOffersOf, r as panelShouldOpen, rr as formatEventDateTime, s as registrationStepLabel, tr as formatBookingWhen, tt as normalizeEventRegistrationMaxTickets, ur as getVisibleTicketTypes, wr as canRequestTicketOption, ya as formatCentsAsCurrencyInput, yc as publicEventPricingStrategy, yn as canToggleSelectionItem, yt as entryChoosesEvent, z as shouldPromptForLogin } from "./wizardSteps-B952ify5.mjs";
|
|
5
|
+
import { i as portalPath } from "./portalRoutes-ByyVZfVq.mjs";
|
|
6
|
+
import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
|
|
7
|
+
import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-D4FvQSFF.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
9
9
|
import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
10
|
-
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-
|
|
11
|
-
import {
|
|
10
|
+
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-DdxFG3Ic.mjs";
|
|
11
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-BTqO7cJl.mjs";
|
|
12
|
+
import { m as DiscountCodeDisclosure, p as NavigationHandOffPanel, t as BookingConfirmation } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
|
|
12
13
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
13
14
|
import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
|
|
14
15
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
16
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
16
17
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
17
|
-
import { a as MagicLinkForm, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
18
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
18
|
+
import { a as MagicLinkForm, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, t as BookingMailingListNote } from "./BookingMailingListNote-7kdvuPow.mjs";
|
|
19
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-D0kGF0C7.mjs";
|
|
19
20
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
20
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-atfDU82W.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
22
22
|
import { t as CalendarAction } from "./CalendarAction-D_Glwvz2.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-Dhb14bcC.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
3
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-C1jEZBN9.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-BuH5kKA3.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-dB_Z7bb-.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-D7zmeqNI.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as err, r as ok, t as assertNever } from "./src-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { i as listLookSlot } from "./noop-
|
|
2
|
+
import { n as err, r as ok, t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
4
|
+
import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
|
|
5
5
|
import { x as clsx } from "./ThemedButton-PFOhXktM.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C-G6N_MK.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as listLookSlot, r as listLookControl } from "./noop-
|
|
2
|
+
import { i as listLookSlot, r as listLookControl } from "./noop-jesvJXEE.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-BNnKuir8.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-
|
|
4
|
-
import { i as portalPath } from "../portalRoutes-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
6
|
-
import { t as logger } from "../noop-
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-CmXh3JWs.mjs";
|
|
4
|
+
import { i as portalPath } from "../portalRoutes-ByyVZfVq.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-Hi1RuYEM.mjs";
|
|
6
|
+
import { t as logger } from "../noop-jesvJXEE.mjs";
|
|
7
7
|
import { n as ThemedButton, r as ThemedButtonLink } from "../ThemedButton-PFOhXktM.mjs";
|
|
8
8
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
9
|
-
import { s as readChosenGiftAmounts } from "../gifting.parts-
|
|
10
|
-
import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-
|
|
11
|
-
import { t as GiftingClient } from "../gifting.client-
|
|
9
|
+
import { s as readChosenGiftAmounts } from "../gifting.parts-Bak93gD2.mjs";
|
|
10
|
+
import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-BAL5UIDG.mjs";
|
|
11
|
+
import { t as GiftingClient } from "../gifting.client-DVo1YFLs.mjs";
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useRouter } from "next/navigation";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { s as readChosenGiftAmounts } from "./gifting.parts-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
5
|
-
import { t as GiftingClient } from "./gifting.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
|
|
3
|
+
import { s as readChosenGiftAmounts } from "./gifting.parts-Bak93gD2.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
5
|
+
import { t as GiftingClient } from "./gifting.client-DVo1YFLs.mjs";
|
|
6
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as formatCurrencyAmount, t as assertNever } from "./src-
|
|
3
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { An as formatCurrencyAmount, t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
5
5
|
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
7
|
+
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-Bak93gD2.mjs";
|
|
8
8
|
import { startTransition, useEffect, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/gifting.client.state.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as formatCurrencyAmount } from "./src-
|
|
3
|
-
import { i as listLookSlot } from "./noop-
|
|
2
|
+
import { An as formatCurrencyAmount } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/gifting.parts.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-Dv1Lr9kJ.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
2
|
+
import { kn as parseMailingListVisitorSelection, r as newsletterBlockSubmissionMessage, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
4
4
|
import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { i as listLookSlot } from "./noop-
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
6
|
+
import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
|
|
7
7
|
import { x as clsx } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
8
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
9
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
9
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-CH6dGfdn.mjs";
|
|
10
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
12
12
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|